code wiki / (root) / nx_piotroski_gate.nx

nx_piotroski_gate.nx

buildroot/runtime/nx_piotroski_gate.nx

5921 B111 linesdepth 8pulls 13 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_piotroski_gate.nx -- F-SCORE INDEPENDENT GATE. Proves the exact 9-point score on a strong / weak / mixed firm, the grade mapping, and the fail-closed composition with nx_xbrl: a firm with any missing (XB_NO_FACT) metric scores INCOMPLETE, not a number. license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0

dependencies 1 imports · 0 importers

nx_piotroski_lib.nx nx_piotroski_gate.nx

imports: nx_piotroski_lib.nx

imported by: nobody (leaf or entry point)

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

main pg_puts pg_fill pg_ck pg_puts ↻ pg_putn pio_fscore pg_ckstr pg_puts ↻ pio_grade pio_complete pg_putn ↻

structs

none

consts

none

functions

8func pg_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 3: pg_ckpg_ckstrmain
9func pg_putn(v: i64) -> i64
called by 2: pg_ckmain
23func pg_ck(cnt: *i64, name: *u8, got: i64, want: i64) -> i64
called by 1: main calls 2: pg_putspg_putn
34func pg_ckstr(cnt: *i64, name: *u8, got: *u8, want: *u8) -> i64
called by 1: main calls 1: pg_puts
46func pg_fill(m: *i64, ni: i64, roa: i64, roap: i64, cfo: i64, ltd: i64, ltdp: i64, cur: i64, curp: i64, sh: i64, shp: i64, gm: i64, gmp: i64, at: i64, atp: i64) -> i64
called by 1: main
52func main(argc: i64, argv: *i64) -> i64