code wiki / (root) / nx_corolla.nx

nx_corolla.nx

buildroot/runtime/nx_corolla.nx

9047 B244 linesdepth 2pulls 2 transitivereach 1 importersview sourcekind library
docsdependenciesstructsconstsfunctions

about

nx_corolla.nx -- joy + beauty as primary first-class metric. Biology: the corolla is the colored petal whorl that signals reproductive vitality to pollinators -- beauty as HONEST signal of fitness. In Nishi, it is the substrate's commitment that aesthetic outcomes (joy, beauty, playability, awe) are FIRST-CLASS observables, not afterthoughts measured only at end of integration. Per CARDINAL feedback-real-playtest-loop-not-just-logs: quantitative telemetry (FPS, frame correctness) is NECESSARY but NEVER SUFFICIENT. nx_corolla holds the qualitative axes alongside the quantitative. Resolves the earlier nx_bloom name collision per [[feedback-naming- discipline-no-industry-competitor-overlap]] -- corolla is unowned in software-infra trademark space.

dependencies 2 imports · 1 importers

nx_syscalls.nx nx_tier.nx nx_corolla.nx nx_corolla_test.nx

imports: nx_syscalls.nxnx_tier.nx

imported by: nx_corolla_test.nx

structs

58struct NxCorollaReading
69struct NxCorolla

consts

19const NX_MAGIC_1024: i64 = 1024
23const NX_CO_AXIS_JOY: nx_int = 0 // user-reported delight
24const NX_CO_AXIS_BEAUTY: nx_int = 1 // visual / acoustic harmony
25const NX_CO_AXIS_AWE: nx_int = 2 // scale / unexpectedness
26const NX_CO_AXIS_PLAYABILITY: nx_int = 3 // game-feel correctness
27const NX_CO_AXIS_LIVENESS: nx_int = 4 // organic / alive feel
28const NX_CO_AXIS_COHERENCE: nx_int = 5 // parts feel-of-a-piece
29const NX_CO_AXIS_SURPRISE: nx_int = 6 // novelty within coherence
30const NX_CO_AXIS_PEACE: nx_int = 7 // calm / restorative
31const NX_CO_AXIS_N: nx_int = 8
39const NX_CO_SRC_AUTOMATED_PROXY: nx_int = 0 // smoke / heuristic (LOW WEIGHT)
40const NX_CO_SRC_OPERATOR: nx_int = 1 // operator playtest
41const NX_CO_SRC_FAMILY: nx_int = 2 // family member playtest
42const NX_CO_SRC_TRUSTED_REVIEWER: nx_int = 3 // formal review
43const NX_CO_SRC_COMMUNITY: nx_int = 4 // aggregated community
44const NX_CO_SRC_N: nx_int = 5
48const NX_CO_V_OK: nx_int = 0
49const NX_CO_V_THIN_EVIDENCE: nx_int = 1 // only automated proxies
50const NX_CO_V_BELOW_THRESHOLD: nx_int = 2
51const NX_CO_V_DIVERGENT: nx_int = 3 // quant green, qual low
52const NX_CO_V_NULL: nx_int = 4
53const NX_CO_V_INVALID: nx_int = 5
54const NX_CO_V_N: nx_int = 6
67const NX_CO_R_BYTES: nx_int = 40
79const NX_CO_BYTES: nx_int = 48

functions

83func nx_co_axis_is_valid(a: nx_int) -> nx_int
89func nx_co_src_is_valid(s: nx_int) -> nx_int
called by 2: nx_co_recordmain
95func nx_co_v_is_valid(v: nx_int) -> nx_int
called by 1: main
101func nx_co_src_is_human(s: nx_int) -> nx_int
111func nx_co_new(target_id: nx_int,
called by 1: main calls 1: sys_mmap
132func _co_reading_at(c: *NxCorolla, idx: nx_int) -> *NxCorollaReading
141func nx_co_record(c: *NxCorolla,
168func nx_co_mean_q10_by_axis(c: *NxCorolla, axis: nx_int) -> nx_int
called by 2: nx_co_classifymain calls 1: _co_reading_at
185func nx_co_human_reading_count(c: *NxCorolla) -> nx_int
197func nx_co_mean_q10_human_only(c: *NxCorolla, axis: nx_int) -> nx_int
226func nx_co_classify(c: *NxCorolla, axis: nx_int) -> nx_int