The Computer History Simulation Project
This report summarizes scanner evidence for simh/simh, a C project with 1,890 GitHub stars. SynthScan examined 1,135,265 lines of code across 1273 source files, recording 2423 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 2.1 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 2423 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 1 finding(s).
Which changes need focused human review? 2423 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 2423 distinct pattern matches across 5 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sim_sock.h | 41 | 30-Apr-02 RMS Changed VMS stropts include to ioctl | COMMENT |
| LOW | sim_sock.h | 61 | #undef WORD /* avoid macro name collision */ | COMMENT |
| LOW | sim_sock.h | 81 | #include <netinet/in.h> /* for sockaddr_in */ | COMMENT |
| LOW | sim_sock.h | 101 | #define WSAECONNREFUSED ECONNREFUSED | COMMENT |
| LOW | sim_sock.h | 121 | #if defined (__VAX) | COMMENT |
| LOW | sim_frontpanel.c | 41 | will be made to retain any prior sim_frontpanel API interfaces. | COMMENT |
| LOW | sim_frontpanel.c | 101 | return szMsgBuffer; | COMMENT |
| LOW | sim_defs.h | 121 | #define snprintf sim_vax_snprintf | COMMENT |
| LOW | sim_defs.h | 141 | COMMENT | |
| LOW | sim_defs.h | 221 | #elif (defined (__ALPHA) || defined (__ia64)) && defined (VMS) /* 64b VMS */ | COMMENT |
| LOW | sim_defs.h | 241 | typedef int32 t_svalue; | COMMENT |
| LOW | sim_defs.h | 261 | #define NO_vsnprintf | COMMENT |
| LOW | sim_defs.h | 281 | COMMENT | |
| LOW | sim_defs.h | 301 | #define SIM_INLINE _inline | COMMENT |
| LOW | sim_defs.h | 321 | # define PACKED_END __attribute__((packed)) | COMMENT |
| LOW | sim_defs.h | 361 | #define SCPE_UNATT (SCPE_BASE + 1) /* no file */ | COMMENT |
| LOW | sim_defs.h | 381 | #define SCPE_TIMER (SCPE_BASE + 21) /* hwre timer err */ | COMMENT |
| LOW | sim_defs.h | 401 | #define SCPE_STALL (SCPE_BASE + 41) /* Telnet conn stall */ | COMMENT |
| LOW | sim_defs.h | 421 | COMMENT | |
| LOW | sim_defs.h | 521 | #define DEV_V_DIS 0 /* dev disabled */ | COMMENT |
| LOW | sim_defs.h | 541 | #define DEV_FLATHELP (1 << DEV_V_FLATHELP) /* Use traditional (unstructured) help */ | COMMENT |
| LOW | sim_defs.h | 621 | COMMENT | |
| LOW | sim_defs.h | 641 | #define UNIT_WLK 0100000 /* hardware write lock */ | COMMENT |
| LOW | sim_defs.h | 701 | }; | COMMENT |
| LOW | sim_defs.h | 1081 | /* Hidden Blob of Data - Only used for SAVE/RESTORE */ | COMMENT |
| LOW | sim_defs.h | 1121 | #define AIO_SET_INTERRUPT_LATENCY(instpersec) sim_aio_set_interrupt_latency(instpersec) | COMMENT |
| LOW | scp.h | 41 | COMMENT | |
| LOW | sim_ether.c | 381 | COMMENT | |
| LOW | sim_ether.c | 1361 | } | COMMENT |
| LOW | sim_ether.c | 1421 | strlcat (capabilities, "Polled ", sizeof (capabilities)); | COMMENT |
| LOW | sim_ether.c | 2021 | free(OidData); | COMMENT |
| LOW | sim_ether.c | 3581 | #endif | COMMENT |
| LOW | sim_ether.c | 3661 | Mprintf (f, " MediaState: disconnected)\n"); | COMMENT |
| LOW | sim_ether.c | 4281 | #define TCP_SYN_FLAG (0x02) | COMMENT |
| LOW | sim_card.h | 81 | COMMENT | |
| LOW | sim_card.h | 101 | #define MODE_EBCDIC (5 << UNIT_V_CARD_MODE) | COMMENT |
| LOW | sim_timer.c | 81 | COMMENT | |
| LOW | sim_timer.c | 421 | pthread_setschedparam (pthread_self(), sched_policy, &sched_priority); | COMMENT |
| LOW | sim_timer.c | 821 | UNIT sim_throttle_unit; /* one for throttle */ | COMMENT |
| LOW | sim_serial.c | 1401 | #endif | COMMENT |
| LOW | sim_console.c | 3341 | #define sys$qiow SYS$QIOW | COMMENT |
| LOW | sim_console.c | 3841 | #elif defined (BSDTTY) | COMMENT |
| LOW | sim_fio.c | 81 | t_bool sim_taddr_64; /* t_addr is > 32b and Large File Support available */ | COMMENT |
| LOW | sim_fio.c | 2161 | return SCPE_ARG; | COMMENT |
| LOW | sim_video.c | 341 | #define EVENT_WARP 4 /* warp mouse position for SDL */ | COMMENT |
| LOW | sim_video.c | 2541 | #if defined (SDL_HINT_RENDER_DIRECT3D_THREADSAFE) | COMMENT |
| LOW | sim_video.c | 2561 | #endif | COMMENT |
| LOW | sim_video.c | 2581 | SDL_HINT_ACCELEROMETER_AS_JOYSTICK , | COMMENT |
| LOW | sim_video.c | 2601 | #if defined (SDL_HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK) | COMMENT |
| LOW | sim_BuildROMs.c | 81 | #include <string.h> | COMMENT |
| LOW | sim_tmxr.h | 61 | COMMENT | |
| LOW | sim_tmxr.h | 81 | #define TMXR_DBG_SEND 0x80000000 /* Debug Send Activities */ | COMMENT |
| LOW | sim_tmxr.h | 101 | #define TMLN_SPD_300_BPS 33333 /* usec per character */ | COMMENT |
| LOW | sim_tmxr.h | 341 | COMMENT | |
| LOW | sim_disk.h | 41 | COMMENT | |
| LOW | sim_disk.h | 61 | COMMENT | |
| LOW | sim_disk.h | 181 | const char *str_02; /* #2 device specific string */ | COMMENT |
| LOW | sim_disk.h | 201 | #define product str_02 /* SCSI product string */ | COMMENT |
| LOW | sim_disk.h | 221 | #define DRVFL_GET_IFTYPE(drv) (((drv)->flags >> DRVFL_V_TYPE) & DRVFL_M_TYPE) | COMMENT |
| LOW | sim_tape.c | 221 | #define TOP_WREC 3 /* sim_tape_wrrecf_a */ | COMMENT |
| 2359 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | H316/h316_mi.c | 620 | // was to catch the associated interrupt. I've added one for testing | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | 3B2/3b2_ports.h | 83 | #define DC_NORM 0x00 /* command executed as requested */ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | SDS/sds_cpnl.c | 500 | fprintf (stderr, " for demonstration purposes (such as watching the A register count\n"); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sim_scp_private.h | 280 | #error "Implementation of function InterlockedCompareExchangePointer() is needed to build with USE_AIO_INTRINSICS" | COMMENT |