Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion dokimi/docs/research-register.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ An experiment that turns out wrong is not deleted: set `retracted: true` and say
what was wrong with it. `retracted` means the whole experiment is invalid, so `check` fails
any finding that still cites it; query, export and render keep it, marked. When only part of a
result is withdrawn, keep the outcome, leave `retracted` unset and list the withdrawn claims
under a `## Corrections` heading. Every record has a `date` (`YYYY-MM-DD`) and optional `links` (required on
under a `## Corrections` heading. When the method of a `planned` or `running` experiment changes
before its outcome, say so under a `## Amendments` heading: the date, what changed, and whether
its window had started. Every record has a `date` (`YYYY-MM-DD`) and optional `links` (required on
`implref`), which must be public `github.com/intel/` or `github.com/napetrov/` URLs. The register is public:
leave out internal hosts, paths, names and raw traces, and describe local evidence in words
("local run, 96 runs").
Expand Down
7 changes: 5 additions & 2 deletions dokimi/research/records/experiment/X041.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ SPDX-License-Identifier: Apache-2.0
Registered before the check lands. #1619 sweeps the 93 sites of X040's R1 and adds the check with an empty baseline, as its own CI step.

- **Window:** the 4 weeks after the check's PR merges.
- **Counted:** merged PRs that fix package code and match the encoding family's keywords in the title and the first 600 characters of the body, as in the study behind #1595 (weekly, in the metrics comment linked above). PRs labelled `testing-strategy` belong to the program and are not counted.
- **Counted for the rate:** merged PRs that fix package code and match the encoding family's keywords in the title and the first 600 characters of the body, as in the study behind #1595 (weekly, in the metrics comment linked above). PRs labelled `testing-strategy` belong to the program and are not counted.
- **Baseline:** 30 organic encoding fixes from 2026-10-13 to 2026-12-02, out of 918 merged PRs, which is 3.3 per 100.
- **Test:** one-sided Poisson at the window's own count of merged PRs, p < 0.05. At the baseline's 126 merged PRs a week, the threshold is 9 fixes, against 16.5 expected.
- **Misses:** each encoding fix in the window is read by hand.
- **Misses:** every organic fix PR in the window that touches the package is read by hand, whatever its title: the title and the description, and the diff where those do not decide it. The keyword match above is for the rate only.
- A fix of a `.encode()`, `write_text` or `open(..., "w")` in the package, with UTF-8 and no `errors=`, is a miss.
- A fix elsewhere (an encode through a helper, `bytes()`, a decode) is out of scope and is reported apart. On history, about 5 of the series' 19 fixes were of this kind.
- **Reported, with no threshold:**
Expand All @@ -34,3 +34,6 @@ Registered before the check lands. #1619 sweeps the 93 sites of X040's R1 and ad
- **Supported:** no miss, and the rate is significantly below the baseline.
- **Refuted:** a miss, or a rate that is not significantly below the baseline, a smaller rate with p ≥ 0.05 included. Under #1595 the check is then narrowed or dropped.
- **The rate is weak evidence here.** The series fell from 11 fixes a week to 2 at the end of November, before any gate. The misses carry the result.

## Amendments
- **2026-12-06, how misses are found.** As first registered, only the fixes that the keyword family matches were read for a miss. A fix of a covered shape 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. Now every organic fix PR that touches the package is read. This makes the test stricter and leaves the rate as it was. The window had not started: the check's PR had not merged.
7 changes: 5 additions & 2 deletions dokimi/research/records/experiment/X042.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ SPDX-License-Identifier: Apache-2.0
Registered before the check lands. #1620 fixes the 7 bug sites of X040's R2, records the other 31 in a baseline with a reason each (handled, own directory, own package, no effect, unclear), and gates new sites, as its own CI step.

- **Window:** the 4 weeks after the check's PR merges.
- **Counted:** merged PRs that fix package code and match the listing family's keywords in the title and the first 600 characters of the body, as in the study behind #1595. PRs labelled `testing-strategy` belong to the program and are not counted.
- **Counted for the rate:** merged PRs that fix package code and match the listing family's keywords in the title and the first 600 characters of the body, as in the study behind #1595. PRs labelled `testing-strategy` belong to the program and are not counted.
- **Baseline:** 22 organic listing fixes from 2026-10-13 to 2026-12-02, out of 918 merged PRs, which is 2.4 per 100. Unlike the encoding series, this one was still running, with 10 fixes in its last week.
- **Test:** one-sided Poisson at the window's own count of merged PRs, p < 0.05. At 126 merged PRs a week, the threshold is 6 fixes, against 12 expected.
- **Misses:** each listing fix in the window is read by hand.
- **Misses:** every organic fix PR in the window that touches the package is read by hand, whatever its title: the title and the description, and the diff where those do not decide it. The keyword match above is for the rate only.
- A fix of an `os.walk` with no `onerror=`, a `Path.glob`, `rglob`, `glob.glob` or `iglob` in the package is a miss.
- A fix of a baseline row as a bug means its label was wrong.
- A fix of another shape (a directory without search permission, an `except OSError` around a listing, `rmtree` with `ignore_errors`) is out of scope and is reported apart.
Expand All @@ -32,3 +32,6 @@ Registered before the check lands. #1620 fixes the 7 bug sites of X040's R2, rec
## Prediction
- **Supported:** no miss, no baseline row fixed as a bug, and the rate is significantly below the baseline.
- **Refuted:** any of the three fails. Under #1595 the check or its labels are then narrowed or dropped.

## Amendments
- **2026-12-06, how misses are found.** As first registered, only the fixes that the keyword family matches were read for a miss. A fix of a covered shape 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. Now every organic fix PR that touches the package is read. This makes the test stricter and leaves the rate as it was. The window had not started: the check's PR had not opened.
7 changes: 5 additions & 2 deletions dokimi/research/records/experiment/X043.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ SPDX-License-Identifier: Apache-2.0
The contract has been in the test suite since 2026-12-02, with an allowlist that only shrinks (X038). This record is written before its window starts, the day after it.

- **Window:** 2026-12-05 to 2027-01-01, 4 weeks.
- **Counted:** merged PRs that fix package code and match the bad-input family's keywords in the title and the first 600 characters of the body, as in the study behind #1595. PRs labelled `testing-strategy` belong to the program and are not counted.
- **Counted for the rate:** merged PRs that fix package code and match the bad-input family's keywords in the title and the first 600 characters of the body, as in the study behind #1595. PRs labelled `testing-strategy` belong to the program and are not counted.
- **Baseline:** 53 organic bad-input fixes from 2026-10-13 to 2026-12-02, out of 918 merged PRs, which is 5.8 per 100. The rate per merged PR keeps the late-December dip in volume out of the test.
- **Test:** one-sided Poisson at the window's own count of merged PRs, p < 0.05. At 126 merged PRs a week, the threshold is 20 fixes, against 29 expected.
- **Misses:** each bad-input fix in the window is read by hand.
- **Misses:** every organic fix PR in the window that touches the package is read by hand, whatever its title: the title and the description, and the diff where those do not decide it. The keyword match above is for the rate only.
- A fix of a fault the contract generates for a path parameter it reaches is a miss. The faults are a missing path, a directory, an unreadable path, a dangling link, a path outside the root, an empty file, invalid UTF-8, truncated JSON and JSON of the wrong type.
- A fix of any other case is out of scope and is reported apart. Most such cases are a wrong shape inside a valid file, the target of #1621's second step, which gets its own record when its PR opens.
- **Reported, with no threshold:**
Expand All @@ -34,3 +34,6 @@ The contract has been in the test suite since 2026-12-02, with an allowlist that
## Prediction
- **Supported:** no miss, and the rate is significantly below the baseline.
- **Refuted:** a miss, or a rate that is not significantly below the baseline, a smaller rate with p ≥ 0.05 included.

## Amendments
- **2026-12-06, how misses are found.** As first registered, only the fixes that the keyword family matches were read for a miss. A fix of a covered shape 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. Now every organic fix PR that touches the package is read. This makes the test stricter and leaves the rate as it was. The window had started on 2026-12-05. No fix of the window had been read yet.
Loading