Repository navigation
fix(tier2): expose collection coverage and transactional rebuilds - #436
Conversation
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
SkillEvaluator CI resultsRequired gate: Skipped Only Tier 1 blocks CI; Tier 2 and Tier 3 are advisory.
Commit: |
rng1995
left a comment
There was a problem hiding this comment.
Independent assistant task and final whole-change reviews accepted selected/indexed/skipped coverage and transactional replacement builds. Failed attempts preserve committed index/dimension/coverage; successful explicit rebuild replaces all three together. Incomplete collections retain valid-subset findings, suppress all-clear and cannot persist catalogs.1024 real-provider synthetic entries indexed; actual dense catalog exceeded the unchanged32MiB cap, so saved-catalog scale qualification remains limited.
This records independent assistant technical review, not human approval or authorization to merge. Full-suite and final hostedCI evidence is still being reconciled and will be added to the PR.
rng1995
left a comment
There was a problem hiding this comment.
Fresh independent review passed for collection exclusions, transactional replacement/rollback, persistence eligibility and limits.28 coverage tests and four fresh benchmark probes passed. No actionable introduced defect found. Production/saved-catalog scale qualification remains limited exactly as documented.
This is a fresh independent assistant review of the stated current head, not human approval or merge authorization. Reviewed the actual target advance; no overlapping source change was found for these main-based PRs.
Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
left a comment
There was a problem hiding this comment.
Conflict resolution published at 8708f94. Main 6e11779 is a merge parent; the newer CI-only target fff5332 also merges cleanly. Both upstream and owned feature changes were independently verified preserved, with no conflict markers, overwritten blobs or duplicate documentation/changelog sections. 585 focused cases passed/1 platform skip. Lint/build/source+archive boundary/provenance/Fern/diff gates passed. New-head CI is running; previous-head green results remain separate. This updates our PR branch only and is not PR/main merge authorization.
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
left a comment
There was a problem hiding this comment.
Independent merge-resolution review for b0a4cff5c3236f45e8dcdcde3be6a561f61448a8 against parents 6b0a3fc4 and current main b61b1ef7: no findings in the reviewed conflict-resolution scope.
Verified all 959 tree paths by mode/blob or exact insertion proof. The registry changelog entry occurs once; its removal reproduces incoming main exactly. The two owned Tier 2 documentation additions are retained once, while upstream link changes are preserved. All other files match their contributing parent; no manual runtime/source conflict resolution was required.
103 focused collection/registry/similarity regressions passed. Scoped Ruff, pinned Fern (0 errors, 1 optional redirect-auth warning), diff and conflict-marker checks passed. Hosted CI is rerunning on this new head; prior green checks are historical and are not claimed for this head. Broader scale/production acceptance limitations remain as documented.
Merge public main at d717f22. Two files conflicted: - src/skillevaluator/embedding/extractor.py: main (#436) added collection coverage. It imports dataclasses.field, adds the exclusion constants and records an exclusion reason (budget.exclude) where a manifest is skipped. This branch replaced yaml.safe_load with load_bounded_yaml, added MAX_FRONTMATTER_FIELD_CHARS and skipped a non-string name or description. Kept both: main's imports, constants and exclusion calls, with the invalid_yaml exclusion moved onto the StructuredDataSyntaxError handler and the missing_name_or_description exclusion on the branch's string check. The unused yaml import is dropped, as the branch had done. - CHANGELOG.md: both sides added an entry at the end of Unreleased > Fixed. Kept both, main's tier3 compare entry first and this branch's entry after it. Signed-off-by: Narendran Raghavan <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
Summary
Report incomplete collection coverage and prevent partial catalogs from receiving a whole-collection all-clear or replacing a saved catalog. Tracks SKILLEVAL-108; this PR is the focused implementation, not a claim that every ticket acceptance item is complete.
Conflict-resolution update
Final publication and merge
Final published PR head:
b0a4cff5c3236f45e8dcdcde3be6a561f61448a8. This signed-off merge combines previous published repair head6b0a3fc48f5c96dc35caedf0deae0b65a87510e4with mainb61b1ef749d25508c865099c02024237c885447eand was published by normal push after a fresh remote-head check. GitHub squash-merged this PR into main on 2026-11-10 at 17:21:01 UTC as2bd67ca6ce62ad163f9074c1c32a1dd0a44a77b4.Mechanical resolution and preservation
The only manual conflict was
CHANGELOG.md. All upstream changelog additions are retained, and the complete registry/coverage entry appears once after the newer upstream entries. Indocs/tier2-deduplication.mdx, Git automatically combined upstream link modernization with this PR's two registry/scale insertion blocks. Removing the owned additions from each shared file exactly reproduces incoming main. Independent review checked 959 tree paths: all other source paths preserve their corresponding parent content, and the shared-file additions are exact and retained once. Upstream per-case expectation diagnostics, baseline applicability, optional-reference placeholder behavior and this PR's owned feature changes remain preserved.Final-head validation and CI status
The latest repair passed 103 focused registry, collection-coverage and similarity regressions, scoped Ruff checks, conflict-marker and whitespace checks, and pinned Fern with zero errors and one optional unauthenticated-redirect warning. Independent source/parent preservation review passed with no findings.
Final-head CI completed successfully. A fresh read of final published head
b0a4cff5c3236f45e8dcdcde3be6a561f61448a8shows 20 successful checks, 2 skipped, 0 pending and 0 failures. These hosted results apply to this published head; earlier verification remains scoped to its stated historical heads.Historical integration and verification
The first repair head
6b0a3fc48f5c96dc35caedf0deae0b65a87510e4was a signed-off merge of previous published head8708f948820e7bbdce2694403b4192d784c48602with mainf74c52f24c7976f874321521f588af90937484a8; its manual resolution was also limited to the changelog.A separate premerge preview combined that first repair with repaired #435 and #438 on main
6a5e7c755f6e7a2bd848d9c3a632286ab792a142. All six synthetic squash orders merged cleanly and converged to tree6627ea03692e395b5502ac10285858e1da196102. On synthetic commit13a14d925aa30ac17052ed01f654ef2779616758, 726 focused integration tests, Ruff, package builds, pinned Fern and diff checks passed. These results belong to that premerge preview and do not establish acceptance for the latest head or every subsequent main revision.The following results belong to earlier published head
8708f948820e7bbdce2694403b4192d784c48602, which merged main6e1177927a976668313daf4a74d3e33119a9ea22and was checked for a clean merge with CI targetfff53328887a87f47cdf7cc4ea2c084648d73175:585 focused cases passed/1 platform skip. Selections are reported separately as test executions, without claiming unique totals. Lint, wheel/sdist builds, configured source/archive OSS boundaries, public benchmark provenance, diff checks and pinned Fern passed. Fern retained only its optional unauthenticated redirects warning.
Earlier verification sections below remain evidence for their explicitly named historical heads. Existing acceptance limits, bounded scale-measurement limits and risk notes remain unchanged.
BEFORE / AFTER
Implementation
Add detailed extraction while preserving the list-returning convenience API. Retain valid-subset findings, suppress whole-collection all-clear on exclusions, and refuse incomplete catalog writes. Commit entries/vector width/coverage together; expose attempted coverage separately. Add reproducible 1024/2500/5000 synthetic benchmarking. Reuse existing limits, batching, atomic persistence and self-entry exclusion; no capacity increase.
Verification
Previously verified head:
58b1ea62a92cfde932293d76626bba5e5338570b. macOS arm64 local checks used locked Python 3.12 environments and unique temporary roots outside Git.Local full default suite at
b4333cd2: 26,255 passed, 35 skipped (exit 0).The publication merge adds current main and resolves only append-only changelog conflicts; every original non-changelog task blob is byte-identical. Publication-head focused checks cover the merge.
Publication-head embedding/similarity selection: 346 passed, one skipped; new-main shell chunker regressions: 123 passed. Eight layout/mode/malformed benchmark smoke combinations passed.
Previous-head hosted checks: 25 successful, 2 intentionally skipped, zero failures or pending checks. The Python 3.12 coverage job, Python 3.13/3.14 suites and applicable macOS/Windows/package/security/DCO checks completed.
Ruff, lint/build, OSS boundary, public benchmark provenance and diff checks passed in their recorded scopes. Applicable pinned Fern checks passed with the optional unauthenticated redirect-check warning. Independent task and final reviews are posted on this PR; the historical dataset-citation finding on #432 was answered, verified and resolved.
Synthetic 1,024/2,500/5,000 measurements and eight smoke combinations are retained. Actual NVIDIA
nvidia/nemotron-3-embed-1brun indexed 1,024/1,024 synthetic nested skills at 2,048 dimensions: 17 requests, 1,025 inputs, 30,879 measured prompt tokens; 68.187s indexing, 71.505s total, 349,683,712-byte process peak RSS. Candidate query was in memory and excluded self. Dense catalog serialization correctly exceeded the unchanged 32 MiB cap; all-pairs 1,072,693,248 scalar work was rejected at 128,000,000 with zero extra provider requests. This is bounded measurement, not production/saved-catalog qualification.Risks and recovery
Successful
build_from_directoryandbuild_from_pathsnow replace the complete index. Python callers relying on undocumented append behavior must pass the complete intended selection. Failures preserve committed index, width and coverage. Defaults still limit scalar work to 128M and catalog size to 32MiB; a 5000-entry all-pairs run at 2048 dimensions exceeds that scalar budget. Full large-layout/mode cross-product and valid final-head provider-scale acceptance remain pending.Release Impact
CHANGELOG.md