-
Notifications
You must be signed in to change notification settings - Fork 2
feat(search): make large local corpora fast and fail-safe #80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
3db8666
docs(plan): search index, deferred hybrid, and ICP language alignment
filocosta46 fa860cc
docs(plan): ground search work in measured containment path
filocosta46 b41b1f1
perf(search): freeze safe search benchmark authority
filocosta46 7bef898
perf(core): add safe corpus read transactions
filocosta46 57a611e
perf(search): rank within safe corpus transactions
filocosta46 0591377
feat(cli): simplify first-run guidance
filocosta46 8bea0c8
feat(search): return honest partial results
filocosta46 3c4ffdc
feat(memory): bound searchable archive generations
filocosta46 c08cc01
refactor: simplify search and archive hot paths
filocosta46 5c5fede
fix(review): harden archives and public response contracts
filocosta46 09ca4fb
test(review): cover archive upgrades and benchmark receipts
filocosta46 2d0f0af
fix(review): enforce request-wide search budgets
filocosta46 007dd87
fix(search): close safety and archive recovery gaps
filocosta46 8a6d579
docs(benchmarks): record final safe search authority
filocosta46 895fc73
fix(review): harden search safety and benchmark contracts
filocosta46 956327c
fix(review): close benchmark boundary gaps
filocosta46 347d659
docs(review): clarify benchmark artifact scope
filocosta46 d4bd77e
fix(search): close private-beta correctness blockers
filocosta46 c6bf99c
optimize(searchaios-public-latency): batch containment validation
filocosta46 5160f23
test(cli): align doctor safety assertions
filocosta46 760fc9e
docs(search): record public entrypoint benchmark
filocosta46 128fd5a
docs(memory): classify archive shards as canonical
filocosta46 e2ae101
fix(review): close final search safety findings
filocosta46 703bd44
fix(review): seal archive recovery authority
filocosta46 9b81031
fix(review): validate final recovery contracts
filocosta46 20f505e
test(memory): stabilize recovery scaling proof
filocosta46 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,128 @@ | ||
| { | ||
| "schemaVersion": "dotaios-search-benchmark/v1", | ||
| "benchmarkId": "search-baseline-2026-08-13", | ||
| "referenceMachine": { | ||
| "identifier": "mac16-1-m4-10c-16gb", | ||
| "modelIdentifier": "Mac16,1", | ||
| "chip": "Apple M4", | ||
| "cpuCores": 10, | ||
| "memoryGiB": 16, | ||
| "operatingSystem": "macOS 26.6.1 build 25G76 (Darwin 25.6.0)", | ||
| "powerProfile": { | ||
| "source": "battery", | ||
| "lowPowerMode": false, | ||
| "requireIdleMachine": true | ||
| } | ||
| }, | ||
| "runtime": { | ||
| "supportedNodeMajors": [ | ||
| 20, | ||
| 22 | ||
| ], | ||
| "baselineNode": "22.22.3" | ||
| }, | ||
| "corpus": { | ||
| "generator": { | ||
| "version": "dotaios-search-fixture-v1", | ||
| "seed": 20260813, | ||
| "fixedMtime": "2026-08-13T00:00:00.000Z" | ||
| }, | ||
| "fileCounts": [ | ||
| 500, | ||
| 2500, | ||
| 10000 | ||
| ], | ||
| "layouts": { | ||
| "shallow": { | ||
| "kind": "bucketed", | ||
| "directoryDepth": 1, | ||
| "bucketCount": 2 | ||
| }, | ||
| "nested": { | ||
| "kind": "tree", | ||
| "directoryDepth": 3, | ||
| "branchingFactor": 8 | ||
| } | ||
| }, | ||
| "distributions": { | ||
| "prose": { | ||
| "kind": "representative-prose", | ||
| "targetBytes": { | ||
| "min": 768, | ||
| "max": 1280 | ||
| }, | ||
| "vocabularySize": 192, | ||
| "frontmatterEvery": 4 | ||
| }, | ||
| "high-entropy": { | ||
| "kind": "adversarial-high-entropy", | ||
| "targetBytes": { | ||
| "min": 768, | ||
| "max": 1280 | ||
| }, | ||
| "tokenLength": 18, | ||
| "frontmatterEvery": 4 | ||
| } | ||
| }, | ||
| "scenarioMatrix": [ | ||
| { | ||
| "layout": "shallow", | ||
| "distribution": "prose" | ||
| }, | ||
| { | ||
| "layout": "nested", | ||
| "distribution": "high-entropy" | ||
| } | ||
| ] | ||
| }, | ||
| "queries": [ | ||
| { | ||
| "id": "no-hit", | ||
| "text": "zqxj-unfindable-20260813", | ||
| "expectation": { | ||
| "kind": "none", | ||
| "hitCount": 0 | ||
| } | ||
| }, | ||
| { | ||
| "id": "low-hit", | ||
| "text": "controlled-peregrine-benchmark-needle", | ||
| "expectation": { | ||
| "kind": "fixed-indices", | ||
| "fileIndices": [ | ||
| 3, | ||
| 17, | ||
| 101, | ||
| 307 | ||
| ], | ||
| "hitCount": 4 | ||
| } | ||
| }, | ||
| { | ||
| "id": "high-hit", | ||
| "text": "common-benchmark-marker-needle", | ||
| "expectation": { | ||
| "kind": "modulo", | ||
| "modulo": 25, | ||
| "remainder": 0, | ||
| "resultLimit": 20 | ||
| } | ||
| } | ||
| ], | ||
| "protocol": { | ||
| "coldSamples": 3, | ||
| "warmupSamples": 3, | ||
| "measuredSamples": 20, | ||
| "concurrency": 32, | ||
| "resultLimit": 20, | ||
| "rssPollIntervalMs": 5, | ||
| "coldDefinition": "fresh request-scoped reader before harness warm-up; operating-system file cache is uncontrolled", | ||
| "warmDefinition": "fresh request-scoped reader after warm-up in the same Node process", | ||
| "rawReadControl": { | ||
| "enabled": true, | ||
| "method": "open-handle-read-all", | ||
| "validation": "exact file count and byte total", | ||
| "concurrency": 32 | ||
| } | ||
| } | ||
| } |
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.