code wiki / (root) / nx_chem_peak_list_test.nx

nx_chem_peak_list_test.nx

buildroot/runtime/nx_chem_peak_list_test.nx

21905 B474 linesdepth 11pulls 18 transitivereach 0 importersview sourcekind gate/prooftopic chem
docsdependenciesstructsconstsfunctions

about

nx_chem_peak_list_test.nx -- C5.0 KAT + integrated lab-pipeline demo. Tests the text-format peak list parser then composes with C4.0 adulterant DB lookup to produce a verdict report from "raw lab output text" -- exactly the workflow a real analyst would run. expect_exit: 0 license_tier: ORIGINAL

dependencies 9 imports · 0 importers

nx_chem.nx nx_chem_molecule.nx nx_chem_smiles.nx nx_chem_periodic.nx nx_chem_valence.nx nx_chem_mass.nx nx_chem_isotope_pattern.nx nx_chem_adulterant_db.nx nx_chem_peak_list.nx nx_chem_peak_list_test.nx

imports: nx_chem.nxnx_chem_molecule.nxnx_chem_smiles.nxnx_chem_periodic.nxnx_chem_valence.nxnx_chem_mass.nxnx_chem_isotope_pattern.nxnx_chem_adulterant_db.nxnx_chem_peak_list.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main a_parse_decimal nx_chem_parse_decimal_q4 nx_loop_begin sys_mmap nx_loop_step nx_clock_monotonic_ns sys_mmap ↻ sys_clock_gettime_mono nx_loop_break b_parse_short_decimal nx_chem_parse_decimal_q4 ↻ c_parse_int nx_chem_parse_decimal_q4 ↻ d_parse_no_digit nx_chem_parse_decimal_q4 ↻ e_parse_stops_at_space nx_chem_parse_decimal_q4 ↻ f_parse_two_peaks nx_chem_peak_list_parse nx_chem_peak_list_new sys_mmap ↻ nx_loop_begin ↻ nx_loop_step ↻ nx_loop_break ↻ nx_chem_is_lineterm nx_chem_parse_decimal_q4 ↻ nx_chem_is_hspace nx_chem_peak_list_add g_parse_comments_and_blank nx_chem_peak_list_parse ↻ h_parse_three_col nx_chem_peak_list_parse ↻ i_file_roundtrip nx_chem_write_file sys_openat_wr sys_write sys_close nx_chem_peak_list_read_fil sys_read_file

structs

none

consts

none

functions

23func bytes_from_chars(out_buf: *u8, src_text: *u8, n: nx_int) -> *u8
36func a_parse_decimal() -> nx_int
called by 1: main calls 1: nx_chem_parse_decimal_q4
50func b_parse_short_decimal() -> nx_int
called by 1: main calls 1: nx_chem_parse_decimal_q4
63func c_parse_int() -> nx_int
called by 1: main calls 1: nx_chem_parse_decimal_q4
76func d_parse_no_digit() -> nx_int
called by 1: main calls 1: nx_chem_parse_decimal_q4
88func e_parse_stops_at_space() -> nx_int
called by 1: main calls 1: nx_chem_parse_decimal_q4
102func f_parse_two_peaks() -> nx_int
called by 1: main calls 1: nx_chem_peak_list_parse
126func g_parse_comments_and_blanks() -> nx_int
called by 1: main calls 1: nx_chem_peak_list_parse
149func h_parse_three_col() -> nx_int
called by 1: main calls 1: nx_chem_peak_list_parse
175func i_file_roundtrip() -> nx_int
212func j_missing_file() -> nx_int
called by 1: main calls 1: nx_chem_peak_list_read_file
229func k_basename() -> nx_int
called by 1: main calls 1: nx_chem_basename
258func l_csv_peak_format() -> nx_int
called by 1: main calls 1: nx_chem_peak_list_parse
288func run_pipeline_demo() -> nx_int
409func main() -> nx_exit