Documents and templates
What kind of templates are provided by ValidMind?
ValidMind provides the following default template types:1
- Development (documentation)
- Validation (validation reports)
- Monitoring (ongoing monitoring reports)
You can also create custom document types and associated templates to suit your organization’s unique needs.2
Can templates be customized for our use cases?
Yes, the ValidMind Platform3 allows you to configure versioned templates based on document requirements for each record (such as a model) or lifecycle use case.
- ValidMind’s templates are fully customizable,4 and are complemented by the ability to manage validation guidelines.
- You can swap between different versions of templates or apply another version of the current template.5
- Template outlines can be modified right in the ValidMind Platform. We also offer an advanced raw YAML editor, enabling you to make detailed changes.
By default, the Customer Admin role6 has sufficient permissions to manage document templates, and you must be a Developer or Validator to be able to swap document templates.
Is content from existing documents or templates reusable?
Yes, you can reuse content from existing documents or templates:
Can documents be created right in the ValidMind Platform?
Yes, you can work with documentation, validation reports, ongoing monitoring reports, or any other document type directly in the ValidMind Platform, without having to first generate anything using the ValidMind Library.9
Can I run tests and log documentation without a record?
Yes! If you do not have a record (such as a model) ready, or your record can’t be loaded directly, or you only have access to predictions, you can still run tests and log documentation using the ValidMind Library as long as you’re able to load the predictions.
- Use
assign_predictions()12 to load predictions from a separate file or a dataset with predictions. - Call
init_model()13 to create a model object, but instead of a trained instance, pass aninput_idand model metadata.ModelMetadata()14 will use the provided metadata instead of trying to calculate it from the model’s library.
13 init_model()
For example:
external_model = vm.init_model(
input_id="spark_ml_model",
metadata={...}
)Can we attach files to records, artifacts, or documents?
Yes, attachment type inventory fields are available for custom use.15 Once created, attachment type fields allow you to upload supporting files to your record (model).
- Out-of-the-box functionality is included for attaching files to artifacts.
- You can also attach images to document content blocks and comments.
By default, the Customer Admin role has sufficient permissions to manage inventory fields.
Do you support including images in documents?
Yes, as long as you can produce the image with Python or open the image from a file, you can include it in your documents with ValidMind:16
- If you want to log an image as a test result, you can do so by passing the path to the image as a parameter to the custom test and then opening the file in the test function.
- If you are using a plotting library that isn’t directly supported by ValidMind, you can still return the image directly as a bytes-like object.
How are updates to test results on documents managed?
- ValidMind allows developers to re-run documentation functions with the ValidMind Library17 to capture changes in the record (such as a model), such as changes in the number of features or hyperparameters.
- After a developer has made a change in their development environment, such as to a Jupyter Notebook,18 they can execute the relevant ValidMind documentation function to update the corresponding documentation section.
- ValidMind will then automatically recreate the relevant figures and tables and update them in the online documentation.19
Can we leverage content from historical or external documents?
Yes, ValidMind allows you to leverage content from historical or external documents:
- Convert a Portable Document Format
.pdffile (PDF) into an editable document in the ValidMind Platform, allowing you to seamlessly work with existing PDFs as you would with any other template-based document, such as adding content blocks and attaching test results.20 - You can also choose to upload the PDF as a static document, which is stored as a static file. You can view it within the platform but you cannot modify its structure or contents.
How does ValidMind help me create compliant documentation?
Use the ValidMind Document Checker to analyze your completed documents by comparing them against regulatory standards.21
The ValidMind Document Checker is a compliance tool that reviews documents against a selected regulatory standard. Use the Document Checker to identify gaps, generate actionable recommendations, and focus your efforts on areas that require attention. The Document Checker uses a structured checklist to:
- Assess whether required information or evidence is clearly documented or attached.
- Identify missing or weak areas in the document.
- Offer guidance on how to improve clarity, completeness, and compliance.
- Ensure consistency with regulatory expectations for risk and governance.
What export options are available in ValidMind?
- Inventory records can be exported as comma-delimited tables (
.csv)22 - Documents can be exported as Word (.docx) or Portable Document Format (.pdf) files23
- Artifacts can be exported as comma-delimited tables (
.csv)24 - Analytics can be exported as comma-delimited tables (
.csv)25
ValidMind also allows you to export analytics datasets on a schedule to cloud storage, such as Amazon S3, Google Cloud Storage, or Azure Blob Storage.26