nx_crawl_sufficiency_cli.nx
buildroot/runtime/nx_crawl_sufficiency_cli.nx
about
nx_crawl_sufficiency_cli.nx -- CLI over nx_crawl_sufficiency (the /compare/webscraping R5 lib): judge a set of
already-fetched pages against a query and print the sufficiency trajectory, one line per page, then the
verdict. HTML input goes through nx_block_density (fit text) so the judge sees the article, not the chrome.
usage: nx_crawl_sufficiency_cli judge "<query words>" <file> [file...]
exit: 0 STOP reached (confident or saturated) | 4 CONTINUE (more pages needed) | 2 usage | 3 nothing readable
license_tier: ORIGINAL No hw writes (Rule 26).
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_crawl_sufficiency.nxnx_block_density.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
| 11 | func sc_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } |
| 12 | func sc_puts(s: *u8) -> i64 { sys_write(1, s, sc_len(s)); return 0 } |
| 13 | func sc_num(v: i64) -> i64 |
| 20 | func sc_streq(a: *u8, b: *u8) -> i64 { var i: i64 = 0; while a[i] == b[i] { if a[i] == (0 as u8) { return 1 } i = i + 1 } return 0 } called by 1: main |
| 22 | func main(argc: i64, argv: *i64) -> i64 |