Skip to content

E01 · F02 · VAL-002 — Validate F02 on the reference cases ​

Replay every acceptance criterion of F02 in the playground and against the derivation's check table.

Acceptance criteria ​

  • Given the playground, when each reference case of F02 is entered, then the drawing and the effective radius match the expected values.
  • Given the check table of DERIV-regular-polygon-fit, when each case is run, then the results match.
  • Given the demo page, when the Product Owner follows its guided test, then each step is ticked or commented, and misunderstandings become backlog items (ADR-0023).
  • Given the review, when the Product Owner validates, then F02 is done.

Tasks ​

One task = one commit, referenced as VAL-002.Tn. This story is not merged automatically (ADR-0028).

Tests per criterion (2026-10-09) ​

Written with the stories and the audit; counted at the validation ([F02.ACn] in test titles).

CriterionTestsWhere
F02.AC1 — uniform fit, flat base, refused values12unit-regular-polygon, regular-polygon-contour, is-valid-regular-polygon, playground
F02.AC2 — global radius, incircle at most6regular-polygon-corners, playground
F02.AC3 — 5 decimals, clockwise, starting vertex7unit-regular-polygon, regular-polygon-contour, playground
F02.AC4 — shape selector6playground
F02.AC5 — sizes capped at 100 000, no limit in the library3playground, is-valid-rectangle

Validation (2026-10-09) ​

The Product Owner ran the playground of the feature branch themselves (npm run dev), before the guided test was written: it works as they meant, and they closed the feature.

Compared with what the feature meant to show: no misunderstanding reported. The guided test of F02 (steps 10–20 of the playground) was added afterwards, for the published playground and the next readers. Remarks raised during the validation, none blocking F02:

RemarkWhere it goes
Largest size of a shape: one unit is one screen pixel, no limit in the calculations, interface capped at 100 000Q20 settled, US-008
A polygon stretched to fill its whole box, as a second kind next to the fixed onedraft feature F06
The View Editor could ask for the target screenimprovement log, E08
Oversized SVG imports accepted without loss, flagged, simplified when possible, refused when too complexE11, improvement log