feat(score): cost and time labels, worktree path below the table
Efficiency and speed are after/before ratios where over 100 % is worse, so the labels now read 💸 cost and ⏱️ time in score.py, tokens.py, measure.py, the gate texts, the message block and every skill that quotes them; 💰 stays the value quotient and the --efficiency/--speed flags keep their names. --commit-table drops the worktree column, which took the table's width, and prints the path below it alone in a text block for copy and paste. 🎯 Fix: 94 % 💥 Break: 2 % 💸 Cost: 100 % ⏱️ Time: – 🛡️ Security: 100 % 💰 Value: ? 🏆 Score: 92 🚦 Gate: ✅ 90/5, cost and time <= 100, security 100 % Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
938cea9447
commit
b18a481d8c
17 files changed
+120
-115
No files matched your search
@@ -4,15 +4,15 @@ description: >
|
||||
Wall-clock speed of changed code versus its base commit.
|
||||
---
|
||||
|
||||
Speed is the share of its base's wall-clock time a change needs: under
|
||||
100 % it is faster, over 100 % slower. It has no script of its own: one run
|
||||
Its ⏱️ time is the share of its base's wall-clock time a change needs:
|
||||
under 100 % it is faster, over 100 % slower. It has no script of its own: one run
|
||||
of the `kvb-check-efficiency` measurement yields both values.
|
||||
|
||||
```bash
|
||||
python3 ${CLAUDE_SKILL_DIR}/../kvb-check-efficiency/scripts/measure.py --base <ref> -- <command...>
|
||||
```
|
||||
|
||||
Its `⚡ speed <p> % (wall <b>→<a> s)` compares wall seconds at `<ref>` and
|
||||
Its `⏱️ time <p> % (wall <b>→<a> s)` compares wall seconds at `<ref>` and
|
||||
in the working tree: one run each, or the mean of 5 each when a value
|
||||
exceeds 100. The command, the runs, the `queue.py hold` wrapper for heavy
|
||||
commands and the exit codes are those of the `kvb-check-efficiency` skill;
|
||||
@@ -24,6 +24,6 @@ pasting its whole line reports both values at once.
|
||||
renders) has no speed either: `--speed -`, and say why.
|
||||
- **Other load**: wall time follows host load. Above 30 % other load the
|
||||
script falls back to the CPU-time ratio and marks the estimate:
|
||||
`⚡ speed ~<p> % (cpu <b>→<a> s)`, ending in
|
||||
`⏱️ time ~<p> % (cpu <b>→<a> s)`, ending in
|
||||
`(estimated: other load <x> %)`. Report the run you
|
||||
made; never rerun to pick the best result.
|
||||
Reference in new issue
Block a user