Skip to content

docs(novelty): the 2026-11-28 runs asked every extraction batch; only the October runs predate the spread cap - #1411

Merged
napetrov merged 2 commits into
intel:mainfrom
xaleryb:docs/novelty-measured-runs-spread-cap
Dec 1, 2026
Merged

napetrov merged 2 commits into
intel:mainfrom
xaleryb:docs/novelty-measured-runs-spread-cap

Conversation

@xaleryb

@xaleryb xaleryb commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #1371. docs/skill-novelty.md said the measured runs "predate the spread cap" and that the every-batch extractor calls were something "no measured run has checked yet"; the _projection docstring in tests/test_novelty_tiers.py said "(no measured run yet)". That holds for the 25 runs of 2026-10-21 only.

  • The 17 token-profile runs of 2026-11-28 were recorded at 26e3083, and the spread cap (150f307, fix(novelty): a capped run probes atoms spread over the whole input #358) is its ancestor: git merge-base --is-ancestor 150f307e6 26e30838 exits 0.
  • Their triage runs (PROFILE_RUNS in tests/test_novelty_token_profile.py) asked every batch. 6 of the 7 made exactly ceil(spans / 25) + 1 extractor calls (batches plus the need graph), which is what --dry-run projects now. The seventh, n08 (148 spans, 6 batches), made 9 against the projected 7. The October rule (one call per 12 of the 25 capped atoms) counts 3 for each run.
run spans batches measured projected now October rule
n01 31 2 3 3 3
n05 55 3 4 4 3
n07 151 7 8 8 3
n08 148 6 9 7 3
n11 47 2 3 3 3
n12 41 2 3 3 3
n15 142 6 7 7 3

The sentence now limits "predate the spread cap" to the October runs and states the November numbers. The docstring says the same. Only docs and a docstring change; no code or test changed.

Checks run on the head: docs check --strict, check_comment_blocks, check_test_narrowing, check_growth and ruff all pass. check_changelog_fragment says no fragment is required, because nothing changed in the package or dokimi/data/. tests/test_novelty_tiers.py, tests/test_novelty_token_profile.py and the docs tests: 211 passed, 20 skipped.

Repro of the table: for each triage row of PROFILE_RUNS, resolve_settings("triage", {}).estimate(spans, n_tokens=tokens)["estimate"]["by_role"]["extractor"] against estimate_calls(25, TIERS["triage"]["settings"])["by_role"]["extractor"].

… the October runs predate the spread cap

The token-profile runs were recorded at 26e3083, which contains the spread cap (150f307).
Their triage runs made one extractor call per 25-span batch plus the need graph.

Signed-off-by: Alexander Rybkin <alexander.rybkin@intel.com>
@exai-bot

exai-bot commented Nov 29, 2026 •

Copy link
Copy Markdown

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

CI at 4b062eb: 20 passing, 4 skipped.

Review details
  • Commit reviewed: 4b062eb against merge base fa6587e
  • Coverage: 2 files in 1 groups
  • Engine: OpenCodeReview v1.13.5-exai.4.8f73eada, us.openai.gpt-6.1-sol
  • Usage: 39k tokens (15k from cache), 6s
  • Tool calls: 4 (4 file_read)
  • small change set: 2 files

@codecov-commenter

codecov-commenter commented Nov 29, 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.33%. Comparing base (0eeaaf9) to head (4b062eb).
⚠️ Report is 4 commits behind head on main.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1411   +/-   ##
=======================================
  Coverage   96.33%   96.33%           
=======================================
  Files         522      522           
  Lines       69898    69949   +51     
  Branches    12096    12098    +2     
=======================================
+ Hits        67335    67387   +52     
+ Misses       1585     1582    -3     
- Partials      978      980    +2     

see 7 files with indirect coverage changes

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

@vlad-perevezentsev vlad-perevezentsev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 LGTM · checked 6fec793 · nothing required from @xaleryb

🔀 Merge: safe now · merges cleanly into current main, 4 commits behind · after it, #1437 needs a rebase (docs/skill-novelty.md, same paragraph)

✅ make ci-local --offline: 0 failed, 27 checks passed · ✅ every number in the new paragraph matches PROFILE_RUNS and MEASURED_RUNS: 25 October runs, triage extractor calls 3/4/8/3/3/7 = batches + 1, n08 9 vs 7, round(25/12) + 1 = 3

The doc now says which runs predate the spread cap and what the November runs show.

@napetrov napetrov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Change class: LOCAL (head 6fec793)

  • Contract: none
  • Responsibility: none
  • Dependency: none
  • Review depth: skim: local change, check diff + tests
  • Coverage gaps: none

The seven November triage fixtures support the corrected batching description: six match the projected call count, and the 148-span run made nine calls against seven projected. All 60 focused tests and CI passed.

@vchamarthi vchamarthi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@xaleryb, could you fix the small thing I've marked fix before merge (in the line comments) and answer my question below? I'll approve once that's done.
I'll approve once that's done.

My question before I approve:

  • The title and the paragraph say that only the October runs predate the spread cap. Name any other run that predates 2026-11-03 in the paragraph, or say that the claim covers the 25 October runs only.

Also holding my approval:

  • A check of the change fails on this head.

What I checked on 6fec793:

  • It conflicts with main.
  • The 57 changed tests pass, and pass on main too.
  • The full test suite passes (32,500 tests), apart from failures main has too.

Comment thread dokimi/docs/skill-novelty.md Outdated
cap. On an
artifact with more atoms than the cap that adds extractor calls no measured run has checked
yet; the held-out figures above are for the runs as they were measured.
The 25 October runs, the tier table above among them, predate the spread cap: their extraction

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Fix before merge (blocking): The paragraph calls the tier table above one of the 25 October runs, but that table is a projection, not a run.

I tested this suggestion: it fixes the problem, and the tests still pass.

Suggested change
The 25 October runs, the tier table above among them, predate the spread cap: their extraction
The 25 October runs predate the spread cap: their extraction
Details

I checked the sentence The 25 October runs, the tier table above among them, predate the spread cap: against the table at dokimi/docs/skill-novelty.md:1412-1416. That table gives calls for a 1,700-word skill, not for a run, so it cannot predate anything. Its triage figure, 103, is what estimate_calls gives with no span count (the October batch rule), so I'd expect the sentence to drop the table, or the table to say which batch rule it uses.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Agreed: the table gives calls for a 1,700-word skill, a projection, not a run. Applied in 4b062eb (merge of main): the sentence now reads "The 25 October runs predate the spread cap: ...", and the table is no longer counted among the runs.

Keeps main's refit sentence and the corrected paragraph; the paragraph no
longer counts the tier table, a projection, among the October runs.

Signed-off-by: Alexander Rybkin <alexander.rybkin@intel.com>
@xaleryb

xaleryb commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

@vchamarthi, thanks for the review.

  • Fix before merge: applied in 4b062eb, which also merges current main (the only conflict was this paragraph; main's refit sentence before it is kept as is).
  • Your question: the claim covers the 25 October runs only, and the paragraph now says so. The repo records two sets of measured runs, the 25 of 2026-10-21 (13 fit, 12 held; tests/test_novelty_tiers.py:389) and the 17 of 2026-11-28 (PROFILE_RUNS); no other run predates 2026-11-03.
  • The failing check: at 6fec793 the only red item was the conflict with main; no check job failed there. After the merge, test_novelty_tiers.py, test_novelty_token_profile.py and the docs tests pass (131), and docs check --strict and ruff are clean on the host.

@napetrov
napetrov merged commit 6682c26 into intel:main Dec 1, 2026
29 of 30 checks passed
@xaleryb
xaleryb deleted the docs/novelty-measured-runs-spread-cap branch December 1, 2026 22:22
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.

6 participants