nx_chem_morgan_test.nx
buildroot/runtime/nx_chem_morgan_test.nx
about
nx_chem_morgan_test.nx -- C2.3c KAT for Morgan canonical ranking
+ canonical SMILES emit.
Verifies the load-bearing property: two SMILES strings representing
the same molecule produce byte-identical canonical output after
Morgan refinement. This unlocks landscape EXCEED axis E1
(bit-reproducible canonical form across versions/platforms).
expect_exit: 0
license_tier: ORIGINAL
dependencies 4 imports · 0 importers
imports: nx_chem_molecule.nxnx_chem_smiles.nxnx_chem_morgan.nxnx_chem_smiles_emit.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
| 20 | func parse_canonical(src: *u8, n: nx_int, out_buf: *u8, out_cap: nx_int, out_len: *nx_int) -> nx_int |
| 27 | func bufeq(a: *u8, a_n: nx_int, b: *u8, b_n: nx_int) -> nx_int |
| 40 | func a_single_atom() -> nx_int |
| 55 | func b_ccov_occ() -> nx_int |
| 71 | func c_isobutane_canonical() -> nx_int |
| 91 | func d_ethene_stable() -> nx_int |
| 108 | func e_benzene_stable() -> nx_int |
| 129 | func f_initial_invariant_distinct() -> nx_int |
| 145 | func g_methane_rank() -> nx_int |
| 158 | func h_cco_distinct_ranks() -> nx_int |
| 177 | func i_benzene_one_class() -> nx_int |
| 203 | func j_lead_canonical_byte_identical() -> nx_int |
| 218 | func main() -> nx_exit |