Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
docs(eval): P7 multi-relation planner dev verdict and held-out preregistration pointer
garrytan05229b7a8171
diff --git a/docs/eval/decisions/p7-dev-2026-10-04/README.md b/docs/eval/decisions/p7-dev-2026-10-04/README.mdnew file mode 100644index 0000000000..39131de29a--- /dev/null+++ b/docs/eval/decisions/p7-dev-2026-10-04/README.md@@ -0,0 +1,35 @@+# P7 multi-relation query planner: development verdict and held-out preregistration++This folder holds the development comparison for the multi-relation query+planner (`search.relational_planner`) and points at the plan for the held-out+run. `decision.json` is the decision-kit spec and `verdict.json` is the kit's+dev verdict. Dev verdicts never set a default; the held-out verdict from the+custodian does.++## Builds++- Baseline: `273d2b7e8` (P1 temporal edges head, master `6622a119e` merged in; this branch is stacked on it).+- Candidate: `94bd52e01`, with `search.relational_planner=true`. Later branch+ commits change only documentation.++## Development results (kit verdict `pass`)++- LongMemEval-S, all 500 questions, hash embeddings (keyless; the planner needs+ no key): recall_all@5 0.5553 → 0.5553 (non-inferiority, pass), nDCG@10+ 0.6616 → 0.6616, latency Δ −0.15 ms (95% CI −0.66 to +0.35). The planner+ plans none of these questions, so the two arms return the same results.+- The composed multi-hop set (`multi-hop-paraphrase`, N9) is this plan's sealed+ held-out set, so it is not a dev source here; the custodian runs it.++Further development evidence (oracle reachability, the implementer's world-v1+probe, paraphrase coverage against an LLM planner, false-fire parse checks,+relational-ab one-hop regression, latency on world-v1 and a 100k-link graph) is+recorded in the preregistration.++## Held-out run++Preregistration: gbrain-evals branch `capy/p7-preregistration`,+`docs/benchmarks/2026-10-04-p7-multi-hop-planner-preregistration.md`. It fixes+the arms (feature arm set with `GBRAIN_EVAL_SEARCH_PINS="search.relational_planner=true"`),+cells, metrics, release gates, benefit gates 1-7 and the default rule before+any held-out cell runs.diff --git a/docs/eval/decisions/p7-dev-2026-10-04/decision.json b/docs/eval/decisions/p7-dev-2026-10-04/decision.jsonnew file mode 100644index 0000000000..22248b7490--- /dev/null+++ b/docs/eval/decisions/p7-dev-2026-10-04/decision.json@@ -0,0 +1,71 @@+{+ "schema_version": 1,+ "decision_id": "p7-dev-2026-10-04",+ "plan": "P7",+ "title": "P7 multi-relation query planner (planner on vs off)",+ "verdict_type": "quality",+ "stage": "dev",+ "candidate": {+ "gbrain": "/workspace/gbrain@94bd52e01093aab7dfc8200248562b487083ba1a",+ "config": {+ "search.relational_planner": "true"+ }+ },+ "baseline": {+ "gbrain": "/workspace/gbrain@273d2b7e88f027272844e1c8ec7d470de249e583",+ "config": {}+ },+ "sources": [+ {+ "id": "lme-s-dev",+ "kind": "memory-qa",+ "benchmark": "lme-s",+ "split": "dev",+ "embed": "hash",+ "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": 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": 0+ }+ ],+ "alpha": 0.05,+ "seed": 42,+ "draws": 10000,+ "budget_usd": 0,+ "created_at": "2026-10-04T18:42:54.449Z",+ "notes": "Multi-relation query planner, dev stage. Candidate is stacked on P1 (temporal edges); the baseline is the P1 head, so the comparison isolates P7. N9 (multi-hop-paraphrase) is the sealed held-out set for this plan and is run only by the custodian on the frozen build, so it is not a dev source here. LME-S (all 500, hash embeddings, keyless: the planner is keyless and both arms share vectors) guards against the planner changing non-relational retrieval. The P0 acceptance bar adds an answer-and-provenance evaluation at confirmation."+}diff --git a/docs/eval/decisions/p7-dev-2026-10-04/verdict.json b/docs/eval/decisions/p7-dev-2026-10-04/verdict.jsonnew file mode 100644index 0000000000..d441eb506c--- /dev/null+++ b/docs/eval/decisions/p7-dev-2026-10-04/verdict.json@@ -0,0 +1,167 @@+{+ "decision_id": "p7-dev-2026-10-04",+ "plan": "P7",+ "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-04T20:57:02.224Z",+ "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": "a10c59218f8165b98e5b31a21f46e721fdbe81bc4e8f3c134e4eba19db86b9ea",+ "loaded_git_head": "273d2b7e88f027272844e1c8ec7d470de249e583"+ },+ "candidate": {+ "package": "gbrain",+ "declared_pin": "github:garrytan/gbrain#739e5cc89ca43b9b9351f0f203c7b12a7c0c571c",+ "declared_sha": "739e5cc89ca43b9b9351f0f203c7b12a7c0c571c",+ "version": "0.60.48.0",+ "package_sha256": "6fdcd7c6ffefddc914bbc34188488ba0ec36489494f0649668169e87b35098c5",+ "loaded_git_head": "94bd52e01093aab7dfc8200248562b487083ba1a"+ }+ },+ "family": {+ "family_id": "p7-dev-2026-10-04: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": 470,+ "n_clusters": 470,+ "n_excluded": 30,+ "stats": {+ "n_pairs": 470,+ "n_clusters": 470,+ "mean_a": 0.5553191489361702,+ "mean_b": 0.5553191489361702,+ "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": 261,+ "both_fail": 209,+ "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": 470,+ "n_clusters": 470,+ "n_excluded": 30,+ "stats": {+ "n_pairs": 470,+ "n_clusters": 470,+ "mean_a": 0.6616174703523261,+ "mean_b": 0.6616174703523261,+ "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": 470,+ "n_clusters": 470,+ "n_excluded": 30,+ "stats": {+ "n_pairs": 470,+ "n_clusters": 470,+ "mean_a": 39.121702127659574,+ "mean_b": 38.97170212765961,+ "delta": -0.14999999999999963,+ "se_cluster": 0.25700630110168526,+ "se_iid": 0.25700630110168526,+ "design_effect": 1,+ "effective_n": 470,+ "ci95": [+ -0.6619148936170213,+ 0.34723404255319157+ ],+ "p_two_sided": 0.5725427457254274,+ "p_greater": 0.7112288771122888,+ "p_less": 0.2896710328967103,+ "p_method": "monte-carlo-sign-flip"+ },+ "power": {+ "alpha": 0.05,+ "power": 0.8,+ "mde": 0.720025054316975,+ "min_one_sided_discordant": null,+ "note": "with 470 pairs in 470 clusters, a two-sided 0.05 test has 80% power for an absolute change of about 0.7200; the observed delta is below that size, so a null result here is not evidence of no effect"+ },+ "direction": "lower"+ }+ ]+ }+ }+ ]+}