Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Supervisor budget meter ignores PRICE_OVERRIDES_PER_1M

Open
#129 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python
Domain
backend, cli

Research direction

Locate the supervisor's per-scenario spend accounting and compare it with the export path in analysis.model_cost_latency. Trace how config.PRICE_OVERRIDES_PER_1M is applied when litellm provides no price, then verify that run_state.spent_usd, --budget-usd enforcement, and projections account for override-priced models.

Written by the indexing model from the issue text.

Description

During the gemini-3.6-flash run (2026-07-21) the supervisor's run_state spent_usd stayed 0.00 for the whole run: Gemini's API returns no cost field and litellm's price map does not cover the id, and the live meter does not fall back to config.PRICE_OVERRIDES_PER_1M the way export-time reconstruction (analysis.model_cost_latency) does. Consequence: the --budget-usd governor cannot bind for any model priced only by override, and projections read $0.

Fix: apply the same override fallback in the supervisor's per-scenario spend accounting that the export path uses.

🤖 Generated with Claude Code

Dominant language
Python
Stars
2
Forks
3
Avg merge
11h 11m
Merged PRs (30d)
22

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PolicyEngine/policybench

All issues in PolicyEngine/policybench

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.