Commit Graph

1429 Commits

Author SHA1 Message Date
Mayank Aamseek 0f80c1f16d Merged in bugfix/carveout_ind (pull request #635)
fixed non-default cases

* fixed non-default cases

* prompt fix

* prompt fix

* Merge branch 'main' into bugfix/carveout_ind

* prompt fix

* Merged main into bugfix/carveout_ind

* Merge branch 'main' into bugfix/carveout_ind

* prompt fix

* Merged main into bugfix/carveout_ind

* update Default term definition

* Merged main into bugfix/carveout_ind


Approved-by: Alex Galarce
2025-07-31 21:51:44 +00:00
Alex Galarce db4daa3f55 Merged in feature/additions-fixes (pull request #642)
propagate addition information to other side(s) of "lesser of"

* propagate addition information to other side(s) of "lesser of"


Approved-by: Katon Minhas
2025-07-31 21:25:52 +00:00
Mayank Aamseek 8087693b08 Merged in bugfix/unit_of_measure (pull request #641)
Bugfix/unit of measure

* unit of measure prompt updated

* handled null unit of measure for flat rate cases

* Merged main into bugfix/unit_of_measure


Approved-by: Alex Galarce
2025-07-31 17:04:33 +00:00
Mayank Aamseek 0f1159c872 Merged in bugfix/exhibit_header (pull request #640)
Bugfix/exhibit header

* prompt changes

* prompt changes

* test titles

* title fix

* removed print statemnts

* removed python notebook

* Merged main into bugfix/exhibit_header


Approved-by: Alex Galarce
2025-07-31 14:18:36 +00:00
Alex Galarce 9efcdb419b Merged in feature/five-new-phase-3-issues (pull request #639)
Feature/five new phase 3 issues

* refactor: update prompt for 'not to exceed' limitation to clarify monetary payment analysis

* rework LESSER_OF_IND prompt


Approved-by: Katon Minhas
2025-07-30 21:54:49 +00:00
Katon Minhas 1560e7f91d Merged in refactor/rename-procedure-cd (pull request #638)
CPT4_PROC_CD --> PROCEDURE_CD

* CPT4_PROC_CD --> PROCEDURE_CD


Approved-by: Alex Galarce
2025-07-30 15:04:20 +00:00
Alex Galarce 9c5de94472 Merged in feature/improved-error-out-logging (pull request #637)
Feature/improved error out logging

* Improve error logging in file processing and JSON parsing

* Enhance JSON parsing error handling for CSV compatibility

* black formatting

* isort

* Merge remote-tracking branch 'origin/main' into feature/improved-error-out-logging


Approved-by: Katon Minhas
2025-07-29 22:05:51 +00:00
Alex Galarce d4ba73dca5 Merged in feature/claude4-duplicate-and-missing-rows (pull request #636)
Feature/claude4 duplicate and missing rows

* Enhance crosswalk functionality with flatten_to_strings helper and improve value handling in apply_crosswalk

* Improve apply_crosswalk function to return original value as fallback when no mapping is found

* Enhance apply_crosswalk function to handle empty values and improve defensive programming tests

* Enhance reimbursement method prompt to include charge master limitations and improve mapping rules

* Merge remote-tracking branch 'origin/main' into feature/claude4-duplicate-and-missing-rows

* Refine CHECK_REDUNDANT_LESSER prompt for clarity and detail in evaluating redundancy of exhibit constraints

* Enable logging of LLM response for redundancy check in is_exhibit_lesser_of_redundant function

* Merge remote-tracking branch 'origin/main' into feature/claude4-duplicate-and-missing-rows

* rework prompt for exhibit-wide lesser of

* Refine reimbursement methodology guidelines by clarifying invalid entries and examples for risk-sharing

* Enhance exhibit linking logic to treat pages with substantial tables as separate exhibits and update function signature to include text_dict.


Approved-by: Katon Minhas
2025-07-29 21:26:00 +00:00
Mayank Aamseek 62d881fc2a Merged in bugfix/reimb_method_issues (pull request #627)
Bugfix/reimb method issues

* updated trigger_cap definition

* updated trigger_cap definition_new

* updated triggerbase threshold prompt

* updated Trigger Cap Def

* Merge branch 'main' into bugfix/special_case_fixes

* Merge branch 'main' into bugfix/special_case_fixes

* prompt changes

* Merge branch 'main' into bugfix/unit_of_measure

* post processing and prompts updated

* print statements removed

* print statements removed

* prompt updated

* prompt changes

* merged with main

* Merge branch 'main' into bugfix/reimb_method_issues

* updated reimb_method prompt and post processing

* merged with main

* bugfix for reimb_method

* Merged main into bugfix/reimb_method_issues

* Merge branch 'main' into bugfix/reimb_method_issues


Approved-by: Katon Minhas
2025-07-28 13:12:38 +00:00
Katon Minhas 38b7b5891f Merged in feature/update-universal-json (pull request #634)
Feature/update universal json

* update string utils

* Add flatten to string

* update comments and docstrings


Approved-by: Alex Galarce
2025-07-25 16:51:46 +00:00
VenkataKrishna Reddy Avula aee1e6f665 Merged in bugfix/trigger_cap_fixes (pull request #631)
Trigger_Cap+Special_Case_Fixes to Main

* updated trigger_cap_definition

* src/prompts/investment_prompts.py

* updated trigger base threshold prompt

* updated special case check prompt

* Merged main into bugfix/trigger_cap_fixes


Approved-by: Alex Galarce
2025-07-25 15:01:09 +00:00
Mayank Aamseek 6693c388c1 Merged in bugfix/special_case_fixes (pull request #633)
Bugfix/special case fixes

* notebook with fix added

* fixed additions case


Approved-by: Alex Galarce
2025-07-25 14:15:41 +00:00
Alex Galarce b9fce2077e Merged in hotfix/defensive-crosswalk (pull request #632)
Hotfix/defensive crosswalk handling

* Enhance crosswalk functionality with flatten_to_strings helper and improve value handling in apply_crosswalk

* Improve apply_crosswalk function to return original value as fallback when no mapping is found

* Enhance apply_crosswalk function to handle empty values and improve defensive programming tests

* move flatten_to_strings helper function to string_utils


Approved-by: Katon Minhas
2025-07-25 14:10:06 +00:00
VenkataKrishna Reddy Avula 080c83234c Merged in bugfix/mcs_issue_fixes (pull request #630)
Bugfix/mcs issue fixes to main

* updated trigger_cap definition

* updated NTE prompt

* Merged main into bugfix/mcs_issue_fixes

* reverted NTE prompt


Approved-by: Katon Minhas
2025-07-23 13:58:03 +00:00
Katon Minhas bc49532cb8 Merged in bugfix/claim-type-issues (pull request #629)
Bugfix/claim type issues

* Testing

* Prompt updates, move to one-to-one

* Remove print statement

* Remove test

* Add allow_na

* Update llm_utils

* Update passing to one-to-one

* Remove prints

* Merged main into bugfix/claim-type-issues

* remove print


Approved-by: Alex Galarce
2025-07-22 21:46:18 +00:00
Alex Galarce 712d92ad00 Merged in bugfix/claude-4-fix (pull request #628)
feature-flag ENABLE_RUNTIME_ROTATION to test NOT doing runtime rotation

* feature-flag ENABLE_RUNTIME_ROTATION to test NOT doing runtime rotation


Approved-by: Katon Minhas
2025-07-22 20:43:13 +00:00
Mayank Aamseek 3f3e1b1c7a Merged in bugfix/unit_of_measure (pull request #626)
Bugfix/unit of measure

* updated trigger_cap definition

* updated trigger_cap definition_new

* updated triggerbase threshold prompt

* updated Trigger Cap Def

* Merge branch 'main' into bugfix/special_case_fixes

* Merge branch 'main' into bugfix/special_case_fixes

* prompt changes

* Merge branch 'main' into bugfix/unit_of_measure

* post processing and prompts updated

* print statements removed

* print statements removed

* prompt updated


Approved-by: Katon Minhas
2025-07-21 17:42:02 +00:00
Alex Galarce 1c30c12672 Merged in bugfix/dedupe-prov-info-in-columns (pull request #625)
Implement deduplication of provider columns in DataFrame and add corresponding unit tests

* Implement deduplication of provider columns in DataFrame and add corresponding unit tests


Approved-by: Katon Minhas
2025-07-18 21:59:30 +00:00
Alex Galarce e161142ea5 Merged in feature/further-phase-1-and-2-fixes (pull request #624)
Sonnet 4 and model aliasing

* Add EXHIBIT_HEADER_MARKERS for improved document header recognition in table handling

* Refactor EXHIBIT_HEADER_MARKERS definition for improved clarity and organization

* remove unused page span tracking code; add unit tests for new functionality

* remove debugging logs from combine_continuous_tables function

* Refactor logging setup and update test file configuration in investment field testing notebook

* Merge remote-tracking branch 'origin/main' into feature/further-phase-1-and-2-fixes

* Merge remote-tracking branch 'origin/main' into feature/further-phase-1-and-2-fixes

* Refactor model ID handling and add support for model aliases in llm_utils

* Update model IDs to use alias in LLM invocation functions in one_to_n_funcs

* change pre-and-post-processing to new model alias method

* Update model ID references to use 'sonnet_latest' in LLM invocation functions

* Update LLM invocation functions to use 'sonnet_latest' model ID

* Update LLM invocation functions to use 'sonnet_latest' and 'haiku_latest' model IDs

* update invoke_claude function docstring

* Fix caller frame to address mypy error


Approved-by: Katon Minhas
2025-07-18 19:00:09 +00:00
Mayank Aamseek b79674d6c0 Merged in bugfix/special_case_fixes (pull request #623)
Bugfix/special case fixes

* updated trigger_cap definition

* updated trigger_cap definition_new

* updated triggerbase threshold prompt

* updated Trigger Cap Def

* Merge branch 'main' into bugfix/special_case_fixes

* Merge branch 'main' into bugfix/special_case_fixes


Approved-by: Katon Minhas
2025-07-18 14:49:00 +00:00
VenkataKrishna Reddy Avula 0df334905e Merged in bugfix/rate_escalator_reimbursements (pull request #616)
Bugfix/rate escalator reimbursements to Main

* rate_escalator_terms added

* added RE statement

* fixed pattern error

* fixed enhanced reimb term

* Merge remote-tracking branch 'origin/main' into bugfix/rate_escalator_reimbursements


Approved-by: Alex Galarce
2025-07-17 22:05:33 +00:00
Alex Galarce c094fa35b0 Merged in feature/further-phase-1-and-2-fixes (pull request #622)
Table Continuation Fix

* Add EXHIBIT_HEADER_MARKERS for improved document header recognition in table handling

* Refactor EXHIBIT_HEADER_MARKERS definition for improved clarity and organization

* remove unused page span tracking code; add unit tests for new functionality

* remove debugging logs from combine_continuous_tables function

* Refactor logging setup and update test file configuration in investment field testing notebook

* Merge remote-tracking branch 'origin/main' into feature/further-phase-1-and-2-fixes


Approved-by: Katon Minhas
2025-07-17 19:39:33 +00:00
Mayank Aamseek 33bd9a975a Merged in feature/additions (pull request #621)
false positives in additions (special case) fixed

* false positives in additions (special case) fixed

* Merged main into feature/additions


Approved-by: Alex Galarce
2025-07-17 19:13:17 +00:00
Katon Minhas aa149ee498 Merged in refactor/prompt-template (pull request #620)
Move prompt template

* Move prompt template


Approved-by: Alex Galarce
2025-07-17 13:24:01 +00:00
Alex Galarce 10e534bc77 Merged in feature/check-reimb-filtering (pull request #617)
Enhance reimbursement filtering, extraction, and second-order redundancy checks

* Enhance reimbursement methodology documentation with additional valid and invalid examples

* Refine reimbursement methodology extraction guidelines for clarity and detail

* Add debug logging for methodology breakout prompt and LLM response

* Add clarification for non-reimbursement statements in reimbursement guidelines

* for exhibit lesser-of processing, add second-order redundancy checks using LLM

* Add filename parameter to exhibit lesser-of application and log LLM response for redundancy check

* Merge remote-tracking branch 'origin/main' into feature/check-reimb-filtering


Approved-by: Katon Minhas
2025-07-16 21:44:35 +00:00
VenkataKrishna Reddy Avula c7870e7d2f Merged in bugfix/special_case_breakout_test_metrics (pull request #615)
bugfix/special_case_breakout_test_metrics to main

* updated special case breakout fields to testbed metrics

* Merged main into bugfix/special_case_breakout_test_metrics


Approved-by: Alex Galarce
2025-07-16 14:28:23 +00:00
Mayank Aamseek 96bb039502 Merged in bugfix/methodology-breakout-issues (pull request #606)
Bugfix/methodology breakout issues

* prompt updated

* Merge remote-tracking branch 'origin/main' into bugfix/claim_type_1_to_1

* print statements added for testing

* test notebook added

* Merge remote-tracking branch 'origin/main' into bugfix/methodology-breakout-issues

* multiple fee schedule in one term fixed

* print statements removed

* print statements removed

* print statements removed

* Merge remote-tracking branch 'origin/main' into bugfix/methodology-breakout-issues

* prompt updated to fix mcs issue (row 246)

* to fix mcs issue (row 278)

* Merge remote-tracking branch 'origin/main' into bugfix/methodology-breakout-issues

* special cases and carveouts separated

* reverted back unlisted_code carveout_ind value

* pipeline error fixed

* Merge remote-tracking branch 'origin/main' into bugfix/methodology-breakout-issues

* fixes relted to multiple procedure reductions and lesser of

* Merge remote-tracking branch 'origin/main' into bugfix/methodology-breakout-issues

* breaking special and carveout

* code cleanup

* Merge branch 'main' into bugfix/methodology-breakout-issues

* Merged main into bugfix/methodology-breakout-issues

* comments added

* lesser of prompt updated to handle nested cases


Approved-by: Alex Galarce
2025-07-15 14:31:39 +00:00
Alex Galarce 2680259f22 Merged in bugfix/samaritan-missing-rows (pull request #608)
Exhibit-level Lesser Of

* Enhance exception language clarity in investment prompts

* Roll back exception language

* initial try at exhibit_lesser_of

* simplify `create_exhibit_lesser_of_row`

* Refine prompt for extracting 'lesser of' and 'not to exceed' constraints in exhibit

* Remove unused `get_service_breakout` function; it was unreferenced

* run exhibit-level answers FIRST, apply exhibit lesser-of WITHIN reimbursement_level

* Refine prompt for extracting 'lesser of' and 'not to exceed' constraints to clarify expected output and handling of multiple constraints.

* Merge remote-tracking branch 'origin/main' into bugfix/samaritan-missing-rows

* add exhibit_lesser_of="N/A" to tests

* Add exhibit_lesser_of parameter to reimbursement_level calls in tests

* restore dynamic answer retrieval for primary, reimbursement info, and code fields

* Merge remote-tracking branch 'origin/main' into bugfix/samaritan-missing-rows

* "fill in the blank" prompt attempt

* Merge remote-tracking branch 'origin/main' into bugfix/samaritan-missing-rows

* Merge remote-tracking branch 'origin/main' into feature/sonnet-4

* Merge remote-tracking branch 'origin/feature/sonnet-4' into bugfix/samaritan-missing-rows

* Merge remote-tracking branch 'origin/main' into bugfix/samaritan-missing-rows

* Remove carveout patterns from has_explicit_lesser_of_carveout function

* Add deduplicate_methodology_breakout function to remove duplicate reimbursement methodologies

* Add deduplication of methodology breakout rows in postprocess function

* Enhance create_exhibit_lesser_of_row to avoid redundancy with substring checks

* Change log level from info to debug for exhibit constraint check in create_exhibit_lesser_of_row

* Remove deduplication of methodology breakout rows from postprocess function (we handle it upstream)

* Merged main into bugfix/samaritan-missing-rows


Approved-by: Katon Minhas
2025-07-14 22:04:41 +00:00
VenkataKrishna Reddy Avula 80967dfcee Merged in Feature/Addition_Fields (pull request #614)
Feature/Addition_Fields to Main

* initiated addition fields

* added AARETE_DERIVED_ADDITION_RATE_CHANGE_TIMELINE field


Approved-by: Katon Minhas
2025-07-14 17:02:36 +00:00
VenkataKrishna Reddy Avula 0032a71bbf Merged in bugfix/trigger_cap (pull request #613)
Bugfix/trigger cap to main

* updated trigger base threshold prompt

* Merged main into bugfix/trigger_cap

* updated trigger cap carveout_cd desc

* updated trigger cap carveout desc

* Merged main into bugfix/trigger_cap

* updated prompts

* added units for threshold

* Merge branch 'main' into bugfix/trigger_cap


Approved-by: Katon Minhas
2025-07-11 15:02:28 +00:00
VenkataKrishna Reddy Avula 7f041ea5b9 Merged in Feature/Rate_Escalators (pull request #612)
Feature/Rate Escalators to main

* added rate esalator fields

* Merged main into Feature/Rate_Escalators

* updated rate escalator prompts

* updated field names and prompts

* Merged main into Feature/Rate_Escalators

* updated pct prompt


Approved-by: Katon Minhas
2025-07-11 14:59:45 +00:00
Alex Galarce 3dd04b79ec Merged in feature/sonnet-4 (pull request #611)
Genericize claude-calling functions for Claude 3 and above; unify interfaces

* First-pass implementation for reimbursement filtering

* Enhance reimbursement level processing by filtering out services without reimbursement terms and logging when no valid pairs are found.

* Update mock return values in reimbursement level tests to reflect new reimbursement terms

* Merge remote-tracking branch 'origin/main' into feature/split-and-filter-reimbursements

* Refine reimbursement filtering by adding 'billed' to indicators and ensuring REIMB_TERM is a string before processing.

* Refactor is_empty function signature to support multiple input types and clarify return values

* adding LLM review for ambiguous reimbursement methodology cases

* more stringent keywords for stage 1 of reimbursement filtering

* refining rate and cost patterns for reimbursement filtering

* Enhance LLM response handling in reimbursement methodology check to improve accuracy and logging for ambiguous cases.

* Merge remote-tracking branch 'origin/main' into feature/split-and-filter-reimbursements

* Update reimbursement test cases to reflect accurate reimbursement terms and improve deduplication logic

* move VALIDATE_REIMBURSEMENTS_PROMPT to investment_prompts.py

* black, isort formatting

* Remove IDENTIFY_REIMBURSEMENT_EXHIBITS_PROMPT function (unused)

* Refactor Claude model invocation functions to support Claude 3 and above, enhancing error handling and adding unified interfaces for local and EC2 executions.

* Add support for Claude 3.7 model in local and EC2 invocation functions

* Merge remote-tracking branch 'origin/main' into feature/sonnet-4


Approved-by: Katon Minhas
2025-07-10 20:46:05 +00:00
Katon Minhas 6caf8dec2f Merged in hotfix/claim-type-cd (pull request #610)
Hotfix/claim type cd

* Fix exhibit_level prompt

* e2e test passed - successfully pulling multiple Claim Types per exhibit

* Merged main into hotfix/claim-type-cd


Approved-by: Alex Galarce
2025-07-10 19:42:55 +00:00
Alex Galarce de2e7291d1 Merged in feature/filter-out-clean-claims (pull request #609)
Enhance INVALID entries examples in reimbursement guidelines for clean claims

* Enhance INVALID entries examples in reimbursement guidelines for clean claims


Approved-by: Katon Minhas
2025-07-10 18:20:21 +00:00
Katon Minhas 45db295d17 Merged in hotfix/prov-info-json (pull request #607)
derive IS_GROUP

* derive IS_GROUP

* Update unit tests


Approved-by: Alex Galarce
2025-07-09 21:01:15 +00:00
Katon Minhas 4d3bfe0256 Merged in bugfix/mcs-issue-fixes (pull request #604)
Bugfix/mcs issue fixes

* debugging and initial prompt change

* Remove redundant reimb info

* Merged main into bugfix/mcs-issue-fixes

* Prep for merge

* update unit tests


Approved-by: Alex Galarce
2025-07-08 21:08:57 +00:00
Alex Galarce da362dcedb Merged in feature/script-add-lesser-of-id-to-testbed (pull request #603)
Add script to generate and save reimbursement IDs in testbed

* Add script to generate and save reimbursement IDs in testbed

* Merged main into feature/script-add-lesser-of-id-to-testbed


Approved-by: Katon Minhas
2025-07-08 17:19:34 +00:00
Alex Galarce 479675b05c Merged in feature/provider-state (pull request #602)
Feature/provider state

* Add prompt for extracting provider state information in investment prompts

* Add state normalization function and integrate into context field extraction

* black format string_utils.py; add tests for normalize_state_to_abbreviation function

* black format string_utils_test.py

* Add PROVIDER_STATE to investment column order

* Merged main into feature/provider-state


Approved-by: Katon Minhas
2025-07-07 21:42:49 +00:00
AARETE\agupta 5a8adf838d Merge branch 'main' of https://bitbucket.org/aarete/doczy.ai 2025-07-07 14:33:20 -05:00
Katon Minhas ac6dfdb721 Merged in bugfix/mcs-issue-fixes (pull request #601)
Bugfix/mcs issue fixes

* Update code primary prompt

* Merge branch 'main' into bugfix/mcs-issue-fixes

* No longer treat non-reimbursement tables as 'tables' for the purpose of preprocessing

* No longer extract Reimb Effective Date from footer of the page

* Merge branch 'main' into bugfix/mcs-issue-fixes

* Update unit tests

* Add postprocessing step to remove Reimb Date values when the 1:1 date values are identical

* Update unit tests

* prep for merge

* Remove excess prints

* Merged main into bugfix/mcs-issue-fixes

* Merge branch 'main' into bugfix/mcs-issue-fixes

* Prep for merge

* remove print


Approved-by: Alex Galarce
2025-07-07 16:57:47 +00:00
Alex Galarce 7dfabacbe8 Merged in bugfix/fix-overzealous-duplication (pull request #597)
Bugfix/fix overzealous duplication

* Refactor duplicate processing logic to scope seen pairs by base page, enhancing clarity and accuracy in deduplication.

* Enhance deduplication tests to include base page identifiers in seen pairs

* Merged main into bugfix/fix-overzealous-duplication


Approved-by: Katon Minhas
2025-07-07 15:00:56 +00:00
VenkataKrishna Reddy Avula f8f65e28ea Merged in feature/trigger_cap (pull request #598)
Feature/trigger cap to Main

* updated trigger cap prompts

* updated trigger cap prompts

* Merged main into feature/trigger_cap

* fixes field names in field order

* Merged main into feature/trigger_cap


Approved-by: Alex Galarce
2025-07-07 14:54:28 +00:00
Mayank Aamseek 28c6cd588e Merged in bugfix/methodology-breakout-issues (pull request #599)
Bugfix/methodology breakout issues

* restored old prompt

* updated claim type cd prompt

* claim_type exhibit level added

* Merge branch 'bugfix/claim_type_1_to_1' of https://bitbucket.org/aarete/doczy.ai into bugfix/claim_type_1_to_1

* field type updated

* Merge remote-tracking branch 'origin/main' into bugfix/claim_type_1_to_1

* fixed location of updating field_type to full_context

* updated ancillary examples

* removed print statements

* Merge branch 'bugfix/claim_type_1_to_1' of https://bitbucket.org/aarete/doczy.ai into bugfix/claim_type_1_to_1

* prompt updated to avoid N/A

* Merge remote-tracking branch 'origin/main' into bugfix/claim_type_1_to_1

* prompt changed to handle multiple matches

* prompt updated

* Merge remote-tracking branch 'origin/main' into bugfix/claim_type_1_to_1

* print statements added for testing

* test notebook added

* Merge remote-tracking branch 'origin/main' into bugfix/methodology-breakout-issues

* multiple fee schedule in one term fixed

* print statements removed

* print statements removed

* print statements removed


Approved-by: Alex Galarce
2025-07-07 13:14:20 +00:00
Alex Galarce 0230d07dda Merged in feature/split-reimbursements (pull request #593)
Feature/split reimbursements

* Update reimbursement test cases to reflect accurate reimbursement terms and improve deduplication logic

* move VALIDATE_REIMBURSEMENTS_PROMPT to investment_prompts.py

* black, isort formatting

* Remove IDENTIFY_REIMBURSEMENT_EXHIBITS_PROMPT function (unused)

* Add MODEL_ID_CLAUDE4_SONNET for new model integration (doesn't work right now)

* pipe delimited-output and parsing

* Merge remote-tracking branch 'origin/main' into feature/split-and-filter-reimbursements

* Merge remote-tracking branch 'origin/main' into feature/split-reimbursements

* Add functionality to split compound reimbursement terms into distinct methodologies

* splitting logic for reimbursement terms

* put in split compound reimbursement step

* Fix JSON output formatting in reimbursement terms example

* reimbursement splitting: move prompt to investment_prompts.py, move keywords to investment_values.py

* Merge remote-tracking branch 'origin/main' into feature/split-reimbursements

* Merge remote-tracking branch 'origin/main' into feature/split-reimbursements

* Change order (split -> filter over filter -> split), improve logging

* Refactor reimbursement filtering logic to use a two-stage approach with pattern-based negative filtering and LLM validation

* Replace clear reimbursement indicators with obvious non-reimbursement indicators for improved clarity in reimbursement filtering

* Simplify reimbursement filtering by removing pattern-based checks and relying solely on LLM validation

* Remove obvious non-reimbursement indicators from reimbursement filtering keywords

* Enhance reimbursement level test by adding LLM validation and updating mock return values for service terms

* Merge remote-tracking branch 'origin/main' into feature/split-reimbursements

* Fix failing test

* Merge remote-tracking branch 'origin/main' into feature/split-reimbursements

* update mock return values to fix failed tests


Approved-by: Siddhant Medar
2025-07-02 17:33:18 +00:00
AARETE\agupta 8e8b29d7e9 Merge branch 'main' of https://bitbucket.org/aarete/doczy.ai 2025-07-02 12:05:26 -05:00
Mayank Aamseek 5d65251851 Merged in bugfix/claim_type_1_to_1 (pull request #590)
Bugfix/claim type 1 to 1

* restored old prompt

* updated claim type cd prompt

* claim_type exhibit level added

* Merge branch 'bugfix/claim_type_1_to_1' of https://bitbucket.org/aarete/doczy.ai into bugfix/claim_type_1_to_1

* field type updated

* Merge remote-tracking branch 'origin/main' into bugfix/claim_type_1_to_1

* fixed location of updating field_type to full_context

* updated ancillary examples

* removed print statements

* Merge branch 'bugfix/claim_type_1_to_1' of https://bitbucket.org/aarete/doczy.ai into bugfix/claim_type_1_to_1

* prompt updated to avoid N/A

* Merge remote-tracking branch 'origin/main' into bugfix/claim_type_1_to_1

* prompt changed to handle multiple matches

* prompt updated

* Merge remote-tracking branch 'origin/main' into bugfix/claim_type_1_to_1


Approved-by: Alex Galarce
2025-07-01 22:32:37 +00:00
Alex Galarce 2abf33b20d Merged in bugfix/fix_nonunique_one_to_ones_and_strip_columns (pull request #595)
Fix data quality issues in testbed preprocessing and enhance error reporting

* Fix data quality issues in testbed preprocessing and enhance error reporting

* Merge remote-tracking branch 'origin/main' into bugfix/fix_nonunique_one_to_ones_and_strip_columns


Approved-by: Siddhant Medar
2025-06-30 20:39:14 +00:00
Katon Minhas 737050b75c Merged in bugfix/bill-type-mapping (pull request #594)
Fix mappings

* Fix mappings


Approved-by: Alex Galarce
2025-06-30 18:41:59 +00:00
Katon Minhas c6a1ca6d80 Merged in feature/remove-greaterof-ind (pull request #592)
remove Greater Of from prompt, as its always N

* remove Greater Of from prompt, as its always N

* Merged main into feature/remove-greaterof-ind


Approved-by: Alex Galarce
2025-06-27 20:22:22 +00:00
VenkataKrishna Reddy Avula 4bb5c96b5f Merged in bugfix/aarete_derived_effective_date (pull request #591)
Bugfix/aarete derived effective date to Main

* added effective date keywords

* updated key word

* updated prompt

* updated new prompt


Approved-by: Katon Minhas
2025-06-27 17:57:51 +00:00