Skip to content

Releases: NCATSTranslator/reasoner-validator

Fix validation of category lists to be more tolerant of abstract and mixin, if at least one concrete category is present

17 Mar 20:30
Compare
Choose a tag to compare
  • reasoner_validator.biolink.BiolinkValidator.validate_category() now only returns a non-None value if it is a 'concrete' category, and reports 'unknown' or 'missing' (None or empty string) category names as errors; deprecated categories are reported as warnings; but both 'mixin' and 'abstract' categories are accepted as valid categories silently ignored, but are not considered 'concrete', thus the method returns None. Bottom line is when at least one valid 'concrete' category is provided in the subject/object category input edges, or categories list for TRAPI query or knowledge graphs, and if all identifiers provided have a namespace recorded in the id_prefix slot list of at least one provided 'concrete' category, then the edge categories and ids will properly validate.

Refined qualifier validation to discriminate between qualifier_type_id and qualifier_value errors in qualifier specifications

16 Mar 02:11
Compare
Choose a tag to compare
  • Split the qualifier validation reporting into distinct codes for the qualifier_type_id ("qualifier.type_id.unknown") versus qualifier_value ("qualifier.value.unresolved")
  • ars_uuid_result_test_runner.py made slightly more user friendly

Fixed pytest dependency to >=7.2.2 for bmt compatibility

15 Mar 20:44
Compare
Choose a tag to compare

Upgrade to BMT 1.0.3; ars validation script to poll all ARS servers

15 Mar 20:29
Compare
Choose a tag to compare
  • ars_uuid_result_test_runner.py access generalized to poll available ARS servers
  • Upgrade BMT to 1.0.3 - may fix some misleading validation results

check_compliance_of_trapi_response 'edge_limit' knowledge graph threshold

15 Mar 00:01
Compare
Choose a tag to compare
  • 'edge_limit' knowledge graph threshold argument added to TRAPIResponseValidator.check_compliance_of_trapi_response method
  • cleaned up a bit of technical debt

Edge 'primary_knowledge_source' validation more complete and strict

14 Mar 17:20
Compare
Choose a tag to compare

primary_knowledge_source tagging of edges is fully tested, including tests for cardinality (i.e. warning is issued if returns more than one primary_knowledge_source)

Bug fix, missing codes for attribute type id validation

14 Mar 03:11
Compare
Choose a tag to compare
  • Added in attribute Type Id validation codes that were missing for 'generic' element filters

Sanitized workflow specs; some validation code and unit tests fixed

14 Mar 01:37
Compare
Choose a tag to compare
  • Fixed some failing unit tests and some minor technical debt
  • Reversed v3.4.1 commenting out of TRAPIResponseValidator.sanitize_trapi_query but added validation warnings for null field values for workflow step 'parameters' or 'runner_parameters'

v3.4.2

11 Mar 00:17
Compare
Choose a tag to compare
  • Patch of some missing/misaligned validation codes;
  • ARS UUID TRAPI Response validation script

Issue 65 bug fix

10 Mar 18:21
Compare
Choose a tag to compare