2026-06-11 09:10:54lisa:
Tool 3: show Algorithm 1 pseudocode verbatim before the hand-trace
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
sd/C05/From SRS to Detailed Designs - Data and Logic.md ..
@@ 134,7 134,34 @@
### Tool 3 — Pseudocode: how the derived value is actually computed
-
The data dictionary says a calculated score *is* derived. The object model says `calculated()` is a method. The pseudocode says **how**. Algorithm 1 derives it, hop by hop, for Cohen's C03 (`[8, 7]`, weights `[60, 40]`):
+
The data dictionary says a calculated score *is* derived. The object model says `calculated()` is a method. The pseudocode says **how**. Algorithm 1, verbatim from the artefact:
+
+
```
+
ALGORITHM CalculateCriterionScore
+
INPUT: indicatorScores[1..n] // teacher's score per indicator, 0–10 or empty
+
weights[1..n] // from the criterion's checklist, sums to 100