Skip to content

Discovery V4: relevant candidates and cautious source overlap review - #9

Merged
yunmin311 merged 1 commit into
mainfrom
codex/discovery-v4
Oct 22, 2026
Merged

yunmin311 merged 1 commit into
mainfrom
codex/discovery-v4

Conversation

@yunmin311

@yunmin311 yunmin311 commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

Result

Discovery now prioritizes candidates whose existing descriptions/topics support a shared purpose, and explicitly says when the returned set has insufficient relevance. Name/language matches alone do not justify a recommendation. All admitted candidates remain manually selectable, without additional GitHub requests or increased budgets.

The existing multi-file comparison distinguishes exact content, distinctive overlap worth reviewing, limited-information overlap, no signal and unavailable results. This is an explanation/review priority layer: raw V3 similarity measurements, evidence boundaries, Canonical Graph isolation and verification: pending / lineageClaim: none remain unchanged. New receipts are versioned @2 and the validator retains strict @1 compatibility.

Fixed equal-data evaluation

The benchmark includes pinned public repository metadata/source, authored counterexamples, the actual frozen V3 engine and production V4 worker. Purpose/source labels are independent of algorithm output.

Fixed corpus measure V3 V4
Useful candidates in top two, stored order (3 pools / 12 observations) 50% 66.7%
Mean useful top two over all 72 input orders 58.3% 77.8%
Low-value pairs prioritized (42 negatives) 25 1
Valuable pairs retained (30 positives: 13 exact, 17 non-exact) 30 30

Every original raw measurement and aggregate matches the frozen V3 engine. Three relevant candidates receive insufficient-support labels and remain selectable; p-limit/chalk remains a false review priority. This curated corpus demonstrates bounded ranking/interpretation behavior, not live-search precision, recall, statistical confidence or provenance verification. Existing admission caps can exclude a useful result before ranking.

Replay uses the same 69,669 source bytes and zero HTTP requests. Review annotations add 11,332 serialized bytes across 72 pairs; metadata/explanations also add bounded response text. CPU/wall observations are recorded without a speedup claim. Development-only corpus acquisition is separately reported (26 requests / 140,978 response bytes).

Validation

  • Typecheck and production build passed.
  • Unit: 638 passed, 0 failed, 3 existing opt-in live tests skipped; Discovery: 152 passed, 0 skipped.
  • Existing V3 and new V4 benchmarks passed.
  • Final production-bundle V3 and V4 Chromium acceptance passed; V4 checks 1920/1280/430/390, keyboard manual choice, all-insufficient fallback, Reduced Motion, geometry/overflow and page errors.
  • Existing Deep Search, exploration, Private Beta, Canvas, Landing, Analysis, Preflight, stale A→B, UI contract and responsive browser suites passed locally. The known Private Beta intermittent failure did not reproduce.
  • New benchmark/browser gates added to native ARM64 M2 workflow; all previous gates retained. All three remote ARM64 runs passed on 558e3f0542f190a663d24e28ec27b853432914ac: M2, Stable UI, Live / image.
  • WebKit/Safari, physical touch/pinch and sustained performance were not tested in this iteration. Local Docker/TLS staging unavailable; remote workflow covers it.

Details: docs/discovery-v4.md, docs/evidence/discovery-v4-benchmark.json. Raw benchmark/browser evidence is generated under artifacts/discovery-v4/ and retained by M2 CI artifacts. No production deployment or V4 merge is included.

@yunmin311
yunmin311 merged commit f0a4ef3 into main Oct 22, 2026
3 checks passed
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.

1 participant