Step F first pass: 81/92 accepted; budget floor 60 calls; rejected slots moved for regeneration
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014aUaQeLnwbb1zTpN7kHeat
This commit is contained in:
@@ -331,8 +331,10 @@ def floor_budget(task):
|
||||
pushes = sum(bool(o.get("file")) + bool(o.get("testclasses_file")) for o in ref)
|
||||
calls = len(ref) + pushes
|
||||
bud = task.setdefault("budget", {})
|
||||
bud["max_activations"] = max(int(bud.get("max_activations", 0)), 2 * pushes)
|
||||
bud["max_tool_calls"] = max(int(bud.get("max_tool_calls", 0)), 3 * calls)
|
||||
# absolute floor (design default 60): with 40 calls DeepSeek used the budget to read the seed tables and
|
||||
# stopped before its own tests (empirical runs G0017, G0024)
|
||||
bud["max_activations"] = max(int(bud.get("max_activations", 0)), 2 * pushes, 15)
|
||||
bud["max_tool_calls"] = max(int(bud.get("max_tool_calls", 0)), 3 * calls, 60)
|
||||
|
||||
|
||||
KEEP_FILES = {"generation.json", "review.json"}
|
||||
|
||||
Reference in New Issue
Block a user