Kumu / Corporate Finance / Stage 4
Stage 4 — The Technical Specification
docs/specs/ + prompt log + HIL evidence
The central artifact of the project. You'll direct an LLM to draft a specification so complete that another AI — given only the spec — can reproduce your model and produce a correct analysis. If it can't, your spec has gaps. Finding them is the learning.
Why this stage matters more than the analysis itself
Two ideas stack here:
- Spec-driven design. The ability to specify analytical work precisely is more valuable than the ability to execute it. Execution scales — through teams, tools, and AI. Specification requires domain expertise that can't be delegated. This is what senior finance roles actually do: define the work, then judge the output.
- LLM as drafter, you as editor. You don't write the spec from a blank page; you condition an LLM on the project materials and your workbook, then evaluate and revise until it's a document you'd sign.
The spec's anatomy
Part A — Model specification items 1–7
Enough detail to reconstruct your template and populated model from the document alone:
- Scope & objective — company, fiscal period, reporting standard, currency, audience
- Model architecture — tabs, color coding, input/calc/output separation
- Data inputs — every data point with its numeric value from your Stage 3 workbook
- Named range conventions — the full map of
BAL_*,INC_*,CASH_*,RATIO_*to values - Derived inputs — averages, start-of-year figures, after-tax operating income, with explicit formulas
- Ratio definitions — all 25+ ratios across the six categories, each with formula in named-range notation, expected unit, and a one-line interpretation guide
- Validation rules — internal consistency checks: balance sheet balances, Du Pont ROE = direct ROE, etc.
Part B — Analysis specification items 8–11
- Analysis requirements — per category: what to interpret, against what benchmarks, which cross-category connections to examine
- Du Pont decomposition — specific ROE-breakdown instructions
- Strategic recommendations — how many (3–5), what evidence standard, how actionable
- Output format — exact section order, length targets, tone, audience
The quality test
Hand Parts A + B to a fresh LLM with zero other context. Can it (1) verify the provided ratios against the formulas and (2) produce a substantially correct analysis with meaningful recommendations? That's not a thought experiment — it is literally what Stage 5 does.
Cite numerically. "Total assets" is not a spec.
BAL_assets_total_2025 = 394,328 (VND billions) is.
The human-in-the-loop (HIL) requirement
A single-shot LLM dump is below standard. You must show at least one documented iteration: you found a gap in the draft, understood why your prompt or spec caused it, and fixed it. Pick one form of evidence:
| Option | What it is | Best for |
|---|---|---|
| Before/after note (easiest) | 150–250 words in your prompt log: the most consequential gap, why your spec caused it, what changed | Everyone |
| Round-2 prompt | A second prompt-log entry showing how you re-prompted after reviewing round 1, naming the specific gap | Students who iterate by re-prompting |
| Annotated diff (most thorough) | Side-by-side before/after spec excerpts in analysis/validation/, one line per change explaining the gap it fixes | Specs that saw substantial rework |
Specificity is the standard. "I asked it to expand the section" earns nothing.
"Part A.4 listed BAL_assets_total without a year suffix, so the Stage 5 LLM
wouldn't know which year to pull — I added the year-suffix convention and re-ran" earns full
credit.
Bring your weird Stage 3 ratio here
That odd ratio you noted at Stage 3? Walk the LLM through it in your HIL pass. A strange ratio is usually a spec gap the Stage 5 LLM will inherit — addressing it now is exactly the high-value iteration the rubric wants.
How to run the drafting session
- Give the LLM: the Stage 4 brief (raw GitHub URL), the spec template (raw URL), your Stage 1
template (
.xlsxupload), and your Stage 3 populated workbook (.xlsxupload). - Ask it to populate every section, keep the YAML frontmatter, use named-range notation throughout, and pull real numbers from your workbook into the Data Inputs table.
- Good opening move: have it list the 3–4 assumptions it needs from you before drafting (standard, fiscal year, audience).
- Iterate: expand sparse sections, tighten verbose ones, verify formulas tie to your template.
- If a section keeps coming out weak — fix the prompt, not the output. Hand-editing hides the problem; re-prompting fixes the system that produces the document.
Submission checklist
- Spec at
docs/specs/YYYY-MM-DD-{lastname}-{company-slug}-spec.md, YAML frontmatter intact - Part A items 1–7 complete — every input value present numerically
- All 25+ ratios specified in named-range notation with units and interpretation guides
- Part B items 8–11 complete — benchmarks, Du Pont instructions, recommendation criteria, output format
- Validation rules included (balance check, Du Pont vs direct ROE)
- Prompt log updated with the drafting sessions
- HIL evidence committed — before/after note, round-2 prompt, or annotated diff
- Self-test passed: a fresh LLM given only the spec produces something substantially correct
Rubric
| Criterion | % | Strong work looks like |
|---|---|---|
| Model spec — data & structure (A.1–5) | 25% | Every input numeric; architecture fully defined |
| Model spec — ratios & validation (A.6–7) | 25% | All 25+ ratios correct in named-range notation |
| Analysis spec (B.8–11) | 25% | Clear interpretive guidance; meaningful benchmarks; actionable criteria |
| Spec craft + prompt log | 25% | Unambiguous language; at least one visible HIL iteration |