Rating and outcomes
IdeaL rates an idea only by what happened when evolution applied it. Nobody rates ideas by hand. This page explains the inputs and the two numbers you see everywhere: gain rate and strength.
Slates and the control arm
Section titled “Slates and the control arm”Before each mutation, evolution calls POST /v1/retrieve with
mode=evolution, a run_id and a candidate_id. IdeaL returns a slate:
- up to
kideas (default 3) and at most one relevant tool; - picked by Thompson sampling over each idea’s rating, weighted by how close
the idea is to the query (
RETRIEVE_RELEVANCE_WEIGHT, default 0.7); - or, with probability
IDEA_CONTROL_PROBABILITY(default 0.3), an empty control slate.
Every slate is recorded, empty ones included. Calling again with the same
run_id and candidate_id returns the recorded slate. The control arm is
what lets IdeaL say “mutations with ideas improved X% of the time, mutations
without ideas Y%”.
The query is context.focus (what to improve; up to four weak spots as a
list) or, without a focus, context.task_description. Keep
task_description to one or two sentences. Passing a whole evolution prompt
breaks retrieval.
Mutation outcomes
Section titled “Mutation outcomes”After the child chain is evaluated, evolution reports one outcome:
{"kind": "mutation", "run_id": "...", "candidate_id": "...", "delta": 0.04, "parent_score": 0.61, "cited_idea_ids": ["<ideas from this slate that were really applied>"], "metric": {"name": "accuracy", "higher_is_better": true, "lower_bound": 0, "upper_bound": 1, "min_delta": 0.01}}deltais child score minus parent score, ornullfor an invalid child.cited_idea_idsmust list only ideas that the mutation actually used. Ideas delivered but not cited get no credit and no blame.metricis optional. It sets the direction (higher_is_better), the noise level (min_delta) and the known range. IdeaL keeps the latest description per namespace and task.- Repeating the same outcome returns 200 instead of 201 and counts once.
Each cited outcome falls into one class, after orienting delta so that
positive always means better:
| Class | Condition |
|---|---|
gain | delta > min_delta |
regression | delta < -min_delta |
no_gain | abs(delta) ≤ min_delta |
invalid | delta = null |
Gain rate
Section titled “Gain rate”Gain rate is a posterior probability that applying the idea gives a
gain. It comes from a Beta distribution, so a fresh idea starts near the
middle and moves with evidence. One gain out of one application gives about
67%, not 100%.
Strength
Section titled “Strength”Strength says how large the effect is, compared with other changes in the
same task. Each valid outcome gets a signed percentile in [-1, 1]: +0.8 means
“better than 80% of changes in this task”.
- When every valid outcome of the task has
parent_scoreand a known bound, the percentile ranks the fraction of the remaining range that was gained. Otherwise it ranks the raw orienteddelta. - With fewer than 20 valid outcomes in the task, percentiles are shrunk toward
zero by
n / 20. - An idea’s mean strength is shrunk again by its own evidence count:
n / (n + IDEA_STRENGTH_PRIOR_COUNT)(default 5). no_gaincounts as zero;invalidhas no strength.
Small numbers are not trustworthy. The efficacy summary
(“introduced in 4 children; gain rate 67%; mean strength +0.18; …
(confident)”) appears only after IDEA_MIN_EVENTS (default 3) citations.
Task keys and transfer
Section titled “Task keys and transfer”Experience is combined in three levels:
- the same namespace and the same
task_key; - the same
task_keyin other namespaces; - global evidence for the same idea across everything.
The same idea in different namespaces is linked by content_hash of its
normalised description. Tools are linked by tool_key. Upper levels act as a
capped prior; local evidence takes over as it grows. When tasks disagree about
an idea, global evidence is weakened.
Without a task_key in the retrieve call, the levels are namespace, then
global. One run_id cannot switch task keys mid-run (422).
Limit. The task key is only as stable as the caller makes it. MAESTRO derives it from a hash of the chain’s task description (see Evolution). A reworded task gets a new key and starts without local experience; only levels 2 and 3 carry over.
Run outcomes
Section titled “Run outcomes”At the end of a run, evolution reports the best chain once:
{"kind": "run", "namespace": "...", "task_key": "...", "run_id": "...", "best_chain": {...}, "best_fitness": 0.65, "path_idea_ids": ["<ideas applied along the best chain's lineage>"]}IdeaL stores best_chain as a chain tagged task:<task_key> with its
fitness, so catalog retrieval can offer it on the same task. Each idea in
path_idea_ids gets a path win and a derived_from relation to the
chain. Path attribution is naive: every idea on the lineage counts.
Forced ideas
Section titled “Forced ideas”On a live run, a person can force an idea into every next slate until a
mutation cites it (arm forced, never control). Forced mutations are shown
in the run feed but excluded from idea ratings and from the ideas-vs-control
comparison.
Extracted ideas
Section titled “Extracted ideas”With IDEAL_EXTRACTION_ENABLED=true and a configured lake LLM, outcomes that
carry change: {diff, rationale} are turned into new active ideas during and
after the run. Their source_evidence points to real outcome records and
counts in the same gain rate and strength. Parameter-only changes and changes
that implement an existing lake idea are skipped. Extraction is off by
default.
Where you see the numbers
Section titled “Where you see the numbers”| Place | Shows |
|---|---|
| MAESTRO, Library → Ideas | Rating (gain rate), strength, delivered, cited, successes, path wins per idea. |
| MAESTRO, run radar | Per-run effect of each delivered idea, ideas vs control. |
| IdeaL web UI, IdeaL tab | Overview, tasks, ideas table with efficacy, runs. |
Run page (run_url) | Radar, best score curve, arms, mutation feed. |