Skip to content

fix(eval): BDD review grader ignores a uv.lock that uv run writes - #50

Open
manykarim wants to merge 1 commit into
mainfrom
fix/bdd-grader-uv-lock
Open

manykarim wants to merge 1 commit into
mainfrom
fix/bdd-grader-uv-lock

Conversation

@manykarim

Copy link
Copy Markdown
Collaborator

Summary

narrow-bdd-review-01 requires the review to change no files. In PR #49's eval (run 45198648089, attempt 3) all three treatment runs ran the tests with uv run, which wrote a uv.lock the fixture doesn't have, and the grader counted it as an edit, so the task scored 0/3.

  • changed_files() ignores a uv.lock when the fixture has none. A lock file the fixture has still counts when it changes.
  • Tests: the tool-output test now adds a uv.lock; a new test checks that a changed fixture lock file is still reported.

Measurement

Run 45625541673 (manual dispatch on this branch): OpenRouter z-ai/glm-5.3-flash, rf-core narrow tier, treatment arm, N=6, about $1.63.

Task Result Stored baseline
narrow-bdd-review-01 6/6 5/6
narrow-bdd-outline-01 5/6 6/6
the other 14 tasks 6/6 each

The gate's only remark: narrow-python-library-inventory-scope-01 used 35% more input tokens than its baseline (budget +30%), with 6/6 passes. No baselines change.

Test plan

  • pytest tests/eval/test_bdd_grader.py: 31 passed; ruff check
  • Re-scored PR release: 5.1.0 with the rf-bdd skill #49's three review runs locally: none counts as an edit any more
  • N=6 measurement above
  • CI green

AI assistance

Prepared by Claude Code (Claude Opus 5.5) at the maintainer's request; the maintainer reviews it.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FHEmzL3ErAhGQykKWDx2wP

narrow-bdd-review-01 requires the review to change no files. In PR #49's
eval (run 45198648089, attempt 3) all three treatment runs ran the tests with
`uv run`, which wrote a uv.lock the fixture doesn't have, and the grader
counted it as an edit. A uv.lock is now ignored when the fixture has none; a
lock file the fixture has still counts when it changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FHEmzL3ErAhGQykKWDx2wP
@github-actions

Copy link
Copy Markdown

Skill Evaluation: rf-mobile (narrow, treatment, N=3, z-ai/glm-5.3-flash)

Model: z-ai/glm-5.3-flash (provider openrouter, turn-limit factor 1.5)

OpenRouter spend

USD
Key spend during this job (includes concurrent jobs) 0.21
Harness estimate (OpenRouter list prices) 0.03
Credit remaining on the key 97.167357767

Gate

gate: PASS (1 task(s) checked)

rf-skill-eval report

Runs: 3 · pass: 3 · fail: 0 · incomplete: 0 · skipped checks: 0 · estimated cost (OpenRouter list prices): $0.03

Pass rate = runs whose gate result is pass / runs attempted. Deltas are treatment − baseline over outcome checks only.

Tasks

Task Skill Tier Arm Runs Pass rate Outcome pass Incomplete Input tok Output tok Turns Duration s Cost $ Flaky
narrow-appium-login-01 rf-appium narrow treatment 3 100% 100% 0 333518 3895 18.3 56.9 0.0107 (est.) no
narrow-appium-login-01 rf-appium narrow baseline (stored) 3 100% 100% 0 126666 2566 10.3 30.9 0.0043 (est.) –
narrow-appium-login-01 rf-appium narrow Δ T−B +0 pp +206852 +1329 +8.0 +26.0 +0.0064

Skills

Skill Tasks Treatment outcome pass Baseline outcome pass Δ outcome pass Δ input tok Δ turns Δ cost $
rf-appium 1 100% 100% +0 pp +206852 +8.0 +0.0064

Skipped / errored checks

None.

Incomplete runs

None.

Process checks (treatment arm, not in deltas)

  • narrow-appium-login-01 loaded_rf_appium_skill: 3/3

Adversarial tier (reported only, never gates)

None.

@github-actions

Copy link
Copy Markdown

Skill Evaluation: rf-desktop (narrow, treatment, N=3, z-ai/glm-5.3-flash)

Model: z-ai/glm-5.3-flash (provider openrouter, turn-limit factor 1.5)

OpenRouter spend

USD
Key spend during this job (includes concurrent jobs) 0.22
Harness estimate (OpenRouter list prices) 0.05
Credit remaining on the key 97.154745601

Gate

gate: PASS (1 task(s) checked)

rf-skill-eval report

Runs: 3 · pass: 2 · fail: 1 · incomplete: 0 · skipped checks: 0 · estimated cost (OpenRouter list prices): $0.05 · turn-limit stops: 2

Pass rate = runs whose gate result is pass / runs attempted. Deltas are treatment − baseline over outcome checks only.

Tasks

Task Skill Tier Arm Runs Pass rate Outcome pass Incomplete Input tok Output tok Turns Duration s Cost $ Flaky
narrow-platynui-calculator-01 rf-platynui narrow treatment 3 67% 67% 0 477498 7140 23.0 (2 at limit) 65.2 0.0153 (est.) yes
narrow-platynui-calculator-01 rf-platynui narrow baseline (stored) 3 100% 100% 0 361178 4420 19.7 (1 at limit) 109.6 0.0116 (est.) –
narrow-platynui-calculator-01 rf-platynui narrow Δ T−B -33 pp +116320 +2720 +3.3 -44.4 +0.0037

Skills

Skill Tasks Treatment outcome pass Baseline outcome pass Δ outcome pass Δ input tok Δ turns Δ cost $
rf-platynui 1 67% 100% -33 pp +116320 +3.3 +0.0037

Skipped / errored checks

None.

Incomplete runs

None.

Process checks (treatment arm, not in deltas)

  • narrow-platynui-calculator-01 loaded_rf_platynui_skill: 3/3

Adversarial tier (reported only, never gates)

None.

@github-actions

Copy link
Copy Markdown

Skill Evaluation: rf-api (narrow, treatment, N=3, z-ai/glm-5.3-flash)

Model: z-ai/glm-5.3-flash (provider openrouter, turn-limit factor 1.5)

OpenRouter spend

USD
Key spend during this job (includes concurrent jobs) 0.24
Harness estimate (OpenRouter list prices) 0.05
Credit remaining on the key 97.137737277

Gate

gate: PASS (2 task(s) checked)

rf-skill-eval report

Runs: 6 · pass: 6 · fail: 0 · incomplete: 0 · skipped checks: 0 · estimated cost (OpenRouter list prices): $0.05

Pass rate = runs whose gate result is pass / runs attempted. Deltas are treatment − baseline over outcome checks only.

Tasks

Task Skill Tier Arm Runs Pass rate Outcome pass Incomplete Input tok Output tok Turns Duration s Cost $ Flaky
narrow-requests-users-01 rf-requests narrow treatment 3 100% 100% 0 250531 2474 16.0 28.6 0.0081 (est.) no
narrow-requests-users-01 rf-requests narrow baseline (stored) 6 100% 100% 0 78154 836 8.0 12.3 0.0025 (est.) –
narrow-requests-users-01 rf-requests narrow Δ T−B +0 pp +172377 +1638 +8.0 +16.4 +0.0056
narrow-restinstance-schema-01 rf-restinstance narrow treatment 3 100% 100% 0 288089 3129 18.0 43.5 0.0091 (est.) no
narrow-restinstance-schema-01 rf-restinstance narrow baseline (stored) 6 100% 100% 0 142111 1992 11.8 25.9 0.0047 (est.) –
narrow-restinstance-schema-01 rf-restinstance narrow Δ T−B +0 pp +145978 +1138 +6.2 +17.6 +0.0044

Skills

Skill Tasks Treatment outcome pass Baseline outcome pass Δ outcome pass Δ input tok Δ turns Δ cost $
rf-requests 1 100% 100% +0 pp +172377 +8.0 +0.0056
rf-restinstance 1 100% 100% +0 pp +145978 +6.2 +0.0044

Skipped / errored checks

None.

Incomplete runs

None.

Process checks (treatment arm, not in deltas)

  • narrow-requests-users-01 loaded_rf_requests_skill: 3/3
  • narrow-restinstance-schema-01 loaded_rf_restinstance_skill: 3/3

Adversarial tier (reported only, never gates)

None.

@github-actions

Copy link
Copy Markdown

Skill Evaluation: rf-web (narrow, treatment, N=3, z-ai/glm-5.3-flash)

Model: z-ai/glm-5.3-flash (provider openrouter, turn-limit factor 1.5)

OpenRouter spend

USD
Key spend during this job (includes concurrent jobs) 0.30
Harness estimate (OpenRouter list prices) 0.05
Credit remaining on the key 97.078517881

Gate

gate: PASS (2 task(s) checked)

rf-skill-eval report

Runs: 6 · pass: 6 · fail: 0 · incomplete: 0 · skipped checks: 0 · estimated cost (OpenRouter list prices): $0.05

Pass rate = runs whose gate result is pass / runs attempted. Deltas are treatment − baseline over outcome checks only.

Tasks

Task Skill Tier Arm Runs Pass rate Outcome pass Incomplete Input tok Output tok Turns Duration s Cost $ Flaky
narrow-browser-login-01 rf-browser narrow treatment 3 100% 100% 0 330918 3175 17.7 71.0 0.0104 (est.) no
narrow-browser-login-01 rf-browser narrow baseline (stored) 6 100% 100% 0 70371 1454 6.7 22.1 0.0024 (est.) –
narrow-browser-login-01 rf-browser narrow Δ T−B +0 pp +260547 +1722 +11.0 +48.9 +0.0080
narrow-selenium-login-01 rf-selenium narrow treatment 3 100% 100% 0 162507 1457 12.3 26.0 0.0054 (est.) no
narrow-selenium-login-01 rf-selenium narrow baseline (stored) 6 100% 100% 0 72006 801 8.0 12.7 0.0024 (est.) –
narrow-selenium-login-01 rf-selenium narrow Δ T−B +0 pp +90501 +656 +4.3 +13.3 +0.0030

Skills

Skill Tasks Treatment outcome pass Baseline outcome pass Δ outcome pass Δ input tok Δ turns Δ cost $
rf-browser 1 100% 100% +0 pp +260547 +11.0 +0.0080
rf-selenium 1 100% 100% +0 pp +90501 +4.3 +0.0030

Skipped / errored checks

None.

Incomplete runs

None.

Process checks (treatment arm, not in deltas)

  • narrow-browser-login-01 loaded_rf_browser_skill: 3/3
  • narrow-selenium-login-01 loaded_rf_selenium_skill: 3/3

Adversarial tier (reported only, never gates)

None.

@github-actions

Copy link
Copy Markdown

Skill Evaluation: rf-core (narrow, treatment, N=3, z-ai/glm-5.3-flash)

Model: z-ai/glm-5.3-flash (provider openrouter, turn-limit factor 1.5)

OpenRouter spend

USD
Key spend during this job (includes concurrent jobs) 1.06
Harness estimate (OpenRouter list prices) 0.53
Credit remaining on the key 96.316048859

Gate

gate: PASS (16 task(s) checked)

rf-skill-eval report

Runs: 48 · pass: 46 · fail: 2 · incomplete: 0 · skipped checks: 0 · estimated cost (OpenRouter list prices): $0.53 · turn-limit stops: 4

Pass rate = runs whose gate result is pass / runs attempted. Deltas are treatment − baseline over outcome checks only.

Tasks

Task Skill Tier Arm Runs Pass rate Outcome pass Incomplete Input tok Output tok Turns Duration s Cost $ Flaky
narrow-bdd-extend-vocabulary-01 rf-bdd narrow treatment 3 100% 100% 0 760624 14702 27.3 123.0 0.0245 (est.) no
narrow-bdd-extend-vocabulary-01 rf-bdd narrow baseline (stored) 6 100% 100% 0 390570 10806 21.3 128.9 0.0129 (est.) –
narrow-bdd-extend-vocabulary-01 rf-bdd narrow Δ T−B +0 pp +370054 +3896 +6.0 -5.8 +0.0116
narrow-bdd-greenfield-01 rf-bdd narrow treatment 3 100% 100% 0 672688 24978 24.5 185.4 0.0227 (est.) no
narrow-bdd-greenfield-01 rf-bdd narrow baseline (stored) 6 0% 0% 0 627902 16739 27.2 124.5 0.0206 (est.) –
narrow-bdd-greenfield-01 rf-bdd narrow Δ T−B +100 pp +44786 +8239 -2.7 +60.8 +0.0021
narrow-bdd-outline-01 rf-bdd narrow treatment 3 100% 100% 0 1107272 24584 37.3 173.8 0.0362 (est.) no
narrow-bdd-outline-01 rf-bdd narrow baseline (stored) 6 0% 0% 0 440259 15134 20.2 104.3 0.0148 (est.) –
narrow-bdd-outline-01 rf-bdd narrow Δ T−B +100 pp +667013 +9449 +17.2 +69.5 +0.0214
narrow-bdd-review-01 rf-bdd narrow treatment 3 33% 33% 0 348892 6858 18.0 65.3 0.0116 (est.) yes
narrow-bdd-review-01 rf-bdd narrow baseline (stored) 6 0% 0% 0 66729 3116 6.0 31.2 0.0024 (est.) –
narrow-bdd-review-01 rf-bdd narrow Δ T−B +33 pp +282163 +3743 +12.0 +34.1 +0.0092
narrow-language-bdd-01 rf-language narrow treatment 3 100% 100% 0 230282 1792 14.3 20.7 0.0073 (est.) no
narrow-language-bdd-01 rf-language narrow baseline (stored) 6 100% 100% 0 79812 848 7.5 13.0 0.0026 (est.) –
narrow-language-bdd-01 rf-language narrow Δ T−B +0 pp +150470 +944 +6.8 +7.7 +0.0047
narrow-language-data-driven-01 rf-language narrow treatment 3 100% 100% 0 187275 1764 12.0 25.2 0.0060 (est.) no
narrow-language-data-driven-01 rf-language narrow baseline (stored) 6 83% 83% 0 114378 1513 10.0 24.1 0.0038 (est.) –
narrow-language-data-driven-01 rf-language narrow Δ T−B +17 pp +72897 +250 +2.0 +1.1 +0.0022
narrow-language-embedded-01 rf-language narrow treatment 3 100% 100% 0 184380 2318 13.3 24.1 0.0060 (est.) no
narrow-language-embedded-01 rf-language narrow baseline (stored) 6 100% 100% 0 106643 2098 9.2 25.9 0.0037 (est.) –
narrow-language-embedded-01 rf-language narrow Δ T−B +0 pp +77737 +220 +4.2 -1.7 +0.0023
narrow-language-env-varfiles-01 rf-language narrow treatment 3 100% 100% 0 523856 8308 22.0 (3 at limit) 154.9 0.0170 (est.) no
narrow-language-env-varfiles-01 rf-language narrow baseline (stored) 6 100% 100% 0 193964 5167 17.2 (1 at limit) 52.4 0.0066 (est.) –
narrow-language-env-varfiles-01 rf-language narrow Δ T−B +0 pp +329892 +3142 +4.8 +102.5 +0.0104
narrow-language-suite-setup-tags-01 rf-language narrow treatment 3 100% 100% 0 305607 3678 20.3 41.2 0.0097 (est.) no
narrow-language-suite-setup-tags-01 rf-language narrow baseline (stored) 6 100% 100% 0 112928 1551 13.2 21.0 0.0037 (est.) –
narrow-language-suite-setup-tags-01 rf-language narrow Δ T−B +0 pp +192679 +2127 +7.2 +20.2 +0.0060
narrow-non-rf-control-01 plugin narrow treatment 3 100% 100% 0 30847 226 2.0 3.8 0.0012 (est.) no
narrow-non-rf-control-01 plugin narrow baseline (stored) 6 100% 100% 0 26311 95 2.0 3.2 0.0009 (est.) –
narrow-non-rf-control-01 plugin narrow Δ T−B +0 pp +4536 +130 +0.0 +0.6 +0.0003
narrow-python-library-flaky-listener-01 rf-python-library narrow treatment 3 100% 100% 0 372618 6088 20.3 54.8 0.0122 (est.) no
narrow-python-library-flaky-listener-01 rf-python-library narrow baseline (stored) 6 100% 100% 0 139834 3160 11.5 34.2 0.0046 (est.) –
narrow-python-library-flaky-listener-01 rf-python-library narrow Δ T−B +0 pp +232784 +2928 +8.8 +20.6 +0.0076
narrow-python-library-inventory-scope-01 rf-python-library narrow treatment 3 100% 100% 0 192627 2077 13.0 30.3 0.0063 (est.) no
narrow-python-library-inventory-scope-01 rf-python-library narrow baseline (stored) 6 100% 100% 0 246142 3910 16.5 (1 at limit) 49.6 0.0082 (est.) –
narrow-python-library-inventory-scope-01 rf-python-library narrow Δ T−B +0 pp -53515 -1833 -3.5 -19.3 -0.0019
narrow-python-library-mode-literal-01 rf-python-library narrow treatment 3 100% 100% 0 208251 2897 13.0 31.9 0.0067 (est.) no
narrow-python-library-mode-literal-01 rf-python-library narrow baseline (stored) 6 100% 100% 0 128381 2979 10.3 34.9 0.0044 (est.) –
narrow-python-library-mode-literal-01 rf-python-library narrow Δ T−B +0 pp +79870 -83 +2.7 -3.0 +0.0023
narrow-rf-injection-positive-01 plugin narrow treatment 3 100% 100% 0 129109 1277 8.7 25.4 0.0043 (est.) no
narrow-rf-injection-positive-01 plugin narrow baseline (stored) 6 100% 100% 0 64147 1338 4.8 15.4 0.0022 (est.) –
narrow-rf-injection-positive-01 plugin narrow Δ T−B +0 pp +64962 -61 +3.8 +10.0 +0.0021
narrow-rf-mcp-execute-01 plugin narrow treatment 3 100% 100% 0 250452 1661 13.0 (1 at limit) 28.1 0.0082 (est.) no
narrow-rf-mcp-execute-01 plugin narrow baseline (stored) 6 100% 100% 0 145726 933 8.5 17.4 0.0049 (est.) –
narrow-rf-mcp-execute-01 plugin narrow Δ T−B +0 pp +104726 +728 +4.5 +10.7 +0.0033
narrow-setup-requests-01 rf-setup narrow treatment 3 100% 100% 0 191539 1356 11.3 20.6 0.0061 (est.) no
narrow-setup-requests-01 rf-setup narrow baseline (stored) 6 100% 100% 0 96690 839 8.5 18.0 0.0032 (est.) –
narrow-setup-requests-01 rf-setup narrow Δ T−B +0 pp +94849 +517 +2.8 +2.5 +0.0029

Skills

Skill Tasks Treatment outcome pass Baseline outcome pass Δ outcome pass Δ input tok Δ turns Δ cost $
rf-bdd 4 83% 25% +58 pp +341004 +8.1 +0.0111
rf-language 5 100% 97% +3 pp +164735 +5.0 +0.0051
rf-python-library 3 100% 100% +0 pp +86380 +2.7 +0.0027
rf-setup 1 100% 100% +0 pp +94849 +2.8 +0.0029

Skipped / errored checks

None.

Incomplete runs

None.

Process checks (treatment arm, not in deltas)

  • narrow-bdd-extend-vocabulary-01 loaded_rf_bdd_skill: 2/3
  • narrow-bdd-greenfield-01 loaded_rf_bdd_skill: 3/3
  • narrow-bdd-outline-01 loaded_rf_bdd_skill: 3/3
  • narrow-bdd-review-01 loaded_rf_bdd_skill: 3/3
  • narrow-language-bdd-01 loaded_rf_language_skill: 3/3
  • narrow-language-data-driven-01 loaded_rf_language_skill: 3/3
  • narrow-language-embedded-01 loaded_rf_language_skill: 3/3
  • narrow-language-env-varfiles-01 loaded_rf_language_skill: 3/3
  • narrow-language-suite-setup-tags-01 loaded_rf_language_skill: 3/3
  • narrow-non-rf-control-01 bounded_tool_calls: 3/3
  • narrow-non-rf-control-01 no_libdoc_invocation: 3/3
  • narrow-non-rf-control-01 no_rf_mcp_calls: 3/3
  • narrow-python-library-flaky-listener-01 loaded_rf_python_library_skill: 3/3
  • narrow-python-library-inventory-scope-01 loaded_rf_python_library_skill: 3/3
  • narrow-python-library-mode-literal-01 loaded_rf_python_library_skill: 3/3
  • narrow-rf-injection-positive-01 leveraged_rf_lookup: 3/3
  • narrow-rf-mcp-execute-01 rf_mcp_before_write: 3/3
  • narrow-rf-mcp-execute-01 rf_mcp_called_at_least_twice: 3/3
  • narrow-rf-mcp-execute-01 rf_mcp_had_successful_result: 3/3
  • narrow-setup-requests-01 used_uv_add: 3/3

Adversarial tier (reported only, never gates)

None.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant