{ "schemaVersion": 1, "benchmarkSetId": "known-ai-vs-solid-oss", "benchmarkSetName": "Known AI repos vs older solid OSS repos", "generatedAt": "2026-04-26T18:00:48.544Z", "analyzerVersion": "0.3.0", "configMode": "default", "repos": [ { "id": "openusage", "repo": "robinebers/openusage", "cohort": "explicit-ai", "ref": "857f537a243483acf98ccd9ea32e20b380c63823", "summary": { "fileCount": 139, "directoryCount": 29, "findingCount": 41, "repoScore": 169.7, "physicalLineCount": 33794, "logicalLineCount": 22270, "functionCount": 491, "normalized": { "scorePerFile": 1.2208633093525179, "scorePerKloc": 7.6201167489896715, "scorePerFunction": 0.3456211812627291, "findingsPerFile": 0.2949640287769784, "findingsPerKloc": 1.8410417602155367, "findingsPerFunction": 0.0835030549898167 } }, "blendedScore": 6.400915856451067, "ruleCounts": { "tests.duplicate-mock-setup": 25, "structure.pass-through-wrappers": 5, "defensive.empty-catch": 4, "defensive.error-swallowing": 3, "defensive.error-obscuring": 2, "api.generic-status-envelopes": 1, "defensive.promise-default-fallbacks": 1 }, "topFiles": [ { "path": "plugins/opencode-go/plugin.js", "score": 10, "findingCount": 2 }, { "path": "plugins/antigravity/plugin.js", "score": 9, "findingCount": 2 }, { "path": "src/hooks/app/use-settings-bootstrap.ts", "score": 8, "findingCount": 1 }, { "path": "plugins/factory/plugin.js", "score": 5.5, "findingCount": 2 }, { "path": "plugins/amp/plugin.test.js", "score": 5, "findingCount": 1 } ], "topDirectories": [] }, { "id": "devworkbench", "repo": "jiayun/DevWorkbench", "cohort": "explicit-ai", "ref": "ea50862107c377b0cdd6e508073ad0330b367576", "summary": { "fileCount": 32, "directoryCount": 7, "findingCount": 15, "repoScore": 40.300000000000004, "physicalLineCount": 9408, "logicalLineCount": 2986, "functionCount": 147, "normalized": { "scorePerFile": 1.2593750000000001, "scorePerKloc": 13.496316141995981, "scorePerFunction": 0.2741496598639456, "findingsPerFile": 0.46875, "findingsPerKloc": 5.023442732752846, "findingsPerFunction": 0.10204081632653061 } }, "blendedScore": 8.990707848946045, "ruleCounts": { "defensive.error-swallowing": 10, "defensive.stringified-unknown-errors": 2, "defensive.empty-catch": 1, "defensive.promise-default-fallbacks": 1, "structure.pass-through-wrappers": 1 }, "topFiles": [ { "path": "src/components/NumberBaseConverter.tsx", "score": 9.2, "findingCount": 2 }, { "path": "src/components/HashGenerator.tsx", "score": 7.2, "findingCount": 2 }, { "path": "src/components/TextUtilities.tsx", "score": 6.2, "findingCount": 2 }, { "path": "src/components/JwtTool.tsx", "score": 3, "findingCount": 1 }, { "path": "src/components/Base58EncoderDecoder.tsx", "score": 2.4000000000000004, "findingCount": 1 } ], "topDirectories": [] }, { "id": "fulling", "repo": "FullAgent/fulling", "cohort": "explicit-ai", "ref": "d95060f8421b5888564fc8517c1fe99ded463985", "summary": { "fileCount": 219, "directoryCount": 78, "findingCount": 64, "repoScore": 279.29999999999995, "physicalLineCount": 26787, "logicalLineCount": 12154, "functionCount": 574, "normalized": { "scorePerFile": 1.2753424657534245, "scorePerKloc": 22.980088859634684, "scorePerFunction": 0.48658536585365847, "findingsPerFile": 0.2922374429223744, "findingsPerKloc": 5.265756129669245, "findingsPerFunction": 0.11149825783972125 } }, "blendedScore": 10.241930243229788, "ruleCounts": { "api.generic-status-envelopes": 31, "defensive.error-swallowing": 11, "defensive.stringified-unknown-errors": 6, "defensive.error-obscuring": 5, "structure.pass-through-wrappers": 4, "defensive.empty-catch": 3, "tests.duplicate-mock-setup": 3, "defensive.promise-default-fallbacks": 1 }, "topFiles": [ { "path": "lib/k8s/sandbox-manager.ts", "score": 21.2, "findingCount": 4 }, { "path": "lib/services/repoService.ts", "score": 10, "findingCount": 2 }, { "path": "lib/platform/control/commands/skill/enable-global-skill.test.ts", "score": 9.5, "findingCount": 2 }, { "path": "lib/platform/control/commands/skill/uninstall-global-skill.test.ts", "score": 9.5, "findingCount": 2 }, { "path": "components/terminal/xterm-terminal.tsx", "score": 9.2, "findingCount": 2 } ], "topDirectories": [] }, { "id": "openclaw", "repo": "openclaw/openclaw", "cohort": "explicit-ai", "ref": "44cf74717b4507245648a0263f3b0df85aa2a813", "summary": { "fileCount": 10465, "directoryCount": 423, "findingCount": 3136, "repoScore": 11239.19999999997, "physicalLineCount": 1939647, "logicalLineCount": 1031409, "functionCount": 40348, "normalized": { "scorePerFile": 1.073979933110365, "scorePerKloc": 10.896938072093581, "scorePerFunction": 0.2785565579458702, "findingsPerFile": 0.29966555183946486, "findingsPerKloc": 3.04050090701167, "findingsPerFunction": 0.0777238029146426 } }, "blendedScore": 6.910451841031872, "ruleCounts": { "tests.duplicate-mock-setup": 927, "structure.pass-through-wrappers": 618, "defensive.error-obscuring": 370, "api.generic-status-envelopes": 345, "defensive.promise-default-fallbacks": 335, "defensive.empty-catch": 322, "types.generic-record-casts": 123, "defensive.stringified-unknown-errors": 81, "defensive.error-swallowing": 15 }, "topFiles": [ { "path": "extensions/matrix/src/matrix/sdk.ts", "score": 35.5, "findingCount": 6 }, { "path": "extensions/zalouser/src/zalo-js.ts", "score": 27, "findingCount": 6 }, { "path": "src/config/io.ts", "score": 25.4, "findingCount": 5 }, { "path": "src/plugins/marketplace.ts", "score": 24.7, "findingCount": 6 }, { "path": "scripts/dev/discord-acp-plain-language-smoke.ts", "score": 22, "findingCount": 4 } ], "topDirectories": [] }, { "id": "emdash", "repo": "emdash-cms/emdash", "cohort": "explicit-ai", "ref": "dbaf8c6f857456b6a449e68d26c5000c1143fadb", "summary": { "fileCount": 1072, "directoryCount": 306, "findingCount": 237, "repoScore": 915.6999999999998, "physicalLineCount": 257938, "logicalLineCount": 120432, "functionCount": 3513, "normalized": { "scorePerFile": 0.8541977611940297, "scorePerKloc": 7.603460874186261, "scorePerFunction": 0.26066040421292336, "findingsPerFile": 0.22108208955223882, "findingsPerKloc": 1.967915504184934, "findingsPerFunction": 0.06746370623398805 } }, "blendedScore": 5.34967346171635, "ruleCounts": { "defensive.empty-catch": 40, "api.generic-status-envelopes": 39, "defensive.promise-default-fallbacks": 39, "defensive.error-obscuring": 27, "structure.pass-through-wrappers": 27, "tests.duplicate-mock-setup": 21, "defensive.stringified-unknown-errors": 20, "defensive.error-swallowing": 13, "types.generic-record-casts": 11 }, "topFiles": [ { "path": "packages/core/src/emdash-runtime.ts", "score": 37.7, "findingCount": 8 }, { "path": "packages/core/src/plugins/hooks.ts", "score": 28, "findingCount": 4 }, { "path": "packages/plugins/atproto/src/atproto.ts", "score": 22.5, "findingCount": 4 }, { "path": "packages/core/src/api/handlers/marketplace.ts", "score": 19, "findingCount": 3 }, { "path": "packages/plugins/atproto/src/sandbox-entry.ts", "score": 12, "findingCount": 2 } ], "topDirectories": [] }, { "id": "gstack", "repo": "garrytan/gstack", "cohort": "explicit-ai", "ref": "6cc094cd4190e3fac65b69fb29e0c3cae7e0f214", "summary": { "fileCount": 176, "directoryCount": 19, "findingCount": 99, "repoScore": 460.0999999999997, "physicalLineCount": 62616, "logicalLineCount": 18958, "functionCount": 832, "normalized": { "scorePerFile": 2.6142045454545437, "scorePerKloc": 24.269437704399184, "scorePerFunction": 0.5530048076923073, "findingsPerFile": 0.5625, "findingsPerKloc": 5.222069838590569, "findingsPerFunction": 0.11899038461538461 } }, "blendedScore": 13.39827789824512, "ruleCounts": { "defensive.empty-catch": 55, "defensive.error-obscuring": 19, "defensive.error-swallowing": 8, "defensive.promise-default-fallbacks": 7, "structure.pass-through-wrappers": 7, "api.generic-status-envelopes": 1, "defensive.stringified-unknown-errors": 1, "types.generic-record-casts": 1 }, "topFiles": [ { "path": "browse/src/server.ts", "score": 25.4, "findingCount": 4 }, { "path": "browse/src/browser-manager.ts", "score": 23.2, "findingCount": 4 }, { "path": "browse/src/sidebar-agent.ts", "score": 21.400000000000002, "findingCount": 4 }, { "path": "browse/src/write-commands.ts", "score": 17.6, "findingCount": 3 }, { "path": "extension/background.js", "score": 15.200000000000001, "findingCount": 2 } ], "topDirectories": [] }, { "id": "hunk", "repo": "modem-dev/hunk", "cohort": "explicit-ai", "ref": "b37663f3c3055f860290587865199192e15d9f35", "summary": { "fileCount": 166, "directoryCount": 36, "findingCount": 25, "repoScore": 75.4, "physicalLineCount": 32498, "logicalLineCount": 13564, "functionCount": 752, "normalized": { "scorePerFile": 0.45421686746987955, "scorePerKloc": 5.558832202890003, "scorePerFunction": 0.10026595744680852, "findingsPerFile": 0.15060240963855423, "findingsPerKloc": 1.8431141256266588, "findingsPerFunction": 0.03324468085106383 } }, "blendedScore": 3.2139013779721544, "ruleCounts": { "defensive.error-obscuring": 6, "structure.pass-through-wrappers": 6, "defensive.empty-catch": 4, "defensive.promise-default-fallbacks": 3, "defensive.stringified-unknown-errors": 2, "types.generic-record-casts": 2, "api.generic-status-envelopes": 1, "defensive.error-swallowing": 1 }, "topFiles": [ { "path": "test/session/broker-e2e.test.ts", "score": 11.7, "findingCount": 2 }, { "path": "src/core/updateNotice.ts", "score": 7.2, "findingCount": 3 }, { "path": "src/session/commands.ts", "score": 7, "findingCount": 1 }, { "path": "src/mcp/daemonLauncher.ts", "score": 6.200000000000001, "findingCount": 2 }, { "path": "src/ui/App.tsx", "score": 6, "findingCount": 2 } ], "topDirectories": [] }, { "id": "vinext", "repo": "cloudflare/vinext", "cohort": "explicit-ai", "ref": "28980b01f1692b47756a6768fc5733712c290f84", "summary": { "fileCount": 1129, "directoryCount": 486, "findingCount": 136, "repoScore": 449.79999999999995, "physicalLineCount": 150365, "logicalLineCount": 59523, "functionCount": 2917, "normalized": { "scorePerFile": 0.39840566873339234, "scorePerKloc": 7.556742771701694, "scorePerFunction": 0.15419952005485085, "findingsPerFile": 0.1204605845881311, "findingsPerKloc": 2.2848310737026023, "findingsPerFunction": 0.046623243057936234 } }, "blendedScore": 3.756547551060059, "ruleCounts": { "defensive.promise-default-fallbacks": 30, "structure.pass-through-wrappers": 29, "defensive.error-obscuring": 24, "tests.duplicate-mock-setup": 18, "defensive.empty-catch": 16, "defensive.stringified-unknown-errors": 11, "api.generic-status-envelopes": 5, "defensive.error-swallowing": 2, "types.generic-record-casts": 1 }, "topFiles": [ { "path": "tests/features.test.ts", "score": 21, "findingCount": 3 }, { "path": "packages/vinext/src/index.ts", "score": 15.4, "findingCount": 3 }, { "path": "packages/vinext/src/shims/navigation.ts", "score": 13.5, "findingCount": 3 }, { "path": "packages/vinext/src/server/prod-server.ts", "score": 13.2, "findingCount": 3 }, { "path": "packages/vinext/src/shims/cache.ts", "score": 10, "findingCount": 2 } ], "topDirectories": [] }, { "id": "agent-ci", "repo": "redwoodjs/agent-ci", "cohort": "explicit-ai", "ref": "4de00d69487e275d5bc37e30f7818a9303b22352", "summary": { "fileCount": 94, "directoryCount": 24, "findingCount": 31, "repoScore": 99.70000000000002, "physicalLineCount": 17222, "logicalLineCount": 8474, "functionCount": 220, "normalized": { "scorePerFile": 1.0606382978723405, "scorePerKloc": 11.765400047203212, "scorePerFunction": 0.45318181818181824, "findingsPerFile": 0.32978723404255317, "findingsPerKloc": 3.6582487609157424, "findingsPerFunction": 0.1409090909090909 } }, "blendedScore": 8.765234373695657, "ruleCounts": { "defensive.empty-catch": 18, "defensive.error-obscuring": 3, "defensive.error-swallowing": 3, "defensive.promise-default-fallbacks": 3, "tests.duplicate-mock-setup": 3, "api.generic-status-envelopes": 1 }, "topFiles": [ { "path": "packages/cli/src/runner/local-job.ts", "score": 14, "findingCount": 2 }, { "path": "packages/cli/src/docker/service-containers.ts", "score": 9, "findingCount": 2 }, { "path": "packages/cli/src/cli.ts", "score": 8, "findingCount": 2 }, { "path": "packages/cli/src/docker/shutdown.ts", "score": 8, "findingCount": 1 }, { "path": "packages/dtu-github-actions/src/server/routes/actions/index.ts", "score": 7.7, "findingCount": 2 } ], "topDirectories": [] }, { "id": "zustand", "repo": "pmndrs/zustand", "cohort": "mature-oss", "ref": "2e6d8813095c6a79ca208bae4c2cf5edc12049a1", "summary": { "fileCount": 48, "directoryCount": 15, "findingCount": 4, "repoScore": 9.7, "physicalLineCount": 8814, "logicalLineCount": 7096, "functionCount": 161, "normalized": { "scorePerFile": 0.2020833333333333, "scorePerKloc": 1.3669673055242388, "scorePerFunction": 0.06024844720496894, "findingsPerFile": 0.08333333333333333, "findingsPerKloc": 0.5636978579481398, "findingsPerFunction": 0.024844720496894408 } }, "blendedScore": 1.4465620294744423, "ruleCounts": { "defensive.empty-catch": 1, "defensive.error-obscuring": 1, "defensive.error-swallowing": 1, "structure.pass-through-wrappers": 1 }, "topFiles": [ { "path": "src/middleware/devtools.ts", "score": 4.7, "findingCount": 2 }, { "path": "src/middleware/persist.ts", "score": 3, "findingCount": 1 }, { "path": "examples/demo/src/utils/copy-to-clipboard.js", "score": 2, "findingCount": 1 } ], "topDirectories": [] }, { "id": "payload", "repo": "payloadcms/payload", "cohort": "mature-oss", "ref": "f3f36d801010f3c95ae74655ff22a09ea66ab1ac", "summary": { "fileCount": 4234, "directoryCount": 1837, "findingCount": 101, "repoScore": 308.70000000000005, "physicalLineCount": 384327, "logicalLineCount": 251992, "functionCount": 3544, "normalized": { "scorePerFile": 0.07290977798771849, "scorePerKloc": 1.2250388901234963, "scorePerFunction": 0.08710496613995487, "findingsPerFile": 0.023854511100614078, "findingsPerKloc": 0.4008063748055494, "findingsPerFunction": 0.02849887133182844 } }, "blendedScore": 1, "ruleCounts": { "defensive.error-swallowing": 29, "defensive.error-obscuring": 28, "defensive.empty-catch": 21, "structure.pass-through-wrappers": 13, "tests.duplicate-mock-setup": 6, "defensive.promise-default-fallbacks": 3, "api.generic-status-envelopes": 1 }, "topFiles": [ { "path": "packages/ui/src/providers/ServerFunctions/index.tsx", "score": 8, "findingCount": 1 }, { "path": "packages/ui/src/utilities/abortAndIgnore.ts", "score": 7, "findingCount": 1 }, { "path": "packages/ui/src/providers/DocumentInfo/index.tsx", "score": 6.5, "findingCount": 2 }, { "path": "packages/create-payload-app/src/lib/update-payload-in-project.ts", "score": 6, "findingCount": 1 }, { "path": "test/live-preview/app/live-preview/(pages)/[slug]/page.tsx", "score": 6, "findingCount": 2 } ], "topDirectories": [] }, { "id": "node-notifier", "repo": "mikaelbr/node-notifier", "cohort": "mature-oss", "ref": "b36c237f0d913f9df3a2bd45adc08b33ff717f6a", "summary": { "fileCount": 24, "directoryCount": 5, "findingCount": 1, "repoScore": 1.9000000000000001, "physicalLineCount": 2716, "logicalLineCount": 2114, "functionCount": 42, "normalized": { "scorePerFile": 0.07916666666666668, "scorePerKloc": 0.8987701040681174, "scorePerFunction": 0.045238095238095244, "findingsPerFile": 0.041666666666666664, "findingsPerKloc": 0.4730368968779565, "findingsPerFunction": 0.023809523809523808 } }, "blendedScore": 0.9450825271508594, "ruleCounts": { "defensive.empty-catch": 1 }, "topFiles": [ { "path": "lib/utils.js", "score": 1.9000000000000001, "findingCount": 1 } ], "topDirectories": [] }, { "id": "tsup", "repo": "egoist/tsup", "cohort": "mature-oss", "ref": "cd03e1e00ec2bd6676ae1837cbc7e618ab6a2362", "summary": { "fileCount": 46, "directoryCount": 8, "findingCount": 3, "repoScore": 7, "physicalLineCount": 6456, "logicalLineCount": 2668, "functionCount": 140, "normalized": { "scorePerFile": 0.15217391304347827, "scorePerKloc": 2.623688155922039, "scorePerFunction": 0.05, "findingsPerFile": 0.06521739130434782, "findingsPerKloc": 1.1244377811094453, "findingsPerFunction": 0.02142857142857143 } }, "blendedScore": 1.566873209331136, "ruleCounts": { "structure.pass-through-wrappers": 2, "defensive.error-obscuring": 1 }, "topFiles": [ { "path": "src/utils.ts", "score": 5, "findingCount": 2 }, { "path": "src/load.ts", "score": 2, "findingCount": 1 } ], "topDirectories": [] }, { "id": "execa", "repo": "sindresorhus/execa", "cohort": "mature-oss", "ref": "99d1741d2525eca71b986282148bbf2983356428", "summary": { "fileCount": 580, "directoryCount": 46, "findingCount": 13, "repoScore": 50.9, "physicalLineCount": 35995, "logicalLineCount": 20374, "functionCount": 1007, "normalized": { "scorePerFile": 0.08775862068965518, "scorePerKloc": 2.498282124276038, "scorePerFunction": 0.05054617676266137, "findingsPerFile": 0.022413793103448276, "findingsPerKloc": 0.638068126042996, "findingsPerFunction": 0.012909632571996028 } }, "blendedScore": 0.9941091789864296, "ruleCounts": { "defensive.empty-catch": 11, "defensive.error-obscuring": 1, "defensive.promise-default-fallbacks": 1 }, "topFiles": [ { "path": "lib/convert/shared.js", "score": 7, "findingCount": 1 }, { "path": "lib/io/pipeline.js", "score": 7, "findingCount": 1 }, { "path": "lib/ipc/ipc-input.js", "score": 5, "findingCount": 1 }, { "path": "lib/convert/readable.js", "score": 3.5, "findingCount": 1 }, { "path": "lib/io/iterate.js", "score": 3.5, "findingCount": 1 } ], "topDirectories": [] }, { "id": "hyper", "repo": "vercel/hyper", "cohort": "mature-oss", "ref": "2a7bb18259d975f27b30b502af1be7576f6f5656", "summary": { "fileCount": 113, "directoryCount": 21, "findingCount": 17, "repoScore": 71.60000000000001, "physicalLineCount": 162735, "logicalLineCount": 65075, "functionCount": 5354, "normalized": { "scorePerFile": 0.6336283185840709, "scorePerKloc": 1.1002689204763736, "scorePerFunction": 0.013373178931639897, "findingsPerFile": 0.1504424778761062, "findingsPerKloc": 0.2612370341913177, "findingsPerFunction": 0.003175196115054165 } }, "blendedScore": 0.9048406046474513, "ruleCounts": { "defensive.error-swallowing": 8, "structure.pass-through-wrappers": 5, "defensive.empty-catch": 3, "defensive.error-obscuring": 1 }, "topFiles": [ { "path": "bin/yarn-standalone.js", "score": 24, "findingCount": 4 }, { "path": "app/plugins.ts", "score": 8.5, "findingCount": 3 }, { "path": "bin/rimraf-standalone.js", "score": 8.5, "findingCount": 2 }, { "path": "app/utils/system-context-menu.ts", "score": 8, "findingCount": 1 }, { "path": "lib/components/term.tsx", "score": 6, "findingCount": 1 } ], "topDirectories": [] }, { "id": "umami", "repo": "umami-software/umami", "cohort": "mature-oss", "ref": "227b2554b4a373e63ceb7f48decdc60c8d3e6eaf", "summary": { "fileCount": 512, "directoryCount": 87, "findingCount": 11, "repoScore": 30.3, "physicalLineCount": 29677, "logicalLineCount": 20508, "functionCount": 911, "normalized": { "scorePerFile": 0.0591796875, "scorePerKloc": 1.4774722059684027, "scorePerFunction": 0.03326015367727772, "findingsPerFile": 0.021484375, "findingsPerKloc": 0.5363760483713673, "findingsPerFunction": 0.012074643249176729 } }, "blendedScore": 0.7588021389046449, "ruleCounts": { "defensive.empty-catch": 4, "defensive.error-obscuring": 4, "structure.pass-through-wrappers": 3 }, "topFiles": [ { "path": "src/lib/auth.ts", "score": 5, "findingCount": 2 }, { "path": "scripts/check-db.js", "score": 4.4, "findingCount": 2 }, { "path": "src/lib/params.ts", "score": 4, "findingCount": 1 }, { "path": "src/lib/filters.ts", "score": 3.5, "findingCount": 1 }, { "path": "src/queries/analytics/reports/getUTM.ts", "score": 3.5, "findingCount": 1 } ], "topDirectories": [] }, { "id": "vite", "repo": "vitejs/vite", "cohort": "mature-oss", "ref": "a4922537a8d705da7769d30626a0d846511fc124", "summary": { "fileCount": 1229, "directoryCount": 525, "findingCount": 52, "repoScore": 149.70000000000002, "physicalLineCount": 77629, "logicalLineCount": 37251, "functionCount": 1904, "normalized": { "scorePerFile": 0.12180634662327097, "scorePerKloc": 4.018684062172828, "scorePerFunction": 0.07862394957983194, "findingsPerFile": 0.04231082180634662, "findingsPerKloc": 1.3959356795790718, "findingsPerFunction": 0.0273109243697479 } }, "blendedScore": 1.7556654238671972, "ruleCounts": { "structure.pass-through-wrappers": 25, "defensive.empty-catch": 13, "defensive.error-swallowing": 6, "defensive.error-obscuring": 5, "defensive.promise-default-fallbacks": 3 }, "topFiles": [ { "path": "packages/vite/src/node/server/pluginContainer.ts", "score": 8.8, "findingCount": 2 }, { "path": "packages/vite/src/node/utils.ts", "score": 7.9, "findingCount": 2 }, { "path": "packages/vite/bin/vite.js", "score": 7, "findingCount": 1 }, { "path": "playground/test-utils.ts", "score": 6.5, "findingCount": 2 }, { "path": "packages/vite/src/node/optimizer/index.ts", "score": 5.800000000000001, "findingCount": 2 } ], "topDirectories": [] }, { "id": "astro", "repo": "withastro/astro", "cohort": "mature-oss", "ref": "f7068995aa451dced13853789b0d51433c2373b5", "summary": { "fileCount": 1949, "directoryCount": 852, "findingCount": 107, "repoScore": 314.8999999999999, "physicalLineCount": 138854, "logicalLineCount": 80948, "functionCount": 3018, "normalized": { "scorePerFile": 0.16157003591585425, "scorePerKloc": 3.8901517023274192, "scorePerFunction": 0.10434062292909209, "findingsPerFile": 0.05489994869163674, "findingsPerKloc": 1.3218362405494886, "findingsPerFunction": 0.03545394300861498 } }, "blendedScore": 2.074024704430854, "ruleCounts": { "defensive.empty-catch": 39, "defensive.error-obscuring": 26, "structure.pass-through-wrappers": 24, "defensive.promise-default-fallbacks": 9, "defensive.error-swallowing": 7, "api.generic-status-envelopes": 1, "defensive.stringified-unknown-errors": 1 }, "topFiles": [ { "path": "packages/astro/src/core/session.ts", "score": 14.5, "findingCount": 3 }, { "path": "packages/astro/src/content/utils.ts", "score": 10.5, "findingCount": 2 }, { "path": "packages/astro/src/core/errors/dev/utils.ts", "score": 10, "findingCount": 2 }, { "path": "packages/astro/src/content/mutable-data-store.ts", "score": 9.9, "findingCount": 2 }, { "path": "packages/astro/src/core/dev/dev.ts", "score": 8.7, "findingCount": 4 } ], "topDirectories": [] } ], "cohorts": { "explicit-ai": { "repoCount": 9, "medians": { "scorePerFile": 1.073979933110365, "scorePerKloc": 10.896938072093581, "scorePerFunction": 0.2785565579458702, "findingsPerFile": 0.2949640287769784, "findingsPerKloc": 3.04050090701167, "findingsPerFunction": 0.0835030549898167 }, "blendedScoreMedian": 6.910451841031872 }, "mature-oss": { "repoCount": 9, "medians": { "scorePerFile": 0.12180634662327097, "scorePerKloc": 1.4774722059684027, "scorePerFunction": 0.05054617676266137, "findingsPerFile": 0.04231082180634662, "findingsPerKloc": 0.5636978579481398, "findingsPerFunction": 0.023809523809523808 }, "blendedScoreMedian": 1 } }, "pairings": [ { "aiRepoId": "devworkbench", "solidRepoId": "hyper", "notes": "GUI-oriented TypeScript app vs older terminal/desktop-style TS app.", "ratios": { "scorePerFile": 1.9875611033519553, "scorePerKloc": 12.26637951034062, "scorePerFunction": 20.499961995971574, "findingsPerFile": 3.1158088235294117, "findingsPerKloc": 19.229443284346555, "findingsPerFunction": 32.13685474189676 } }, { "aiRepoId": "openusage", "solidRepoId": "umami", "notes": "Full-stack analytics-adjacent SaaS-style app comparison and negative control.", "ratios": { "scorePerFile": 20.629769451765316, "scorePerKloc": 5.157536445157762, "scorePerFunction": 10.391448717173141, "findingsPerFile": 13.729234793982995, "findingsPerKloc": 3.4323713107727474, "findingsPerFunction": 6.915571190520273 } }, { "aiRepoId": "vinext", "solidRepoId": "vite", "notes": "AI-built Vite-based framework layer vs the mature Vite baseline.", "ratios": { "scorePerFile": 3.270812069962185, "scorePerKloc": 1.8804023045334655, "scorePerFunction": 1.9612283646254909, "findingsPerFile": 2.847039585746406, "findingsPerKloc": 1.6367738908941467, "findingsPerFunction": 1.707127976582896 } } ] }