takedown metrics.tsv records $0 cost for rejected polish rounds #1017
Labels
No labels
P0
P1
P2
P3
bug
category/code-change
category/cross-repo
category/eval-run
category/investigation
category/no-test-target
category/owner-ruling
category/prose-artifact
category/recurring-chore
category/structure
category/umbrella
crc-refactor
create
delete
enhancement
filed-by/agent
filed-by/user
frozen
lint-rule
needs-info
needs-triage
next
plugin/cc-architect
plugin/os
plugin/os-adr
plugin/os-aidd-lint
plugin/os-backlog
plugin/os-context
plugin/os-doc-hygiene
plugin/os-sdlc
plugin/os-vault
project/cc-os
ready-for-agent
ready-for-human
recurring
review
rule-proposal
update
waiting
wayfinder:grilling
wayfinder:map
wayfinder:map
wayfinder:research
wayfinder:task
wayfinder:task
wontfix
worklist/deviations
worklist/lint-rule
worklist/new-implement-build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/cc-os#1017
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The takedown run record under-reports cost. A rejected polish round loses the model role and cost of its model call.
Observed
In run
docs/takedown/1010-20261015-175013, polish-4 was rejected.metrics.tsvlogs the polish-4 row with roledriverand cost 0.24-polish-4.jsonin the same run directory shows a real model call that cost about $0.0698.The run total cost is lower than the real cost.
Reproduce
n/a: see run
docs/takedown/1010-20261015-175013, row polish-4 inmetrics.tsv.Approach
In
plugins/os-sdlc/eval/ticket-takedown/lib/takedown/command/polish_step.rb,StepOutcome.failed("driver", ...)replaces the model call's outcome. The model role and cost are lost.A rejected round must keep the model role and its real cost, and must still record the rejection.
Required work:
StepOutcome.failed("driver", "polish roundinplugins/os-sdlc/eval/ticket-takedown/lib/takedown/command/polish_step.rbAcceptance criteria
metrics.tsvrow, then the row has the model role and the real cost of the model call.Origin
1010-20261015-175013, polish-4 rejectedStepOutcome.failed("driver", ...)replaces the model outcome (plugins/os-sdlc/eval/ticket-takedown/lib/takedown/command/polish_step.rb:20) ← DESIGN (polish_step.rb)