Operational Remediation Reports
Capacity Shift Report
Pick a Response
A capacity report can turn remaining reserve into an operational response that is easy to scan. The selector changes only the reserve value.
Program
Play the program to choose remaining reserve and inspect the response.
capacity_shift_report.dart
Replay: real traced execution (multi-file project)
void main() {
var reserve = 8;
var action = 'shift';
if (reserve >= 12) {
action = 'hold';
} else if (reserve >= 6) {
action = 'shift';
} else {
action = 'shed';
}
var line = 'reserve=$reserve $action';
print(line);
}
void main() {
var reserve = 4;
var action = 'shift';
if (reserve >= 12) {
action = 'hold';
} else if (reserve >= 6) {
action = 'shift';
} else {
action = 'shed';
}
var line = 'reserve=$reserve $action';
print(line);
}
void main() {
var reserve = 16;
var action = 'shift';
if (reserve >= 12) {
action = 'hold';
} else if (reserve >= 6) {
action = 'shift';
} else {
action = 'shed';
}
var line = 'reserve=$reserve $action';
print(line);
}
reserve ← 8
1void main() {2 var reserve = 8;3 var action = 'shift';values this step8reserveaction ← shift
2var reserve = 8;3var action = 'shift';4if (reserve >= 12) {values this stepshiftactioncondition ← false
3var action = 'shift';4if (reserve >= 12) {5 action = 'hold';values this stepfalsecondition8reservecondition ← true
5 action = 'hold';6} else if (reserve >= 6) {7 action = 'shift';values this steptruecondition8reserveaction ← shift
6} else if (reserve >= 6) {7 action = 'shift';8} else {values this stepshiftactionline ← reserve=8 shift
10}11var line = 'reserve=$reserve $action';12print(line);values this stepreserve=8 shiftline8reserveshiftactionprint(line);
11 var line = 'reserve=$reserve $action';12 print(line);13}outputreserve=8 shiftvalues this stepreserve=8 shiftline
reserve ← 4
1void main() {2 var reserve = 4;3 var action = 'shift';values this step4reserveaction ← shift
2var reserve = 4;3var action = 'shift';4if (reserve >= 12) {values this stepshiftactioncondition ← false
3var action = 'shift';4if (reserve >= 12) {5 action = 'hold';values this stepfalsecondition4reservecondition ← false
5 action = 'hold';6} else if (reserve >= 6) {7 action = 'shift';values this stepfalsecondition4reserveaction ← shed
8} else {9 action = 'shed';10}values this stepshedactionline ← reserve=4 shed
10}11var line = 'reserve=$reserve $action';12print(line);values this stepreserve=4 shedline4reserveshedactionprint(line);
11 var line = 'reserve=$reserve $action';12 print(line);13}outputreserve=4 shedvalues this stepreserve=4 shedline
reserve ← 16
1void main() {2 var reserve = 16;3 var action = 'shift';values this step16reserveaction ← shift
2var reserve = 16;3var action = 'shift';4if (reserve >= 12) {values this stepshiftactioncondition ← true
3var action = 'shift';4if (reserve >= 12) {5 action = 'hold';values this steptruecondition16reserveaction ← hold
4if (reserve >= 12) {5 action = 'hold';6} else if (reserve >= 6) {values this stepholdactionline ← reserve=16 hold
10}11var line = 'reserve=$reserve $action';12print(line);values this stepreserve=16 holdline16reserveholdactionprint(line);
11 var line = 'reserve=$reserve $action';12 print(line);13}outputreserve=16 holdvalues this stepreserve=16 holdline
reserve selector
`reserve` is the controlled input for each report variant.
response bands
The branch sequence maps high, medium, and low reserve into `hold`, `shift`, or `shed`.
capacity row
The final output keeps reserve and response together for review.