feat!: remove dollar metering and the $20 budget cap#40
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.py→usage.py: pricing dropped, token accounting keptskipped_budgetrun_submission:BUDGET_USD/PER_RULE_BUDGET/SAFETY_MARGIN/PRICE_*removed; schema_version 2.0 (nobudget_cap/total_cost_usd/prices; rows losecost)efficiency_bugs_per_dollardropped; tokens recomputed fromusage_totals$20copy, Spent column, bugs/$, and thebudget_cap===20ranking filter removedcost_limit=0(single helper)Verification
prb submit --dry-run→backend_score→check_aggregateguard, all green# / Model / Bugs / Coverage / Tokens (K) / Bugs / KtokOld (1.0) submissions still score via the legacy fallback (self-reported
total_tokens_k).🤖 Generated with Claude Code