Merged in DAIP2-2346-update-client-prompt-calls (pull request #948)

DAIP2-2346 update client prompt calls

* DAIP2-2346: retire accidental client prompt_calls drift

Delete 14 client prompt_calls overrides in bcbs_promise and clover that were
stale forks of old SaaS implementations. Shared callers all expect SaaS return
shapes; client shims were either redundant with parser-side normalization or
outright broken dead code (prompt_dynamic_assignment unpack crash,
prompt_lesser_of_check double-parse). Resolver shim at
src/pipelines/shared/prompts/prompt_calls.py now falls through to SaaS.

Preserved with annotations:
- validate_reimbursements_for_llm: real business rule (strict YES equality)
- prompt_exhibit_header: required by 2-arg call site at preprocessing_funcs.py:192

* DAIP2-2346: also retire prompt_exhibit_level and prompt_dynamic overrides

Follow-up to the Bucket A cleanup. Both client overrides only drifted by
omitting the optional field_names kwarg on prompt_templates.EXHIBIT_LEVEL.
SaaS passes field_names and gets the format-aware parser
(_create_json_dict_parser); falling through to SaaS is a strict improvement
in normalization. Client files now contain only the two truly
client-specific overrides.

* Changes to gitignore

* Merged dev into DAIP2-2346-update-client-prompt-calls


Approved-by: Katon Minhas
This commit is contained in:
Praneel Panchigar
2026-04-08 19:29:48 +00:00
committed by Katon Minhas
parent 781e90085d
commit 8c9aa1d46d
3 changed files with 52 additions and 1502 deletions
+4
View File
@@ -12,6 +12,10 @@ myenv/
.cursor/
.vscode/
# Claude (local agent notes)
.claude/
CLAUDE.md
# OS
.DS_Store
Thumbs.db