code wiki / (root) / nx_intelmine_propose.nx

nx_intelmine_propose.nx

buildroot/runtime/nx_intelmine_propose.nx

6341 B113 linesdepth 5pulls 5 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_intelmine_propose.nx -- ONE CALL from a mined title to the boards: the thin program over nx_intelmine_lib. nx_intelmine_propose <appid> [language=english] [min_support=3] [top=15] [outdir=buildroot/knowledge/compare] Runs the review rubric over knowledge/reviews/steam/<appid>.jrnl (the lexicons as data), reads the title's installed census row (knowledge/reviews/installed/steam.census), routes every signal through knowledge/reviewmine/ capability_map.conf and APPENDS deduped rows to <outdir>/<domain>.proposed. It never writes a board. The rows are the answer to "what do they do well that we take, what is wrong that we do better, what do they ship" per board. license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_reviewmine_lib.nx nx_intelmine_lib.nx nx_intelmine_propose.nx

imports: nx_syscalls.nxnx_reviewmine_lib.nxnx_intelmine_lib.nx

imported by: nobody (leaf or entry point)

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

main rm_w sys_write rm_slen sys_exit rm_atoi ip_init sys_mmap nxa_die sys_write ↻ sys_exit ↻ nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ ip_map_load ip_init ↻ sys_mmap ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_munmap sys_close rm_line_end ip_field rm_catn rm_catn ↻ sys_mmap ↻ rm_cat rm_vocab_reset sys_mmap ↻

structs

none

consts

12const PP_STOPWORDS: *u8 = "knowledge/reviewmine/stopwords.conf"
13const PP_LEX_DEFECT: *u8 = "knowledge/reviewmine/lexicon_defect.conf"
14const PP_LEX_FEATURE: *u8 = "knowledge/reviewmine/lexicon_feature.conf"
15const PP_LEX_EXCEED: *u8 = "knowledge/reviewmine/lexicon_exceed.conf"
16const PP_LEX_NOTMEET: *u8 = "knowledge/reviewmine/lexicon_notmeet.conf"
17const PP_LEX_VALUE: *u8 = "knowledge/reviewmine/lexicon_value.conf"
18const PP_LEX_DEMAND: *u8 = "knowledge/reviewmine/lexicon_demand.conf"
19const PP_MAP: *u8 = "knowledge/reviewmine/capability_map.conf"
20const PP_CENSUS: *u8 = "knowledge/reviews/installed/steam.census"
21const PP_REVIEWS: *u8 = "knowledge/reviews/steam/"
22const PP_OUTDIR: *u8 = "buildroot/knowledge/compare"
23const PP_DEFAULT_TOP: i64 = 15
24const PP_DEFAULT_MIN_SUPPORT: i64 = 3
25const PP_PATH_CAP: i64 = 512
26const PP_EXIT_USAGE: i64 = 2 // no or bad appid
27const PP_EXIT_NO_MAP: i64 = 3 // the capability map is absent or empty
28const PP_ARG_APPID: i64 = 1 // argv positions
29const PP_ARG_LANG: i64 = 2
30const PP_ARG_MIN_SUPPORT: i64 = 3
31const PP_ARG_TOP: i64 = 4
32const PP_ARG_OUTDIR: i64 = 5

functions

34func main(argc: i64, argv: *i64) -> i64