-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from TranslatorSRI/make-testmetadata-optional
test_metadata made optional
- Loading branch information
Showing
32 changed files
with
1,110 additions
and
1,258 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,15 @@ | ||
# Example TestAsset data object | ||
--- | ||
# TODO: the TestAsset example data needs further elaboration | ||
|
||
# | ||
# TestAsset: | ||
# description: >- | ||
# Represents a Test Asset, which is a single specific instance of | ||
# TestCase-agnostic semantic parameters representing the | ||
# specification of a Translator test target with inputs and (expected) outputs. | ||
# is_a: TestEntity | ||
# slots: | ||
# - input_id | ||
# - input_name | ||
# - predicate | ||
# - output_id | ||
# - output_name | ||
# - expected_output | ||
# - test_issue | ||
# - semantic_severity | ||
# - in_v1 | ||
# - well_known | ||
# - test_metadata | ||
# slot_usage: | ||
# id: | ||
# aliases: ["AssetIdentifier"] | ||
# range: uriorcurie | ||
# tags: | ||
# description: >- | ||
# One or more 'tags' slot values (inherited from TestEntity) should generally | ||
# be defined to specify TestAsset membership in a "Block List" collection | ||
# | ||
# Bad Query 1 - Missing required identifier? | ||
|
||
# id: example:TestAsset001 | ||
name: foo bar | ||
description: This is a test asset | ||
test_meta_data: { "foo": "bar" } | ||
name: TestAsset001 | ||
description: Fingolimod treats multiple sclerosis | ||
input_id: PUBCHEM.COMPOUND:107970 | ||
predicate_name: treats | ||
output_id: MONDO:0005301 | ||
expected_output: Acceptable | ||
test_runner_settings: | ||
- "inferred" | ||
- "test" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,8 @@ | |
# - id | ||
# - name | ||
# - description | ||
# - tags | ||
# - test_runner_settings | ||
# | ||
# where the slots are: | ||
# | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,8 @@ | |
# - id | ||
# - name | ||
# - description | ||
# - tags | ||
# - test_runner_settings | ||
# | ||
# where the slots are: | ||
# | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,13 @@ | ||
{ | ||
"id": "example:TestAsset001", | ||
"name": "foo bar", | ||
"description": "This is a test asset", | ||
"runner_settings": ["inferred", "test"], | ||
"name": "TestAsset001", | ||
"description": "Fingolimod treats multiple sclerosis", | ||
"input_id": "PUBCHEM.COMPOUND:107970", | ||
"predicate_name": "treats", | ||
"output_id": "MONDO:0005301", | ||
"expected_output": "Acceptable", | ||
"test_runner_settings": ["inferred", "test"], | ||
"test_metadata": { | ||
"id": "1", | ||
"name": null, | ||
"description": null, | ||
"tags": [], | ||
"test_source": "SMURF", | ||
"test_reference": "https://github.com/NCATSTranslator/Feedback/issues/506", | ||
"test_objective": "AcceptanceTest", | ||
"test_annotations": [] | ||
"id": "example:TestAsset001" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,8 @@ | |
# - id | ||
# - name | ||
# - description | ||
# - tags | ||
# - test_runner_settings | ||
# | ||
# where the slots are: | ||
# | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,30 @@ | ||
[ | ||
{ | ||
"id": "example:TestAsset001", | ||
"name": "foo bar", | ||
"description": "This is a test asset", | ||
"runner_settings": ["inferred","test_setting"] | ||
"name": "TestAsset001", | ||
"description": "Fingolimod treats multiple sclerosis", | ||
"input_id": "PUBCHEM.COMPOUND:107970", | ||
"predicate_name": "treats", | ||
"output_id": "MONDO:0005301", | ||
"expected_output": "Acceptable", | ||
"runner_settings": ["inferred", "test"], | ||
"test_metadata": { | ||
"id": "example:TestAsset001", | ||
"source": "SMURF" | ||
} | ||
}, | ||
{ | ||
"id": "example:TestAsset002", | ||
"name": "tweedle dee", | ||
"description": "This is another test asset", | ||
"runner_settings": ["inferred","test_setting"] | ||
}, | ||
{ | ||
"id": "example:TestAsset003", | ||
"name": "tweedle dum", | ||
"description": "This is yetanuder test asset", | ||
"runner_settings": ["inferred","test_setting"] | ||
"name": "TestAsset002", | ||
"description": "Carbamazepine treats Cerebral palsy", | ||
"input_id": "PUBCHEM.COMPOUND:2554", | ||
"predicate_name": "treats", | ||
"output_id": "MONDO:0006497", | ||
"expected_output": "number_2_Acceptable", | ||
"runner_settings": ["inferred", "test"], | ||
"test_metadata": { | ||
"id": "example:TestAsset001", | ||
"source": "SMURF" | ||
} | ||
} | ||
] |
Binary file not shown.
Oops, something went wrong.