Ergonomic Framework for Humans
This report summarizes scanner evidence for elysiajs/elysia, a TypeScript project with 19,318 GitHub stars. SynthScan examined 85,345 lines of code across 272 source files, recording 113 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 1.3 (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? 102 finding(s).
Are imports declared and package/API names verified? 11 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 113 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 113 distinct pattern matches across 2 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 | tsconfig.dts.json | 21 | // "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when t | COMMENT |
| LOW | tsconfig.dts.json | 41 | COMMENT | |
| LOW | tsconfig.dts.json | 61 | // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ | COMMENT |
| LOW | tsconfig.dts.json | 81 | // "noImplicitAny": true, /* Enable error reporting for expressions and declarations with | COMMENT |
| LOW | tsconfig.test.json | 21 | // "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when t | COMMENT |
| LOW | tsconfig.test.json | 41 | COMMENT | |
| LOW | tsconfig.test.json | 61 | // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ | COMMENT |
| LOW | tsconfig.test.json | 81 | // "noImplicitAny": true, /* Enable error reporting for expressions and declarations with | COMMENT |
| LOW | tsconfig.json | 21 | // "jsxFactory": "", /* Specify the JSX factory function used when targeting React J | COMMENT |
| LOW | tsconfig.json | 41 | // "noResolve": true, /* Disallow 'import's, 'require's or '<reference>'s from expand | COMMENT |
| LOW | tsconfig.json | 61 | // "mapRoot": "", /* Specify the location where debugger should locate map files | COMMENT |
| LOW | tsconfig.json | 81 | "strict": true, /* Enable all strict type-checking options. */ | COMMENT |
| LOW | test/sucrose/infer-body-reference.test.ts | 81 | COMMENT | |
| LOW | test/sucrose/infer-body-reference.test.ts | 101 | COMMENT | |
| LOW | test/sucrose/infer-body-reference.test.ts | 121 | // body: false, | COMMENT |
| LOW | test/extends/models.test.ts | 221 | post('/', { | COMMENT |
| LOW | test/extends/models.test.ts | 241 | // const correct = await app.handle( | COMMENT |
| LOW | test/extends/error.test.ts | 41 | COMMENT | |
| LOW | test/types/index.ts | 901 | // a: 'a' | COMMENT |
| LOW | test/types/index.ts | 921 | // } | COMMENT |
| LOW | test/types/index.ts | 941 | // .model('a', t.String()) | COMMENT |
| LOW | test/types/lifecycle/derive.ts | 1 | // /* eslint-disable @typescript-eslint/no-unused-vars */ | COMMENT |
| LOW | test/types/lifecycle/derive.ts | 21 | // // Inline Derive Array | COMMENT |
| LOW | test/types/lifecycle/derive.ts | 41 | COMMENT | |
| LOW | test/types/lifecycle/derive.ts | 61 | // } | COMMENT |
| LOW | test/types/lifecycle/derive.ts | 81 | // { | COMMENT |
| LOW | test/types/lifecycle/derive.ts | 101 | COMMENT | |
| LOW | test/types/lifecycle/derive.ts | 121 | // derive: [ | COMMENT |
| LOW | test/types/lifecycle/derive.ts | 141 | // }) | COMMENT |
| LOW | test/types/lifecycle/derive.ts | 161 | // }) | COMMENT |
| LOW | test/types/lifecycle/resolve.ts | 1 | // /* eslint-disable @typescript-eslint/no-unused-vars */ | COMMENT |
| LOW | test/types/lifecycle/resolve.ts | 21 | // // Inline Resolve Array | COMMENT |
| LOW | test/types/lifecycle/resolve.ts | 41 | COMMENT | |
| LOW | test/types/lifecycle/resolve.ts | 61 | // } | COMMENT |
| LOW | test/types/lifecycle/resolve.ts | 81 | // { | COMMENT |
| LOW | test/types/lifecycle/resolve.ts | 101 | COMMENT | |
| LOW | test/types/lifecycle/resolve.ts | 121 | // resolve: [ | COMMENT |
| LOW | test/types/lifecycle/resolve.ts | 141 | // }) | COMMENT |
| LOW | test/types/lifecycle/resolve.ts | 161 | // }) | COMMENT |
| LOW | test/types/lifecycle/resolve.ts | 181 | // }) | COMMENT |
| LOW | test/core/normalize.test.ts | 561 | // const app = new Elysia({ | COMMENT |
| LOW | test/core/normalize.test.ts | 581 | // } | COMMENT |
| LOW | test/core/normalize.test.ts | 601 | // oneGet: 'world' | COMMENT |
| LOW | test/core/normalize.test.ts | 621 | // }, | COMMENT |
| LOW | test/core/normalize.test.ts | 641 | // it('normalize response with getter fields on class array', async () => { | COMMENT |
| LOW | test/core/normalize.test.ts | 661 | // } | COMMENT |
| LOW | test/core/normalize.test.ts | 681 | COMMENT | |
| LOW | test/core/normalize.test.ts | 701 | // }, | COMMENT |
| LOW | test/core/normalize.test.ts | 721 | COMMENT | |
| LOW | test/core/normalize.test.ts | 741 | // this.two = hello | COMMENT |
| LOW | test/core/normalize.test.ts | 761 | // } | COMMENT |
| LOW | test/core/normalize.test.ts | 781 | // return this.four | COMMENT |
| LOW | test/core/normalize.test.ts | 801 | // { additionalProperties: false } | COMMENT |
| LOW | test/core/normalize.test.ts | 821 | COMMENT | |
| LOW | test/core/normalize.test.ts | 841 | COMMENT | |
| LOW | test/core/normalize.test.ts | 861 | // { | COMMENT |
| LOW | test/core/normalize.test.ts | 881 | // { | COMMENT |
| LOW | test/core/normalize.test.ts | 901 | // }, | COMMENT |
| LOW | test/core/normalize.test.ts | 921 | // oneGet: 'world' | COMMENT |
| LOW | test/core/normalize.test.ts | 941 | // field1: string, | COMMENT |
| 42 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/types/index.ts | 2485 | return { id: params.id, name: 'John Doe' } | CODE |
| LOW | test/core/dynamic.test.ts | 493 | .get('/invalid', () => ({ name: 'Jane Doe' }), { | CODE |
| LOW | test/core/dynamic.test.ts | 501 | ({ status }) => status(201, { name: 'Jane Doe' }), | CODE |
| LOW | test/core/dynamic.test.ts | 541 | .get('/invalid', () => ({ name: 'Jane Doe' }), { | CODE |
| LOW | test/core/dynamic.test.ts | 565 | afterHandle: () => ({ name: 'Jane Doe' }), | CODE |
| LOW | test/core/dynamic.test.ts | 578 | status(201, { name: 'Jane Doe' }), | CODE |
| LOW | test/core/dynamic.test.ts | 621 | afterHandle: () => ({ name: 'Jane Doe' }), | CODE |
| LOW | test/validator/cookie.test.ts | 269 | expect(await valid.text()).toBe('user@example.com') | CODE |
| LOW | test/ws/connection.test.ts | 144 | let user: { id: '123'; name: 'Jane Doe' } | undefined | CODE |
| LOW | test/ws/connection.test.ts | 154 | name: 'Jane Doe' | CODE |
| LOW | test/ws/connection.test.ts | 174 | name: 'Jane Doe' | CODE |