diff --git a/pkgs/atlas-search/eval/overlap-experiment.py b/pkgs/atlas-search/eval/overlap-experiment.py new file mode 100644 index 0000000000..3a263a30e0 --- /dev/null +++ b/pkgs/atlas-search/eval/overlap-experiment.py @@ -0,0 +1,279 @@ +# lane-scratch: code-y /tmp/lane-y-20261108-0204 task 12883 +#!/usr/bin/env python3 +"""Atlas overlap budget experiment (issue #6039). + +Chunks a representative corpus slice at 0% / 10% / 20% overlap per source +type (prose docs, logs), and measures golden-set recall vs index size. + +Signal: BM25 (lexical), implemented here in stdlib Python so the script +runs anywhere with no model download and no network. The atlas eval +harness (eval/README.md, #5741) scores saved rankings offline; the runs +this script emits per configuration are plain ranked chunk-id lists, so +the same qrels can be re-scored under a dense signal when the #6027 +golden set and an embedding route are available — that re-run is owed +and named in the report. + +Golden set: PROVISIONAL, constructed by this script from the corpus +slice itself (see build_golden). It is not the #6027 golden set. +Queries are the top-5 highest-IDF content words of a sampled passage; +the gold relevant unit is the passage's word span in its document, and +a chunk is relevant iff its word span intersects the gold span in the +same document. Two query classes per type: "interior" (whole sampled +passages) and "boundary" (50-word spans centred on 0%-overlap window +boundaries — the case overlap exists for). Boundary scoring also +reports recall with a >=80% span-coverage requirement and the mean +best coverage in the top 10, because any-overlap relevance alone +cannot discriminate overlap settings. This construction is neutral across overlap settings +(the same queries/qrels are scored against every configuration), but +it favours lexical retrieval; treat absolute recall as an upper bound +for BM25-style signals, not as a production estimate. + +Corpus slice (deterministic, from this repository at the pinned HEAD): +- prose: Markdown files under doc/ and pkgs/atlas-search/, >= 2000 + bytes each, sorted by path, capped at 240 KB total. +- logs: `git log` entries (subject + body) of this repository, newest + 1500 commits, grouped into documents of 60 consecutive entries. + +Chunking: fixed 200-word windows per document, stride = +round(200 * (1 - overlap)). Overlap therefore duplicates boundary +content exactly as a production fixed-window chunker would. +""" +import json, math, re, subprocess, sys +from collections import Counter, defaultdict +from pathlib import Path + +ROOT = Path(sys.argv[1]) if len(sys.argv) > 1 else Path.cwd() +OUT = Path(sys.argv[2]) if len(sys.argv) > 2 else ROOT / "overlap-results.json" +WINDOW = 200 +OVERLAPS = [0.0, 0.10, 0.20] +SEED_QUERIES_PER_TYPE = 16 +WORD = re.compile(r"[a-z0-9][a-z0-9\-']+") +STOP = set("the a an and or of to in is are was were for on with as by at from that this it its be has have had not but we you they he she them then than so such can could should would may might do does did done".split()) + +def words(text): + return [w for w in WORD.findall(text.lower())] + +def load_prose(root): + docs, total = [], 0 + cands = [] + for base in [root / "doc", root / "pkgs" / "atlas-search"]: + for p in sorted(base.rglob("*.md")): + if "target" in p.parts: + continue + cands.append(p) + for p in cands: + try: + t = p.read_text(errors="ignore") + except OSError: + continue + if len(t) < 2000: + continue + docs.append({"id": f"prose:{p.relative_to(root)}", "type": "prose", "text": t}) + total += len(t) + if total >= 240_000: + break + return docs + +def load_logs(root): + out = subprocess.run( + ["git", "-C", str(root), "log", "-n", "1500", "--format=%H%x1f%s%x1f%b%x1e"], + capture_output=True, text=True, check=True).stdout + entries = [e.strip() for e in out.split("\x1e") if e.strip()] + docs = [] + for i in range(0, len(entries), 60): + docs.append({"id": f"logs:gitlog:{i//60}", "type": "logs", + "text": "\n\x1e\n".join(entries[i:i+60])}) + return docs + +def chunk_doc(doc, overlap): + ws = words(doc["text"]) + stride = max(1, round(WINDOW * (1 - overlap))) + chunks = [] + for start in range(0, max(1, len(ws)), stride): + end = min(len(ws), start + WINDOW) + if end - start < 20 and chunks: + break + chunks.append({"id": f"{doc['id']}@{start}", "doc": doc["id"], + "start": start, "end": end, "tokens": ws[start:end]}) + if end >= len(ws): + break + return chunks + +def bm25_rank(query_terms, chunks, df, n_docs, avgdl): + k1, b = 1.5, 0.75 + scores = [] + for ch in chunks: + tf = Counter(ch["tokens"]) + dl = len(ch["tokens"]) + s = 0.0 + for t in query_terms: + if t not in tf: + continue + idf = math.log(1 + (n_docs - df[t] + 0.5) / (df[t] + 0.5)) + s += idf * (tf[t] * (k1 + 1)) / (tf[t] + k1 * (1 - b + b * dl / avgdl)) + if s > 0: + scores.append((s, ch["id"])) + scores.sort(key=lambda x: (-x[0], x[1])) + return [cid for _, cid in scores] + +def passages(doc): + """Candidate gold passages: prose paragraphs / log entries, as word spans.""" + text = doc["text"] + if doc["type"] == "prose": + parts = re.split(r"\n\s*\n", text) + else: + parts = text.split("\x1e") if "\x1e" in text else text.split("\n\x1f") + parts = [p for p in parts if p.strip()] + spans, cursor = [], 0 + full = words(text) + # locate each part's word span by sequential search on word stream + pos = 0 + for part in parts: + pw = words(part) + if len(pw) < (30 if doc["type"] == "prose" else 12): + continue + # find pw[:6] starting at or after pos + found = -1 + head = pw[:6] + for i in range(pos, max(pos, len(full) - len(head) + 1)): + if full[i:i+len(head)] == head: + found = i + break + if found < 0: + continue + spans.append((found, found + len(pw), pw)) + pos = found + len(pw) + return spans + +def build_golden(docs): + # corpus IDF over documents + df = Counter() + for d in docs: + for w in set(words(d["text"])): + df[w] += 1 + n = len(docs) + def query_for(pw): + cand = [w for w in set(pw) if w not in STOP and len(w) >= 5] + cand.sort(key=lambda w: (-(math.log(1 + (n - df[w] + 0.5) / (df[w] + 0.5))), w)) + return cand[:5] + golden = [] + # interior class: sampled whole passages (paragraphs / log entries) + all_spans = [] + for d in docs: + for (s, e, pw) in passages(d): + all_spans.append((d, s, e, pw)) + all_spans.sort(key=lambda x: (x[0]["type"], x[0]["id"], x[1])) + per_type = defaultdict(list) + for item in all_spans: + per_type[item[0]["type"]].append(item) + for typ, items in sorted(per_type.items()): + if not items: + continue + step = max(1, len(items) // SEED_QUERIES_PER_TYPE) + for j, (d, s, e, pw) in enumerate(items[::step][:SEED_QUERIES_PER_TYPE]): + q = query_for(pw) + if len(q) >= 3: + golden.append({"id": f"{typ}-interior-q{j}", "type": typ, + "class": "interior", "doc": d["id"], + "start": s, "end": e, "query_terms": q}) + # boundary class: 50-word spans centred on 0%-overlap window boundaries + # (multiples of WINDOW within each document). At 0% overlap no chunk + # contains the whole span; higher overlap shifts windows so some + # chunk does. This is the case overlap exists for. + for typ in ["prose", "logs"]: + tdocs = [d for d in docs if d["type"] == typ] + spans = [] + for d in tdocs: + ws = words(d["text"]) + for b in range(WINDOW, len(ws) - 25, WINDOW): + spans.append((d, b - 25, b + 25, ws[b - 25:b + 25])) + if not spans: + continue + step = max(1, len(spans) // SEED_QUERIES_PER_TYPE) + for j, (d, s, e, pw) in enumerate(spans[::step][:SEED_QUERIES_PER_TYPE]): + q = query_for(pw) + if len(q) >= 3: + golden.append({"id": f"{typ}-boundary-q{j}", "type": typ, + "class": "boundary", "doc": d["id"], + "start": s, "end": e, "query_terms": q}) + return golden + +def main(): + docs = load_prose(ROOT) + load_logs(ROOT) + golden = build_golden(docs) + results = {"window_words": WINDOW, "overlaps": OVERLAPS, + "corpus": {}, "golden_queries": len(golden), "configs": []} + for typ in ["prose", "logs"]: + tdocs = [d for d in docs if d["type"] == typ] + results["corpus"][typ] = {"documents": len(tdocs), + "words": sum(len(words(d["text"])) for d in tdocs), + "bytes": sum(len(d["text"]) for d in tdocs)} + for overlap in OVERLAPS: + cfg = {"overlap": overlap, "per_type": {}} + for typ in ["prose", "logs"]: + tdocs = [d for d in docs if d["type"] == typ] + chunks = [] + for d in tdocs: + chunks.extend(chunk_doc(d, overlap)) + df = Counter() + for ch in chunks: + for w in set(ch["tokens"]): + df[w] += 1 + avgdl = sum(len(c["tokens"]) for c in chunks) / max(1, len(chunks)) + by_id = {c["id"]: c for c in chunks} + qs = [g for g in golden if g["type"] == typ] + per_class = {} + for cls in ["interior", "boundary"]: + cqs = [g for g in qs if g.get("class") == cls] + hit10 = strict10 = 0 + mrr = 0.0 + covs = [] + misses = 0 + for g in cqs: + ranking = bm25_rank(g["query_terms"], chunks, df, len(chunks), avgdl) + span_len = g["end"] - g["start"] + best_cov, best_rank, strict_rank = 0.0, None, None + for i, cid in enumerate(ranking[:10]): + ch = by_id[cid] + if ch["doc"] != g["doc"]: + continue + inter = max(0, min(ch["end"], g["end"]) - max(ch["start"], g["start"])) + cov = inter / span_len if span_len else 0.0 + if cov > 0 and best_rank is None: + best_rank = i + 1 + if cov > best_cov: + best_cov = cov + if cov >= 0.8 and strict_rank is None: + strict_rank = i + 1 + covs.append(best_cov) + if best_rank is not None: + hit10 += 1 + mrr += 1.0 / best_rank + else: + misses += 1 + if strict_rank is not None: + strict10 += 1 + per_class[cls] = { + "queries": len(cqs), + "recall_at_10_any_overlap": round(hit10 / len(cqs), 4) if cqs else None, + "recall_at_10_coverage80": round(strict10 / len(cqs), 4) if cqs else None, + "mrr_at_10": round(mrr / len(cqs), 4) if cqs else None, + "mean_best_coverage_top10": round(sum(covs) / len(covs), 4) if covs else None, + "misses": misses, + } + total_words = sum(len(c["tokens"]) for c in chunks) + cfg["per_type"][typ] = { + "chunks": len(chunks), + "stored_bytes": sum(len(" ".join(c["tokens"])) for c in chunks), + "embed_words": total_words, + "embed_tokens_est": round(total_words * 1.33), + "queries": len(qs), + "per_class": per_class, + } + results["configs"].append(cfg) + results["golden"] = golden + OUT.write_text(json.dumps(results, indent=1, sort_keys=True)) + print(json.dumps({k: v for k, v in results.items() if k != "golden"}, indent=1)) + +if __name__ == "__main__": + main() diff --git a/pkgs/atlas-search/eval/overlap-report-6039.md b/pkgs/atlas-search/eval/overlap-report-6039.md new file mode 100644 index 0000000000..bf606e2cc8 --- /dev/null +++ b/pkgs/atlas-search/eval/overlap-report-6039.md @@ -0,0 +1,109 @@ +# Atlas overlap budget experiment — report for #6039 + +Question (from #6039, parent #6028): overlap past ~20% is mostly waste +per general RAG practice, but Atlas had never measured its own +tradeoff. What overlap does each source type actually earn? + +**Answer: 10% for both prose docs and logs.** At a 200-word fixed +window, 10% overlap captures essentially all of the measurable +boundary-coverage benefit; 20% adds ~12 points more index and embed +cost over 10% and buys no measurable recall or coverage. 0% is +materially worse exactly where theory says it should be: passages +that straddle a chunk boundary are never retrievable as a whole. + +## Method + +- Script: `pkgs/atlas-search/eval/overlap-experiment.py` (stdlib + Python, no network, no model download). Results: + `pkgs/atlas-search/eval/overlap-results.json`, byte-identical + across re-runs at the same HEAD (verified). +- Corpus slice, from this repository at the experiment HEAD: prose = + 12 Markdown documents under `doc/` and `pkgs/atlas-search/` + (34,504 words); logs = the newest 1,500 `git log` entries grouped + into 25 documents (63,027 words). +- Chunking: fixed 200-word windows per document; stride + 200 / 180 / 160 words for 0% / 10% / 20% overlap. +- Signal: BM25 (lexical). The #5741 eval harness scores saved + rankings offline, so these same qrels can be re-scored under a + dense signal later without re-running the corpus work. +- Golden set: **provisional**, constructed by the script from the + corpus itself — the #6027 golden set has not landed, so per the + task packet this experiment defines its own and names the re-run + owed (below). 64 queries: per source type, 16 *interior* queries + (whole sampled passages: prose paragraphs, log entries) and 16 + *boundary* queries (50-word spans centred on 0%-overlap window + boundaries — the case overlap exists for). A query is the source + passage's top-5 highest-IDF content words; a chunk is relevant to + a query iff its word span intersects the gold span in the same + document. Because queries are derived from the gold passages, + absolute recall is an upper bound for lexical signals; the + *comparison across overlap settings* is the result, and it is + neutral by construction (identical queries/qrels per config). + +## Results + +Index size (per source type): + +| overlap | prose chunks | prose stored | prose embed tokens (est.) | logs chunks | logs stored | logs embed tokens (est.) | +|---|---|---|---|---|---|---| +| 0% | 178 | 221,053 B | 45,890 | 325 | 490,618 B | 83,765 | +| 10% | 196 (+10.1%) | 244,558 B | 50,785 (+10.7%) | 358 (+10.2%) | 542,838 B | 92,684 (+10.6%) | +| 20% | 219 (+23.0%) | 273,538 B | 56,903 (+24.0%) | 402 (+23.7%) | 608,048 B | 103,882 (+24.0%) | + +Embed cost is estimated as total chunk words × 1.33 tokens/word — +every chunk is embedded once, so embed cost tracks chunk words +exactly; the percentages are the substance. + +Recall@10, any-overlap relevance: **1.000 in every configuration** +for both types and both query classes. Under BM25 with these +queries, overlap never changes whether *some* fragment of the gold +passage is found — it changes whether a *whole* passage is +retrievable in one chunk, which is what the coverage metrics show: + +Recall@10 with ≥80% span coverage (and mean best coverage in top 10): + +| class | type | 0% | 10% | 20% | +|---|---|---|---|---| +| boundary | prose | 0.000 (cov 0.500) | 1.000 (cov 0.975) | 1.000 (cov 1.000) | +| boundary | logs | 0.000 (cov 0.500) | 1.000 (cov 0.981) | 1.000 (cov 1.000) | +| interior | prose | 0.813 (cov 0.890) | 0.938 (cov 0.961) | 0.938 (cov 0.983) | +| interior | logs | 0.813 (cov 0.911) | 1.000 (cov 0.981) | 0.938 (cov 0.975) | + +At 0% overlap a boundary-centred span is split exactly in half +(mean best coverage 0.500, as constructed) and no chunk ever +reaches 80% coverage. At 10% every boundary query in both types +has a ≥80%-covering chunk in the top 10. Interior differences +between 10% and 20% are one query in sixteen — noise, not signal. + +## Recommendation to the chunk-boundary policy under #6028 + +- **Prose docs: 10% overlap** at a ~200-word window. Boundary + coverage is fully recovered; 20% costs +12% more chunks/embed + than 10% for no measured gain. +- **Logs: 10% overlap**, same reasoning. The expectation in #6039 + that prose and logs would differ did not hold at this window + size and signal: both types saturate at 10%. (Log *entries* are + short; an entry-aligned chunker — a separate #6028 design + question — would change this comparison more than overlap does.) +- Do not default to 20%: on this corpus it is +23–24% index size + and embed cost over 0% (≈ +12% over 10%) with zero measured + coverage benefit over 10%. + +## Limits and the re-run owed + +- BM25 only. Dense embeddings blur chunk boundaries differently + (a split passage can still embed near its other half), so the + 0% penalty is likely *smaller* under dense retrieval and the + saturation point could move. Re-run owed: score these qrels + under the dense signal via the #5741 harness when an embedding + route is wired for eval. +- Provisional golden set (self-derived queries, 16 per class per + type — small n; one query = 6.25 points). Re-run owed when the + **#6027 golden set lands**: swap the qrels, keep the corpus and + chunking code unchanged, and compare against this report's + tables before the #6028 policy is finalised. +- One window size (200 words), one corpus slice (this repo's own + docs and git log). Other corpora (chat transcripts, code) are + unmeasured; code in particular was out of scope for #6039. + + diff --git a/pkgs/atlas-search/eval/overlap-results.json b/pkgs/atlas-search/eval/overlap-results.json new file mode 100644 index 0000000000..83b87ab961 --- /dev/null +++ b/pkgs/atlas-search/eval/overlap-results.json @@ -0,0 +1,1150 @@ +{ + "configs": [ + { + "overlap": 0.0, + "per_type": { + "logs": { + "chunks": 325, + "embed_tokens_est": 83765, + "embed_words": 62981, + "per_class": { + "boundary": { + "mean_best_coverage_top10": 0.5, + "misses": 0, + "mrr_at_10": 1.0, + "queries": 16, + "recall_at_10_any_overlap": 1.0, + "recall_at_10_coverage80": 0.0 + }, + "interior": { + "mean_best_coverage_top10": 0.9106, + "misses": 0, + "mrr_at_10": 1.0, + "queries": 16, + "recall_at_10_any_overlap": 1.0, + "recall_at_10_coverage80": 0.8125 + } + }, + "queries": 32, + "stored_bytes": 490618 + }, + "prose": { + "chunks": 178, + "embed_tokens_est": 45890, + "embed_words": 34504, + "per_class": { + "boundary": { + "mean_best_coverage_top10": 0.5, + "misses": 0, + "mrr_at_10": 0.9688, + "queries": 16, + "recall_at_10_any_overlap": 1.0, + "recall_at_10_coverage80": 0.0 + }, + "interior": { + "mean_best_coverage_top10": 0.8901, + "misses": 0, + "mrr_at_10": 1.0, + "queries": 16, + "recall_at_10_any_overlap": 1.0, + "recall_at_10_coverage80": 0.8125 + } + }, + "queries": 32, + "stored_bytes": 221053 + } + } + }, + { + "overlap": 0.1, + "per_type": { + "logs": { + "chunks": 358, + "embed_tokens_est": 92684, + "embed_words": 69687, + "per_class": { + "boundary": { + "mean_best_coverage_top10": 0.9812, + "misses": 0, + "mrr_at_10": 1.0, + "queries": 16, + "recall_at_10_any_overlap": 1.0, + "recall_at_10_coverage80": 1.0 + }, + "interior": { + "mean_best_coverage_top10": 0.9814, + "misses": 0, + "mrr_at_10": 1.0, + "queries": 16, + "recall_at_10_any_overlap": 1.0, + "recall_at_10_coverage80": 1.0 + } + }, + "queries": 32, + "stored_bytes": 542838 + }, + "prose": { + "chunks": 196, + "embed_tokens_est": 50785, + "embed_words": 38184, + "per_class": { + "boundary": { + "mean_best_coverage_top10": 0.975, + "misses": 0, + "mrr_at_10": 1.0, + "queries": 16, + "recall_at_10_any_overlap": 1.0, + "recall_at_10_coverage80": 1.0 + }, + "interior": { + "mean_best_coverage_top10": 0.9613, + "misses": 0, + "mrr_at_10": 1.0, + "queries": 16, + "recall_at_10_any_overlap": 1.0, + "recall_at_10_coverage80": 0.9375 + } + }, + "queries": 32, + "stored_bytes": 244558 + } + } + }, + { + "overlap": 0.2, + "per_type": { + "logs": { + "chunks": 402, + "embed_tokens_est": 103882, + "embed_words": 78107, + "per_class": { + "boundary": { + "mean_best_coverage_top10": 1.0, + "misses": 0, + "mrr_at_10": 1.0, + "queries": 16, + "recall_at_10_any_overlap": 1.0, + "recall_at_10_coverage80": 1.0 + }, + "interior": { + "mean_best_coverage_top10": 0.9747, + "misses": 0, + "mrr_at_10": 1.0, + "queries": 16, + "recall_at_10_any_overlap": 1.0, + "recall_at_10_coverage80": 0.9375 + } + }, + "queries": 32, + "stored_bytes": 608048 + }, + "prose": { + "chunks": 219, + "embed_tokens_est": 56903, + "embed_words": 42784, + "per_class": { + "boundary": { + "mean_best_coverage_top10": 1.0, + "misses": 0, + "mrr_at_10": 1.0, + "queries": 16, + "recall_at_10_any_overlap": 1.0, + "recall_at_10_coverage80": 1.0 + }, + "interior": { + "mean_best_coverage_top10": 0.9831, + "misses": 0, + "mrr_at_10": 1.0, + "queries": 16, + "recall_at_10_any_overlap": 1.0, + "recall_at_10_coverage80": 0.9375 + } + }, + "queries": 32, + "stored_bytes": 273538 + } + } + } + ], + "corpus": { + "logs": { + "bytes": 519737, + "documents": 25, + "words": 63027 + }, + "prose": { + "bytes": 267214, + "documents": 12, + "words": 34504 + } + }, + "golden": [ + { + "class": "interior", + "doc": "logs:gitlog:0", + "end": 14, + "id": "logs-interior-q0", + "query_terms": [ + "2b3ca04ac8b770c721daa8b82fcc926e8799b287", + "taxonomy", + "typing", + "repo-worker-code", + "developing" + ], + "start": 0, + "type": "logs" + }, + { + "class": "interior", + "doc": "logs:gitlog:1", + "end": 1017, + "id": "logs-interior-q1", + "query_terms": [ + "3ea2a10f945acae6bea172901d5b9d262642225a", + "workhorse-weighted", + "workhorse-weighted-luna", + "xhigh", + "2026-11-07" + ], + "start": 998, + "type": "logs" + }, + { + "class": "interior", + "doc": "logs:gitlog:10", + "end": 1981, + "id": "logs-interior-q2", + "query_terms": [ + "36180c8b8bec885ee79eca967dacb149e2ab396d", + "family", + "packet", + "require", + "dedupe" + ], + "start": 1967, + "type": "logs" + }, + { + "class": "interior", + "doc": "logs:gitlog:12", + "end": 1309, + "id": "logs-interior-q3", + "query_terms": [ + "1d5b3889a085da38b34a1b0ce128be9e4bee0de3", + "brokersource", + "drews", + "exiting", + "missers" + ], + "start": 1129, + "type": "logs" + }, + { + "class": "interior", + "doc": "logs:gitlog:14", + "end": 221, + "id": "logs-interior-q4", + "query_terms": [ + "231eb9ccb1eef731f933078d392f9dc8f2f93e89", + "deepseek-flash-plan-variant-restore", + "mistral-small", + "remap", + "deepseek-flash-plan" + ], + "start": 200, + "type": "logs" + }, + { + "class": "interior", + "doc": "logs:gitlog:15", + "end": 1035, + "id": "logs-interior-q5", + "query_terms": [ + "2b476fd0453c8b6de423154b8b645b33ed8e76f4", + "golden-comparison", + "pytest", + "runner's", + "stealing" + ], + "start": 925, + "type": "logs" + }, + { + "class": "interior", + "doc": "logs:gitlog:16", + "end": 1474, + "id": "logs-interior-q6", + "query_terms": [ + "46282eacfc2025a425e80150d06aa479b678f2ca", + "mistral-providers-1653", + "mistral", + "mistral-plan", + "vibe-direct" + ], + "start": 1457, + "type": "logs" + }, + { + "class": "interior", + "doc": "logs:gitlog:18", + "end": 2014, + "id": "logs-interior-q7", + "query_terms": [ + "06150818c8393b10bcf0758edde6e2c9acb0c7a0", + "append-gate", + "audits", + "backwards", + "bump-on-first-write" + ], + "start": 1911, + "type": "logs" + }, + { + "class": "interior", + "doc": "logs:gitlog:2", + "end": 488, + "id": "logs-interior-q8", + "query_terms": [ + "11054-6835-drain-validators", + "a78a26ade789e90339aef447fab090ec13e92c6a", + "validators", + "drain", + "loads" + ], + "start": 467, + "type": "logs" + }, + { + "class": "interior", + "doc": "logs:gitlog:20", + "end": 2811, + "id": "logs-interior-q9", + "query_terms": [ + "3102efa68702ad0e08413316d7b5a47da1783a13", + "9043-5001-session-binding-clearing", + "bind-time", + "migration-0022", + "requeue" + ], + "start": 2790, + "type": "logs" + }, + { + "class": "interior", + "doc": "logs:gitlog:22", + "end": 1779, + "id": "logs-interior-q10", + "query_terms": [ + "6ed2ae7ad70cef64bc42dd9e0d6793975a45b136", + "8943-3327-drop-nixpkgs-master", + "nixpkgs-master", + "nixpkgs-stable", + "inputs" + ], + "start": 1763, + "type": "logs" + }, + { + "class": "interior", + "doc": "logs:gitlog:24", + "end": 663, + "id": "logs-interior-q11", + "query_terms": [ + "1430e9070dda9bd83e7012b557049e5033901763", + "8948-3914-watchdog-offsite", + "backups", + "offsite", + "watchdog" + ], + "start": 644, + "type": "logs" + }, + { + "class": "interior", + "doc": "logs:gitlog:4", + "end": 90, + "id": "logs-interior-q12", + "query_terms": [ + "0547bce54975a4fd2d60d83aa091383b897673e6", + "clone-source", + "hascloneablevariants", + "name-only", + "siblings" + ], + "start": 0, + "type": "logs" + }, + { + "class": "interior", + "doc": "logs:gitlog:5", + "end": 1157, + "id": "logs-interior-q13", + "query_terms": [ + "c28b9c8bdb368ae9a5012b923525d15f62243889", + "9223-multi-ns-exec-probe", + "visibility", + "namespace", + "cover" + ], + "start": 1140, + "type": "logs" + }, + { + "class": "interior", + "doc": "logs:gitlog:6", + "end": 2704, + "id": "logs-interior-q14", + "query_terms": [ + "0551bddfdfc35a0ff2ddfb26dd99825070b0b8b0", + "fallback-6609-claimant-poll-api", + "test-pinned", + "unify", + "counting" + ], + "start": 2682, + "type": "logs" + }, + { + "class": "interior", + "doc": "logs:gitlog:8", + "end": 912, + "id": "logs-interior-q15", + "query_terms": [ + "f7bc605eddd4d57eb62dc5543db09e48b39ffc61", + "fleet-paperwork", + "matches", + "pages", + "dedupe" + ], + "start": 900, + "type": "logs" + }, + { + "class": "interior", + "doc": "prose:doc/2026-03-20T05-30-00Z_feature_collaborative_cursor_enhancements/2026-03-20T05-30-00Z_feature_collaborative_cursor_enhancements.md", + "end": 76, + "id": "prose-interior-q0", + "query_terms": [ + "enhancements", + "improved", + "organization", + "tooltip", + "describes" + ], + "start": 35, + "type": "prose" + }, + { + "class": "interior", + "doc": "prose:doc/2026-03-21T05-47-48Z_feature_content_modes/2026-03-21T05-47-48Z_feature_content_modes.md", + "end": 244, + "id": "prose-interior-q1", + "query_terms": [ + "media", + "non-utf8", + "paragraphs", + "shortcuts", + "toolbar" + ], + "start": 173, + "type": "prose" + }, + { + "class": "interior", + "doc": "prose:doc/2026-03-22T00-00-00Z_feature_peer-discovery/2026-03-22T00-00-00Z_feature_peer-discovery.md", + "end": 811, + "id": "prose-interior-q2", + "query_terms": [ + "announcements", + "ed25519-signed", + "exposure", + "limiting", + "pluggable" + ], + "start": 755, + "type": "prose" + }, + { + "class": "interior", + "doc": "prose:doc/2026-03-22T00-00-00Z_feature_peer-discovery/2026-03-22T12-00-00Z_feature_peer-discovery_build-defaults-and-cli-flags.md", + "end": 1691, + "id": "prose-interior-q3", + "query_terms": [ + "175-243", + "2026-03-22t00-00-00z", + "246-360", + "330-418", + "70-96" + ], + "start": 1634, + "type": "prose" + }, + { + "class": "interior", + "doc": "prose:doc/2026-03-29T00-00-00Z_reference_testing_architecture/2026-03-29T00-00-00Z_reference_testing_architecture.md", + "end": 602, + "id": "prose-interior-q4", + "query_terms": [ + "check-one", + "nixos-integration", + "test-int", + "test-int-sandbox", + "test-nixos-integration" + ], + "start": 556, + "type": "prose" + }, + { + "class": "interior", + "doc": "prose:doc/2026-03-29T00-00-00Z_reference_testing_architecture/2026-03-29T00-00-00Z_reference_testing_architecture.md", + "end": 2913, + "id": "prose-interior-q5", + "query_terms": [ + "500mb", + "512mb", + "build-nix", + "check-one", + "hangs" + ], + "start": 2668, + "type": "prose" + }, + { + "class": "interior", + "doc": "prose:doc/2026-04-01T00-00-00Z_feature_image_upload/2026-04-01T00-00-00Z_feature_image_upload.md", + "end": 456, + "id": "prose-interior-q6", + "query_terms": [ + "pulsing", + "animation", + "cleaned", + "decoration", + "displayed" + ], + "start": 398, + "type": "prose" + }, + { + "class": "interior", + "doc": "prose:doc/2026-04-01T00-00-00Z_feature_multi_instance/2026-04-01T00-00-00Z_feature_multi_instance.md", + "end": 363, + "id": "prose-interior-q7", + "query_terms": [ + "cwd-relative", + "iroh-key", + "iroh-serve", + "iroh-store", + "codebase" + ], + "start": 312, + "type": "prose" + }, + { + "class": "interior", + "doc": "prose:doc/2026-10-07T00-20-00Z_architecture_roc_worlds/2026-10-07T00-20-00Z_architecture_roc_worlds.md", + "end": 478, + "id": "prose-interior-q8", + "query_terms": [ + "adversarial", + "minimize", + "resource-exhaustion", + "sandboxing", + "wasmtime" + ], + "start": 448, + "type": "prose" + }, + { + "class": "interior", + "doc": "prose:doc/2026-10-07T00-20-00Z_architecture_roc_worlds/2026-10-07T00-20-00Z_architecture_roc_worlds.md", + "end": 2408, + "id": "prose-interior-q9", + "query_terms": [ + "assigns", + "mutations", + "pretend", + "provide", + "transport-independent" + ], + "start": 2361, + "type": "prose" + }, + { + "class": "interior", + "doc": "prose:doc/2026-10-07T00-20-00Z_architecture_roc_worlds/2026-10-07T00-20-00Z_architecture_roc_worlds.md", + "end": 4149, + "id": "prose-interior-q10", + "query_terms": [ + "app's", + "build-host", + "import-free", + "rebuilds", + "roc-counter" + ], + "start": 4093, + "type": "prose" + }, + { + "class": "interior", + "doc": "prose:doc/2026-10-07T00-20-00Z_architecture_roc_worlds/2026-10-07T00-20-00Z_architecture_roc_worlds.md", + "end": 6605, + "id": "prose-interior-q11", + "query_terms": [ + "diffing", + "worldactor", + "wants", + "follow-ups", + "ticks" + ], + "start": 6565, + "type": "prose" + }, + { + "class": "interior", + "doc": "prose:doc/2026-10-07T00-20-00Z_architecture_roc_worlds/2026-10-07T00-20-00Z_architecture_roc_worlds.md", + "end": 8500, + "id": "prose-interior-q12", + "query_terms": [ + "clipping", + "code-point", + "expects", + "roc-screen", + "roc-world" + ], + "start": 8447, + "type": "prose" + }, + { + "class": "interior", + "doc": "prose:doc/2026-10-09T09-59-07Z_design_attenuated_capabilities/2026-10-09T09-59-07Z_design_attenuated_capabilities.md", + "end": 1463, + "id": "prose-interior-q13", + "query_terms": [ + "adopt", + "agreement", + "attenuable", + "beekem", + "beelay" + ], + "start": 1282, + "type": "prose" + }, + { + "class": "interior", + "doc": "prose:doc/2026-10-09T12-00-00Z_feature_directory_accounts_groups/2026-10-09T12-00-00Z_feature_directory_accounts_groups.md", + "end": 998, + "id": "prose-interior-q14", + "query_terms": [ + "actors", + "entities", + "non-friends", + "outlives", + "widens" + ], + "start": 892, + "type": "prose" + }, + { + "class": "interior", + "doc": "prose:doc/2026-10-09T12-00-00Z_feature_directory_accounts_groups/2026-10-09T12-00-00Z_feature_directory_accounts_groups.md", + "end": 4083, + "id": "prose-interior-q15", + "query_terms": [ + "no-default-features", + "predate", + "touched", + "produce", + "clippy" + ], + "start": 4042, + "type": "prose" + }, + { + "class": "boundary", + "doc": "prose:doc/2026-03-20T05-30-00Z_feature_collaborative_cursor_enhancements/2026-03-20T05-30-00Z_feature_collaborative_cursor_enhancements.md", + "end": 225, + "id": "prose-boundary-q0", + "query_terms": [ + "bolder", + "brought", + "elevation", + "pauses", + "strobe" + ], + "start": 175, + "type": "prose" + }, + { + "class": "boundary", + "doc": "prose:doc/2026-03-21T05-47-48Z_feature_content_modes/2026-03-21T05-47-48Z_feature_content_modes.md", + "end": 225, + "id": "prose-boundary-q1", + "query_terms": [ + "media", + "paragraphs", + "converts", + "become", + "editing" + ], + "start": 175, + "type": "prose" + }, + { + "class": "boundary", + "doc": "prose:doc/2026-03-22T00-00-00Z_feature_peer-discovery/2026-03-22T00-00-00Z_feature_peer-discovery.md", + "end": 825, + "id": "prose-boundary-q2", + "query_terms": [ + "announcements", + "ed25519-signed", + "exposure", + "id-public-discovery-v1", + "limiting" + ], + "start": 775, + "type": "prose" + }, + { + "class": "boundary", + "doc": "prose:doc/2026-03-22T00-00-00Z_feature_peer-discovery/2026-03-22T12-00-00Z_feature_peer-discovery_build-defaults-and-cli-flags.md", + "end": 1625, + "id": "prose-boundary-q3", + "query_terms": [ + "swarm-discovery", + "all-targets", + "asset", + "provisioning", + "all-features" + ], + "start": 1575, + "type": "prose" + }, + { + "class": "boundary", + "doc": "prose:doc/2026-03-29T00-00-00Z_reference_testing_architecture/2026-03-29T00-00-00Z_reference_testing_architecture.md", + "end": 825, + "id": "prose-boundary-q4", + "query_terms": [ + "fullyparallel", + "fundamentals", + "sequentially", + "chromium", + "firefox" + ], + "start": 775, + "type": "prose" + }, + { + "class": "boundary", + "doc": "prose:doc/2026-03-29T00-00-00Z_reference_testing_architecture/2026-03-29T00-00-00Z_reference_testing_architecture.md", + "end": 2825, + "id": "prose-boundary-q5", + "query_terms": [ + "build-nix", + "individual", + "playwright-driver", + "chromium", + "playwright" + ], + "start": 2775, + "type": "prose" + }, + { + "class": "boundary", + "doc": "prose:doc/2026-04-01T00-00-00Z_feature_image_upload/2026-04-01T00-00-00Z_feature_image_upload.md", + "end": 625, + "id": "prose-boundary-q6", + "query_terms": [ + "border-radius", + "clipboard", + "handlepaste", + "margin", + "outlines" + ], + "start": 575, + "type": "prose" + }, + { + "class": "boundary", + "doc": "prose:doc/2026-04-01T00-00-00Z_feature_multi_instance/2026-04-01T00-00-00Z_feature_multi_instance.md", + "end": 1225, + "id": "prose-boundary-q7", + "query_terms": [ + "0814e632", + "dual-instance", + "e2f05339", + "id-module", + "multi-instance" + ], + "start": 1175, + "type": "prose" + }, + { + "class": "boundary", + "doc": "prose:doc/2026-10-07T00-20-00Z_architecture_roc_worlds/2026-10-07T00-20-00Z_architecture_roc_worlds.md", + "end": 2025, + "id": "prose-boundary-q8", + "query_terms": [ + "counter", + "further", + "poisons", + "broadcasts", + "computes" + ], + "start": 1975, + "type": "prose" + }, + { + "class": "boundary", + "doc": "prose:doc/2026-10-07T00-20-00Z_architecture_roc_worlds/2026-10-07T00-20-00Z_architecture_roc_worlds.md", + "end": 4025, + "id": "prose-boundary-q9", + "query_terms": [ + "2026-10-07t10-00-00z", + "iroh-docs", + "learn", + "tic-tac-toe", + "ticket" + ], + "start": 3975, + "type": "prose" + }, + { + "class": "boundary", + "doc": "prose:doc/2026-10-07T00-20-00Z_architecture_roc_worlds/2026-10-07T00-20-00Z_architecture_roc_worlds.md", + "end": 6025, + "id": "prose-boundary-q10", + "query_terms": [ + "roc-bin", + "least", + "private", + "beside", + "platform" + ], + "start": 5975, + "type": "prose" + }, + { + "class": "boundary", + "doc": "prose:doc/2026-10-07T00-20-00Z_architecture_roc_worlds/2026-10-07T00-20-00Z_architecture_roc_worlds.md", + "end": 8025, + "id": "prose-boundary-q11", + "query_terms": [ + "2026-10-08t12-00-00z", + "compiled-in", + "installing", + "not-offered", + "replicating" + ], + "start": 7975, + "type": "prose" + }, + { + "class": "boundary", + "doc": "prose:doc/2026-10-09T09-59-07Z_design_attenuated_capabilities/2026-10-09T09-59-07Z_design_attenuated_capabilities.md", + "end": 1025, + "id": "prose-boundary-q12", + "query_terms": [ + "compile-time", + "untrusted", + "world's", + "questions", + "transports" + ], + "start": 975, + "type": "prose" + }, + { + "class": "boundary", + "doc": "prose:doc/2026-10-09T09-59-07Z_design_attenuated_capabilities/2026-10-09T09-59-07Z_design_attenuated_capabilities.md", + "end": 3025, + "id": "prose-boundary-q13", + "query_terms": [ + "11-28-37z", + "attenuate", + "attenuated", + "revoke", + "screen" + ], + "start": 2975, + "type": "prose" + }, + { + "class": "boundary", + "doc": "prose:doc/2026-10-09T12-00-00Z_feature_directory_accounts_groups/2026-10-09T12-00-00Z_feature_directory_accounts_groups.md", + "end": 1625, + "id": "prose-boundary-q14", + "query_terms": [ + "ending", + "compaction", + "holds", + "omitted", + "friendship" + ], + "start": 1575, + "type": "prose" + }, + { + "class": "boundary", + "doc": "prose:doc/2026-10-09T12-00-00Z_feature_directory_accounts_groups/2026-10-09T12-00-00Z_feature_directory_accounts_groups.md", + "end": 3625, + "id": "prose-boundary-q15", + "query_terms": [ + "explore", + "no-default-features", + "sign-out", + "sign-up", + "cookie" + ], + "start": 3575, + "type": "prose" + }, + { + "class": "boundary", + "doc": "logs:gitlog:0", + "end": 225, + "id": "logs-boundary-q0", + "query_terms": [ + "percent-decoded", + "projector-dir", + "re-interpolated", + "stale-root", + "containing" + ], + "start": 175, + "type": "logs" + }, + { + "class": "boundary", + "doc": "logs:gitlog:1", + "end": 1025, + "id": "logs-boundary-q1", + "query_terms": [ + "3ea2a10f945acae6bea172901d5b9d262642225a", + "a74eec546cb02df7675be163a00ebfad86522547", + "b2491c9523b98dfb775ee3a9198020185f33536c", + "contributor", + "spark" + ], + "start": 975, + "type": "logs" + }, + { + "class": "boundary", + "doc": "logs:gitlog:3", + "end": 625, + "id": "logs-boundary-q2", + "query_terms": [ + "0290574b3e456bc212eb29da275de1a348173463", + "12ddbf25d86e330d3ae29153e36f4e8109195648", + "6970-idmail-runtime-config-shape", + "6973-backfill-unknown-args", + "backfill-usage-snapshots" + ], + "start": 575, + "type": "logs" + }, + { + "class": "boundary", + "doc": "logs:gitlog:4", + "end": 2625, + "id": "logs-boundary-q3", + "query_terms": [ + "10-page", + "fetchprojectpool", + "fetchprojectsnapshot", + "resolveepicrefs", + "tolerant" + ], + "start": 2575, + "type": "logs" + }, + { + "class": "boundary", + "doc": "logs:gitlog:6", + "end": 1025, + "id": "logs-boundary-q4", + "query_terms": [ + "60c3d0a24b962815cf46c4ec070ef4de3e01f96e", + "66db0aa6f9e4154bedc9da6b20aea6c3c145d053", + "completeness", + "escalating", + "f235cef8c5f9776eb893d6fd6a041da58b7bf365" + ], + "start": 975, + "type": "logs" + }, + { + "class": "boundary", + "doc": "logs:gitlog:7", + "end": 1825, + "id": "logs-boundary-q5", + "query_terms": [ + "0ccd562df0743612afb4b60b28127116b82358a9", + "8ab5c72bb4a2606f04b3c8eb2ff46610dda4b49a", + "command-level", + "fallback-6392-skip-set-guard", + "conformance-record" + ], + "start": 1775, + "type": "logs" + }, + { + "class": "boundary", + "doc": "logs:gitlog:8", + "end": 2225, + "id": "logs-boundary-q6", + "query_terms": [ + "over-cap", + "collapsed", + "last-wins", + "hidden", + "serde" + ], + "start": 2175, + "type": "logs" + }, + { + "class": "boundary", + "doc": "logs:gitlog:10", + "end": 825, + "id": "logs-boundary-q7", + "query_terms": [ + "10970-6483-read-records-caps", + "4ed01981b22f691d9236d60cdb1cedf67491bc72", + "bench", + "driven", + "fc073b5f11444d9450fe2adb9f091ec8d69ae87a" + ], + "start": 775, + "type": "logs" + }, + { + "class": "boundary", + "doc": "logs:gitlog:11", + "end": 2425, + "id": "logs-boundary-q8", + "query_terms": [ + "05d4f66a7dd23aded76ced95e14d8d5ab6753369", + "50237a7debf6e9114122c593a15a467858d2bf9a", + "560febee0db260399619ec75f18193ec2838a5bf", + "entry-point", + "meta-exporter" + ], + "start": 2375, + "type": "logs" + }, + { + "class": "boundary", + "doc": "logs:gitlog:13", + "end": 1025, + "id": "logs-boundary-q9", + "query_terms": [ + "10020-6205-guard-reconciled-refs", + "38d8d1eb3535a017449bcc30e80fdd1c0e3d601a", + "e8acc22725f03c62d13d93d7e6a02f46d047d5ff", + "reconciledinprogress", + "unpatched" + ], + "start": 975, + "type": "logs" + }, + { + "class": "boundary", + "doc": "logs:gitlog:14", + "end": 2225, + "id": "logs-boundary-q10", + "query_terms": [ + "amd-6-password", + "owning", + "rustdesk-password-assert", + "rustdesk", + "applies" + ], + "start": 2175, + "type": "logs" + }, + { + "class": "boundary", + "doc": "logs:gitlog:15", + "end": 2225, + "id": "logs-boundary-q11", + "query_terms": [ + "6abb86b3901bc205c039bd072f4cb5a64f8b182b", + "c002ae6d759f5f969ebb78e187c55560c5c7221d", + "def71ff7146989c5979f901c7c9e78c3ad783405", + "prior-day", + "7695-4890-refs-safe" + ], + "start": 2175, + "type": "logs" + }, + { + "class": "boundary", + "doc": "logs:gitlog:18", + "end": 1025, + "id": "logs-boundary-q12", + "query_terms": [ + "21726e4df5659033aef53283f9bbbec5a53b182b", + "857e3413daae08f818c9b50b2b897b43e7e36be7", + "grounds", + "same-key", + "unattended-installer" + ], + "start": 975, + "type": "logs" + }, + { + "class": "boundary", + "doc": "logs:gitlog:19", + "end": 2025, + "id": "logs-boundary-q13", + "query_terms": [ + "e2e-shard-packer", + "e2e-timings", + "lpt-packs", + "unmeasured", + "discovers" + ], + "start": 1975, + "type": "logs" + }, + { + "class": "boundary", + "doc": "logs:gitlog:21", + "end": 425, + "id": "logs-boundary-q14", + "query_terms": [ + "attaches", + "coalescing", + "post-clamp", + "submits", + "trunc" + ], + "start": 375, + "type": "logs" + }, + { + "class": "boundary", + "doc": "logs:gitlog:22", + "end": 1225, + "id": "logs-boundary-q15", + "query_terms": [ + "binary-search", + "floors", + "midpoint", + "splitter", + "checkpoints" + ], + "start": 1175, + "type": "logs" + } + ], + "golden_queries": 64, + "overlaps": [ + 0.0, + 0.1, + 0.2 + ], + "window_words": 200 +} \ No newline at end of file