Step 6 — Implement (+1)
Step 6 — Implement
Build the clean implementation using extracted methodology and test data.
Process:
- Choose target repo based on category (see repo-map.yaml)
- Write failing tests first (from Step 5 output)
- Implement equations from the archive YAML
- Run tests until green
- Refactor while keeping tests green
Target repo selection:
| Category | Primary repo |
|---|---|
| Structural, geotechnical, subsea, pipeline | digitalmodel |
| Shared utilities, unit conversion, common calcs | assetutilities |
| Energy market, drilling, production data | worldenergydata |
| Financial analysis, portfolio | assethold |
Step 7 — Produce Calc Report
Generate a calculation-report YAML from the extracted data.
- Use the
data/calculation-reportskill for the report template - Populate with equations, inputs, outputs from the archive YAML
- Include worked examples as verification cases
- Validate the YAML against the calc-report schema
- Generate HTML report for review