nx_ux_triangulate_w3c_kat_test.nx
buildroot/runtime/nx_ux_triangulate_w3c_kat_test.nx
about
nx_ux_triangulate_w3c_kat_test.nx -- standalone KAT for the new
W3C/MS clauses + per-cluster triangulation.
Builds a SYNTHETIC RenderJournal that emulates the browser-demo's
paint pattern (background + url_bar + buttons + a11y_role_* + focus
+ status_bar + content text), runs nx_ux_score_clause across every
new clause id, then runs nx_ux_triangulate_cluster per cluster.
Non-interactive -- no X11 window, no event loop. This is the
substrate-honest validation of the scoring + triangulation engine
independent of the GUI demo.
Asserts (each via dump_dec):
1. NX_UX_W3C_HTML_SEMANTIC scores >= 5
2. NX_UX_W3C_ARIA_ROLES scores >= 7 (>=3 a11y_role entries)
3. NX_UX_W3C_ARIA_LABELS scores >= 2
4. NX_UX_W3C_DOM_TREE scores >= 7 (>=10 journal entries)
5. NX_UX_W3C_CSS_CONTRAST scores >= 5
6. NX_UX_MS_INCL_EXCLUSION scores >= 6 (a11y + focus + status)
7. accessibility cluster verdict == VALIDATED_S_CLASS or UNVERIFIED
(NOT CONFLICTED -- per-cluster scope means weak NN5 doesn't
poison accessibility cluster)
license_tier: ORIGINAL
lineage_id: nishi_ux_triangulate_w3c_kat_q10
dependencies 5 imports · 0 importers
imports: nx_syscalls.nxnx_render_journal.nxnx_ux_standard.nxnx_ux_score.nxnx_ux_triangulate.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 33 | func dump_dec(label_a: i64, label_b: i64, v: i64) -> i64 |
| 51 | func main() -> i64 |