Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
123 changes: 121 additions & 2 deletions demos/research-loop/research/queue.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"system": "system:default/metasoar",
"date": "2026-11-27",
"how": "score = bits of information in the outcome, H(p_transfer), times 2 if prioritised by steering, divided by the trial's cost in hours; rejected or uncosted claims have no score",
"how": "score = bits of information in the outcome, H(p_transfer), times 2 if prioritised by steering, times 1 + 3 x the fraction funded (research/funding.yaml: pledged plus received over the trial's cost at rate_per_hour, at most 1), divided by the trial's cost in hours; rejected or uncosted claims have no score. ready: received covers the whole cost; those come first",
"queue": [
{
"claim": "pd-program-beats-ppo",
Expand All @@ -15,7 +15,14 @@
"prioritised_by": [],
"rejected_by": [],
"disputed_by": [],
"score": 0.9341,
"score": 1.868,
"currency": "USD",
"cost_money": 12.0,
"pledged": 4.0,
"received": 0.0,
"funded_fraction": 0.3333,
"funding_source": "example: GitHub Sponsors, one-time, ref EXAMPLE-1",
"ready": false,
"reason": "The mechanism is the handler ladder's top rung, so the question is whether it carries over, not whether it applies. Against it: the teachers are frontier API models, our handler writer is Inkling 2 Mini at Q4_K; the score is an environment reward on control tasks, our handlers are scored by agreement with the large model on table questions; E-17b's handlers lost 5.3 points on fresh cases. For it: E-17 to E-17d show that handlers written by Inkling do answer many cases with no model. The claim is held to transfer if a program revised against scores beats the large model per case on cost at no loss of accuracy, which E-18 is testing."
},
{
Expand All @@ -31,6 +38,13 @@
"rejected_by": [],
"disputed_by": [],
"score": 0.4855,
"currency": "USD",
"cost_money": 24.0,
"pledged": 0.0,
"received": 0.0,
"funded_fraction": 0.0,
"funding_source": null,
"ready": false,
"reason": "A property of revising a program against a score, which E-18's handler writing also does (up to 4 tries a class, each after 3 more labels). Different models and task, but the claim is about the shape of the curve, which is less tied to model size than the score is. If it holds, a class needs one good rewrite, not many."
},
{
Expand All @@ -46,6 +60,13 @@
"rejected_by": [],
"disputed_by": [],
"score": 0.4855,
"currency": "USD",
"cost_money": 24.0,
"pledged": 0.0,
"received": 0.0,
"funded_fraction": 0.0,
"funding_source": null,
"ready": false,
"reason": "The handler ladder already has routes (handler, template, large model) and E-18's falsifier depends on the cheap ones being right on different cases from where they fail. Complementarity between a program and direct reading is likely at any model size, since programs fail on grounding and models on arithmetic, as the paper finds. Our tables are short, where the gap may be smaller than on WTQ-L."
},
{
Expand All @@ -61,6 +82,13 @@
"rejected_by": [],
"disputed_by": [],
"score": 0.3114,
"currency": "USD",
"cost_money": 36.0,
"pledged": 0.0,
"received": 0.0,
"funded_fraction": 0.0,
"funding_source": null,
"ready": false,
"reason": "Our own gates point the same way: in E-04b and E-04c a learned front (logistic, TabICL, embeddings) was no better than d1-2B's own confidence. The setting differs (coding agents, an outcome check, an oracle router), but the claim, that a learned router adds little over a simple signal, has already held twice here."
},
{
Expand All @@ -76,6 +104,13 @@
"rejected_by": [],
"disputed_by": [],
"score": 0.25,
"currency": "USD",
"cost_money": 48.0,
"pledged": 0.0,
"received": 0.0,
"funded_fraction": 0.0,
"funding_source": null,
"ready": false,
"reason": "A second, independent paper on the same option (see tablerouter-statistics-double-accuracy), and on WTQ itself. The gain is small for large models; for our smaller ones it may be larger, but that is the other paper's evidence, not this one's."
},
{
Expand All @@ -91,6 +126,13 @@
"rejected_by": [],
"disputed_by": [],
"score": 0.2482,
"currency": "USD",
"cost_money": 48.0,
"pledged": 0.0,
"received": 0.0,
"funded_fraction": 0.0,
"funding_source": null,
"ready": false,
"reason": "Our template rung has LFM3 1.7B follow a plan over the table, and E-17c's two shuffle errors were LFM3 reading a table by row position: the kind of evidence-use failure the statistics fix. The models here are 7B to 9B and ours smaller, which the paper's own gradient (largest gain for the weaker models) favours. Against it: WTQ's tables are short, the 45 questions were picked so the statistics help, and many WTQ questions are lookups."
},
{
Expand All @@ -106,6 +148,13 @@
"rejected_by": [],
"disputed_by": [],
"score": 0.1655,
"currency": "USD",
"cost_money": 72.0,
"pledged": 0.0,
"received": 0.0,
"funded_fraction": 0.0,
"funding_source": null,
"ready": false,
"reason": "E-18 rewrites a class's handler up to 4 times; whether each try sees the earlier failed replies or starts fresh from the best handler is a choice we have not measured. The gain is small (3.6%) and from one model on control tasks, single runs, so it may not survive our noise; a fresh context also suits a small local model whose context fills quickly."
},
{
Expand All @@ -121,6 +170,13 @@
"rejected_by": [],
"disputed_by": [],
"score": 0.1102,
"currency": "USD",
"cost_money": 96.0,
"pledged": 0.0,
"received": 0.0,
"funded_fraction": 0.0,
"funding_source": null,
"ready": false,
"reason": "The gate escalates on an outcome check, as E-16 (Haiku to Opus on outcome triggers) and the handler ladder's fallback do. But its check is a test suite, which says whether an answer is right; our checks (type, choices, non-answers) only say whether it is well formed, and E-17b showed a weak check lets wrong cheap answers through. Our models are 1.7B to Inkling 2 Mini, not 30B and 355B. It would transfer where a task brings its own check: E-16's recorded tasks with their own checks."
},
{
Expand All @@ -136,6 +192,13 @@
"rejected_by": [],
"disputed_by": [],
"score": 0.0507,
"currency": "USD",
"cost_money": 192.0,
"pledged": 0.0,
"received": 0.0,
"funded_fraction": 0.0,
"funding_source": null,
"ready": false,
"reason": "The same dataset as E-18 and the same evaluator, which is rare. But the base models are 70B or an API model, ours 1.7B to Inkling 2 Mini at Q4_K; the gain on WikiTQ is 2.1 points, small enough to vanish in our noise; and the method is several calls a question, where ours aims at none. Code is not yet released."
},
{
Expand All @@ -151,6 +214,13 @@
"rejected_by": [],
"disputed_by": [],
"score": 0.0361,
"currency": "USD",
"cost_money": 240.0,
"pledged": 0.0,
"received": 0.0,
"funded_fraction": 0.0,
"funding_source": null,
"ready": false,
"reason": "A real held-out evaluation, which counts for it; but its gain comes from tables far beyond the context window, and E-18's WikiTableQuestions tables fit in Inkling's and LFM3's context whole. Our role sees little of what it fixes. Kept for the day the system meets long tables."
},
{
Expand All @@ -166,6 +236,13 @@
"rejected_by": [],
"disputed_by": [],
"score": null,
"currency": "USD",
"cost_money": null,
"pledged": 0.0,
"received": 0.0,
"funded_fraction": 0.0,
"funding_source": null,
"ready": false,
"reason": "The collapse was task-dependent on an 8B model, and nothing about a smaller one makes a typed question about its own thinking more reliable. This is the observer the note says has the weakest evidence, so E-04 puts it last."
},
{
Expand All @@ -181,6 +258,13 @@
"rejected_by": [],
"disputed_by": [],
"score": null,
"currency": "USD",
"cost_money": null,
"pledged": 0.0,
"received": 0.0,
"funded_fraction": 0.0,
"funding_source": null,
"ready": false,
"reason": "A property of temperature scaling, not of the model's size, so it should hold here. E-04a fits one temperature per slice and left BANKING77 (77 options) out, so it neither tests nor depends on it yet; it matters as soon as one temperature is shared across tasks with different option counts."
},
{
Expand All @@ -196,6 +280,13 @@
"rejected_by": [],
"disputed_by": [],
"score": null,
"currency": "USD",
"cost_money": null,
"pledged": 0.0,
"received": 0.0,
"funded_fraction": 0.0,
"funding_source": null,
"ready": false,
"reason": "A limit of one forward pass, not of model size, so it should hold for a small model too. Consistent but not a test: E-04a's untuned readout was already far below Jev on MedQA, MedMCQA and MMLU-Pro."
},
{
Expand All @@ -211,6 +302,13 @@
"rejected_by": [],
"disputed_by": [],
"score": null,
"currency": "USD",
"cost_money": null,
"pledged": 0.0,
"received": 0.0,
"funded_fraction": 0.0,
"funding_source": null,
"ready": false,
"reason": "A failure out of distribution is a property of training on few labels, not of the answering model, so it should hold here; E-04 is to separate slices in and out of the training distribution for this reason."
},
{
Expand All @@ -226,6 +324,13 @@
"rejected_by": [],
"disputed_by": [],
"score": null,
"currency": "USD",
"cost_money": null,
"pledged": 0.0,
"received": 0.0,
"funded_fraction": 0.0,
"funding_source": null,
"ready": false,
"reason": "The method does not depend on our generative models: BGE-small and logistic regression run cheaply on any hardware, so the conditions that differ are only the tasks and the labels. Against it: we have no labels yet, and arXiv 2605.02241 saw the same kind of classifier fall out of distribution (zsconf-embedding-router-ood)."
},
{
Expand All @@ -241,6 +346,13 @@
"rejected_by": [],
"disputed_by": [],
"score": null,
"currency": "USD",
"cost_money": null,
"pledged": 0.0,
"received": 0.0,
"funded_fraction": 0.0,
"funding_source": null,
"ready": false,
"reason": "Zero-shot and measured on 7 to 8B models, the nearest size class of any claim here. E-04a's readout margin is the same kind of signal and costs nothing extra (the note's E-04 step 2). The AUROC is modest, and our questions are typed decisions, not MMLU-Pro and TriviaQA answers."
},
{
Expand All @@ -256,6 +368,13 @@
"rejected_by": [],
"disputed_by": [],
"score": null,
"currency": "USD",
"cost_money": null,
"pledged": 0.0,
"received": 0.0,
"funded_fraction": 0.0,
"funding_source": null,
"ready": false,
"reason": "Training-free, and its first-stage signal held down to 0.6B, so our models' size is not the obstacle. Against it: the gains are on Qwen3 and DeepSeek-V3.2 with their own thinking modes; our slow model is Inkling 2 Mini at Q4_K on llama.cpp, and E-04's questions are typed decisions, not those benchmarks; the numbers are the method's authors' own. Code is released (js-lee-AI/DART), so the paper's own number can be reproduced first."
}
]
Expand Down
12 changes: 11 additions & 1 deletion site/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,18 @@ logo = "brand/logo.svg" # .svg, .png, .webp or .jpg; in the header and as th
# search; `{ page = "search", text = "Find" }` renames one. Markdown pages with `nav: N` follow. Every page is
# built either way.
pages = ["claims", "queue", "predictions", "roles", "map", "notes"]
# Other links go in the same list as `{ text, href }`. An absolute http(s) URL or a path starting with `/` is written
# as it is (a URL gets rel="noopener"); anything else is relative to the site and gets the base path from `--base`.
# pages = ["claims", "queue", { text = "Lab", href = "https://example.org/lab" }, { text = "Home", href = "/" }]

[funding] # optional: the "fund this" link on the queue and the claim pages
url_template = "https://example.org/fund/{id}/" # {id} is the claim's id; an http(s) URL or a /path; no link without it
label = "Fund this" # the link's text (default "Fund this")
```

The funding figures themselves (a bar, price, share funded, a "ready" badge and the source) come from `queue.json`
(`research/funding.yaml`, `morphogen.research rank`): a claim whose row has no `cost_money` shows none of it.

Morphogen's own demo builds from [config.toml](config.toml), which points at [demos/research-loop](../demos/research-loop).

## Working on the templates
Expand Down Expand Up @@ -153,7 +163,7 @@ questions (`watch.yaml`), what has been tested and what is next in the queue.
| Page | What it shows |
| --- | --- |
| `index.html` | the feed, newest first, filtered in the page by search, role, source and status (kept in the address); without JavaScript, unfiltered |
| `queue.html` | next to test: `queue.json`, best first, with plan, cost, score, steering, and buttons to prioritise or reject |
| `queue.html` | next to test: `queue.json`, best first, with plan, cost, score, funding (when there is a `funding.yaml`), steering, and buttons to prioritise or reject |
| `predictions.html` | predictions waiting for a trial, and a calibration chart with the Brier score once predictions written before an outcome have one |
| `roles.html` | what the agent watches (`watch.yaml`, `seen.jsonl`), the roles, the options for each, and this system's conditions |
| `map.html` | the relations graph, laid out at build time (`src/lib/layout.mjs`); a static SVG of links, with highlighting and filters in Alpine |
Expand Down
4 changes: 4 additions & 0 deletions site/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,7 @@ propose-option = ["research:question"]
# The header's pages, in order: claims, queue, predictions, roles, map, notes (shown once there is a note), search.
# A Markdown page with `nav: <number>` in its front matter is added after these.
pages = ["claims", "queue", "predictions", "roles", "map", "notes"]

# [funding]
# url_template = "https://openreplicant.com/fund/{id}/" # a "fund this" link carrying the claim's id
# label = "Fund this"
5 changes: 5 additions & 0 deletions site/public/assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -346,3 +346,8 @@ details ul { margin-top: 8px; font-size: 0.88rem; }
.graph .off { display: none; }
.results td:nth-last-child(2) { white-space: nowrap; }
.top-in { max-width: 1200px; }

/* Funding: a bar, the price and a ready badge, on the queue and beside a trial plan. */
.funding { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 0.9rem; margin: 6px 0; }
.fund-bar { width: 120px; }
.tag-ready { background: var(--good-bg); color: var(--good); border-color: currentColor; font-weight: 650; }
2 changes: 2 additions & 0 deletions site/src/components/Assessment.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import ClaimRef from "./ClaimRef.astro";
import ExtLink from "./ExtLink.astro";
import Meter from "./Meter.astro";
import Funding from "./Funding.astro";
import StatusBadge from "./StatusBadge.astro";
import { refName, up } from "../lib/text.mjs";
const { site, c, a } = Astro.props;
Expand All @@ -25,6 +26,7 @@ const by = { morphogen: "the judge", falsifier: "a falsifier registered before t
{plan && <div class="pred"><h3>The cheapest trial that would settle it</h3>
<p>{plan.plan || ""}</p>
<dl class="kv"><dt>Cost</dt><dd>about {plan.cost_hours} hours, setting up included</dd>{(plan.needs || []).length > 0 && <><dt>Needs</dt><dd><ul class="plain">{plan.needs.map((n) => <li>{n}</li>)}</ul></dd></>}{plan.code && <><dt>Code</dt><dd><ExtLink url={plan.code} text={plan.code} /></dd></>}</dl>
{ranked && <Funding site={site} row={ranked[1]} />}
{ranked && <p class="small">Number {ranked[0]} of {site.queue().length} in the <a href={`${up(1)}queue.html`}>queue</a>.</p>}</div>}
{out && <div class="outcome"><h3>Outcome</h3>
<p>Trial {trialEnt ? <a class="mono" href={`${up(1)}${trialEnt.url}`}>{t.id}</a> : <span class="mono">{t.id || ""}</span>}{t.url && <> (<ExtLink url={t.url} text="its files" />)</>}{out.date && <> · {out.date}</>} · {out.comparison === "our-setup" ? "a transfer test on our setup" : "the source's own setup reproduced"}</p>
Expand Down
20 changes: 20 additions & 0 deletions site/src/components/Funding.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
// What a trial costs in money and how much of it is funded: a bar, the price, the fraction and a "ready" badge, from
// the queue row's currency, cost_money, pledged, received, funded_fraction, funding_source and ready (research/funding.yaml,
// morphogen.research rank). Nothing at all when the row has no price, i.e. when there is no funding file. The link
// comes from [funding] url_template in the config and is left out without one.
import { fundUrl } from "../lib/config.mjs";
const { site, row } = Astro.props;
const shown = row && typeof row.cost_money === "number";
const money = (v) => `${Number(v || 0).toLocaleString("en-US", { maximumFractionDigits: 2 })} ${row.currency || ""}`.trim();
const frac = shown ? Math.max(0, Math.min(1, Number(row.funded_fraction) || 0)) : 0;
const pct = (frac * 100).toFixed(1);
const href = shown ? fundUrl(site.funding.url_template, row.claim) : null;
---
{shown && <div class="funding"><span class="meter-wrap" title="Share of the price pledged or received"><svg class="meter fund-bar" viewBox="0 0 100 8" preserveAspectRatio="none" aria-hidden="true" focusable="false"><rect class="meter-track" x="0" y="0" width="100" height="8" rx="4"/><rect class="meter-fill" x="0" y="0" width={pct} height="8" rx="4"/></svg><span class="meter-num">{Math.round(frac * 100)}% funded</span></span>
<span class="qnum"><span class="f-lab">price</span> <span class="mono">{money(row.cost_money)}</span></span>
<span class="qnum"><span class="f-lab">pledged</span> <span class="mono">{money(row.pledged)}</span></span>
<span class="qnum"><span class="f-lab">received</span> <span class="mono">{money(row.received)}</span></span>
{row.ready && <span class="tag tag-ready">ready</span>}
{row.funding_source && <span class="small muted">Source: {row.funding_source}</span>}
{href && <a class="btn ghost small-btn" href={href} rel="noopener">{site.funding.label}</a>}</div>}
6 changes: 3 additions & 3 deletions site/src/layouts/Base.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import { safeUrl, up } from "../lib/text.mjs";
const { site, title, description = "", depth = 0, current = "" } = Astro.props;
const u = up(depth);
const listed = site.pages.filter((p) => p.kind !== "page");
const fixed = site.nav.filter((n) => n.id !== "notes" || listed.length).map((n) => [n.href, n.text]);
const extra = site.pages.filter((p) => typeof p.nav === "number").sort((a, b) => a.nav - b.nav).map((p) => [`${p.slug}.html`, p.title]);
const fixed = site.nav.filter((n) => n.id !== "notes" || listed.length).map((n) => [n.asIs ? n.href : `${u}${n.href}`, n.text, n.offsite, n.asIs ? null : n.href]);
const extra = site.pages.filter((p) => typeof p.nav === "number").sort((a, b) => a.nav - b.nav).map((p) => [`${u}${p.slug}.html`, p.title, false, `${p.slug}.html`]);
const nav = [...fixed, ...extra];
const fullTitle = title && title !== site.title ? `${title} · ${site.title}` : site.title;
const desc = description || site.description;
Expand Down Expand Up @@ -41,7 +41,7 @@ const iconType = { ".svg": "image/svg+xml", ".png": "image/png", ".webp": "image
<header class="top">
<div class="top-in">
<a class="brand" href={`${u}index.html`}>{logo ? <img class="brand-logo" src={`${u}assets/user/${logo}`} alt=""> : <span class="brand-mark" aria-hidden="true">◇</span>} {site.title}</a>
<nav aria-label="Site"><ul>{nav.map(([href, text]) => <li><a href={`${u}${href}`} aria-current={href === current ? "page" : undefined}>{text}</a></li>)}</ul></nav>
<nav aria-label="Site"><ul>{nav.map(([href, text, offsite, page]) => <li><a href={href} rel={offsite ? "noopener" : undefined} aria-current={page && page === current ? "page" : undefined}>{text}</a></li>)}</ul></nav>
<form class="top-search" role="search" action={`${u}search.html`} method="get">
<label><span class="sr">Search the site</span><input type="search" name="q" placeholder="Search" autocomplete="off"></label>
</form>
Expand Down
Loading