Skip to content

Bihar fgd assessment 1.0.1 - #2

Open
bharathrSL wants to merge 6 commits into
ELEVATE-Project:mainfrom
bharathrSL:Bihar_FGD_Assessment-1.0.1
Open

Bihar fgd assessment 1.0.1#2
bharathrSL wants to merge 6 commits into
ELEVATE-Project:mainfrom
bharathrSL:Bihar_FGD_Assessment-1.0.1

Conversation

@bharathrSL

Copy link
Copy Markdown

No description provided.

bharathrSL and others added 6 commits July 30, 2026 19:04
…LM cost

- Wrap per-PDF processing in batch_processor.py so one PDF's failure
  (bad scan, network error, malformed LLM response) can no longer
  crash the whole batch or block the Excel report from being written;
  failed PDFs are recorded once so re-running a folder never re-bills
  an already-attempted PDF.
- Add progress/failure logging throughout the batch pipeline and a
  run-level fallback in main.py so a report is still produced even if
  something unexpected slips through.
- Relax ResponseParser to default missing optional answer fields
  instead of discarding an entire otherwise-valid response, and
  tighten the prompt so the model is less likely to omit them.
- Add a BIHAR_MAX_COMPLETION_TOKENS cap on the LLM completion call to
  bound the cost of reasoning-runaway responses.
- Add merge/rebuild utility scripts used to consolidate multi-batch
  run results into single reports.
- Remove unused legacy provider code (llm_provider.py,
  core/ai/openrouter_provider.py, core/ai/gemini_provider.py,
  core/analytics/pricing.py, core/analytics/api_usage_logger.py,
  config/model_pricing.yaml) superseded by core/ai/litellm_provider.py.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Aug 24, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: def39f16-094b-4cf2-899b-bd1fb1d35767


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

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