Python package for ARS pass/fail test
Project description
Translator ARS Pass/Fail Testing
This testing framework performs single level pass/Fail analysis on queries it receives from the Test Runner.
ARS_Test Implementation
pip install ARS_Test_Runner
CLI
The command-line interface is the easiest way to run the ARS_Test_Runner After installation, simply type ARS_Test_Runner --help to see required input arguments & options
-
ARS_Test_Runner
- env : the environment to run the queries against (dev|ci|test|prod)
- query_type: treats(creative)
- expected_output: TopAnswer|Acceptable|BadButForgivable|NeverShow
- input_curie: normalized curie taken from assest.csv
- output_curie: target output curie to do analysis on
-
example: ARS_Test_Runner --env 'test' --query_type 'treats(creative)' --expected_output 'TopAnswer' 'MONDO:0015564' 'PUBCHEM.COMPOUND:5284616'
python
from ARS_Test_Runner.semantic_test import run_semantic_test
report = run_semantic_test(env, query_type, expected_output, input_curie, output_curie)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ARS_Test_Runner-0.0.1.tar.gz
(6.7 kB
view hashes)
Built Distribution
Close
Hashes for ARS_Test_Runner-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06a566709c567d840ea32dea44b1e3d4dd4c13f135f6e380a4c466d1d655e611 |
|
MD5 | 4f4cc86bf52ffc3aaab4e80cb43ac62e |
|
BLAKE2b-256 | 944b1613d56f6d66a38f144fd5d151e7befca63366d3950dfe9fb51723de499f |