mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-08-21 22:44:31 +00:00
fix(dash): floor pricing coverage so 100% means genuinely complete
This commit is contained in:
parent
c2fb918fc5
commit
f220bea73d
1 changed files with 4 additions and 1 deletions
|
|
@ -82,7 +82,10 @@ export function WorkflowPanel({ current }: { current: Current }) {
|
|||
<Row
|
||||
label="Pricing coverage"
|
||||
hint="Share of cost-bearing calls with a resolved price"
|
||||
value={<span className="font-medium text-foreground">{Math.round(coverage * 100)}%</span>}
|
||||
// Floor, never round: near-complete coverage with unpriced calls
|
||||
// outstanding must not render as the 100% reserved for genuinely
|
||||
// complete pricing.
|
||||
value={<span className="font-medium text-foreground">{Math.floor(coverage * 100)}%</span>}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue