Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
docs(eval): P3 preregistration, dev guardrail verdict and dev replay evidence
garrytanf35710eb786c
diff --git a/docs/eval/decisions/p3-feedback-guardrail-dev-v2/decision.json b/docs/eval/decisions/p3-feedback-guardrail-dev-v2/decision.jsonnew file mode 100644index 0000000000..dac8943957--- /dev/null+++ b/docs/eval/decisions/p3-feedback-guardrail-dev-v2/decision.json@@ -0,0 +1,114 @@+{+ "schema_version": 1,+ "decision_id": "p3-feedback-guardrail-dev-v2",+ "plan": "P3",+ "title": "P3 retrieval feedback guardrail (dev): default-on feedback with no ratings must not change retrieval",+ "verdict_type": "quality",+ "stage": "dev",+ "candidate": {+ "gbrain": "/workspace/gbrain@5e5fdcbbe55827998dd22df2e16aa777d522520f",+ "config": {}+ },+ "baseline": {+ "gbrain": "/workspace/gbrain@5bd9e84978126689b11cf65107c0a9aa0e91e11b",+ "config": {}+ },+ "sources": [+ {+ "id": "lme-s-dev",+ "kind": "memory-qa",+ "benchmark": "lme-s",+ "split": "dev",+ "embed": "real",+ "limit": 100,+ "search_pins": {+ "search.mode": "balanced",+ "search.reranker.enabled": "false",+ "search.autocut": "false"+ },+ "top_k": 10,+ "id_field": "id",+ "exclude_when": [+ "abstention=true"+ ],+ "min_clusters": 10,+ "comparisons": [+ {+ "id": "recall-all-5",+ "metric": "recall_all_at_5",+ "gate": "noninferiority",+ "direction": "higher",+ "tolerance": 0.01,+ "cluster_by": "conversation",+ "description": "guardrail: strict recall does not drop by more than one point"+ },+ {+ "id": "ndcg-10",+ "metric": "ndcg_at_10",+ "gate": "exploratory",+ "direction": "higher",+ "cluster_by": "conversation"+ },+ {+ "id": "latency",+ "metric": "latency_ms",+ "gate": "exploratory",+ "direction": "lower",+ "cluster_by": "conversation"+ }+ ],+ "estimate_usd": 6+ },+ {+ "id": "locomo-dev",+ "kind": "memory-qa",+ "benchmark": "locomo",+ "split": "dev",+ "embed": "real",+ "limit": null,+ "search_pins": {+ "search.mode": "balanced",+ "search.reranker.enabled": "false",+ "search.autocut": "false"+ },+ "top_k": 10,+ "id_field": "id",+ "exclude_when": [+ "abstention=true"+ ],+ "min_clusters": 3,+ "comparisons": [+ {+ "id": "recall-all-5",+ "metric": "recall_all_at_5",+ "gate": "noninferiority",+ "direction": "higher",+ "tolerance": 0.01,+ "cluster_by": "conversation",+ "description": "guardrail: strict recall does not drop by more than one point"+ },+ {+ "id": "ndcg-10",+ "metric": "ndcg_at_10",+ "gate": "exploratory",+ "direction": "higher",+ "cluster_by": "conversation"+ },+ {+ "id": "latency",+ "metric": "latency_ms",+ "gate": "exploratory",+ "direction": "lower",+ "cluster_by": "conversation"+ }+ ],+ "estimate_usd": 2+ }+ ],+ "alpha": 0.05,+ "seed": 42,+ "draws": 10000,+ "budget_usd": 8,+ "created_at": "2026-10-04T18:45:19.479Z",+ "notes": "Use-attributed feedback weights: the sequential replay-with-feedback mode lands in milestone M2; until then these are guardrails only. LME-S trimmed to a 100-question category-stratified subset (selectQuestions, seed 42) to stay inside the plan E3 cap; embeddings warm in the content-addressed cache so both arms read identical vectors."+}diff --git a/docs/eval/decisions/p3-feedback-guardrail-dev-v2/verdict.json b/docs/eval/decisions/p3-feedback-guardrail-dev-v2/verdict.jsonnew file mode 100644index 0000000000..1f567f7afb--- /dev/null+++ b/docs/eval/decisions/p3-feedback-guardrail-dev-v2/verdict.json@@ -0,0 +1,324 @@+{+ "decision_id": "p3-feedback-guardrail-dev-v2",+ "plan": "P3",+ "stage": "dev",+ "eligible_for_default": false,+ "eligibility_note": "Dev verdicts come from development data and never set a default. A held-out verdict comes from the custodian after a committed preregistration.",+ "verdict_type": "quality",+ "overall": "pass",+ "decided_at": "2026-10-04T18:50:56.294Z",+ "sources": [+ {+ "source": "lme-s-dev",+ "verdict": "pass",+ "arms": {+ "baseline": {+ "package": "gbrain",+ "declared_pin": "github:garrytan/gbrain#739e5cc89ca43b9b9351f0f203c7b12a7c0c571c",+ "declared_sha": "739e5cc89ca43b9b9351f0f203c7b12a7c0c571c",+ "version": "0.60.48.0",+ "package_sha256": "5f9974dcaa7b13d1077ff6fdad3c24fd2b975cb4536efb4693663d0e4bc3c84c",+ "loaded_git_head": "5bd9e84978126689b11cf65107c0a9aa0e91e11b"+ },+ "candidate": {+ "package": "gbrain",+ "declared_pin": "github:garrytan/gbrain#739e5cc89ca43b9b9351f0f203c7b12a7c0c571c",+ "declared_sha": "739e5cc89ca43b9b9351f0f203c7b12a7c0c571c",+ "version": "0.60.48.0",+ "package_sha256": "239cd29a6332797a4ba17ab97766b1a1e6952f1eb32714e843344cc0f80ce3ba",+ "loaded_git_head": "5e5fdcbbe55827998dd22df2e16aa777d522520f"+ }+ },+ "family": {+ "family_id": "p3-feedback-guardrail-dev-v2:lme-s-dev",+ "verdict": "pass",+ "reasons": [],+ "alpha": 0.05,+ "holm_family": [+ "recall-all-5"+ ],+ "comparisons": [+ {+ "id": "recall-all-5",+ "metric": "recall_all_at_5",+ "gate": "noninferiority",+ "status": "pass",+ "reasons": [],+ "n_pairs": 96,+ "n_clusters": 96,+ "n_excluded": 4,+ "stats": {+ "n_pairs": 96,+ "n_clusters": 96,+ "mean_a": 0.9479166666666666,+ "mean_b": 0.9479166666666666,+ "delta": 0,+ "se_cluster": 0,+ "se_iid": 0,+ "design_effect": null,+ "effective_n": null,+ "ci95": [+ 0,+ 0+ ],+ "p_two_sided": 1,+ "p_greater": 1,+ "p_less": 1,+ "p_method": "degenerate"+ },+ "mcnemar": {+ "losses": 0,+ "wins": 0,+ "both_pass": 91,+ "both_fail": 5,+ "discordant": 0,+ "p_two_sided": 1+ },+ "power": {+ "alpha": 0.05,+ "power": 0.8,+ "mde": null,+ "min_one_sided_discordant": 6,+ "note": "no paired variation was observed, so the detectable effect cannot be estimated from this data; an exact McNemar test needs at least 6 wins with zero losses to reach 0.05"+ },+ "direction": "higher",+ "p_holm": 0,+ "tolerance": 0.01,+ "p_noninferiority": 0+ },+ {+ "id": "ndcg-10",+ "metric": "ndcg_at_10",+ "gate": "exploratory",+ "status": "report_only",+ "reasons": [],+ "n_pairs": 96,+ "n_clusters": 96,+ "n_excluded": 4,+ "stats": {+ "n_pairs": 96,+ "n_clusters": 96,+ "mean_a": 0.9573934340261907,+ "mean_b": 0.9573934340261907,+ "delta": 0,+ "se_cluster": 0,+ "se_iid": 0,+ "design_effect": null,+ "effective_n": null,+ "ci95": [+ 0,+ 0+ ],+ "p_two_sided": 1,+ "p_greater": 1,+ "p_less": 1,+ "p_method": "degenerate"+ },+ "power": {+ "alpha": 0.05,+ "power": 0.8,+ "mde": null,+ "min_one_sided_discordant": null,+ "note": "no paired variation was observed, so the detectable effect cannot be estimated from this data"+ },+ "direction": "higher"+ },+ {+ "id": "latency",+ "metric": "latency_ms",+ "gate": "exploratory",+ "status": "report_only",+ "reasons": [],+ "n_pairs": 96,+ "n_clusters": 96,+ "n_excluded": 4,+ "stats": {+ "n_pairs": 96,+ "n_clusters": 96,+ "mean_a": 48.31041666666667,+ "mean_b": 49.453125,+ "delta": 1.1427083333333334,+ "se_cluster": 1.1389820639882735,+ "se_iid": 1.1389820639882735,+ "design_effect": 1,+ "effective_n": 96,+ "ci95": [+ -0.8572916666666668,+ 3.5562500000000004+ ],+ "p_two_sided": 0.3635636436356364,+ "p_greater": 0.1825817418258174,+ "p_less": 0.8175182481751825,+ "p_method": "monte-carlo-sign-flip"+ },+ "power": {+ "alpha": 0.05,+ "power": 0.8,+ "mde": 3.1909553150011827,+ "min_one_sided_discordant": null,+ "note": "with 96 pairs in 96 clusters, a two-sided 0.05 test has 80% power for an absolute change of about 3.1910; the observed delta is below that size, so a null result here is not evidence of no effect"+ },+ "direction": "lower"+ }+ ]+ }+ },+ {+ "source": "locomo-dev",+ "verdict": "pass",+ "arms": {+ "baseline": {+ "package": "gbrain",+ "declared_pin": "github:garrytan/gbrain#739e5cc89ca43b9b9351f0f203c7b12a7c0c571c",+ "declared_sha": "739e5cc89ca43b9b9351f0f203c7b12a7c0c571c",+ "version": "0.60.48.0",+ "package_sha256": "5f9974dcaa7b13d1077ff6fdad3c24fd2b975cb4536efb4693663d0e4bc3c84c",+ "loaded_git_head": "5bd9e84978126689b11cf65107c0a9aa0e91e11b"+ },+ "candidate": {+ "package": "gbrain",+ "declared_pin": "github:garrytan/gbrain#739e5cc89ca43b9b9351f0f203c7b12a7c0c571c",+ "declared_sha": "739e5cc89ca43b9b9351f0f203c7b12a7c0c571c",+ "version": "0.60.48.0",+ "package_sha256": "239cd29a6332797a4ba17ab97766b1a1e6952f1eb32714e843344cc0f80ce3ba",+ "loaded_git_head": "5e5fdcbbe55827998dd22df2e16aa777d522520f"+ }+ },+ "family": {+ "family_id": "p3-feedback-guardrail-dev-v2:locomo-dev",+ "verdict": "pass",+ "reasons": [],+ "alpha": 0.05,+ "holm_family": [+ "recall-all-5"+ ],+ "comparisons": [+ {+ "id": "recall-all-5",+ "metric": "recall_all_at_5",+ "gate": "noninferiority",+ "status": "pass",+ "reasons": [+ "McNemar treats items as independent; the clustered sign-flip p-value is the primary test here"+ ],+ "n_pairs": 464,+ "n_clusters": 3,+ "n_excluded": 123,+ "stats": {+ "n_pairs": 464,+ "n_clusters": 3,+ "mean_a": 0.7564655172413793,+ "mean_b": 0.7564655172413793,+ "delta": 0,+ "se_cluster": 0,+ "se_iid": 0,+ "design_effect": null,+ "effective_n": null,+ "ci95": [+ 0,+ 0+ ],+ "p_two_sided": 1,+ "p_greater": 1,+ "p_less": 1,+ "p_method": "degenerate"+ },+ "mcnemar": {+ "losses": 0,+ "wins": 0,+ "both_pass": 351,+ "both_fail": 113,+ "discordant": 0,+ "p_two_sided": 1+ },+ "power": {+ "alpha": 0.05,+ "power": 0.8,+ "mde": null,+ "min_one_sided_discordant": 6,+ "note": "no paired variation was observed, so the detectable effect cannot be estimated from this data; an exact McNemar test needs at least 6 wins with zero losses to reach 0.05"+ },+ "direction": "higher",+ "p_holm": 0,+ "tolerance": 0.01,+ "p_noninferiority": 0+ },+ {+ "id": "ndcg-10",+ "metric": "ndcg_at_10",+ "gate": "exploratory",+ "status": "report_only",+ "reasons": [],+ "n_pairs": 464,+ "n_clusters": 3,+ "n_excluded": 123,+ "stats": {+ "n_pairs": 464,+ "n_clusters": 3,+ "mean_a": 0.7405740290712928,+ "mean_b": 0.7405740290712928,+ "delta": 0,+ "se_cluster": 0,+ "se_iid": 0,+ "design_effect": null,+ "effective_n": null,+ "ci95": [+ 0,+ 0+ ],+ "p_two_sided": 1,+ "p_greater": 1,+ "p_less": 1,+ "p_method": "degenerate"+ },+ "power": {+ "alpha": 0.05,+ "power": 0.8,+ "mde": null,+ "min_one_sided_discordant": null,+ "note": "no paired variation was observed, so the detectable effect cannot be estimated from this data"+ },+ "direction": "higher"+ },+ {+ "id": "latency",+ "metric": "latency_ms",+ "gate": "exploratory",+ "status": "report_only",+ "reasons": [],+ "n_pairs": 464,+ "n_clusters": 3,+ "n_excluded": 123,+ "stats": {+ "n_pairs": 464,+ "n_clusters": 3,+ "mean_a": 22.712068965517233,+ "mean_b": 23.90366379310346,+ "delta": 1.1915948275862065,+ "se_cluster": 0.38567229147586896,+ "se_iid": 0.5022450770224175,+ "design_effect": 0.589665201940657,+ "effective_n": 786.8872005214516,+ "ci95": [+ 0.7579999999999999,+ 2.160162601626015+ ],+ "p_two_sided": 0.25,+ "p_greater": 0.125,+ "p_less": 1,+ "p_method": "exact-sign-flip"+ },+ "power": {+ "alpha": 0.05,+ "power": 0.8,+ "mde": 1.0804937911175745,+ "min_one_sided_discordant": null,+ "note": "with 464 pairs in 3 clusters, a two-sided 0.05 test has 80% power for an absolute change of about 1.0805; the observed delta is at least that size"+ },+ "direction": "lower"+ }+ ]+ }+ }+ ]+}diff --git a/docs/eval/decisions/p3-retrieval-feedback/PREREGISTRATION.md b/docs/eval/decisions/p3-retrieval-feedback/PREREGISTRATION.mdnew file mode 100644index 0000000000..f69a25e6df--- /dev/null+++ b/docs/eval/decisions/p3-retrieval-feedback/PREREGISTRATION.md@@ -0,0 +1,115 @@+# P3 preregistration: use-attributed retrieval feedback and relational triplet scoring++This file fixes, before any held-out data is opened, what the P3 held-out runs measure, on which data, and which+result turns each feature on by default. The custodian freezes it (with any edits recorded below the line at the end)+before the first sealed cell runs. Dev results that informed it are listed in [Dev evidence](#dev-evidence); none of+them is eligible to set a default.++## Builds++| Arm | Build | Settings |+|---|---|---|+| Baseline | gbrain `master` at the P3 merge base (`5bd9e8497`) | as shipped |+| Feedback | P3 pull-request head (frozen SHA recorded at handoff) | `feedback.enabled=true`, `feedback.influence=0.1`, `search.triplet_scoring=false` |+| Triplet | same build | `feedback.enabled=false`, `search.triplet_scoring=true`, `search.triplet_penalty=3.0` |++Every arm runs on its own copy of the trained database, and scoring runs with `feedback.learn=false`, so scoring+calls, judge repetitions and sealed questions never change the state under test. Embeddings come from one+content-addressed cache that is warm before either arm runs, so both arms read identical vectors (a cold cache lets+fresh provider vectors and cached vectors differ in the last float bits, which reorders near-ties; see the dev+guardrail note below).++`feedback.influence` (λ) is fixed at **0.1**, the shipped default. λ = 0.05 and 0.2 are reported as exploratory rows.++## Data and splits++| Corpus | Split | Unit |+|---|---|---|+| LoCoMo | P0 split `eval/decisions/splits/locomo.json` (gbrain-evals): 3 dev conversations, 7 sealed | conversation = one brain |+| LongMemEval-S | P0 split `eval/decisions/splits/lme-s.json` | question (own haystack) |+| world-v1 relational (template + paraphrase) | proposed: [`world-v1-relational-split.json`](world-v1-relational-split.json), 73 dev / 72 sealed base questions, P0 method (`sha256(salt, NUL, id)` order, salt `gbrain-evals-heldout-split-v1`, first half dev); template and paraphrase forms of one question share a half | one shared brain |+| NamedThingBench core + relational | as committed | query |++The world-v1 split is a proposal: P0 has no world-v1 split yet. Only its dev half was read. The custodian adopts it+or replaces it before any sealed world-v1 cell; a replacement must still exclude every dev base question listed in it.++## Experiments and pass bars++All bars apply to sealed data only. Confidence intervals are cluster bootstraps (cluster = conversation for LoCoMo,+base question for world-v1), 1,000 resamples or more.++**E1. Feedback with oracle ratings (judge-free upper bound).** Per brain, questions stream in a fixed seeded order.+After a training question, each returned page gets a targeted rating (5 if gold, 1 if not). Arms: (a) train on dev,+freeze, score sealed; (b) online predict-then-update over the whole stream, metrics on sealed questions only;+(c) 20% of labels flipped; (d) exposure-frequency weights from dev with no ratings. Metrics: NDCG@10 (primary) and+Recall@5. The cold-start subgroup (sealed questions whose gold pages never appeared as gold in a training answer) is+reported separately.++**E2. Feedback from the implicit citation signal only.** LoCoMo: `think` on dev questions drives the `cited` signal;+frozen and online arms; full density and a 25% subsampled sparse arm. Sealed: `think` in both arms, judge mean of 10+repetitions ± SD (P0 judge) plus judge-free Recall@5 of the gather. Reported: implicit events per 100 answers.+The `think` model is the frozen build's default.++**E3. No-regression guards.** LongMemEval-S sealed: retrieval lists identical between baseline and feedback arms+(no ratings exist, so the stage must be a no-op). NamedThingBench core + relational with weights trained on world-v1+dev: 0 hit@1 losses. p50/p95 read latency deltas.++**E4. Triplet scoring.** E4a (wider relational fetch only) and E4b (wider fetch + triplet scoring) against baseline on+relational-paraphrase-v1, NamedThingBench relational and a constrained-relational set over world-v1. Precondition:+the relational arm fires on at least 80% of E4 questions. Metrics: NDCG@10 and hit@3.++Default decisions:++- **Feedback ON by default** iff all hold: E2 judge mean +1.0 point or more with CI excluding 0 in the frozen and+ online arms, and the sparse arm still positive; E1 NDCG@10 improves with CI excluding 0 and beats arm (d); the+ cold-start subgroup loses at most 1.0 NDCG@10 point; no category drops more than 1.0 point; E3 shows zero+ LongMemEval change, 0 NamedThingBench hit@1 losses and p95 latency +10 ms or less.+- E1 is evaluated **per corpus** (LoCoMo and world-v1 separately); "E1 passes" requires both. If world-v1 passes and+ LoCoMo fails, feedback ships with `feedback.enabled=false` (opt-in, explicit ratings only, `feedback.implicit=false`).+- If E1 passes but E2 does not: ship with `feedback.enabled=false` as above.+- If E1 fails on both corpora: the feedback subsystem leaves the pull request.+- **Triplet scoring ON** iff E4b sealed NDCG@10 +2.0 points or more with CI excluding 0 and 0 hit@1 losses on the+ plain relational sets; E4a ships alone if it alone passes the same bar. Otherwise `search.triplet_scoring` stays off.+- Declared single-value relations (plan E5) are not part of this pull request.++Budget caps: E1 $16, E2 $180, E3 $20, E4 $12 (plan total cap $260, which also covered the dropped E5).++## Harness requirements++The P0 decision kit (milestone M1) runs independent-question memory-qa sources and category runners as-is. These runs+additionally need, from milestone M2 or the custodian: the sequential replay mode with a per-question rating callback+(frozen and online orders, `feedback.learn=false` scoring, per-arm database copies); `think` replay with judge 10x for+E2; arm config applied to category runners (E4 sets `search.triplet_scoring`); the relational-arm fire rate.++## Dev evidence++Dev data only; nothing here can set a default.++**Guardrail (P0 kit, decision `p3-feedback-guardrail-dev-v2`).** Baseline `master` against the P3 build with+feedback on and no ratings ([`../p3-feedback-guardrail-dev-v2/`](../p3-feedback-guardrail-dev-v2/), build `5e5fdcbbe`):+identical retrieval lists on all 587 LoCoMo dev questions and on a 100-question LongMemEval-S dev subset (Recall@5+0.7565 and 0.9479 on both arms), mean read latency +1.2 ms and +1.1 ms, p95 +3.0 ms and +0.9 ms. An earlier run+with a cold embedding cache showed adjacent near-tie swaps in 18 of 587 LoCoMo lists (and 6 of 100 LongMemEval-S+lists) with identical metrics; the same comparison with a warm cache shows 0 of 587, and a master-against-master run+shows 0, so the swaps came from cache warm-up, not from the feature.++**E1-shaped replay on dev questions** (oracle ratings; a held-back half inside the dev questions is scored; build+`ce8092562`; cost $0.02). ΔNDCG@10 in points against feedback off, with a dev-only question-resampling 95% interval:++| Corpus (scored questions) | λ | Frozen | Online | 20% noise | Frequency only |+|---|---|---|---|---|---|+| LoCoMo dev (236) | 0.05 (positive-only labels) | −0.35 [−0.9, 0.2] | +0.02 [−0.5, 0.5] | −0.29 | −1.15 |+| LoCoMo dev (236) | 0.1 | −0.34 [−1.4, 0.7] | −1.08 [−2.4, 0.1] | −2.13 | −4.02 |+| LoCoMo dev (236) | 0.2 | −3.67 [−5.6, −1.4] | −2.72 [−4.4, −0.8] | −4.56 | −7.89 |+| world-v1 relational dev (74) | 0.05 | +1.32 [0.4, 2.6] | +1.77 [0.6, 3.4] | +0.84 | +0.17 |+| world-v1 relational dev (74) | 0.1 | +1.71 [0.5, 3.3] | +2.48 [0.7, 4.6] | +0.42 | −0.80 |+| world-v1 relational dev (74) | 0.2 | +2.20 [0.6, 3.9] | +4.70 [2.7, 7.3] | +1.46 | −1.33 |++Reading: on a shared entity brain, where the same people and company pages answer many different questions,+learned usefulness transfers and beats exposure frequency. On conversation sessions, where a session that answers one+question is usually wrong for the next, a page-level weight does not transfer and costs ranking quality, more so at+higher λ. That is why E1 is judged per corpus above. Raw summaries: [`dev/`](dev/).++---++Custodian edits (dated, with reason) go below this line.diff --git a/docs/eval/decisions/p3-retrieval-feedback/dev/replay-locomo-dev-positive-only.json b/docs/eval/decisions/p3-retrieval-feedback/dev/replay-locomo-dev-positive-only.jsonnew file mode 100644index 0000000000..832e6bdd41--- /dev/null+++ b/docs/eval/decisions/p3-retrieval-feedback/dev/replay-locomo-dev-positive-only.json@@ -0,0 +1,251 @@+{+ "benchmark": "locomo",+ "labels": "positive-only",+ "split": "dev (train/score halves inside dev conversations)",+ "gbrain": "ce8092562a0fc53e0b2a5c4c74ac48dc54d34021",+ "seed": 42,+ "lambdas": [+ 0.05,+ 0.1,+ 0.2+ ],+ "cost": {+ "usd": 0+ },+ "arms": {+ "off@0": {+ "n": 236,+ "ndcg_at_10": 0.7439,+ "recall_all_at_5": 0.7797,+ "delta_ndcg": 0,+ "ci95": [+ 0,+ 0+ ],+ "cold_n": 9,+ "cold_delta_ndcg": 0,+ "by_category_delta_ndcg": {+ "single-hop": 0,+ "multi-hop": 0,+ "open-domain": 0,+ "temporal": 0+ }+ },+ "[email protected]": {+ "n": 236,+ "ndcg_at_10": 0.7405,+ "recall_all_at_5": 0.7754,+ "delta_ndcg": -0.0035,+ "ci95": [+ -0.0092,+ 0.0015+ ],+ "cold_n": 9,+ "cold_delta_ndcg": 0,+ "by_category_delta_ndcg": {+ "single-hop": -0.0088,+ "multi-hop": -0.0056,+ "open-domain": 0,+ "temporal": 0.0092+ }+ },+ "[email protected]": {+ "n": 236,+ "ndcg_at_10": 0.741,+ "recall_all_at_5": 0.7712,+ "delta_ndcg": -0.0029,+ "ci95": [+ -0.0084,+ 0.0016+ ],+ "cold_n": 9,+ "cold_delta_ndcg": 0,+ "by_category_delta_ndcg": {+ "single-hop": -0.0058,+ "multi-hop": -0.0044,+ "open-domain": -0.0118,+ "temporal": 0.0069+ }+ },+ "[email protected]": {+ "n": 236,+ "ndcg_at_10": 0.7441,+ "recall_all_at_5": 0.7797,+ "delta_ndcg": 0.0002,+ "ci95": [+ -0.0052,+ 0.0045+ ],+ "cold_n": 9,+ "cold_delta_ndcg": 0,+ "by_category_delta_ndcg": {+ "single-hop": -0.0059,+ "multi-hop": -0.0002,+ "open-domain": 0,+ "temporal": 0.0144+ }+ },+ "[email protected]": {+ "n": 236,+ "ndcg_at_10": 0.7324,+ "recall_all_at_5": 0.7712,+ "delta_ndcg": -0.0115,+ "ci95": [+ -0.0265,+ -0.0016+ ],+ "cold_n": 9,+ "cold_delta_ndcg": -0.0223,+ "by_category_delta_ndcg": {+ "single-hop": -0.0244,+ "multi-hop": -0.0059,+ "open-domain": 0.0205,+ "temporal": 0.0057+ }+ },+ "[email protected]": {+ "n": 236,+ "ndcg_at_10": 0.724,+ "recall_all_at_5": 0.7754,+ "delta_ndcg": -0.0199,+ "ci95": [+ -0.0344,+ -0.0083+ ],+ "cold_n": 9,+ "cold_delta_ndcg": -0.0633,+ "by_category_delta_ndcg": {+ "single-hop": -0.0304,+ "multi-hop": -0.0156,+ "open-domain": -0.0314,+ "temporal": 0.0044+ }+ },+ "[email protected]": {+ "n": 236,+ "ndcg_at_10": 0.7313,+ "recall_all_at_5": 0.7712,+ "delta_ndcg": -0.0126,+ "ci95": [+ -0.0228,+ -0.0043+ ],+ "cold_n": 9,+ "cold_delta_ndcg": -0.0701,+ "by_category_delta_ndcg": {+ "single-hop": -0.0215,+ "multi-hop": -0.0012,+ "open-domain": -0.0424,+ "temporal": 0.008+ }+ },+ "[email protected]": {+ "n": 236,+ "ndcg_at_10": 0.727,+ "recall_all_at_5": 0.7797,+ "delta_ndcg": -0.0169,+ "ci95": [+ -0.0285,+ -0.0072+ ],+ "cold_n": 9,+ "cold_delta_ndcg": -0.0778,+ "by_category_delta_ndcg": {+ "single-hop": -0.0282,+ "multi-hop": -0.0022,+ "open-domain": -0.0119,+ "temporal": -0.0022+ }+ },+ "[email protected]": {+ "n": 236,+ "ndcg_at_10": 0.7037,+ "recall_all_at_5": 0.7542,+ "delta_ndcg": -0.0402,+ "ci95": [+ -0.06,+ -0.0235+ ],+ "cold_n": 9,+ "cold_delta_ndcg": -0.0861,+ "by_category_delta_ndcg": {+ "single-hop": -0.0639,+ "multi-hop": -0.0018,+ "open-domain": -0.0608,+ "temporal": -0.0059+ }+ },+ "[email protected]": {+ "n": 236,+ "ndcg_at_10": 0.7047,+ "recall_all_at_5": 0.7754,+ "delta_ndcg": -0.0393,+ "ci95": [+ -0.0586,+ -0.0189+ ],+ "cold_n": 9,+ "cold_delta_ndcg": -0.0861,+ "by_category_delta_ndcg": {+ "single-hop": -0.0658,+ "multi-hop": -0.0076,+ "open-domain": -0.0136,+ "temporal": -0.0064+ }+ },+ "[email protected]": {+ "n": 236,+ "ndcg_at_10": 0.7213,+ "recall_all_at_5": 0.7627,+ "delta_ndcg": -0.0226,+ "ci95": [+ -0.0399,+ -0.0101+ ],+ "cold_n": 9,+ "cold_delta_ndcg": -0.0855,+ "by_category_delta_ndcg": {+ "single-hop": -0.04,+ "multi-hop": -0.0012,+ "open-domain": -0.0489,+ "temporal": 0.01+ }+ },+ "[email protected]": {+ "n": 236,+ "ndcg_at_10": 0.7053,+ "recall_all_at_5": 0.7669,+ "delta_ndcg": -0.0386,+ "ci95": [+ -0.0529,+ -0.0217+ ],+ "cold_n": 9,+ "cold_delta_ndcg": -0.1012,+ "by_category_delta_ndcg": {+ "single-hop": -0.0516,+ "multi-hop": -0.0198,+ "open-domain": 0.003,+ "temporal": -0.0324+ }+ },+ "[email protected]": {+ "n": 236,+ "ndcg_at_10": 0.665,+ "recall_all_at_5": 0.7119,+ "delta_ndcg": -0.0789,+ "ci95": [+ -0.1024,+ -0.054+ ],+ "cold_n": 9,+ "cold_delta_ndcg": -0.1111,+ "by_category_delta_ndcg": {+ "single-hop": -0.1092,+ "multi-hop": -0.0303,+ "open-domain": -0.0945,+ "temporal": -0.0376+ }+ }+ }+}diff --git a/docs/eval/decisions/p3-retrieval-feedback/dev/replay-locomo-dev.json b/docs/eval/decisions/p3-retrieval-feedback/dev/replay-locomo-dev.jsonnew file mode 100644index 0000000000..ec48ca6b0c--- /dev/null+++ b/docs/eval/decisions/p3-retrieval-feedback/dev/replay-locomo-dev.json@@ -0,0 +1,251 @@+{+ "benchmark": "locomo",+ "split": "dev (train/score halves inside dev conversations)",+ "gbrain": "ce8092562a0fc53e0b2a5c4c74ac48dc54d34021",+ "seed": 42,+ "lambdas": [+ 0.1,+ 0.2,+ 0.3+ ],+ "cost": {+ "usd": 0+ },+ "arms": {+ "off@0": {+ "n": 236,+ "ndcg_at_10": 0.7439,+ "recall_all_at_5": 0.7797,+ "delta_ndcg": 0,+ "ci95": [+ 0,+ 0+ ],+ "cold_n": 9,+ "cold_delta_ndcg": 0,+ "by_category_delta_ndcg": {+ "single-hop": 0,+ "multi-hop": 0,+ "open-domain": 0,+ "temporal": 0+ }+ },+ "[email protected]": {+ "n": 236,+ "ndcg_at_10": 0.7406,+ "recall_all_at_5": 0.7669,+ "delta_ndcg": -0.0034,+ "ci95": [+ -0.0135,+ 0.0074+ ],+ "cold_n": 9,+ "cold_delta_ndcg": 0,+ "by_category_delta_ndcg": {+ "single-hop": -0.0063,+ "multi-hop": -0.0067,+ "open-domain": -0.0306,+ "temporal": 0.0128+ }+ },+ "[email protected]": {+ "n": 236,+ "ndcg_at_10": 0.7226,+ "recall_all_at_5": 0.7669,+ "delta_ndcg": -0.0213,+ "ci95": [+ -0.0325,+ -0.0078+ ],+ "cold_n": 9,+ "cold_delta_ndcg": -0.0145,+ "by_category_delta_ndcg": {+ "single-hop": -0.0338,+ "multi-hop": 0.0041,+ "open-domain": -0.0317,+ "temporal": -0.0068+ }+ },+ "[email protected]": {+ "n": 236,+ "ndcg_at_10": 0.7332,+ "recall_all_at_5": 0.7839,+ "delta_ndcg": -0.0108,+ "ci95": [+ -0.0242,+ 0.0009+ ],+ "cold_n": 9,+ "cold_delta_ndcg": 0,+ "by_category_delta_ndcg": {+ "single-hop": -0.022,+ "multi-hop": 0.0011,+ "open-domain": -0.0062,+ "temporal": 0.0059+ }+ },+ "[email protected]": {+ "n": 236,+ "ndcg_at_10": 0.7037,+ "recall_all_at_5": 0.7542,+ "delta_ndcg": -0.0402,+ "ci95": [+ -0.06,+ -0.0235+ ],+ "cold_n": 9,+ "cold_delta_ndcg": -0.0861,+ "by_category_delta_ndcg": {+ "single-hop": -0.0639,+ "multi-hop": -0.0018,+ "open-domain": -0.0608,+ "temporal": -0.0059+ }+ },+ "[email protected]": {+ "n": 236,+ "ndcg_at_10": 0.7072,+ "recall_all_at_5": 0.7627,+ "delta_ndcg": -0.0367,+ "ci95": [+ -0.0562,+ -0.014+ ],+ "cold_n": 9,+ "cold_delta_ndcg": -0.0556,+ "by_category_delta_ndcg": {+ "single-hop": -0.0545,+ "multi-hop": -0.0034,+ "open-domain": -0.0546,+ "temporal": -0.0134+ }+ },+ "[email protected]": {+ "n": 236,+ "ndcg_at_10": 0.6983,+ "recall_all_at_5": 0.7203,+ "delta_ndcg": -0.0456,+ "ci95": [+ -0.0644,+ -0.0252+ ],+ "cold_n": 9,+ "cold_delta_ndcg": -0.0145,+ "by_category_delta_ndcg": {+ "single-hop": -0.0613,+ "multi-hop": -0.0305,+ "open-domain": -0.0665,+ "temporal": -0.0143+ }+ },+ "[email protected]": {+ "n": 236,+ "ndcg_at_10": 0.7167,+ "recall_all_at_5": 0.7754,+ "delta_ndcg": -0.0272,+ "ci95": [+ -0.0436,+ -0.0081+ ],+ "cold_n": 9,+ "cold_delta_ndcg": 0,+ "by_category_delta_ndcg": {+ "single-hop": -0.0389,+ "multi-hop": 0.0065,+ "open-domain": -0.0888,+ "temporal": -0.0062+ }+ },+ "[email protected]": {+ "n": 236,+ "ndcg_at_10": 0.665,+ "recall_all_at_5": 0.7119,+ "delta_ndcg": -0.0789,+ "ci95": [+ -0.1024,+ -0.054+ ],+ "cold_n": 9,+ "cold_delta_ndcg": -0.1111,+ "by_category_delta_ndcg": {+ "single-hop": -0.1092,+ "multi-hop": -0.0303,+ "open-domain": -0.0945,+ "temporal": -0.0376+ }+ },+ "[email protected]": {+ "n": 236,+ "ndcg_at_10": 0.6721,+ "recall_all_at_5": 0.7331,+ "delta_ndcg": -0.0719,+ "ci95": [+ -0.0936,+ -0.043+ ],+ "cold_n": 9,+ "cold_delta_ndcg": -0.0633,+ "by_category_delta_ndcg": {+ "single-hop": -0.0889,+ "multi-hop": -0.0406,+ "open-domain": -0.0583,+ "temporal": -0.0572+ }+ },+ "[email protected]": {+ "n": 236,+ "ndcg_at_10": 0.6464,+ "recall_all_at_5": 0.6822,+ "delta_ndcg": -0.0975,+ "ci95": [+ -0.1234,+ -0.0749+ ],+ "cold_n": 9,+ "cold_delta_ndcg": -0.0223,+ "by_category_delta_ndcg": {+ "single-hop": -0.1161,+ "multi-hop": -0.0864,+ "open-domain": -0.0359,+ "temporal": -0.0789+ }+ },+ "[email protected]": {+ "n": 236,+ "ndcg_at_10": 0.6864,+ "recall_all_at_5": 0.7754,+ "delta_ndcg": -0.0575,+ "ci95": [+ -0.0838,+ -0.034+ ],+ "cold_n": 9,+ "cold_delta_ndcg": -0.0778,+ "by_category_delta_ndcg": {+ "single-hop": -0.0723,+ "multi-hop": -0.0136,+ "open-domain": -0.0853,+ "temporal": -0.0452+ }+ },+ "[email protected]": {+ "n": 236,+ "ndcg_at_10": 0.6398,+ "recall_all_at_5": 0.678,+ "delta_ndcg": -0.1041,+ "ci95": [+ -0.1303,+ -0.073+ ],+ "cold_n": 9,+ "cold_delta_ndcg": -0.1156,+ "by_category_delta_ndcg": {+ "single-hop": -0.1353,+ "multi-hop": -0.0582,+ "open-domain": -0.1023,+ "temporal": -0.0638+ }+ }+ },+ "labels": "gold 5 / non-gold 1"+}diff --git a/docs/eval/decisions/p3-retrieval-feedback/dev/replay-world-v1-dev.json b/docs/eval/decisions/p3-retrieval-feedback/dev/replay-world-v1-dev.jsonnew file mode 100644index 0000000000..d7b52678a8--- /dev/null+++ b/docs/eval/decisions/p3-retrieval-feedback/dev/replay-world-v1-dev.json@@ -0,0 +1,251 @@+{+ "benchmark": "world-v1 relational (template + paraphrase)",+ "labels": "gold 5 / non-gold 1",+ "split": "dev-only halves by base question",+ "gbrain": "ce8092562a0fc53e0b2a5c4c74ac48dc54d34021",+ "seed": 42,+ "lambdas": [+ 0.05,+ 0.1,+ 0.2+ ],+ "cost": {+ "usd": 0.023284+ },+ "arms": {+ "off@0": {+ "n": 74,+ "ndcg_at_10": 0.5502,+ "recall_all_at_5": 0.5946,+ "delta_ndcg": 0,+ "ci95": [+ 0,+ 0+ ],+ "cold_n": 30,+ "cold_delta_ndcg": 0,+ "by_category_delta_ndcg": {+ "invested_in": 0,+ "works_at": 0,+ "attended": 0,+ "advises": 0+ }+ },+ "[email protected]": {+ "n": 74,+ "ndcg_at_10": 0.5634,+ "recall_all_at_5": 0.5946,+ "delta_ndcg": 0.0132,+ "ci95": [+ 0.0042,+ 0.0258+ ],+ "cold_n": 30,+ "cold_delta_ndcg": 0.0084,+ "by_category_delta_ndcg": {+ "invested_in": 0.017,+ "works_at": 0.0055,+ "attended": 0.0207,+ "advises": 0+ }+ },+ "[email protected]": {+ "n": 74,+ "ndcg_at_10": 0.5585,+ "recall_all_at_5": 0.6081,+ "delta_ndcg": 0.0084,+ "ci95": [+ 0.0002,+ 0.0185+ ],+ "cold_n": 30,+ "cold_delta_ndcg": -0.0006,+ "by_category_delta_ndcg": {+ "invested_in": 0.017,+ "works_at": 0.0031,+ "attended": 0.0136,+ "advises": -0.0131+ }+ },+ "[email protected]": {+ "n": 74,+ "ndcg_at_10": 0.5678,+ "recall_all_at_5": 0.6081,+ "delta_ndcg": 0.0177,+ "ci95": [+ 0.0063,+ 0.0337+ ],+ "cold_n": 30,+ "cold_delta_ndcg": 0.0188,+ "by_category_delta_ndcg": {+ "invested_in": 0.017,+ "works_at": 0.0055,+ "attended": 0.0334,+ "advises": 0+ }+ },+ "[email protected]": {+ "n": 74,+ "ndcg_at_10": 0.5519,+ "recall_all_at_5": 0.5946,+ "delta_ndcg": 0.0017,+ "ci95": [+ -0.0014,+ 0.0053+ ],+ "cold_n": 30,+ "cold_delta_ndcg": -0.0014,+ "by_category_delta_ndcg": {+ "invested_in": 0.0035,+ "works_at": -0.0024,+ "attended": 0.0038,+ "advises": 0+ }+ },+ "[email protected]": {+ "n": 74,+ "ndcg_at_10": 0.5673,+ "recall_all_at_5": 0.5946,+ "delta_ndcg": 0.0171,+ "ci95": [+ 0.0047,+ 0.0325+ ],+ "cold_n": 30,+ "cold_delta_ndcg": 0.0053,+ "by_category_delta_ndcg": {+ "invested_in": 0.0354,+ "works_at": 0.0055,+ "attended": 0.0177,+ "advises": 0+ }+ },+ "[email protected]": {+ "n": 74,+ "ndcg_at_10": 0.5544,+ "recall_all_at_5": 0.6081,+ "delta_ndcg": 0.0042,+ "ci95": [+ -0.0074,+ 0.0161+ ],+ "cold_n": 30,+ "cold_delta_ndcg": -0.0139,+ "by_category_delta_ndcg": {+ "invested_in": 0.017,+ "works_at": 0.0031,+ "attended": 0.0019,+ "advises": -0.0131+ }+ },+ "[email protected]": {+ "n": 74,+ "ndcg_at_10": 0.5749,+ "recall_all_at_5": 0.6216,+ "delta_ndcg": 0.0248,+ "ci95": [+ 0.0067,+ 0.0463+ ],+ "cold_n": 30,+ "cold_delta_ndcg": 0.0138,+ "by_category_delta_ndcg": {+ "invested_in": 0.0354,+ "works_at": 0.0151,+ "attended": 0.0328,+ "advises": 0+ }+ },+ "[email protected]": {+ "n": 74,+ "ndcg_at_10": 0.5422,+ "recall_all_at_5": 0.5811,+ "delta_ndcg": -0.008,+ "ci95": [+ -0.0191,+ 0.0002+ ],+ "cold_n": 30,+ "cold_delta_ndcg": -0.0229,+ "by_category_delta_ndcg": {+ "invested_in": 0.0035,+ "works_at": -0.0208,+ "attended": -0.0109,+ "advises": 0+ }+ },+ "[email protected]": {+ "n": 74,+ "ndcg_at_10": 0.5722,+ "recall_all_at_5": 0.6216,+ "delta_ndcg": 0.022,+ "ci95": [+ 0.0062,+ 0.0389+ ],+ "cold_n": 30,+ "cold_delta_ndcg": 0.0118,+ "by_category_delta_ndcg": {+ "invested_in": 0.0354,+ "works_at": 0.0088,+ "attended": 0.0342,+ "advises": -0.0131+ }+ },+ "[email protected]": {+ "n": 74,+ "ndcg_at_10": 0.5648,+ "recall_all_at_5": 0.6216,+ "delta_ndcg": 0.0146,+ "ci95": [+ -0.0066,+ 0.0362+ ],+ "cold_n": 30,+ "cold_delta_ndcg": -0.009,+ "by_category_delta_ndcg": {+ "invested_in": 0.017,+ "works_at": 0.0144,+ "attended": 0.0121,+ "advises": 0.0169+ }+ },+ "[email protected]": {+ "n": 74,+ "ndcg_at_10": 0.5972,+ "recall_all_at_5": 0.6622,+ "delta_ndcg": 0.047,+ "ci95": [+ 0.0272,+ 0.0732+ ],+ "cold_n": 30,+ "cold_delta_ndcg": 0.0524,+ "by_category_delta_ndcg": {+ "invested_in": 0.0354,+ "works_at": 0.0341,+ "attended": 0.0829,+ "advises": 0+ }+ },+ "[email protected]": {+ "n": 74,+ "ndcg_at_10": 0.5369,+ "recall_all_at_5": 0.5676,+ "delta_ndcg": -0.0133,+ "ci95": [+ -0.025,+ -0.0042+ ],+ "cold_n": 30,+ "cold_delta_ndcg": -0.0288,+ "by_category_delta_ndcg": {+ "invested_in": 0.0019,+ "works_at": -0.024,+ "attended": -0.0227,+ "advises": 0+ }+ }+ }+}diff --git a/docs/eval/decisions/p3-retrieval-feedback/world-v1-relational-split.json b/docs/eval/decisions/p3-retrieval-feedback/world-v1-relational-split.jsonnew file mode 100644index 0000000000..85d2f6c29b--- /dev/null+++ b/docs/eval/decisions/p3-retrieval-feedback/world-v1-relational-split.json@@ -0,0 +1,158 @@+{+ "schema_version": 1,+ "benchmark": "world-v1-relational",+ "salt": "gbrain-evals-heldout-split-v1",+ "method": "whole conversations ordered by sha256(salt, NUL, conversation id) ascending; first ceil(n * dev_fraction) are dev",+ "dev_fraction": 0.5,+ "dev": [+ "q-0004",+ "q-0005",+ "q-0007",+ "q-0010",+ "q-0012",+ "q-0014",+ "q-0016",+ "q-0017",+ "q-0018",+ "q-0019",+ "q-0022",+ "q-0024",+ "q-0027",+ "q-0028",+ "q-0032",+ "q-0033",+ "q-0038",+ "q-0040",+ "q-0042",+ "q-0043",+ "q-0044",+ "q-0048",+ "q-0051",+ "q-0054",+ "q-0060",+ "q-0061",+ "q-0063",+ "q-0067",+ "q-0068",+ "q-0070",+ "q-0074",+ "q-0075",+ "q-0078",+ "q-0080",+ "q-0082",+ "q-0084",+ "q-0086",+ "q-0087",+ "q-0090",+ "q-0093",+ "q-0094",+ "q-0095",+ "q-0097",+ "q-0098",+ "q-0099",+ "q-0100",+ "q-0101",+ "q-0103",+ "q-0105",+ "q-0106",+ "q-0108",+ "q-0112",+ "q-0115",+ "q-0118",+ "q-0121",+ "q-0122",+ "q-0123",+ "q-0124",+ "q-0125",+ "q-0126",+ "q-0130",+ "q-0131",+ "q-0132",+ "q-0133",+ "q-0134",+ "q-0135",+ "q-0136",+ "q-0138",+ "q-0139",+ "q-0141",+ "q-0142",+ "q-0144",+ "q-0145"+ ],+ "sealed": [+ "q-0001",+ "q-0002",+ "q-0003",+ "q-0006",+ "q-0008",+ "q-0009",+ "q-0011",+ "q-0013",+ "q-0015",+ "q-0020",+ "q-0021",+ "q-0023",+ "q-0025",+ "q-0026",+ "q-0029",+ "q-0030",+ "q-0031",+ "q-0034",+ "q-0035",+ "q-0036",+ "q-0037",+ "q-0039",+ "q-0041",+ "q-0045",+ "q-0046",+ "q-0047",+ "q-0049",+ "q-0050",+ "q-0052",+ "q-0053",+ "q-0055",+ "q-0056",+ "q-0057",+ "q-0058",+ "q-0059",+ "q-0062",+ "q-0064",+ "q-0065",+ "q-0066",+ "q-0069",+ "q-0071",+ "q-0072",+ "q-0073",+ "q-0076",+ "q-0077",+ "q-0079",+ "q-0081",+ "q-0083",+ "q-0085",+ "q-0088",+ "q-0089",+ "q-0091",+ "q-0092",+ "q-0096",+ "q-0102",+ "q-0104",+ "q-0107",+ "q-0109",+ "q-0110",+ "q-0111",+ "q-0113",+ "q-0114",+ "q-0116",+ "q-0117",+ "q-0119",+ "q-0120",+ "q-0127",+ "q-0128",+ "q-0129",+ "q-0137",+ "q-0140",+ "q-0143"+ ],+ "created_at": "2026-10-04",+ "note": "P3 E1 proposal"+}