Skip to content

feat!: remove dollar metering and the $20 budget cap#40

Merged
isPANN merged 1 commit into
mainfrom
feat/remove-budget-cap
Jul 8, 2026
Merged

feat!: remove dollar metering and the $20 budget cap#40
isPANN merged 1 commit into
mainfrom
feat/remove-budget-cap

Conversation

@isPANN

@isPANN isPANN commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Removes all dollar/price/budget machinery. Runs are bounded by the agent step limit only (per-rule 35, whole-repo 300); token usage and bugs/Ktok stay.

Changes

  • cost.pyusage.py: pricing dropped, token accounting kept
  • Runner/Scheduler: no per-rule budget, spend tracking, or skipped_budget
  • run_submission: BUDGET_USD/PER_RULE_BUDGET/SAFETY_MARGIN/PRICE_* removed; schema_version 2.0 (no budget_cap/total_cost_usd/prices; rows lose cost)
  • Backend: cost re-metering and efficiency_bugs_per_dollar dropped; tokens recomputed from usage_totals
  • Site: $20 copy, Spent column, bugs/$, and the budget_cap===20 ranking filter removed
  • Docs/env/skill updated; mini-swe-agent's default $3 cost check disabled via cost_limit=0 (single helper)

Verification

  • 161 unit tests pass
  • FAKE end-to-end: run → schema-2.0 submission → prb submit --dry-runbackend_scorecheck_aggregate guard, all green
  • Site rendered headless: new columns # / Model / Bugs / Coverage / Tokens (K) / Bugs / Ktok

Old (1.0) submissions still score via the legacy fallback (self-reported total_tokens_k).

🤖 Generated with Claude Code

Runs are bounded by the agent step limit only (per-rule 35, whole-repo 300);
mini-swe-agent's default cost check is disabled in one place (cost_limit=0).
Token usage (4-bucket usage_totals, total_tokens_k, bugs/Ktok) stays.

- cost.py → usage.py: drop Price/pricing; keep token accounting
- runner/scheduler: drop per-rule budget, spend tracking, skipped_budget
- run_submission: drop BUDGET_USD/PER_RULE_BUDGET/SAFETY_MARGIN/PRICE_*;
  schema_version 2.0 (no budget_cap/total_cost_usd/prices; rows lose "cost")
- verify_submission/backend_score: drop cost re-metering and $-efficiency;
  tokens recomputed from usage_totals
- site: drop $20 copy, Spent column, bugs/$, budget_cap ranking filter
- docs/env/skill: drop price+budget knobs

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@isPANN isPANN merged commit 26244b9 into main Jul 8, 2026
1 check passed
@isPANN isPANN deleted the feat/remove-budget-cap branch July 8, 2026 20:57
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