code wiki / _hdl_build / nx_pagerank_build_gate.nx
nx_pagerank_build_gate.nx
buildroot/runtime/_hdl_build/nx_pagerank_build_gate.nx
about
nx_pagerank_build_gate.nx -- P1 STEP 2 gate: writes a synthetic out:<cid> link graph (a hub: A,B,C -> H)
to a /tmp shard, runs pb_run (collect edges -> pr_compute -> store pr:<cid>), and proves the SINK H is the
highest-authority node + rank conservation (~PR_SCALE). Distinguishing: PageRank is the ONLY signal that
makes H (3 in-links, no out-links) outrank the leaves. license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_pagerank_build.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
| 7 | func gp_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 8 | func gp_num(v: i64) -> i64 called by 1: main |
| 17 | func gp_check(name: *u8, cond: i64, pass: *i64, total: *i64) -> i64 |
| 24 | func gp_outkey(cid: i64, out: *u8) -> i64 called by 1: main |
| 33 | func gp_pr(h: *i64, cid: i64) -> i64 |
| 43 | func main() -> i64 |