56e3fdd1f8
DRAFT: Bugfix/all cnc hotfixes * Pipeline fix - health plan state * Update for prompt vs non-prompt fixes * Revert utils.find_regex_matches() * Remove prints * Non-prompt run * Health Plan State, IRS, NPI, LOB, Lesser, Prov 2, Default, Rate Standard, Contract Effective Date, Term Group * Merged in bugfix/agreement_name (pull request #294) contract title fixed * contract title fixed * Merged bugfix/all_cnc_hotfixes into bugfix/agreement_name Approved-by: Katon Minhas * All hotfixes added * Fixed utils * fix for clean_contract_effective_date * Merged in default-fix (pull request #296) moved default funcs to the top, dropped intermediate columns * moved default funcs to the top, dropped intermediate columns Approved-by: Katon Minhas * quick fix to dropping extra columns * Merged in bugfix/effective_date_meridian (pull request #297) fixed effective date for meridian contracts * fixed effective date for meridian contracts Approved-by: Katon Minhas * Default rate and Lesser fix * Merged in hotfix/irs_npi_updated (pull request #298) updated irs and npi hotfix funcs * updated irs and npi hotfix funcs * Merged bugfix/all_cnc_hotfixes into hotfix/irs_npi_updated Approved-by: Katon Minhas * non-functional commit - default only * debug commit - premerge * Batch 1 Dup File Reconciliation * Default rate fix * Full CNC 1A Run Config * Standard column refactor * Working stitching for 1A * Merged in Alex-Galarce/cnc_hotfix_effective_date_utilspy-edited-1732659983687 (pull request #301) Remove "license" from effective date smart chunking * Remove "license" from effective date smart chunking * Merged bugfix/all_cnc_hotfixes into Alex-Galarce/cnc_hotfix_effective_date_utilspy-edited-1732659983687 Approved-by: Katon Minhas * Merged in hotfix/irs_batch2_feedback (pull request #300) IRS fix for feedback on batch2 * IRS fix for feedback on batch2 * Merged bugfix/all_cnc_hotfixes into hotfix/irs_batch2_feedback Approved-by: Katon Minhas * Merged main into bugfix/all_cnc_hotfixes Approved-by: Katon Minhas
35 lines
1.2 KiB
Python
35 lines
1.2 KiB
Python
# """
|
|
# Run N iterations of a single prompt, count unique outputs
|
|
# """
|
|
|
|
# import pandas as pd
|
|
|
|
# import prompts
|
|
# import claude_funcs
|
|
# import config
|
|
# import dict_operations
|
|
|
|
|
|
# N = 1
|
|
|
|
# # Paste contract text here
|
|
# text = """The maximum compensation for Covered Services rendered to a Covered Person shall be the "Allowed Amount."
|
|
# The Allowed Amount for Covered Services is the lesser of: (i) Allowable Charges; or (ii) as applicable,
|
|
# (a) 100% of the Payor's Medicaid fee schedule in effect on the date of service,
|
|
# or (b) for those Covered Services included in the Service Categories in Table 1 below,
|
|
# the applicable "Contracted Rate" set forth in Table 1 below. Physical, Occupational and Speech Therapy | 80% of the Medicaid Rate in effect on the date of service.
|
|
# """
|
|
|
|
# # Change prompt below
|
|
# prompt = prompts.BOTTOM_UP_METHODOLOGY_BREAKOUT({'FULL_METHODOLOGY' : text})
|
|
|
|
# all_dicts = []
|
|
# for i in range(N):
|
|
# answer = claude_funcs.invoke_claude(prompt, config.MODEL_ID_CLAUDE35_SONNET, "", 512)
|
|
# answer_dict = dict_operations.secondary_string_to_dict(answer, "")
|
|
# print(answer_dict)
|
|
# all_dicts.append(answer_dict)
|
|
|
|
# # answer_df = pd.DataFrame(all_dicts)
|
|
# # answer_df.to_csv('full_methodology_unit_test.csv')
|