Repository navigation
feat(implement-task): align eval assertions with requirements and fixtures - #357
Conversation
…fixtures Implements TC-7147 Assisted-by: Claude Code
Implements TC-7147 Assisted-by: Claude Code
Implements TC-7147 Assisted-by: Claude Code
Reviewer's GuideThis PR aligns implement-task eval behavior with authoritative requirements and fixture semantics by clarifying that every image row needs a CPE but repeated CPEs are valid, adding coverage for that case, and documenting a review workflow that prevents assertions from introducing unsupported uniqueness constraints. Entity relationship diagram for repeated image CPE valueserDiagram
IMAGE_ROW {
string product_version
string component
string cpe
}
IMAGE_ROW }o--|| CPE_VALUE : includes
CPE_VALUE {
string value
}
Flow diagram for eval assertion and fixture consistencyflowchart TD
A[Review eval case] --> B[Read explicit requirements and authoritative contract]
B --> C[Inspect supplied fixture values and relationships]
C --> D{Does the assertion match both sources?}
D -->|Yes| E[Keep or add the assertion]
D -->|No| F{Is the source of truth unclear?}
F -->|Yes| G[Ask the user]
F -->|No| H[Correct the assertion]
H --> E
C --> I[Repeated values are valid unless uniqueness is explicitly required]
I --> D
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Eval ResultsSource head: 462aac2 Eval Results: implement-task
Failed Assertionseval-4: 1 failing assertion
Pass rate: 99% · Tokens: 40,917 · Duration: 105s Baseline ( Generated by sdlc-workflow/run-evals v0.13.10 |
|
🤖 Finished Verify Pr · ✅ Success · Started 10:36 PM UTC · Completed 10:46 PM UTC Commit: Runtime: claude · Model: claude-opus-4-8 · Effort: high · Cost: $4.88 |
Verification Report for TC-7147 (commit 462aac2)
Overall: PASSAll blocking checks pass. The PR cleanly implements TC-7147: it adds implement-task guidance for checking eval assertions against both explicit requirements and fixture semantics, adds a focused eval case (eval-14, 6/6) plus a The single WARN (Test Quality) is informational and does not affect the overall result: one eval-4 assertion fails, but it is pre-existing - the identical assertion fails at the base-branch baseline (5/6) with the same root cause - and is unrelated to this PR's subject. No regression, so no sub-tasks were created. Overall eval pass rate improved 97% -> 99%. This comment was AI-generated by sdlc-workflow/verify-pr v0.13.10. |
mrizzi
left a comment
There was a problem hiding this comment.
Sourcery wrote your changes are great, evals are fine and verify-pr gave PASS verdict, who am I to stop this!? 😉
Summary
Implements TC-7147
Summary by Sourcery
Align implementation-task eval assertions with authoritative requirements and fixture semantics.
New Features:
Bug Fixes:
Enhancements: