|
| 1 | +# V&V Report — Section Gates |
| 2 | + |
| 3 | +A section of `src/Plugins/<P>/vv/<FilterName>.md` is "done" when all its gates pass. Sections may be worked in any order. |
| 4 | + |
| 5 | +**The only ordering rule:** the **Oracle** is chosen *before* any DREAM3D 6.5.171 comparison is run. 6.5.171 is never the source of truth — it is the *thing being compared against* the independently-established oracle. |
| 6 | + |
| 7 | +--- |
| 8 | + |
| 9 | +## Header table |
| 10 | + |
| 11 | +- [ ] Plugin, SIMPLNX UUID, legacy DREAM3D equivalent (or "None") filled in |
| 12 | +- [ ] Status reflects current state: `DRAFT` | `READY FOR REVIEW` | `COMPLETE` |
| 13 | +- [ ] Verified-commit field present (filled in at SBIR deliverable assembly) |
| 14 | +- [ ] Sign-off line has named engineer(s) and date at sign-off |
| 15 | + |
| 16 | +## Summary |
| 17 | + |
| 18 | +- [ ] 2–3 sentences only |
| 19 | +- [ ] States what the filter does |
| 20 | +- [ ] States the verification approach (one phrase, e.g., "Class 3 paper-based vs Rowenhorst 2015") |
| 21 | +- [ ] States the headline result (e.g., "1 deviation, all tests pass") |
| 22 | + |
| 23 | +## Algorithm Relationship |
| 24 | + |
| 25 | +- [ ] One classification: Port | Minor changes | Rewrite | New filter |
| 26 | +- [ ] One-line evidence (UUID inheritance, PR history, line-count diff with legacy) |
| 27 | +- [ ] **Rewrite + outputs diverge from legacy** → explicit defense required in the Deviations file (same UUID is a claim of functional equivalence) |
| 28 | + |
| 29 | +## Oracle |
| 30 | + |
| 31 | +- [ ] Class named (1–5) |
| 32 | + - 1 = Analytical (closed-form expected output on toy input) |
| 33 | + - 2 = Reference implementation (NumPy / SciPy / MTEX / EbsdLib upstream) |
| 34 | + - 3 = Paper-based (published figure / table / equation) |
| 35 | + - 4 = Invariant-based (derivable property the output must satisfy) |
| 36 | + - 5 = Expert-visual (last resort, requires justification) |
| 37 | +- [ ] If Class 5: justification block stating why no Class 1–4 oracle was feasible |
| 38 | +- [ ] One-line description of how oracle was applied |
| 39 | +- [ ] Encoded test reference: `<file>::<TEST_CASE>` exists and is greppable |
| 40 | +- [ ] N fixtures stated; all pass at the verified commit |
| 41 | +- [ ] Second-engineer review of oracle design, OR documented skip reason |
| 42 | + |
| 43 | +## Code path coverage |
| 44 | + |
| 45 | +- [ ] All algorithm code paths enumerated (kernel choice, mask on/off, edge cases, error paths) |
| 46 | +- [ ] Each path maps to ≥1 test case |
| 47 | +- [ ] Parameter-dependent paths: every combination of interest represented |
| 48 | + |
| 49 | +## Test inventory |
| 50 | + |
| 51 | +- [ ] Every `TEST_CASE` in the filter's test file listed |
| 52 | +- [ ] Each marked: `kept` | `new-for-V&V` | `retired` (with one-line reason for retired) |
| 53 | +- [ ] All non-retired tests pass at the verified commit in **both** in-core and OOC builds |
| 54 | + |
| 55 | +## Exemplar archive |
| 56 | + |
| 57 | +- [ ] Archive name matches `download_test_data()` entry in `test/CMakeLists.txt` |
| 58 | +- [ ] SHA512 in report matches SHA512 in `test/CMakeLists.txt` |
| 59 | +- [ ] Provenance sidecar exists at `src/Plugins/<P>/vv/provenance/<archive>.md` and documents: |
| 60 | + - who generated the archive |
| 61 | + - when |
| 62 | + - with what pipeline / script |
| 63 | + - what oracle output was canonical |
| 64 | +- [ ] If the archive was regenerated during V&V to fix a circular-oracle situation → documented in the sidecar |
| 65 | + |
| 66 | +## Deviations from DREAM3D 6.5.171 |
| 67 | + |
| 68 | +- [ ] Comparison was run on at least one fixture (named in the report) |
| 69 | +- [ ] If no deviations: a one-line confirmation that 6.5.171 and SIMPLNX outputs matched within tolerance |
| 70 | +- [ ] If deviations: each ID referenced in the report points to a fleshed-out entry in `src/Plugins/<P>/vv/deviations/<FilterName>.md` |
| 71 | +- [ ] Each deviation entry has: |
| 72 | + - stable ID (`<FilterName>-D<N>`) |
| 73 | + - filter UUID (permanent cross-reference anchor) |
| 74 | + - symptom (user-visible) |
| 75 | + - root cause: `bug` | `precision` | `order of operations` | `library` | `algorithmic choice` |
| 76 | + - affected users |
| 77 | + - recommendation: `trust SIMPLNX` | `trust 6.5.171` | `either acceptable within tolerance` | `see quick-patch link` |
0 commit comments