ARS-Test 0.0.2

Creator: coderz1093

Last updated:

Add to Cart

Description:

ARSTest 0.0.2

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)

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.