Skip to content

fix(eval): refresh review task bases - #1658

Open
napetrov wants to merge 3 commits into
intel:mainfrom
napetrov:fix/self-eval-current-review-base
Open

napetrov wants to merge 3 commits into
intel:mainfrom
napetrov:fix/self-eval-current-review-base

Conversation

@napetrov

@napetrov napetrov commented Dec 6, 2026 •

Copy link
Copy Markdown
Contributor

Summary

- review task base: 16e319fd (historical CLI and root CLAUDE.md)
+ review task base: 19e52226 (AGENTS.md, REVIEW.md, current grounding CLI)
- credit threshold and key findings by wording or nearby line
+ require wording that identifies the threshold or stored-key defect

Keep the five seeded defect classes and the clean control. Update the review patches and reference locations. The nine other tasks keep their original bases.

Evidence

  • Before the fix, a finding that endorsed the threshold comparison or objected only to dictionary access could score by line. Regression cases now reject both and credit two exact-threshold examples from live answers.
  • Both review tasks passed the Docker null and oracle check. Manifest validation found all 11 tasks. 712 focused tests passed. The clean CLI example scored a real context and wrote its report. Separate probes reproduced all five seeded defects.
  • Ran 12 Haiku 4.5 reviews on the same code and prompts with REVIEW.md before and after docs(review): post must-fix findings only, no nits #1533. The clean task passed 2/3 before and 3/3 after. Corrected automatic recall was 8/15 and 7/15. Manual verification was 9/15 and 7/15 because one type-check finding pointed to the suppressed error instead of the override. The model found the schema regression in all six seeded runs and missed the invalid CLI flag in all six.
  • Local CI passed 37 steps and skipped 16. Its only failure was pip-audit opening the shared host cache. The same audit passed on retry with a private cache. The full pytest run passed 36,256 tests, and the final review tests passed all 20 randomized repeats. Both hosted review-task checks passed.

Merge Danger

Door Two-way.

Blast Radius Two self-eval fixtures and their scoring data. Pin the eval revision to reproduce a historical review score.

Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
@napetrov
napetrov marked this pull request as ready for review December 6, 2026 06:34
@napetrov
napetrov requested a review from a team as a code owner December 6, 2026 06:34
Copilot AI balanced review requested due to automatic review settings December 6, 2026 06:34
@exai-bot

exai-bot commented Dec 6, 2026 •

Copy link
Copy Markdown

✅ OpenCodeReview: Review complete: 0 finding(s) across 7 selected item(s).

CI at b19f4f6: 24 passing, 4 skipped.

Review details
  • Commit reviewed: b19f4f6 against merge base 19e5222
  • Coverage: 7 files in 3 groups
  • Engine: OpenCodeReview v1.13.5-exai.4.8f73eada, us.openai.gpt-6.1-sol
  • Usage: 133k tokens (65k from cache), 9s
  • Tool calls: 15 (11 file_read, 2 file_read_diff, 1 ci_status, 1 local_check_results)
  • Clean-diff review evaluation task: 2 files
  • PR conventions review evaluation task: 3 files
  • Self-repository evaluation documentation and tests: 2 files

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The matcher misses valid stored-key rename/removal defects and incorrectly rejects annotation off-by-one reports that endorse another function’s comparison.

2 open issues
What changed in this PR

2 new findings.

This PR refreshes Dokimi’s two review self-evaluations for the newer repository guidance and CLI, preserving five seeded defects and the clean control.

Changes:

  • Updates both review-task bases and patches; leaves nine other task bases unchanged.
  • Requires defect-specific wording for threshold and stored-key credit.
  • Refreshes reference locations, regression cases, and task documentation.
File Description
dokimi/​tests/​test_self_repo_evals.py Updates locations and scoring regressions.
.agent-eval/​tasks/​review-pr-conventions/​task.json Pins the newer seeded-task base.
.agent-eval/​tasks/​review-pr-conventions/​review.patch Refreshes the five seeded defects.
.agent-eval/​tasks/​review-pr-conventions/​oracle.json Updates reference finding locations.
.agent-eval/​tasks/​review-pr-conventions/​manifest.json Tightens matching and updates locations.
.agent-eval/​tasks/​review-clean-diff/​task.json Pins the newer clean-task base.
.agent-eval/​tasks/​review-clean-diff/​review.patch Uses current grounding CLI syntax.
.agent-eval/​tasks/​review-clean-diff/​manifest.json Updates the supported-flag location.
.agent-eval/​README.md Explains scoring rules and task environments.

Review effort: Balanced

Thread: PRRT_kwDOVBg7g87AQ057
Thread: PRRT_kwDOVBg7g87AQ06L
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
@codecov-commenter

codecov-commenter commented Dec 6, 2026 •

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.43%. Comparing base (19e5222) to head (b19f4f6).
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1658      +/-   ##
==========================================
- Coverage   96.44%   96.43%   -0.02%     
==========================================
  Files         585      585              
  Lines       76600    76600              
  Branches    13175    13175              
==========================================
- Hits        73876    73868       -8     
- Misses       1671     1673       +2     
- Partials     1053     1059       +6     

see 6 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

4 participants