From 4f42b467034c5960b0e5f2c252f5c9997373b9bb Mon Sep 17 00:00:00 2001 From: uhbrar Date: Thu, 2 Oct 2025 15:10:34 -0400 Subject: [PATCH 1/4] add minimum expected path nodes --- src/translator_testing_model/datamodel/pydanticmodel.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/translator_testing_model/datamodel/pydanticmodel.py b/src/translator_testing_model/datamodel/pydanticmodel.py index 7f0e8a3..b52d3fc 100644 --- a/src/translator_testing_model/datamodel/pydanticmodel.py +++ b/src/translator_testing_model/datamodel/pydanticmodel.py @@ -313,6 +313,7 @@ class PathfinderTestAsset(TestEntity): target_input_category: Optional[str] = Field(None) predicate_id: Optional[str] = Field(None) predicate_name: Optional[str] = Field(None) + minimum_expected_path_nodes: Optional[int] = Field(None, description="The number of nodes required in a path o pass this test.") path_nodes: Optional[List[PathfinderPathNode]] = Field(None) association: Optional[str] = Field(None, description="""Specific Biolink Model association 'category' which applies to the test asset defined knowledge statement""") qualifiers: Optional[List[Qualifier]] = Field(default_factory=list, description="""Optional qualifiers which constrain to the test asset defined knowledge statement. Note that this field records such qualifier slots and values as tag=value pairs, where the tag is the Biolink Model qualifier slot named and the value is an acceptable (Biolink Model enum?) value of the said qualifier slot.""") From e68ed2aceba2a019157ec8fe7c64a86767b7c4dc Mon Sep 17 00:00:00 2001 From: uhbrar Date: Thu, 2 Oct 2025 15:12:23 -0400 Subject: [PATCH 2/4] bump version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index eb4d5cd..aab977c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "translator_testing_model" -version = "0.4.0" +version = "0.4.1" description = "This is the project description." authors = ["Sierra Moxon ", "Richard Bruskiewich "] license = "MIT" From a6065efe79f14b572d7e9b17a5c7446d19db89d3 Mon Sep 17 00:00:00 2001 From: Abrar Mesbah <85633484+uhbrar@users.noreply.github.com> Date: Thu, 2 Oct 2025 15:38:35 -0400 Subject: [PATCH 3/4] Update src/translator_testing_model/datamodel/pydanticmodel.py Co-authored-by: Max Wang --- src/translator_testing_model/datamodel/pydanticmodel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/translator_testing_model/datamodel/pydanticmodel.py b/src/translator_testing_model/datamodel/pydanticmodel.py index b52d3fc..b1f0bea 100644 --- a/src/translator_testing_model/datamodel/pydanticmodel.py +++ b/src/translator_testing_model/datamodel/pydanticmodel.py @@ -313,7 +313,7 @@ class PathfinderTestAsset(TestEntity): target_input_category: Optional[str] = Field(None) predicate_id: Optional[str] = Field(None) predicate_name: Optional[str] = Field(None) - minimum_expected_path_nodes: Optional[int] = Field(None, description="The number of nodes required in a path o pass this test.") + minimum_expected_path_nodes: Optional[int] = Field(None, description="The number of nodes required in a path to pass this test.") path_nodes: Optional[List[PathfinderPathNode]] = Field(None) association: Optional[str] = Field(None, description="""Specific Biolink Model association 'category' which applies to the test asset defined knowledge statement""") qualifiers: Optional[List[Qualifier]] = Field(default_factory=list, description="""Optional qualifiers which constrain to the test asset defined knowledge statement. Note that this field records such qualifier slots and values as tag=value pairs, where the tag is the Biolink Model qualifier slot named and the value is an acceptable (Biolink Model enum?) value of the said qualifier slot.""") From 3dda2d05af4646eaaca49487475c3f7c336c9392 Mon Sep 17 00:00:00 2001 From: Abrar Mesbah <85633484+uhbrar@users.noreply.github.com> Date: Thu, 2 Oct 2025 15:49:48 -0400 Subject: [PATCH 4/4] Update src/translator_testing_model/datamodel/pydanticmodel.py Co-authored-by: Max Wang --- src/translator_testing_model/datamodel/pydanticmodel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/translator_testing_model/datamodel/pydanticmodel.py b/src/translator_testing_model/datamodel/pydanticmodel.py index b1f0bea..85d1ad8 100644 --- a/src/translator_testing_model/datamodel/pydanticmodel.py +++ b/src/translator_testing_model/datamodel/pydanticmodel.py @@ -313,7 +313,7 @@ class PathfinderTestAsset(TestEntity): target_input_category: Optional[str] = Field(None) predicate_id: Optional[str] = Field(None) predicate_name: Optional[str] = Field(None) - minimum_expected_path_nodes: Optional[int] = Field(None, description="The number of nodes required in a path to pass this test.") + minimum_required_path_nodes: Optional[int] = Field(None, description="The number of nodes required in a path to pass this test.") path_nodes: Optional[List[PathfinderPathNode]] = Field(None) association: Optional[str] = Field(None, description="""Specific Biolink Model association 'category' which applies to the test asset defined knowledge statement""") qualifiers: Optional[List[Qualifier]] = Field(default_factory=list, description="""Optional qualifiers which constrain to the test asset defined knowledge statement. Note that this field records such qualifier slots and values as tag=value pairs, where the tag is the Biolink Model qualifier slot named and the value is an acceptable (Biolink Model enum?) value of the said qualifier slot.""")