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
CLI
The command-line interface is the easiest way to run the ARS_Test After installation, simply type ARS_Test --help to see required input arguments & options
-
ARS_Test
- 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 --env 'test' --query_type 'treats(creative)' --expected_output 'TopAnswer' 'MONDO:0015564' 'PUBCHEM.COMPOUND:5284616'
python
from ARS_Test.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-0.0.2.tar.gz
(6.4 kB
view details)
Built Distribution
File details
Details for the file ARS_Test-0.0.2.tar.gz
.
File metadata
- Download URL: ARS_Test-0.0.2.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01b60692be46c1ac2c90a2c373ade05592f4b24786ac1a7c549a0899bbae1af9 |
|
MD5 | 9351bab5f6d3d293d2e9c6d0ac95a6dc |
|
BLAKE2b-256 | fa12db4b2f90a1aa81e22350a98ff2349c9fb179b73475815ee5b9b671ea24e9 |
File details
Details for the file ARS_Test-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: ARS_Test-0.0.2-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4714c6ea21a29dfeb581b4e2ff4b3b586cdbf37f8f9b3e2c7e09c59bc94278bb |
|
MD5 | be349b50f7302ffbcc9e621bece564cb |
|
BLAKE2b-256 | d870e8aec20a9376559feadb9e0dc36ef3333d9f199c9bf357b2c182da9b9a04 |