Skip to content

feat: add verified industry reference examples - #224

Open
svonava wants to merge 6 commits into
mainfrom
feat/verified-industry-examples
Open

feat: add verified industry reference examples#224
svonava wants to merge 6 commits into
mainfrom
feat/verified-industry-examples

Conversation

@svonava

@svonava svonava commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add runnable financial filing, prior authorization, and maintenance triage examples
  • include checked evidence from real component calls against public SIE main at 4b5ea9c
  • preserve each source, parsed output, raw model response, mapped record, review, manifest, and evaluation
  • define narrow decision boundaries for financial, healthcare, and industrial evidence

Evidence and provenance

  • Finance reads original values from the original Form 10-Q, reads restated values from the Form 10-K/A, and cross-checks the amended filing's previously reported column.
  • CMS keeps each submitted document as a distinct source fragment and reproduces the published one-month documentation gap without making a coverage or medical decision.
  • Maintenance reconstructs the NTSB detector sequence without adding a causal claim or control action. A saved structured-output probe includes its exact request, response, input hash, runtime commit, and narrow interpretation.
  • Public configs use docling-project/docling. Manifests show the internal docling ID used by the direct local server during verification.

Verification

Live NVIDIA L4 runs:

  • Finance: 8/8 evaluation checks, 2026-07-25T02:28:01.848776+00:00
  • CMS: 10/10 evaluation checks, 2026-07-25T02:35:39.667778+00:00
  • Maintenance: 8/8 evaluation checks, 2026-07-25T02:35:45.228957+00:00

Local package checks:

  • Finance: 12 tests
  • CMS: 18 tests
  • Maintenance: 12 tests
  • Ruff format and lint pass in all three packages
  • every manifest artifact hash and diagnostic-fixture hash matches
  • adversarial review found no remaining blocker, secret, unrelated file, stale artifact name, or chronological run path

Summary by CodeRabbit

  • New Features
    • Added runnable example agents (financial filing, maintenance triage, prior authorization) with gallery updates and dedicated review/evaluation CLI flows.
    • Each agent now supports reproducible run outputs, including evaluation.json and manifest-updated evidence artifacts.
  • Documentation
    • Expanded READMEs and evidence bundle expectations; added/updated .env.example and configuration files; added packaging metadata and CLI entry points.
  • Bug Fixes
    • Tightened “fails closed” validation gates and standardized required evidence/phrasing checks for more reliable review/evaluation outcomes.
  • Tests
    • Expanded end-to-end and fail-closed coverage, including deterministic artifact hashing and stricter validation scenarios.

@svonava

svonava commented Jul 25, 2026

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

@svonava

svonava commented Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

Review update:\n\n- Removed the endpoint-specific Docling identifier translation.\n- All new runs now use the canonical SIE model ID, docling, on local and Cloud endpoints.\n- Preserved the acquisition-time configured identifier in each verified manifest and documented why it differs from the canonical model actually served.\n- Reran 42 locked offline tests plus Ruff lint and format across all three packages.\n\nThis keeps the examples compatible with PR #222 and avoids client-side model naming rules.

@coderabbitai

coderabbitai Bot commented Jul 27, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 41eadbec-b9b5-4e36-b1e3-41446853e572

📥 Commits

Reviewing files that changed from the base of the PR and between f730517 and 4af493d.

⛔ Files ignored due to path filters (2)
  • examples/maintenance-triage-agent/verified-run/manifest.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/review.json is excluded by !examples/**/verified-run/** and included by examples/**
📒 Files selected for processing (1)
  • examples/maintenance-triage-agent/maintenance_triage/review.py

📝 Walkthrough

Walkthrough

Three runnable SIE examples add end-to-end review pipelines for financial filings, NTSB bearing-failure reconstruction, and CMS prior authorization, with configurations, CLI evaluators, evidence artifacts, documentation, and tests.

Changes

Financial Filing Review

Layer / File(s) Summary
Example setup and configuration
examples/README.md, examples/financial-filing-agent/...
Adds documentation, SIE settings, packaging, environment defaults, ignore rules, package initialization, and gallery registration.
Review pipeline
examples/financial-filing-agent/financial_filing/review.py
Requires an additional $1.34 filing-source span before review processing continues.
Evaluation and tests
examples/financial-filing-agent/financial_filing/evaluate.py, examples/financial-filing-agent/tests/test_review.py
Adds evaluation checks, manifest updates, CLI failure handling, and validation tests for calculations, evidence, fail-closed behavior, and hashes.

Maintenance Triage Review

Layer / File(s) Summary
Example setup and configuration
examples/maintenance-triage-agent/...
Adds documentation, SIE settings, packaging, environment defaults, ignore rules, and package initialization.
Review pipeline
examples/maintenance-triage-agent/maintenance_triage/review.py
Maps East Palestine timing evidence, derives the 38-car total, validates detector timing, and uses the configured client timeout.
Evaluation and tests
examples/maintenance-triage-agent/maintenance_triage/evaluate.py, examples/maintenance-triage-agent/tests/test_review.py
Adds evaluation checks and tests for source mapping, schema preservation, trend reconstruction, fail-closed validation, and artifact hashes.

Prior Authorization Review

Layer / File(s) Summary
Example setup and configuration
examples/prior-authorization-review-agent/...
Adds documentation, SIE settings, packaging, environment defaults, ignore rules, and package initialization.
Review pipeline
examples/prior-authorization-review-agent/prior_authorization/review.py
Tightens CMS source-scope and overdue validation, preserves extracted outcome text, and uses configured run and client settings.
Evaluation and tests
examples/prior-authorization-review-agent/prior_authorization/evaluate.py, examples/prior-authorization-review-agent/tests/test_review.py
Updates evaluation matching and missing-artifact handling, with tests for source scopes, evidence shape, CMS constraints, manifest updates, and CLI control flow.

Estimated code review effort: 4 (Complex) | ~60 minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: adding verified industry reference examples.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/verified-industry-examples

Comment @coderabbitai help to get the list of available commands.

@svonava

svonava commented Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

@coderabbitai full review

@coderabbitai

coderabbitai Bot commented Jul 27, 2026

Copy link
Copy Markdown
✅ Action performed

Full review finished.


Your included review limit is currently reached under our Fair Usage Limits Policy. Your recent PR review activity is in the 95th percentile or higher among CodeRabbit users, so adaptive limits apply. This review may still proceed through usage-based billing if eligible. Your next included review will be available in 49 minutes.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 6

🧹 Nitpick comments (2)
examples/maintenance-triage-agent/tests/test_review.py (1)

214-221: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Add a failure test for the chunk-identity gate.

_require_ranked_evidence rejects evidence rows missing chunk_id or text (review.py lines 181-182), and _row_for_location rejects ambiguous location matches (review.py lines 227-228). Neither branch is exercised, yet both are provenance guarantees this example advertises.

🧪 Suggested addition
def test_review_fails_closed_on_evidence_without_chunk_identity() -> None:
    evidence = ranked_evidence()
    del evidence[0]["chunk_id"]
    try:
        build_review(structured_data(), evidence)
    except RuntimeError as exc:
        assert "chunk identity" in str(exc)
    else:
        raise AssertionError("build_review accepted evidence without a chunk id")

As per path instructions, "Check that commands match the implementation and that tests cover failure paths".

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@examples/maintenance-triage-agent/tests/test_review.py` around lines 214 -
221, Add failure-path coverage in test_review.py for the chunk-identity gate
used by build_review: create valid ranked evidence, remove a row’s chunk_id (or
text), and assert RuntimeError with the expected “chunk identity” message; fail
explicitly if build_review accepts it. Also add coverage for _row_for_location
rejecting ambiguous location matches, preserving the advertised provenance
guarantees.

Source: Path instructions

examples/prior-authorization-review-agent/tests/test_review.py (1)

1-360: 🎯 Functional Correctness | 🔵 Trivial | ⚡ Quick win

Add failure-path tests for the remaining fail-closed gates.

Coverage exists for build_review's field-mismatch gates, but not for _source_scope (no matching fragment), _require_ranked_evidence (missing/malformed reranked rows), _chunks (no usable chunks), or the "not overdue" branch in build_review. These are part of the same deterministic fail-closed contract the README highlights ("Missing, conflicting, or untraceable model output stops the run").

As per path instructions, "Check that commands match the implementation and that tests cover failure paths."

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@examples/prior-authorization-review-agent/tests/test_review.py` around lines
1 - 360, Add failure-path tests covering the remaining fail-closed gates: make
_source_scope reject evidence with no matching fragment, make
_require_ranked_evidence reject missing or malformed reranked rows, and make
_chunks reject input with no usable chunks. Add a build_review test for the
not-overdue encounter case, asserting the documented failure behavior. Reuse
existing fixtures/helpers and assert the expected RuntimeError messages.

Source: Path instructions

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@examples/financial-filing-agent/financial_filing/review.py`:
- Around line 136-143: Update _require_entity_evidence so required_spans also
includes the restated diluted EPS source span "$1.34", preserving the existing
normalization, missing-span detection, and error behavior.

In `@examples/maintenance-triage-agent/maintenance_triage/__init__.py`:
- Line 1: Update the module docstring in maintenance_triage to describe that the
example performs read-only maintenance triage using the published NTSB SPC-24-06
page spread, removing the inaccurate reference to synthetic plant records.

In `@examples/maintenance-triage-agent/maintenance_triage/review.py`:
- Around line 478-480: Update the SIEClient construction in the maintenance flow
to pass the already-read timeout variable from
config["cluster"]["provision_timeout_s"] instead of the hardcoded 900, while
preserving the existing timeout forwarding for subsequent calls.
- Around line 452-462: Update the mapped-field and triage calculation flow to
derive both asserted values: add and validate east_palestine_time via
_source_match in _map_exact_source_fields, then compute
salem_to_east_palestine_minutes from the mapped times like
sebring_to_salem_minutes; also derive derailment.total_cars from the validated
derailment_statement as 1 hopper car plus 37 others, replacing the literal 38.

In `@examples/maintenance-triage-agent/README.md`:
- Around line 62-77: Update the evidence-bundle artifact list in the README to
include the per-stage GLiNER outputs written by run():
raw/entities-detector-{index}.json and raw/entities-outcome.json. Keep the
existing artifact entries unchanged and ensure the documented paths match the
implementation.

In `@examples/prior-authorization-review-agent/prior_authorization/review.py`:
- Around line 389-415: Update review.py lines 389-415 to populate
missing_documentation, review_conclusion, and payment_action from the validated
outcome fields rather than literals; update README.md lines 26-32 to accurately
describe verbatim versus canonical fields; update evaluate.py lines 50-60 to use
token/substring assertions matching _require_tokens instead of fixed-string
equality.

---

Nitpick comments:
In `@examples/maintenance-triage-agent/tests/test_review.py`:
- Around line 214-221: Add failure-path coverage in test_review.py for the
chunk-identity gate used by build_review: create valid ranked evidence, remove a
row’s chunk_id (or text), and assert RuntimeError with the expected “chunk
identity” message; fail explicitly if build_review accepts it. Also add coverage
for _row_for_location rejecting ambiguous location matches, preserving the
advertised provenance guarantees.

In `@examples/prior-authorization-review-agent/tests/test_review.py`:
- Around line 1-360: Add failure-path tests covering the remaining fail-closed
gates: make _source_scope reject evidence with no matching fragment, make
_require_ranked_evidence reject missing or malformed reranked rows, and make
_chunks reject input with no usable chunks. Add a build_review test for the
not-overdue encounter case, asserting the documented failure behavior. Reuse
existing fixtures/helpers and assert the expected RuntimeError messages.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 45314b75-564f-486d-8637-593b0866fab3

📥 Commits

Reviewing files that changed from the base of the PR and between 4b5ea9c and beee131.

⛔ Files ignored due to path filters (66)
  • .coderabbit.yaml is excluded by none and included by none
  • examples/financial-filing-agent/fixtures/SOURCES.md is excluded by !examples/**/fixtures/** and included by examples/**, examples/**/fixtures/SOURCES.md
  • examples/financial-filing-agent/fixtures/pathward-filing-packet.html is excluded by !examples/**/fixtures/** and included by examples/**
  • examples/financial-filing-agent/fixtures/pathward-q3-fy2023.json is excluded by !examples/**/fixtures/** and included by examples/**
  • examples/financial-filing-agent/uv.lock is excluded by !**/*.lock, !examples/**/uv.lock and included by examples/**
  • examples/financial-filing-agent/verified-run/evaluation.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/financial-filing-agent/verified-run/manifest.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/financial-filing-agent/verified-run/parsed.md is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/financial-filing-agent/verified-run/raw/entities-original-10q.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/financial-filing-agent/verified-run/raw/entities-restated-10ka.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/financial-filing-agent/verified-run/raw/entities-status.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/financial-filing-agent/verified-run/raw/entities.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/financial-filing-agent/verified-run/raw/gliner2-original-10q.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/financial-filing-agent/verified-run/raw/gliner2-restated-10ka.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/financial-filing-agent/verified-run/raw/gliner2-status.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/financial-filing-agent/verified-run/raw/mapped.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/financial-filing-agent/verified-run/raw/parse.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/financial-filing-agent/verified-run/raw/rerank.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/financial-filing-agent/verified-run/raw/retrieve.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/financial-filing-agent/verified-run/review.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/fixtures/SOURCES.md is excluded by !examples/**/fixtures/** and included by examples/**, examples/**/fixtures/SOURCES.md
  • examples/maintenance-triage-agent/fixtures/STRUCTURED_OUTPUT_PROBE.md is excluded by !examples/**/fixtures/** and included by examples/**
  • examples/maintenance-triage-agent/fixtures/east-palestine-bearing-spread.pdf is excluded by !**/*.pdf, !examples/**/fixtures/** and included by examples/**
  • examples/maintenance-triage-agent/fixtures/output-schema-probe-request.json is excluded by !examples/**/fixtures/** and included by examples/**
  • examples/maintenance-triage-agent/fixtures/output-schema-probe-response.json is excluded by !examples/**/fixtures/** and included by examples/**
  • examples/maintenance-triage-agent/uv.lock is excluded by !**/*.lock, !examples/**/uv.lock and included by examples/**
  • examples/maintenance-triage-agent/verified-run/evaluation.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/manifest.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/parsed.md is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/raw/entities-detector-0.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/raw/entities-detector-1.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/raw/entities-detector-2.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/raw/entities-outcome.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/raw/entities.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/raw/gliner2-cause.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/raw/gliner2-derailment.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/raw/gliner2-east-palestine.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/raw/gliner2-engineer.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/raw/gliner2-salem.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/raw/gliner2-sebring.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/raw/mapped.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/raw/parse.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/raw/rerank.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/raw/retrieve.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/review.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/fixtures/SOURCES.md is excluded by !examples/**/fixtures/** and included by examples/**, examples/**/fixtures/SOURCES.md
  • examples/prior-authorization-review-agent/fixtures/cms-l1851-insufficient-documentation.html is excluded by !examples/**/fixtures/** and included by examples/**
  • examples/prior-authorization-review-agent/uv.lock is excluded by !**/*.lock, !examples/**/uv.lock and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/evaluation.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/manifest.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/parsed.md is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/raw/entities-case-0.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/raw/entities-case-1.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/raw/entities-case-2.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/raw/entities-case-3.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/raw/entities-case-4.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/raw/entities-requirement-0.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/raw/entities.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/raw/gliner2-outcome.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/raw/gliner2-requirements.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/raw/gliner2-submission.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/raw/mapped.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/raw/parse.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/raw/rerank.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/raw/retrieve.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/review.json is excluded by !examples/**/verified-run/** and included by examples/**
📒 Files selected for processing (28)
  • examples/README.md
  • examples/financial-filing-agent/.env.example
  • examples/financial-filing-agent/.gitignore
  • examples/financial-filing-agent/README.md
  • examples/financial-filing-agent/config.yaml
  • examples/financial-filing-agent/financial_filing/__init__.py
  • examples/financial-filing-agent/financial_filing/evaluate.py
  • examples/financial-filing-agent/financial_filing/review.py
  • examples/financial-filing-agent/pyproject.toml
  • examples/financial-filing-agent/tests/test_review.py
  • examples/maintenance-triage-agent/.env.example
  • examples/maintenance-triage-agent/.gitignore
  • examples/maintenance-triage-agent/README.md
  • examples/maintenance-triage-agent/config.yaml
  • examples/maintenance-triage-agent/maintenance_triage/__init__.py
  • examples/maintenance-triage-agent/maintenance_triage/evaluate.py
  • examples/maintenance-triage-agent/maintenance_triage/review.py
  • examples/maintenance-triage-agent/pyproject.toml
  • examples/maintenance-triage-agent/tests/test_review.py
  • examples/prior-authorization-review-agent/.env.example
  • examples/prior-authorization-review-agent/.gitignore
  • examples/prior-authorization-review-agent/README.md
  • examples/prior-authorization-review-agent/config.yaml
  • examples/prior-authorization-review-agent/prior_authorization/__init__.py
  • examples/prior-authorization-review-agent/prior_authorization/evaluate.py
  • examples/prior-authorization-review-agent/prior_authorization/review.py
  • examples/prior-authorization-review-agent/pyproject.toml
  • examples/prior-authorization-review-agent/tests/test_review.py

Comment thread examples/financial-filing-agent/financial_filing/review.py
Comment thread examples/maintenance-triage-agent/maintenance_triage/__init__.py Outdated
Comment thread examples/maintenance-triage-agent/maintenance_triage/review.py
Comment thread examples/maintenance-triage-agent/maintenance_triage/review.py Outdated
Comment thread examples/maintenance-triage-agent/README.md

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🧹 Nitpick comments (4)
examples/prior-authorization-review-agent/prior_authorization/review.py (1)

455-457: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

Client timeout duplicates the configured value as a literal.

timeout is read from provision_timeout_s on Line 455, then Line 457 hardcodes timeout_s=900, so editing config.yaml silently leaves the socket timeout behind.

♻️ Proposed refactor
-    with SIEClient(config["cluster"]["url"], api_key=config["cluster"]["api_key"] or None, timeout_s=900) as client:
+    with SIEClient(config["cluster"]["url"], api_key=config["cluster"]["api_key"] or None, timeout_s=timeout) as client:
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@examples/prior-authorization-review-agent/prior_authorization/review.py`
around lines 455 - 457, Use the existing provision timeout value from
config["cluster"]["provision_timeout_s"] when constructing SIEClient in the
review flow, replacing the hardcoded timeout_s=900 while preserving the
surrounding client setup.
examples/prior-authorization-review-agent/README.md (1)

70-82: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

Evidence bundle listing omits the per-row GLiNER artifacts.

review.py Line 598 writes raw/entities-requirement-<n>.json and raw/entities-case-<n>.json per ranked row, which aren't documented here. Readers comparing the run directory against this table will see unlisted files.

As per path instructions, "Review runnable source, tests, configuration, and documentation. Check that commands match the implementation".

📝 Proposed doc addition
 runs/<run-id>/raw/entities.json                combined GLiNER entity spans
+runs/<run-id>/raw/entities-requirement-*.json  per-passage GLiNER requirement spans
+runs/<run-id>/raw/entities-case-*.json         per-passage GLiNER case spans
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@examples/prior-authorization-review-agent/README.md` around lines 70 - 82,
Update the evidence bundle listing in the README to include the per-ranked-row
artifacts written by review.py, specifically raw/entities-requirement-<n>.json
and raw/entities-case-<n>.json. Place them with the other raw GLiNER/entity
outputs and describe their per-row purpose accurately.

Source: Path instructions

examples/prior-authorization-review-agent/tests/test_review.py (1)

278-305: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

No test exercises the evaluator's failing path.

Every assertion here drives evaluate_review/evaluate_run to True; nothing covers a review that fails a check, so the fail rendering and the SystemExit(1) in main are untested.

As per path instructions, "Check that commands match the implementation and that tests cover failure paths".

💚 Proposed test
def test_evaluator_fails_on_a_mutated_review(tmp_path: Path) -> None:
    review = build_valid_review()
    review["overdue_by_months"] = 0
    (tmp_path / "review.json").write_text(json.dumps(review), encoding="utf-8")

    assert evaluate_run(tmp_path) is False

    evaluation = json.loads((tmp_path / "evaluation.json").read_text(encoding="utf-8"))
    assert evaluation["passed"] is False
    assert any(check["name"] == "one-month-gap" and not check["passed"] for check in evaluation["checks"])
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@examples/prior-authorization-review-agent/tests/test_review.py` around lines
278 - 305, Add a failure-path test alongside the existing evaluator tests, using
a mutated review with overdue_by_months set to 0. Assert evaluate_run returns
False, evaluation.json is written with passed set to False, and the
one-month-gap check is recorded as failed; also cover main’s SystemExit(1)
behavior if that entry point is exposed.

Source: Path instructions

examples/prior-authorization-review-agent/prior_authorization/evaluate.py (1)

105-106: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

Unhelpful traceback when the run directory is wrong.

eval-pa on a missing or incomplete run dir raises a bare FileNotFoundError. A guarded message keeps the example approachable.

♻️ Proposed refactor
 def evaluate_run(run_dir: Path) -> bool:
-    review = json.loads((run_dir / "review.json").read_text(encoding="utf-8"))
+    review_path = run_dir / "review.json"
+    if not review_path.exists():
+        raise SystemExit(f"No review.json in {run_dir}. Run `uv run review-pa` first.")
+    review = json.loads(review_path.read_text(encoding="utf-8"))
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@examples/prior-authorization-review-agent/prior_authorization/evaluate.py`
around lines 105 - 106, Update evaluate_run to guard loading review.json and
raise a clear, user-facing error when the run directory is missing or
incomplete, instead of exposing a bare FileNotFoundError. Preserve normal JSON
loading for valid run directories and include the expected review.json location
in the message.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@examples/financial-filing-agent/README.md`:
- Around line 60-75: Update the “Evidence bundle” artifact list in the README to
document the per-stage files written by review.py:
raw/entities-original-10q.json, raw/entities-restated-10ka.json, and
raw/entities-status.json, alongside the existing combined raw/entities.json
entry.

In `@examples/prior-authorization-review-agent/prior_authorization/review.py`:
- Around line 555-563: Update the evidence terms passed to _select_evidence_rows
in the outcome_rows selection so the face-to-face documentation phrase uses an
apostrophe-free substring that matches both straight and typographic
apostrophes. Leave the other outcome terms and selection behavior unchanged.
- Around line 448-457: Update run to handle FileExistsError from raw_dir.mkdir
when the fixed run_id already exists, and provide a clear user-facing message
instructing the user to choose a new run ID or delete the existing run
directory. Preserve the current behavior for new run IDs and keep the directory
non-overwriting.

---

Nitpick comments:
In `@examples/prior-authorization-review-agent/prior_authorization/evaluate.py`:
- Around line 105-106: Update evaluate_run to guard loading review.json and
raise a clear, user-facing error when the run directory is missing or
incomplete, instead of exposing a bare FileNotFoundError. Preserve normal JSON
loading for valid run directories and include the expected review.json location
in the message.

In `@examples/prior-authorization-review-agent/prior_authorization/review.py`:
- Around line 455-457: Use the existing provision timeout value from
config["cluster"]["provision_timeout_s"] when constructing SIEClient in the
review flow, replacing the hardcoded timeout_s=900 while preserving the
surrounding client setup.

In `@examples/prior-authorization-review-agent/README.md`:
- Around line 70-82: Update the evidence bundle listing in the README to include
the per-ranked-row artifacts written by review.py, specifically
raw/entities-requirement-<n>.json and raw/entities-case-<n>.json. Place them
with the other raw GLiNER/entity outputs and describe their per-row purpose
accurately.

In `@examples/prior-authorization-review-agent/tests/test_review.py`:
- Around line 278-305: Add a failure-path test alongside the existing evaluator
tests, using a mutated review with overdue_by_months set to 0. Assert
evaluate_run returns False, evaluation.json is written with passed set to False,
and the one-month-gap check is recorded as failed; also cover main’s
SystemExit(1) behavior if that entry point is exposed.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 998e61b4-151c-4ea8-ab11-12532d8edcef

📥 Commits

Reviewing files that changed from the base of the PR and between 4b5ea9c and beee131.

⛔ Files ignored due to path filters (66)
  • .coderabbit.yaml is excluded by none and included by none
  • examples/financial-filing-agent/fixtures/SOURCES.md is excluded by !examples/**/fixtures/** and included by examples/**, examples/**/fixtures/SOURCES.md
  • examples/financial-filing-agent/fixtures/pathward-filing-packet.html is excluded by !examples/**/fixtures/** and included by examples/**
  • examples/financial-filing-agent/fixtures/pathward-q3-fy2023.json is excluded by !examples/**/fixtures/** and included by examples/**
  • examples/financial-filing-agent/uv.lock is excluded by !**/*.lock, !examples/**/uv.lock and included by examples/**
  • examples/financial-filing-agent/verified-run/evaluation.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/financial-filing-agent/verified-run/manifest.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/financial-filing-agent/verified-run/parsed.md is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/financial-filing-agent/verified-run/raw/entities-original-10q.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/financial-filing-agent/verified-run/raw/entities-restated-10ka.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/financial-filing-agent/verified-run/raw/entities-status.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/financial-filing-agent/verified-run/raw/entities.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/financial-filing-agent/verified-run/raw/gliner2-original-10q.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/financial-filing-agent/verified-run/raw/gliner2-restated-10ka.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/financial-filing-agent/verified-run/raw/gliner2-status.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/financial-filing-agent/verified-run/raw/mapped.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/financial-filing-agent/verified-run/raw/parse.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/financial-filing-agent/verified-run/raw/rerank.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/financial-filing-agent/verified-run/raw/retrieve.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/financial-filing-agent/verified-run/review.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/fixtures/SOURCES.md is excluded by !examples/**/fixtures/** and included by examples/**, examples/**/fixtures/SOURCES.md
  • examples/maintenance-triage-agent/fixtures/STRUCTURED_OUTPUT_PROBE.md is excluded by !examples/**/fixtures/** and included by examples/**
  • examples/maintenance-triage-agent/fixtures/east-palestine-bearing-spread.pdf is excluded by !**/*.pdf, !examples/**/fixtures/** and included by examples/**
  • examples/maintenance-triage-agent/fixtures/output-schema-probe-request.json is excluded by !examples/**/fixtures/** and included by examples/**
  • examples/maintenance-triage-agent/fixtures/output-schema-probe-response.json is excluded by !examples/**/fixtures/** and included by examples/**
  • examples/maintenance-triage-agent/uv.lock is excluded by !**/*.lock, !examples/**/uv.lock and included by examples/**
  • examples/maintenance-triage-agent/verified-run/evaluation.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/manifest.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/parsed.md is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/raw/entities-detector-0.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/raw/entities-detector-1.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/raw/entities-detector-2.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/raw/entities-outcome.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/raw/entities.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/raw/gliner2-cause.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/raw/gliner2-derailment.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/raw/gliner2-east-palestine.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/raw/gliner2-engineer.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/raw/gliner2-salem.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/raw/gliner2-sebring.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/raw/mapped.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/raw/parse.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/raw/rerank.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/raw/retrieve.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/review.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/fixtures/SOURCES.md is excluded by !examples/**/fixtures/** and included by examples/**, examples/**/fixtures/SOURCES.md
  • examples/prior-authorization-review-agent/fixtures/cms-l1851-insufficient-documentation.html is excluded by !examples/**/fixtures/** and included by examples/**
  • examples/prior-authorization-review-agent/uv.lock is excluded by !**/*.lock, !examples/**/uv.lock and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/evaluation.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/manifest.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/parsed.md is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/raw/entities-case-0.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/raw/entities-case-1.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/raw/entities-case-2.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/raw/entities-case-3.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/raw/entities-case-4.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/raw/entities-requirement-0.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/raw/entities.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/raw/gliner2-outcome.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/raw/gliner2-requirements.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/raw/gliner2-submission.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/raw/mapped.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/raw/parse.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/raw/rerank.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/raw/retrieve.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/review.json is excluded by !examples/**/verified-run/** and included by examples/**
📒 Files selected for processing (28)
  • examples/README.md
  • examples/financial-filing-agent/.env.example
  • examples/financial-filing-agent/.gitignore
  • examples/financial-filing-agent/README.md
  • examples/financial-filing-agent/config.yaml
  • examples/financial-filing-agent/financial_filing/__init__.py
  • examples/financial-filing-agent/financial_filing/evaluate.py
  • examples/financial-filing-agent/financial_filing/review.py
  • examples/financial-filing-agent/pyproject.toml
  • examples/financial-filing-agent/tests/test_review.py
  • examples/maintenance-triage-agent/.env.example
  • examples/maintenance-triage-agent/.gitignore
  • examples/maintenance-triage-agent/README.md
  • examples/maintenance-triage-agent/config.yaml
  • examples/maintenance-triage-agent/maintenance_triage/__init__.py
  • examples/maintenance-triage-agent/maintenance_triage/evaluate.py
  • examples/maintenance-triage-agent/maintenance_triage/review.py
  • examples/maintenance-triage-agent/pyproject.toml
  • examples/maintenance-triage-agent/tests/test_review.py
  • examples/prior-authorization-review-agent/.env.example
  • examples/prior-authorization-review-agent/.gitignore
  • examples/prior-authorization-review-agent/README.md
  • examples/prior-authorization-review-agent/config.yaml
  • examples/prior-authorization-review-agent/prior_authorization/__init__.py
  • examples/prior-authorization-review-agent/prior_authorization/evaluate.py
  • examples/prior-authorization-review-agent/prior_authorization/review.py
  • examples/prior-authorization-review-agent/pyproject.toml
  • examples/prior-authorization-review-agent/tests/test_review.py

Comment thread examples/financial-filing-agent/README.md
Comment thread examples/prior-authorization-review-agent/prior_authorization/review.py Outdated

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (2)
examples/maintenance-triage-agent/tests/test_review.py (1)

124-128: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Exercise the new mapping and validation paths end to end.

The mapping test preserves "8:52 p.m .", but the review reconstruction test uses normalized "8:52 p.m." instead of passing _map_exact_source_fields() output into build_review(). Add that integration case, plus fail-closed tests for an altered east_palestine_time and an incorrect/malformed derailment count.

As per path instructions, “Review runnable source, tests, configuration, and documentation” and “Check that commands match the implementation and that tests cover failure paths.”

Also applies to: 227-251

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@examples/maintenance-triage-agent/tests/test_review.py` around lines 124 -
128, The existing mapping test does not exercise the mapped values through
review reconstruction or failure validation. Extend the tests around
test_maps_only_exact_ranked_source_text_after_model_gates and build_review to
pass _map_exact_source_fields() output into build_review(), then add fail-closed
cases for altered east_palestine_time and incorrect or malformed derailment
counts.

Source: Path instructions

examples/prior-authorization-review-agent/prior_authorization/review.py (1)

459-469: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Add a regression test for configured timeout propagation.

The pipeline now uses the configured timeout for both SIEClient(timeout_s=...) and each operation’s provision_timeout_s, but the new tests do not assert this configuration contract. Mock the client and verify the configured value reaches both the constructor and SIE calls.

As per path instructions, review runnable source, tests, configuration, and documentation; verify commands match implementation and tests cover failure paths.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@examples/prior-authorization-review-agent/prior_authorization/review.py`
around lines 459 - 469, Extend the regression tests for the extraction pipeline
around SIEClient and client.extract to mock the client and assert the configured
cluster provision_timeout_s is passed both as the SIEClient timeout_s
constructor argument and as each operation’s provision_timeout_s argument. Cover
the configured value through the relevant SIE calls without changing production
behavior.

Source: Path instructions

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@examples/maintenance-triage-agent/maintenance_triage/review.py`:
- Line 482: Update the engineer_action entry in the review output to reuse the
mapped evidence’s exact sentence rather than the paraphrased text, or explicitly
label the paraphrase as a derived summary. Ensure synthetic results are
distinguishable from source evidence and preserve the existing evidence mapping.

---

Nitpick comments:
In `@examples/maintenance-triage-agent/tests/test_review.py`:
- Around line 124-128: The existing mapping test does not exercise the mapped
values through review reconstruction or failure validation. Extend the tests
around test_maps_only_exact_ranked_source_text_after_model_gates and
build_review to pass _map_exact_source_fields() output into build_review(), then
add fail-closed cases for altered east_palestine_time and incorrect or malformed
derailment counts.

In `@examples/prior-authorization-review-agent/prior_authorization/review.py`:
- Around line 459-469: Extend the regression tests for the extraction pipeline
around SIEClient and client.extract to mock the client and assert the configured
cluster provision_timeout_s is passed both as the SIEClient timeout_s
constructor argument and as each operation’s provision_timeout_s argument. Cover
the configured value through the relevant SIE calls without changing production
behavior.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: e41e42ba-7f07-4f6b-bde7-d1a81b25bdda

📥 Commits

Reviewing files that changed from the base of the PR and between beee131 and f730517.

⛔ Files ignored due to path filters (5)
  • examples/maintenance-triage-agent/verified-run/manifest.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/maintenance-triage-agent/verified-run/raw/mapped.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/evaluation.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/manifest.json is excluded by !examples/**/verified-run/** and included by examples/**
  • examples/prior-authorization-review-agent/verified-run/review.json is excluded by !examples/**/verified-run/** and included by examples/**
📒 Files selected for processing (10)
  • examples/financial-filing-agent/README.md
  • examples/financial-filing-agent/financial_filing/review.py
  • examples/maintenance-triage-agent/README.md
  • examples/maintenance-triage-agent/maintenance_triage/__init__.py
  • examples/maintenance-triage-agent/maintenance_triage/review.py
  • examples/maintenance-triage-agent/tests/test_review.py
  • examples/prior-authorization-review-agent/README.md
  • examples/prior-authorization-review-agent/prior_authorization/evaluate.py
  • examples/prior-authorization-review-agent/prior_authorization/review.py
  • examples/prior-authorization-review-agent/tests/test_review.py

Comment thread examples/maintenance-triage-agent/maintenance_triage/review.py Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant