Move larv-review's mechanical rules into a tested bin/larv-review, so the skill says only when to run it and what each answer means
This commit is contained in:
@@ -37,7 +37,7 @@ import sys
|
||||
from metric_bench.bench import bench, co_changed, medians, METRICS, RunScores, Score
|
||||
from failure import Failure
|
||||
from metric_bench.python_units import measured, python_units, Unit
|
||||
from metric_bench.places import resolved, scoring_runs, ScoringRun
|
||||
from larv_review.history import resolved, scoring_runs, ScoringRun
|
||||
|
||||
|
||||
def main(argv: list[str]) -> int:
|
||||
@@ -56,7 +56,7 @@ def main(argv: list[str]) -> int:
|
||||
return failed(benched)
|
||||
rows, notes = benched
|
||||
if not rows:
|
||||
return failed(Failure(f"no scoring run in {history} could be scored; its format: ~/.claude/skills/larv-review/SKILL.md → \"History\"{noted(notes)}"))
|
||||
return failed(Failure(f"no scoring run in {history} could be scored; its format is what ~/.claude/bin/larv-review writes{noted(notes)}"))
|
||||
print(table(rows) + noted(notes))
|
||||
return 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user