Commit Graph

148 Commits

Author SHA1 Message Date
Katon Minhas afb6d5185d Merged in feature/lesser-table-caching-refactor-hybrid (pull request #847)
Feature/lesser table caching refactor hybrid

* chore: Remove unused duplicate main.py from shared pipeline

* fix: Correct crosswalk paths in aarete_derived.py

* chore: Remove unused documentation files from fieldExtraction

* docs: Add documentation files to documentation folder

* docs: Update README with uv setup, expanded project structure, and branching conventions

* docs: Add uv installation steps with Ubuntu/WSL emphasis

* Enable prompt caching for all remaining LLM calls

- Add _INSTRUCTION() functions for: EXHIBIT_HEADER, EXHIBIT_LINKAGE,
  EXHIBIT_TITLE_MATCH, DATE_FIX, DERIVED_TERM_DATE, CHECK_PROVIDER_NAME_MATCH,
  SPECIAL_CASE_ASSIGNMENT
- Update all invoke_claude() calls in saas and clover pipelines to use
  cache=True with corresponding _INSTRUCTION() functions
- Add new instructions to get_cacheable_instructions() for cache warming
- Update tests for new instruction functions

Functions now using caching:
- prompt_exhibit_level
- prompt_exhibit_lesser (EXHIBIT_LEVEL_LESSER_OF)
- prompt_fee_schedule_breakout
- prompt_grouper_breakout
- prompt_special_case_assignment
- prompt_exhibit_linkage
- prompt_exhibit_header
- prompt_smart_chunked (ONE_TO_ONE templates)
- prompt_date_fix
- prompt_derived_term_date
- prompt_exhibit_title_match
- provider_name_match_check

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Reorder

* feat: Add bcbs_promise client pipeline with OFFSET_TERM extraction

- Add new bcbs_promise client with HSC-based OFFSET_TERM field extraction
- Extract full paragraph text of offset/recoupment provisions from contracts
- Derive OFFSET_INDICATOR (Y/N) from OFFSET_TERM presence
- Fix reorder_columns to preserve extra columns not in COLUMN_ORDER
- Update QC/QA output path to outputs/qc_qa/

* fix: Update dev deps and test assertions for QC/QA output path

- Add pytest/pytest-mock to dev dependencies for mypy type checking
- Update test assertions to expect outputs/qc_qa instead of qa_qc_output

* style: Apply black formatting to prompt_templates.py

* Merge main, move scripts

* Archive some scripts

* update py version

* remove .py version file

* Remove ASCII characters

* Restore testbed code

* restore tracking

* Update testbed metrics

* Enable prompt caching for CODE_LAST_CHECK, FILL_BILL_TYPE, DUAL_LOB_CHECK, and GROUPER_BREAKOUT

- Add CODE_LAST_CHECK_INSTRUCTION() for service specificity classification
- Add FILL_BILL_TYPE_INSTRUCTION() for bill type code determination
- Add DUAL_LOB_CHECK_INSTRUCTION() for Medicare/Medicaid classification
- Update code_funcs.py to use caching for CODE_LAST_CHECK, FILL_BILL_TYPE, GROUPER_BREAKOUT
- Update postprocessing_funcs.py to use caching for DUAL_LOB_CHECK
- Add new instructions to get_cacheable_instructions() for cache warming
- Add unit tests for new instruction functions

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Fix postprocessing_funcs to remove invalid columns

* Merge branch 'main' into feature/lesser-table-caching-refactor-hybrid

* Revert prompt caching changes from aed1b73c

* update formatting

* Update imports


Approved-by: Sha Brown
Approved-by: Praneel Panchigar
2026-01-26 16:52:55 +00:00
Michael McGuinness 533ddc38a9 Merged in bugfix/actualPipes (pull request #251)
Bugfix/actualPipes

* actual

* actual


Approved-by: Alex Galarce
2024-10-29 15:45:48 +00:00
Michael McGuinness 7cb0b485ad Merged in feature/unittestframe (pull request #240)
Unit Testing Framework

* emptyframe

* fixstatic

* save

* exampletest

* rmreqs

* rmUto


Approved-by: Alex Galarce
2024-10-22 13:45:53 +00:00
Michael McGuinness 815fa7f0bc Merged in feature/poetry (pull request #238)
Draft: Adding Poetry

* addpoetry

* pipes

* mypy

* streamlit

* searchforchange


Approved-by: Alex Galarce
2024-10-15 16:20:27 +00:00
Michael McGuinness 168d197349 Merged in feature/lightStaticTypes (pull request #234)
Add static type check

* artifacts

* dockerfileforall

* examplemypystep

* reqs

* baseMain

* oneperservice

* somebasicchanges

* deps

* removedeps

* removeerrs

* singlecommand

* lessargs

* 312base

* versionanderr

* pythonversion

* ithinkfinalerrs

* numpyv

* versionsandconditional

* changesets

* tryagain

* lint

* numpyagain

* init

* clearstreamlit

* forcestreamlit


Approved-by: Umang Mistry
2024-10-11 15:26:16 +00:00
Michael McGuinness 20b01d442c Merged in feature/dryRuns (pull request #232)
Add dry runs

* adddryruns

* status


Approved-by: Umang Mistry
2024-10-09 14:03:16 +00:00
Michael McGuinness 8cee69372b keepUATplan 2024-10-07 18:04:17 +01:00
Michael McGuinness 550bfcc0ed changes 2024-10-07 18:02:57 +01:00
Michael McGuinness 2ca5fa5f4c removedeploy 2024-10-07 17:27:37 +01:00
Michael McGuinness 9dfccfa3db location 2024-10-07 17:21:20 +01:00
Michael McGuinness 64ffdcfcbf removedev 2024-10-07 17:06:54 +01:00
Michael McGuinness 479a877973 syntax 2024-10-07 16:58:45 +01:00
Michael McGuinness 7f952c0a2c allowDeploy 2024-10-07 16:57:55 +01:00
Michael McGuinness 59934af0c9 useterra 2024-10-07 16:55:47 +01:00
Michael McGuinness fb8f242387 testprod 2024-10-04 16:45:10 +01:00
Michael McGuinness d5d5866a9e plan 2024-10-04 16:38:59 +01:00
Michael McGuinness 1c8ab82793 Merged in feature/prodpreuat (pull request #225)
Prod Pre UAT

* merge


Approved-by: Umang Mistry
2024-10-04 15:33:17 +00:00
Michael McGuinness b5d400dfe2 Merged in bugfix/deployConfigProperties (pull request #224)
Bugfix/deployConfigProperties

* syncconfig

* copydir

* specbucket

* pipplusdevdeploy

* struct

* script

* image

* cleanup

* testplan

* addallplans

* stepnames
2024-10-04 15:26:57 +00:00
Michael McGuinness fa5e80c8cd Merged in feature/applyBeforeDeploy (pull request #223)
Apply Before Deploy

* firstround

* rerun


Approved-by: Umang Mistry
2024-10-04 12:13:41 +00:00
Michael McGuinness 4abcd2dd16 onlydeployfrommain 2024-09-30 16:26:01 +01:00
Michael McGuinness dccadf980f clean 2024-09-30 16:26:01 +01:00
Michael McGuinness 14139df124 pipelineorder 2024-09-30 16:26:01 +01:00
Michael McGuinness cc99ab10f3 addsessionname 2024-09-30 16:26:01 +01:00
Michael McGuinness 150aa0b4b3 envvars 2024-09-30 16:26:01 +01:00
Michael McGuinness c2300a7c35 awslogin 2024-09-30 16:26:01 +01:00
Michael McGuinness 34e9e40605 stagingtouat 2024-09-30 16:26:01 +01:00
Michael McGuinness 5952f8f185 isolatesteps 2024-09-30 16:26:01 +01:00
Michael McGuinness bb5b010cde isolatesteps 2024-09-30 16:26:01 +01:00
Michael McGuinness d1afc1fc3e echovars 2024-09-30 16:26:01 +01:00
Michael McGuinness ef9be200eb pipel 2024-09-30 16:26:01 +01:00
Michael McGuinness a84a837541 add pipeline 2024-09-30 12:25:32 +01:00
Michael McGuinness e0361d8a1f onlymain 2024-09-24 18:02:31 +01:00
Michael McGuinness 35b221d01f dev 2024-09-24 18:01:00 +01:00
Michael McGuinness 474bab2154 makestrig 2024-09-24 17:59:40 +01:00
Michael McGuinness 2194095316 typo 2024-09-24 17:58:58 +01:00
Michael McGuinness a507e12154 branchspecific 2024-09-24 17:57:41 +01:00
Michael McGuinness 246afa981b fixinclude 2024-09-24 17:48:32 +01:00
Michael McGuinness a435a288a1 fixed 2024-09-24 17:46:02 +01:00
Michael McGuinness 5ec0de2c42 indenting 2024-09-24 17:39:07 +01:00
Michael McGuinness 1796d51fa1 fixes 2024-09-24 17:35:40 +01:00
Michael McGuinness 01ae83cb80 firstversion 2024-09-23 18:12:26 +01:00
Michael McGuinness 663c95b377 testvarrefs 2024-09-23 17:53:30 +01:00
Michael McGuinness 666b9471ca envvars 2024-09-23 17:44:15 +01:00
Michael McGuinness b0373c907b changedeploymentname 2024-09-23 17:34:14 +01:00
Michael McGuinness 7d60da2882 go 2024-09-23 17:27:06 +01:00
Michael McGuinness 77d07a51c2 seedeployment 2024-09-23 17:24:53 +01:00
Michael McGuinness e81d13c605 thisllwork 2024-09-23 17:21:23 +01:00
Michael McGuinness 49dc11825c bettertext 2024-09-23 16:39:33 +01:00
Michael McGuinness b0e62b20f6 automatic 2024-09-23 16:37:19 +01:00
Michael McGuinness 22f70bfe67 fixmultiline 2024-09-23 16:32:31 +01:00