Repository navigation
Discovery V4: relevant candidates and cautious source overlap review - #9
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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: noneremain 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.
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
558e3f0542f190a663d24e28ec27b853432914ac: M2, Stable UI, Live / image.Details:
docs/discovery-v4.md,docs/evidence/discovery-v4-benchmark.json. Raw benchmark/browser evidence is generated underartifacts/discovery-v4/and retained by M2 CI artifacts. No production deployment or V4 merge is included.