Skip to content

docs(research): X041-X043 read their misses from every organic fix, not only the keyword matches - #1674

Open
antonwolfy wants to merge 1 commit into
intel:mainfrom
antonwolfy:docs/register-misses-every-fix
Open

antonwolfy wants to merge 1 commit into
intel:mainfrom
antonwolfy:docs/register-misses-every-fix

Conversation

@antonwolfy

Copy link
Copy Markdown
Contributor

Summary

Part of #1595. The three planned predictions of #1619, #1620 and #1621 (X041, X042, X043) read for a miss only the fix PRs that their keyword family matches. A fix of a shape the check covers, with other words in its title and description, would not have been read, and the outcome could have been supported with a miss in the window. The point came up in the review of #1673, on a new record with the same rule.

Each record now reads every organic fix PR in the window that touches the package. Records and one sentence of documentation: no code changes.

Changes

  • X041, X042, X043: misses are read from every organic fix PR in the window that touches the package: the title and the description, and the diff where those do not decide it. The keyword match stays for the rate only, so the baselines and thresholds are the same.
  • A dated ## Amendments heading in each record says what changed and whether the window had started:
    • X041 and X042: the window had not started. The encoding check's PR has not merged, and the listing check's PR has not opened.
    • X043: the window started on 2026-12-05. No fix of the window had been read yet.
  • docs/research-register.md names the heading: a change to the method of a planned or running experiment before its outcome goes under ## Amendments, with the date, what changed and whether its window had started.

Risk

  • This changes predictions that are already registered, one of them a day into its window. The change makes each test stricter: it can turn a supported into a refuted, never the reverse. The hypothesis, the baseline, the threshold and the window of each record are as they were.
  • Reading every organic fix PR is more work at the end of each window, about 300 PRs at today's volume.

Testing

  • python scripts/research_register.py check: OK: 144 records.
  • tests/test_research_register.py, tests/test_docs_links.py and tests/test_docs_code_refs.py: 717 passed.
  • make ci-local on a review host, on this head: 0 failed, 38 passed, 16 skipped. Its full test run was 36,256 passed and 28 skipped. The skips are steps that need GitHub event data or another job's matrix output, micromamba or semgrep, and jobs that do not run on a PR. Python 3.11, 3.12 and 3.14 and CI's merge commit were not covered.
  • No changelog fragment: nothing under dokimi/dokimi/, dokimi/data/ or pyproject.toml changes.

Open questions

None.

Revert

A plain revert restores the first wording of the three records and removes the sentence in the docs. If a window has been judged under the amended rule by then, its outcome would rest on a rule the record no longer states.

Checklist

  • Tests added/updated and pytest passes (no new tests: the records are checked by tests/test_research_register.py)
  • ruff, mypy, and schema checks pass
  • Docs updated (or N/A) — see the docs-drift checklist in CONTRIBUTING.md
  • Self-reviewed per "Before opening a PR" in AGENTS.md
  • Each new raise/exit and test names the doc, contract or issue it traces to (none added)
  • No ad-hoc run artifacts committed
  • New files carry the SPDX license header (or are exempt in .github/.licenserc.yaml) (no new files)

…ot only the keyword matches

As registered, the three planned predictions of intel#1619, intel#1620 and intel#1621 read for a miss only the fix PRs that their keyword family matches. A fix of a shape the check covers, with other words in its title and description, would not have been read, and the outcome could have been "supported" with a miss in the window.

Each record now reads every organic fix PR in the window that touches the package: the title and the description, and the diff where those do not decide it. The keyword match stays for the rate only, so the baselines and thresholds do not change.

Each record says so under a dated "Amendments" heading, with whether its window had started. X043's window started on 2026-12-05, and no fix of the window had been read yet. The windows of X041 and X042 have not started.

docs/research-register.md names the heading: a change to the method of a planned or running experiment before its outcome goes under "Amendments".

Signed-off-by: Anton Volkov <antonwolfy@gmail.com>
Copilot AI balanced review requested due to automatic review settings December 6, 2026 15:01
@antonwolfy
antonwolfy requested a review from a team as a code owner December 6, 2026 15:01
@antonwolfy antonwolfy added the testing-strategy Part of #1595: checks for the bug classes behind our fix series, their sweeps and research label Dec 6, 2026
@antonwolfy antonwolfy self-assigned this Dec 6, 2026

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.

🟢 Approval recommended

No active review issues require changes.

No open issues 🎉

What changed in this PR

0 new findings; nothing to fix.

This documentation-only PR strengthens X041–X043’s miss detection for the testing program without changing their rate baselines, thresholds, or windows.

Changes:

  • Read every organic package-fix PR for misses, retaining keyword filtering only for rates.
  • Record dated amendments and whether each experiment’s window had started.
  • Document the amendment convention for planned or running experiments.
File Description
dokimi/​research/​records/​experiment/​X043.md Broadens bad-input miss review; records the already-started window.
dokimi/​research/​records/​experiment/​X042.md Broadens listing miss review; records the pre-window amendment.
dokimi/​research/​records/​experiment/​X041.md Broadens encoding miss review; records the pre-window amendment.
dokimi/​docs/​research-register.md Defines how to document experiment-method amendments.

Review effort: Balanced

@exai-bot

exai-bot commented Dec 6, 2026 •

Copy link
Copy Markdown

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

CI at df61a14: 14 passing, 9 skipped.

Review details
  • Commit reviewed: df61a14 against merge base 19e5222
  • Coverage: 4 files in 1 groups
  • Engine: OpenCodeReview v1.13.5-exai.4.8f73eada, us.openai.gpt-6.1-sol
  • Usage: 41k tokens (23k from cache), 7s
  • Tool calls: 5 (5 file_read)
  • Research register and experiment record updates: 4 files

@codecov-commenter

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 (df61a14).
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1674      +/-   ##
==========================================
- 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

testing-strategy Part of #1595: checks for the bug classes behind our fix series, their sweeps and research

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants