Composable Model Graph
← Curriculum map Lesson 05 / 08

Simulation and tuning / lesson 05

Ask whether quality earns its cost

Useful flow compares configurations; sensitivity points to the next knob.

01 / Problem + boundary

Know what the primitive owns.

Problem

More effort can improve quality while still making the system worse per unit of cost. A score without a local change signal also leaves tuning direction unclear.

System boundary

Callers define quality, cost, weights, and knobs. CMG supplies usefulFlowScore and numerical sensitivity utilities.

02 / Executable shape

State changes become visible.

Inspectable: The chosen knob values, recorded cost slices, bounded quality, useful-flow score, and ranked local gradients.

03 / Deterministic lab

Sweep effort while parallelism and verification depth stay fixed.

Static specimen / JavaScript adds controls without changing the lesson.

04 / Specimens

Same idea, honest surfaces.

const { score } = usefulFlowScore(quality, cost);

const ranked = rankSensitivity(
  current,
  phiOf,
);

console.log(score, ranked[0]?.name);
05 / Interpretation boundary

What this does not imply.

Φ is not an objective truth. It is only as honest as the caller-defined quality and cost terms supplied to it.

06 / Understanding check

Who decides what quality and cost mean?