Black format

This commit is contained in:
Katon Minhas
2026-02-06 16:14:27 -05:00
parent 9aabaf680d
commit 704090c1f2
+9 -3
View File
@@ -120,7 +120,9 @@ def code_explicit(service, methodology, filename):
code_answer_dict = _parser(llm_answer_raw)
return code_answer_dict
except:
logging.error(f"Failed to parse LLM response in code_explicit: {llm_answer_raw}")
logging.error(
f"Failed to parse LLM response in code_explicit: {llm_answer_raw}"
)
return {}
@@ -158,7 +160,9 @@ def code_category(service, proc_category, hcpcs_level2_mapping, filename):
try:
llm_answer_final = _parser(llm_answer_raw) # Returns list
except:
logging.error(f"Failed to parse LLM response in code_category: {llm_answer_raw}")
logging.error(
f"Failed to parse LLM response in code_category: {llm_answer_raw}"
)
return {}
code_answer_dict = {"PROCEDURE_CD": [], "PROCEDURE_CD_DESC": []}
@@ -199,7 +203,9 @@ def code_implicit_special(service, filename):
)
llm_answer_final = _parser(llm_answer_raw)
except:
logging.error(f"Failed to parse LLM response in code_implicit_special: {llm_answer_raw}")
logging.error(
f"Failed to parse LLM response in code_implicit_special: {llm_answer_raw}"
)
return {}
special_case_mapping = {