nx_final_quality.nx
buildroot/runtime/nx_final_quality.nx
about
nx_final_quality.nx -- top-level scene quality verdict composing all axis families.
This is the substrate's SINGLE outcome per render — the number that
drives auto_fix decisions and tells the caller whether the render
shipped. Aggregates 7 axis-family scores into one composite:
canon 20% nx_beauty_score (S/A/B/OFF anatomy proportions)
mannequin 15% nx_mannequin_index (LIVING_PERSON ↔ OBVIOUS_PLASTIC)
eroticism 15% nx_eroticism_ladder MATCH score (declared vs measured)
vulva_aes 15% nx_vulva_aesthetic_composite
glute_aes 10% nx_glute_aesthetic_composite
breast_aes 15% nx_breast_aesthetic_composite
topology 10% nx_body_topology (single coherent body)
Sealed verdict ladder:
FAILED < 410 ship-blocker — auto_fix MUST retry
PARTIAL 410-614 some axes ok — auto_fix should retry if budget allows
SHIPPABLE 614-819 acceptable — auto_fix can stop
S_CLASS >= 819 textbook — done
dependencies 1 imports · 1 importers
imports: nx_syscalls.nx
imported by: nx_final_quality_test.nx
structs
| none |
consts
| 28 | const NX_MAGIC_2048: i64 = 2048 |
| 30 | const NX_FINAL_RES_CANON: i64 = 0 |
| 31 | const NX_FINAL_RES_MANNEQUIN: i64 = 1 |
| 32 | const NX_FINAL_RES_EROTICISM: i64 = 2 |
| 33 | const NX_FINAL_RES_VULVA: i64 = 3 |
| 34 | const NX_FINAL_RES_GLUTE: i64 = 4 |
| 35 | const NX_FINAL_RES_BREAST: i64 = 5 |
| 36 | const NX_FINAL_RES_TOPOLOGY: i64 = 6 |
| 37 | const NX_FINAL_RES_COMPOSITE: i64 = 7 |
| 38 | const NX_FINAL_RES_VERDICT: i64 = 8 |
| 39 | const NX_FINAL_RES_FAIL_AXIS: i64 = 9 |
| 40 | const NX_FINAL_RES_FIELDS: i64 = 10 |
| 42 | const NX_FINAL_FAILED: i64 = 0 |
| 43 | const NX_FINAL_PARTIAL: i64 = 1 |
| 44 | const NX_FINAL_SHIPPABLE: i64 = 2 |
| 45 | const NX_FINAL_S_CLASS: i64 = 3 |
| 47 | const NX_FINAL_AXIS_CANON: i64 = 0 |
| 48 | const NX_FINAL_AXIS_MANNEQUIN: i64 = 1 |
| 49 | const NX_FINAL_AXIS_EROTICISM: i64 = 2 |
| 50 | const NX_FINAL_AXIS_VULVA: i64 = 3 |
| 51 | const NX_FINAL_AXIS_GLUTE: i64 = 4 |
| 52 | const NX_FINAL_AXIS_BREAST: i64 = 5 |
| 53 | const NX_FINAL_AXIS_TOPOLOGY: i64 = 6 |
functions
| 57 | func nx_final_quality(canon_q10: i64, mannequin_q10: i64, eroticism_q10: i64, called by 1: main |