AlgoViz

Reflection and constrained improvement

hard 7 min

An improvement loop produces a candidate change from feedback on a previous run.

Trace the example

Follow the evidence through each stage, then test a change in the case.

Does a reflection fix the next attempt?

Does a reflection fix the next attempt?. Selected component: Failed task inside Baseline run.
Open full-size diagram

Baseline run

Wrong unit in total

The system used cents as dollars. Keep the original failing artifact and a separate set of unseen unit-conversion cases.

The proposed revision also removes the two failing tests. Can the higher score justify promotion?