Translator Testing Model
This is a preliminary schema repo for defining test cases in Translator that can be reused in different test suites. e.g. a test case in plain language might be something like "what drugs may treat MS? I expect fingolimod to return in the top 10 results in less than 5 mins."
Capturing these details in metadata that is parsable and usable by test runners is the objective of this schema. We also want to harmonize our language and nomenclature for the metadata we need (which of these data are required and which are optional for each kind of test case, etc.) so that downstream testing code can utilize a common framework for understanding.
Website
https://TranslatorSRI.github.io/TranslatorTestingModel
Repository Structure
- examples/ - example data
- project/ - project files (do not edit these)
- src/ - source files (edit these)
- translator testing model specification
- schema -- LinkML schema (edit this)
- datamodel -- generated
Python datamodels
- Pydantic - this is a version 2 model.
- Python Dataclasses
- translator testing model specification
- tests/ - Python tests
Developer Documentation
poetry shell: start up a poetry shell virtual environmentpoetry install: to install required dependencies
Then use the make command to generate project artifacts:
make gen-project: regenerates core project artifactsmake all: make everythingmake deploy: deploys site
Credits
This project was made with linkml-project-cookiecutter.
Metadata
Release files for translator-testing-model 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| translator_testing_model-0.6.0.tar.gz | 102.7 kB | Without provenance | Details for translator_testing_model-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| translator_testing_model-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for translator_testing_model-0.6.0-py3-none-any.whl |
Total release size: 143.9 kB
Release files / translator_testing_model-0.6.0.tar.gz
| Download URL | translator_testing_model-0.6.0.tar.gz |
|---|---|
| Size | 102.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e54b0aad7d08e67c190d931077c4cfe1b7ed0d7294816faae0121a6512bfa7d2
|
|
BLAKE2b-256 checksum How to use checksums |
7e8a2c02c18fdebd97f857aa1bc2a616a9554c353f112513a46afd6f302a5b57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.8.20
|
Release files / translator_testing_model-0.6.0-py3-none-any.whl
| Download URL | translator_testing_model-0.6.0-py3-none-any.whl |
|---|---|
| Size | 41.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
59c3617138f0ee8551db71a016449645a9e6e76b43a9a5298e1d03392938844e
|
|
BLAKE2b-256 checksum How to use checksums |
6af036dad03bed3db0deb9a50daeb7037fe3d882334a0e6b67b96894d27d997c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.8.20
|
Security for translator-testing-model 0.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.