diff --git a/app/ordering_components.py b/app/ordering_components.py index 2c83be5..7bd0406 100644 --- a/app/ordering_components.py +++ b/app/ordering_components.py @@ -82,10 +82,8 @@ async def get_ordering_components(message, logger): "clinical_evidence": clinical_evidence_score, "novelty": 0.0, } - if clinical_evidence_score == 0: - # Only compute novelty if there is no clinical evidence - for node_bindings in result.get("node_bindings", {}).values(): - for node_binding in node_bindings: - result["ordering_components"]["novelty"] = novelty_scores.get( - node_binding["id"], 0.0 - ) + for node_bindings in result.get("node_bindings", {}).values(): + for node_binding in node_bindings: + result["ordering_components"]["novelty"] = novelty_scores.get( + node_binding["id"], 0.0 + ) diff --git a/app/server.py b/app/server.py index 97774ec..48d2a0c 100644 --- a/app/server.py +++ b/app/server.py @@ -21,15 +21,15 @@ openapi_args = dict( title="Answer Appraiser", - version="0.3.3", + version="0.3.4", terms_of_service="", translator_component="Utility", translator_teams=["Standards Reference Implementation Team"], infores="infores:answer-appraiser", contact={ - "name": "Abrar Mesbah", - "email": "amesbah@covar.com", - "x-id": "uhbrar", + "name": "Max Wang", + "email": "max@covar.com", + "x-id": "maximusunc", "x-role": "responsible developer", }, )