@dailephd/my-dev-kit-lab 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (250) hide show
  1. package/README.md +272 -0
  2. package/benchmarks/contracts/benchmark-project-profiles.json +1199 -0
  3. package/benchmarks/contracts/todo-behavior.md +70 -0
  4. package/benchmarks/contracts/todo-benchmark-case.json +227 -0
  5. package/benchmarks/projects/README.md +34 -0
  6. package/benchmarks/projects/task-analytics-large-mixed/README.md +1 -0
  7. package/benchmarks/projects/task-analytics-large-mixed/py/task_analytics/__init__.py +3 -0
  8. package/benchmarks/projects/task-analytics-large-mixed/py/task_analytics/fixtures.py +6 -0
  9. package/benchmarks/projects/task-analytics-large-mixed/py/task_analytics/metrics.py +29 -0
  10. package/benchmarks/projects/task-analytics-large-mixed/py/task_analytics/models.py +21 -0
  11. package/benchmarks/projects/task-analytics-large-mixed/py/task_analytics/parser.py +16 -0
  12. package/benchmarks/projects/task-analytics-large-mixed/py/task_analytics/pipeline.py +9 -0
  13. package/benchmarks/projects/task-analytics-large-mixed/py/task_analytics/quality.py +8 -0
  14. package/benchmarks/projects/task-analytics-large-mixed/py/task_analytics/reporting.py +11 -0
  15. package/benchmarks/projects/task-analytics-large-mixed/py/tests/test_metrics.py +19 -0
  16. package/benchmarks/projects/task-analytics-large-mixed/py/tests/test_parser.py +15 -0
  17. package/benchmarks/projects/task-analytics-large-mixed/py/tests/test_quality.py +19 -0
  18. package/benchmarks/projects/task-analytics-large-mixed/py/tests/test_reporting.py +15 -0
  19. package/benchmarks/projects/task-analytics-large-mixed/ts/package.json +12 -0
  20. package/benchmarks/projects/task-analytics-large-mixed/ts/src/index.ts +11 -0
  21. package/benchmarks/projects/task-analytics-large-mixed/ts/src/models/analyticsSnapshot.ts +20 -0
  22. package/benchmarks/projects/task-analytics-large-mixed/ts/src/models/project.ts +5 -0
  23. package/benchmarks/projects/task-analytics-large-mixed/ts/src/models/task.ts +10 -0
  24. package/benchmarks/projects/task-analytics-large-mixed/ts/src/reporting/buildProjectLeaderboard.ts +7 -0
  25. package/benchmarks/projects/task-analytics-large-mixed/ts/src/reporting/formatTaskHealthReport.ts +13 -0
  26. package/benchmarks/projects/task-analytics-large-mixed/ts/src/services/buildAnalyticsSnapshot.ts +39 -0
  27. package/benchmarks/projects/task-analytics-large-mixed/ts/src/services/completeTask.ts +10 -0
  28. package/benchmarks/projects/task-analytics-large-mixed/ts/src/services/createTask.ts +21 -0
  29. package/benchmarks/projects/task-analytics-large-mixed/ts/src/services/listTasksByProject.ts +6 -0
  30. package/benchmarks/projects/task-analytics-large-mixed/ts/src/store/projectStore.ts +20 -0
  31. package/benchmarks/projects/task-analytics-large-mixed/ts/src/store/taskStore.ts +44 -0
  32. package/benchmarks/projects/task-analytics-large-mixed/ts/src/validation/projectValidation.ts +12 -0
  33. package/benchmarks/projects/task-analytics-large-mixed/ts/src/validation/taskValidation.ts +18 -0
  34. package/benchmarks/projects/task-analytics-large-mixed/ts/tests/buildAnalyticsSnapshot.test.ts +48 -0
  35. package/benchmarks/projects/task-analytics-large-mixed/ts/tests/completeTask.test.ts +21 -0
  36. package/benchmarks/projects/task-analytics-large-mixed/ts/tests/createTask.test.ts +31 -0
  37. package/benchmarks/projects/task-analytics-large-mixed/ts/tests/listTasksByProject.test.ts +18 -0
  38. package/benchmarks/projects/task-analytics-large-mixed/ts/tests/reporting.test.ts +19 -0
  39. package/benchmarks/projects/task-analytics-large-mixed/ts/tsconfig.json +12 -0
  40. package/benchmarks/projects/task-analytics-large-mixed/ts/vitest.config.ts +5 -0
  41. package/benchmarks/projects/task-workflow-medium-ts/README.md +1 -0
  42. package/benchmarks/projects/task-workflow-medium-ts/package.json +12 -0
  43. package/benchmarks/projects/task-workflow-medium-ts/src/index.ts +9 -0
  44. package/benchmarks/projects/task-workflow-medium-ts/src/models/project.ts +6 -0
  45. package/benchmarks/projects/task-workflow-medium-ts/src/models/task.ts +39 -0
  46. package/benchmarks/projects/task-workflow-medium-ts/src/services/completeTask.ts +15 -0
  47. package/benchmarks/projects/task-workflow-medium-ts/src/services/createTask.ts +26 -0
  48. package/benchmarks/projects/task-workflow-medium-ts/src/services/filterTasks.ts +17 -0
  49. package/benchmarks/projects/task-workflow-medium-ts/src/services/importTasks.ts +33 -0
  50. package/benchmarks/projects/task-workflow-medium-ts/src/services/summarizeTasks.ts +30 -0
  51. package/benchmarks/projects/task-workflow-medium-ts/src/store/taskStore.ts +76 -0
  52. package/benchmarks/projects/task-workflow-medium-ts/src/utils/deterministicId.ts +3 -0
  53. package/benchmarks/projects/task-workflow-medium-ts/src/validation/taskValidation.ts +45 -0
  54. package/benchmarks/projects/task-workflow-medium-ts/tests/completeTask.test.ts +16 -0
  55. package/benchmarks/projects/task-workflow-medium-ts/tests/createTask.test.ts +21 -0
  56. package/benchmarks/projects/task-workflow-medium-ts/tests/filterTasks.test.ts +18 -0
  57. package/benchmarks/projects/task-workflow-medium-ts/tests/importTasks.test.ts +22 -0
  58. package/benchmarks/projects/task-workflow-medium-ts/tests/summarizeTasks.test.ts +29 -0
  59. package/benchmarks/projects/task-workflow-medium-ts/tsconfig.json +12 -0
  60. package/benchmarks/projects/task-workflow-medium-ts/vitest.config.ts +5 -0
  61. package/benchmarks/projects/todo-js/README.md +3 -0
  62. package/benchmarks/projects/todo-js/package.json +11 -0
  63. package/benchmarks/projects/todo-js/src/index.js +2 -0
  64. package/benchmarks/projects/todo-js/src/taskService.js +37 -0
  65. package/benchmarks/projects/todo-js/src/taskStore.js +28 -0
  66. package/benchmarks/projects/todo-js/tests/taskService.test.js +45 -0
  67. package/benchmarks/projects/todo-js/vitest.config.js +5 -0
  68. package/benchmarks/projects/todo-mixed-ts-py/README.md +3 -0
  69. package/benchmarks/projects/todo-mixed-ts-py/package.json +13 -0
  70. package/benchmarks/projects/todo-mixed-ts-py/python/task_service.py +76 -0
  71. package/benchmarks/projects/todo-mixed-ts-py/src/taskCli.ts +38 -0
  72. package/benchmarks/projects/todo-mixed-ts-py/tests/mixedBoundary.test.ts +18 -0
  73. package/benchmarks/projects/todo-mixed-ts-py/tsconfig.json +12 -0
  74. package/benchmarks/projects/todo-mixed-ts-py/vitest.config.ts +5 -0
  75. package/benchmarks/projects/todo-python/README.md +3 -0
  76. package/benchmarks/projects/todo-python/src/__init__.py +4 -0
  77. package/benchmarks/projects/todo-python/src/task_service.py +32 -0
  78. package/benchmarks/projects/todo-python/src/task_store.py +28 -0
  79. package/benchmarks/projects/todo-python/tests/test_task_service.py +52 -0
  80. package/benchmarks/projects/todo-ts/README.md +3 -0
  81. package/benchmarks/projects/todo-ts/package.json +12 -0
  82. package/benchmarks/projects/todo-ts/src/index.ts +2 -0
  83. package/benchmarks/projects/todo-ts/src/taskService.ts +41 -0
  84. package/benchmarks/projects/todo-ts/src/taskStore.ts +34 -0
  85. package/benchmarks/projects/todo-ts/tests/taskService.test.ts +45 -0
  86. package/benchmarks/projects/todo-ts/tsconfig.json +12 -0
  87. package/benchmarks/projects/todo-ts/vitest.config.ts +5 -0
  88. package/dist/scripts/build-gallery.js +3 -0
  89. package/dist/scripts/capture-demo-report.js +3 -0
  90. package/dist/scripts/evaluate-token-savings.js +2 -0
  91. package/dist/scripts/experiments/describeExperiment.js +143 -0
  92. package/dist/scripts/experiments/listExperiments.js +44 -0
  93. package/dist/scripts/experiments/runExperiment.js +199 -0
  94. package/dist/scripts/generate-experiment-plots.js +3 -0
  95. package/dist/scripts/generate-prompt-variants.js +2 -0
  96. package/dist/scripts/render-experiment-report.js +2 -0
  97. package/dist/scripts/run-agent-prompt.js +2 -0
  98. package/dist/scripts/run-controlled-experiment.js +2 -0
  99. package/dist/scripts/run-final-demo.js +3 -0
  100. package/dist/scripts/run-lab-demo.js +5 -0
  101. package/dist/scripts/run-visualization-demos.js +3 -0
  102. package/dist/scripts/security/runCodeql.js +57 -0
  103. package/dist/scripts/security/runDependencyChecks.js +57 -0
  104. package/dist/scripts/security/runFuzzSmoke.js +29 -0
  105. package/dist/scripts/security/runPackageChecks.js +56 -0
  106. package/dist/scripts/security/runSemgrep.js +63 -0
  107. package/dist/scripts/security/validate.js +117 -0
  108. package/dist/scripts/verify-benchmarks.js +202 -0
  109. package/dist/src/agents/adapters/claudeAdapter.js +37 -0
  110. package/dist/src/agents/adapters/codexAdapter.js +110 -0
  111. package/dist/src/agents/adapters/fakeAgentAdapter.js +101 -0
  112. package/dist/src/agents/agentRegistry.js +21 -0
  113. package/dist/src/agents/index.js +7 -0
  114. package/dist/src/agents/parseAgentTokenUsage.js +137 -0
  115. package/dist/src/agents/runAgentPrompt.js +38 -0
  116. package/dist/src/agents/types.js +1 -0
  117. package/dist/src/commands/buildGalleryCommand.js +56 -0
  118. package/dist/src/commands/captureDemoReport.js +116 -0
  119. package/dist/src/commands/evaluateTokenSavings.js +175 -0
  120. package/dist/src/commands/generateExperimentPlotsCommand.js +38 -0
  121. package/dist/src/commands/generatePromptVariants.js +67 -0
  122. package/dist/src/commands/renderExperimentReportCommand.js +131 -0
  123. package/dist/src/commands/runAgentPromptCommand.js +132 -0
  124. package/dist/src/commands/runControlledExperimentCommand.js +174 -0
  125. package/dist/src/commands/runFinalDemoCommand.js +123 -0
  126. package/dist/src/commands/runLabDemo.js +62 -0
  127. package/dist/src/commands/runVisualizationDemosCommand.js +67 -0
  128. package/dist/src/core/commandLine.js +59 -0
  129. package/dist/src/core/countTokens.js +8 -0
  130. package/dist/src/core/fileGlobs.js +100 -0
  131. package/dist/src/core/localProjectTarget.js +75 -0
  132. package/dist/src/core/pathSafety.js +19 -0
  133. package/dist/src/core/pythonCommand.js +30 -0
  134. package/dist/src/core/resolveCommand.js +110 -0
  135. package/dist/src/core/runMeasuredCommand.js +143 -0
  136. package/dist/src/evaluation/benchmarkMetadata.js +207 -0
  137. package/dist/src/evaluation/buildExperimentMatrix.js +75 -0
  138. package/dist/src/evaluation/classifyAgentRunOutcome.js +40 -0
  139. package/dist/src/evaluation/compareExperimentRuns.js +79 -0
  140. package/dist/src/evaluation/compareTokenSavings.js +47 -0
  141. package/dist/src/evaluation/controlledExperimentTypes.js +1 -0
  142. package/dist/src/evaluation/index.js +18 -0
  143. package/dist/src/evaluation/parseAgentAnswer.js +230 -0
  144. package/dist/src/evaluation/projectComplexity.js +126 -0
  145. package/dist/src/evaluation/projectFileTree.js +83 -0
  146. package/dist/src/evaluation/readEvaluationCases.js +59 -0
  147. package/dist/src/evaluation/renderTokenSavingsReportInput.js +55 -0
  148. package/dist/src/evaluation/runControlledExperiment.js +158 -0
  149. package/dist/src/evaluation/runMyDevKitRetrieval.js +197 -0
  150. package/dist/src/evaluation/runRawFullFileBaseline.js +31 -0
  151. package/dist/src/evaluation/scoreCorrectness.js +127 -0
  152. package/dist/src/evaluation/types.js +1 -0
  153. package/dist/src/evaluation/writeExperimentArtifacts.js +104 -0
  154. package/dist/src/evaluation/writeTokenSavingsArtifacts.js +57 -0
  155. package/dist/src/experiments/config.js +24 -0
  156. package/dist/src/experiments/defaultRegistry.js +7 -0
  157. package/dist/src/experiments/errors.js +18 -0
  158. package/dist/src/experiments/index.js +9 -0
  159. package/dist/src/experiments/outputPaths.js +25 -0
  160. package/dist/src/experiments/plugins/contextStrategyComparison/config.js +37 -0
  161. package/dist/src/experiments/plugins/contextStrategyComparison/index.js +3 -0
  162. package/dist/src/experiments/plugins/contextStrategyComparison/plugin.js +83 -0
  163. package/dist/src/experiments/plugins/contextStrategyComparison/resultMapping.js +260 -0
  164. package/dist/src/experiments/plugins/index.js +1 -0
  165. package/dist/src/experiments/registry.js +43 -0
  166. package/dist/src/experiments/results.js +48 -0
  167. package/dist/src/experiments/runner.js +181 -0
  168. package/dist/src/experiments/target.js +8 -0
  169. package/dist/src/experiments/types.js +1 -0
  170. package/dist/src/gallery/index.js +2 -0
  171. package/dist/src/gallery/types.js +1 -0
  172. package/dist/src/gallery/writeGalleryManifest.js +214 -0
  173. package/dist/src/index.js +12 -0
  174. package/dist/src/plots/buildExperimentPlotData.js +137 -0
  175. package/dist/src/plots/index.js +4 -0
  176. package/dist/src/plots/renderSvgChart.js +82 -0
  177. package/dist/src/plots/types.js +1 -0
  178. package/dist/src/plots/writePlotArtifacts.js +46 -0
  179. package/dist/src/prompts/buildPromptContext.js +68 -0
  180. package/dist/src/prompts/generateMyDevKitPrompt.js +106 -0
  181. package/dist/src/prompts/generatePromptVariants.js +36 -0
  182. package/dist/src/prompts/generateRawFullFilePrompt.js +97 -0
  183. package/dist/src/prompts/index.js +7 -0
  184. package/dist/src/prompts/measurePromptComplexity.js +41 -0
  185. package/dist/src/prompts/types.js +1 -0
  186. package/dist/src/prompts/writePromptArtifacts.js +43 -0
  187. package/dist/src/report/buildExperimentReportInput.js +339 -0
  188. package/dist/src/report/experimentReportTypes.js +1 -0
  189. package/dist/src/report/experiments/buildPluginExperimentReport.js +153 -0
  190. package/dist/src/report/experiments/experimentReportModel.js +1 -0
  191. package/dist/src/report/experiments/index.js +4 -0
  192. package/dist/src/report/experiments/renderPluginExperimentReportHtml.js +133 -0
  193. package/dist/src/report/experiments/writePluginExperimentReports.js +30 -0
  194. package/dist/src/report/index.js +8 -0
  195. package/dist/src/report/renderExperimentHtmlReport.js +354 -0
  196. package/dist/src/report/renderHtmlReport.js +103 -0
  197. package/dist/src/report/types.js +10 -0
  198. package/dist/src/report/writeExperimentReportArtifacts.js +38 -0
  199. package/dist/src/report/writeReportArtifacts.js +39 -0
  200. package/dist/src/screenshot/captureReportScreenshot.js +75 -0
  201. package/dist/src/screenshot/index.js +2 -0
  202. package/dist/src/screenshot/types.js +1 -0
  203. package/dist/src/securityValidation/artifacts.js +15 -0
  204. package/dist/src/securityValidation/cliAdversarial/adversarialCliConfig.js +38 -0
  205. package/dist/src/securityValidation/cliAdversarial/dataVolumeChecks.js +194 -0
  206. package/dist/src/securityValidation/cliAdversarial/jsonStdoutChecks.js +359 -0
  207. package/dist/src/securityValidation/cliAdversarial/malformedArtifactChecks.js +284 -0
  208. package/dist/src/securityValidation/cliAdversarial/malformedArtifactFixtures.js +79 -0
  209. package/dist/src/securityValidation/cliAdversarial/pathBoundaryChecks.js +431 -0
  210. package/dist/src/securityValidation/cliAdversarial/pathCases.js +144 -0
  211. package/dist/src/securityValidation/cliAdversarial/readOnlyBoundaryChecks.js +294 -0
  212. package/dist/src/securityValidation/cliAdversarial/runAdversarialCheck.js +149 -0
  213. package/dist/src/securityValidation/cliAdversarial/subprocessSafetyChecks.js +214 -0
  214. package/dist/src/securityValidation/cliAdversarial/tempWorkspace.js +160 -0
  215. package/dist/src/securityValidation/commandRunner.js +136 -0
  216. package/dist/src/securityValidation/config.js +39 -0
  217. package/dist/src/securityValidation/dependencies/parseNpmAudit.js +115 -0
  218. package/dist/src/securityValidation/dependencies/parseNpmLs.js +71 -0
  219. package/dist/src/securityValidation/dependencies/parseNpmOutdated.js +41 -0
  220. package/dist/src/securityValidation/dependencies/runDependencyChecks.js +239 -0
  221. package/dist/src/securityValidation/dependencies/runOsvScanner.js +43 -0
  222. package/dist/src/securityValidation/fuzz/fuzzHarness.js +61 -0
  223. package/dist/src/securityValidation/fuzz/fuzzTargets.js +204 -0
  224. package/dist/src/securityValidation/fuzz/randomInput.js +0 -0
  225. package/dist/src/securityValidation/index.js +34 -0
  226. package/dist/src/securityValidation/packageChecks/forbiddenPackageContents.js +67 -0
  227. package/dist/src/securityValidation/packageChecks/parseNpmPackDryRun.js +56 -0
  228. package/dist/src/securityValidation/packageChecks/runPackageChecks.js +88 -0
  229. package/dist/src/securityValidation/report/renderSecurityReport.js +248 -0
  230. package/dist/src/securityValidation/report/securityReportTypes.js +1 -0
  231. package/dist/src/securityValidation/staticScans/codeql.js +66 -0
  232. package/dist/src/securityValidation/staticScans/semgrep.js +180 -0
  233. package/dist/src/securityValidation/testMatrix.js +535 -0
  234. package/dist/src/securityValidation/types.js +34 -0
  235. package/dist/src/securityValidation/validate/resolveTarget.js +32 -0
  236. package/dist/src/securityValidation/validate/runSecurityValidation.js +169 -0
  237. package/dist/src/securityValidation/validate/verdict.js +73 -0
  238. package/dist/src/visualizationDemos/buildMyDevKitVisualizationCommands.js +59 -0
  239. package/dist/src/visualizationDemos/index.js +4 -0
  240. package/dist/src/visualizationDemos/runVisualizationDemos.js +82 -0
  241. package/dist/src/visualizationDemos/types.js +1 -0
  242. package/dist/src/visualizationDemos/writeVisualizationDemoArtifacts.js +25 -0
  243. package/docs/METRICS.md +286 -0
  244. package/examples/demo-report-input.json +78 -0
  245. package/examples/lab-demo-cases.json +35 -0
  246. package/examples/real-agent-campaign-cases.json +118 -0
  247. package/examples/token-savings-cases.json +122 -0
  248. package/package.json +91 -0
  249. package/tests/fixtures/fake-adversarial-cli.js +152 -0
  250. package/tests/fixtures/fake-my-dev-kit-cli.js +83 -0
@@ -0,0 +1,1199 @@
1
+ {
2
+ "schemaVersion": "1",
3
+ "profiles": [
4
+ {
5
+ "projectId": "todo-ts",
6
+ "displayName": "Todo TypeScript",
7
+ "description": "TypeScript Todo Core implementation.",
8
+ "languageMix": "single-language TypeScript",
9
+ "primaryLanguage": "typescript",
10
+ "languages": [
11
+ "typescript"
12
+ ],
13
+ "complexityLevel": "small",
14
+ "rootPath": "benchmarks/projects/todo-ts",
15
+ "sourceRoots": [
16
+ "src"
17
+ ],
18
+ "testRoots": [
19
+ "tests"
20
+ ],
21
+ "benchmarkPurpose": "Baseline TypeScript retrieval fixture.",
22
+ "expectedUseCases": [
23
+ "token-savings retrieval evaluation",
24
+ "prompt strategy comparison",
25
+ "answer-key correctness scoring"
26
+ ],
27
+ "taskStats": {
28
+ "taskCount": 5,
29
+ "expectedRelevantFilesAverage": 1.2,
30
+ "expectedRelevantSymbolsAverage": 2.4
31
+ },
32
+ "complexityScore": 12,
33
+ "complexityMetrics": {
34
+ "fileCount": 8,
35
+ "sourceFileCount": 3,
36
+ "testFileCount": 1,
37
+ "totalLinesOfCode": 105,
38
+ "sourceLinesOfCode": 66,
39
+ "testLinesOfCode": 39,
40
+ "languageCount": 1,
41
+ "dependencyFileCount": 1,
42
+ "internalImportCount": 1,
43
+ "exportedSymbolEstimate": 4,
44
+ "taskCount": 5,
45
+ "expectedRelevantFilesAverage": 1.2,
46
+ "expectedRelevantSymbolsAverage": 2.4,
47
+ "maxFileLines": 46,
48
+ "averageFileLines": 31.5,
49
+ "packageDependencyCount": 2,
50
+ "functionOrClassEstimate": 2
51
+ },
52
+ "complexityFormula": {
53
+ "id": "benchmark-project-complexity-v1",
54
+ "description": "Weighted score using capped normalized source files, source lines, language count, internal imports, max file lines, expected relevant files, and expected relevant symbols.",
55
+ "scoreRange": [
56
+ 0,
57
+ 100
58
+ ],
59
+ "normalizedValue": "min(value / cap, 1)",
60
+ "weights": {
61
+ "sourceFileCount": 0.2,
62
+ "sourceLinesOfCode": 0.2,
63
+ "languageCount": 0.15,
64
+ "internalImportCount": 0.15,
65
+ "maxFileLines": 0.1,
66
+ "expectedRelevantFilesAverage": 0.1,
67
+ "expectedRelevantSymbolsAverage": 0.1
68
+ },
69
+ "caps": {
70
+ "sourceFileCount": 20,
71
+ "sourceLinesOfCode": 2000,
72
+ "languageCount": 4,
73
+ "internalImportCount": 50,
74
+ "maxFileLines": 300,
75
+ "expectedRelevantFilesAverage": 10,
76
+ "expectedRelevantSymbolsAverage": 20
77
+ }
78
+ },
79
+ "fileTree": {
80
+ "entries": [
81
+ {
82
+ "path": "package.json",
83
+ "kind": "file",
84
+ "role": "config",
85
+ "language": "json",
86
+ "lines": 13
87
+ },
88
+ {
89
+ "path": "README.md",
90
+ "kind": "file",
91
+ "role": "docs",
92
+ "language": "markdown",
93
+ "lines": 4
94
+ },
95
+ {
96
+ "path": "src",
97
+ "kind": "directory",
98
+ "role": "source"
99
+ },
100
+ {
101
+ "path": "src/index.ts",
102
+ "kind": "file",
103
+ "role": "source",
104
+ "language": "typescript",
105
+ "lines": 3
106
+ },
107
+ {
108
+ "path": "src/taskService.ts",
109
+ "kind": "file",
110
+ "role": "source",
111
+ "language": "typescript",
112
+ "lines": 42
113
+ },
114
+ {
115
+ "path": "src/taskStore.ts",
116
+ "kind": "file",
117
+ "role": "source",
118
+ "language": "typescript",
119
+ "lines": 35
120
+ },
121
+ {
122
+ "path": "tests",
123
+ "kind": "directory",
124
+ "role": "test"
125
+ },
126
+ {
127
+ "path": "tests/taskService.test.ts",
128
+ "kind": "file",
129
+ "role": "test",
130
+ "language": "typescript",
131
+ "lines": 46
132
+ },
133
+ {
134
+ "path": "tsconfig.json",
135
+ "kind": "file",
136
+ "role": "config",
137
+ "language": "json",
138
+ "lines": 13
139
+ },
140
+ {
141
+ "path": "vitest.config.ts",
142
+ "kind": "file",
143
+ "role": "config",
144
+ "language": "typescript",
145
+ "lines": 6
146
+ }
147
+ ]
148
+ }
149
+ },
150
+ {
151
+ "projectId": "todo-python",
152
+ "displayName": "Todo Python",
153
+ "description": "Python Todo Core implementation.",
154
+ "languageMix": "single-language Python",
155
+ "primaryLanguage": "python",
156
+ "languages": [
157
+ "python"
158
+ ],
159
+ "complexityLevel": "small",
160
+ "rootPath": "benchmarks/projects/todo-python",
161
+ "sourceRoots": [
162
+ "src"
163
+ ],
164
+ "testRoots": [
165
+ "tests"
166
+ ],
167
+ "benchmarkPurpose": "Baseline Python retrieval fixture.",
168
+ "expectedUseCases": [
169
+ "token-savings retrieval evaluation",
170
+ "prompt strategy comparison",
171
+ "answer-key correctness scoring"
172
+ ],
173
+ "taskStats": {
174
+ "taskCount": 5,
175
+ "expectedRelevantFilesAverage": 1.2,
176
+ "expectedRelevantSymbolsAverage": 2.4
177
+ },
178
+ "complexityScore": 12,
179
+ "complexityMetrics": {
180
+ "fileCount": 5,
181
+ "sourceFileCount": 3,
182
+ "testFileCount": 1,
183
+ "totalLinesOfCode": 91,
184
+ "sourceLinesOfCode": 50,
185
+ "testLinesOfCode": 41,
186
+ "languageCount": 1,
187
+ "dependencyFileCount": 0,
188
+ "internalImportCount": 3,
189
+ "exportedSymbolEstimate": 13,
190
+ "taskCount": 5,
191
+ "expectedRelevantFilesAverage": 1.2,
192
+ "expectedRelevantSymbolsAverage": 2.4,
193
+ "maxFileLines": 53,
194
+ "averageFileLines": 30,
195
+ "packageDependencyCount": 0,
196
+ "functionOrClassEstimate": 12
197
+ },
198
+ "complexityFormula": {
199
+ "id": "benchmark-project-complexity-v1",
200
+ "description": "Weighted score using capped normalized source files, source lines, language count, internal imports, max file lines, expected relevant files, and expected relevant symbols.",
201
+ "scoreRange": [
202
+ 0,
203
+ 100
204
+ ],
205
+ "normalizedValue": "min(value / cap, 1)",
206
+ "weights": {
207
+ "sourceFileCount": 0.2,
208
+ "sourceLinesOfCode": 0.2,
209
+ "languageCount": 0.15,
210
+ "internalImportCount": 0.15,
211
+ "maxFileLines": 0.1,
212
+ "expectedRelevantFilesAverage": 0.1,
213
+ "expectedRelevantSymbolsAverage": 0.1
214
+ },
215
+ "caps": {
216
+ "sourceFileCount": 20,
217
+ "sourceLinesOfCode": 2000,
218
+ "languageCount": 4,
219
+ "internalImportCount": 50,
220
+ "maxFileLines": 300,
221
+ "expectedRelevantFilesAverage": 10,
222
+ "expectedRelevantSymbolsAverage": 20
223
+ }
224
+ },
225
+ "fileTree": {
226
+ "entries": [
227
+ {
228
+ "path": "README.md",
229
+ "kind": "file",
230
+ "role": "docs",
231
+ "language": "markdown",
232
+ "lines": 4
233
+ },
234
+ {
235
+ "path": "src",
236
+ "kind": "directory",
237
+ "role": "source"
238
+ },
239
+ {
240
+ "path": "src/__init__.py",
241
+ "kind": "file",
242
+ "role": "source",
243
+ "language": "python",
244
+ "lines": 5
245
+ },
246
+ {
247
+ "path": "src/task_service.py",
248
+ "kind": "file",
249
+ "role": "source",
250
+ "language": "python",
251
+ "lines": 33
252
+ },
253
+ {
254
+ "path": "src/task_store.py",
255
+ "kind": "file",
256
+ "role": "source",
257
+ "language": "python",
258
+ "lines": 29
259
+ },
260
+ {
261
+ "path": "tests",
262
+ "kind": "directory",
263
+ "role": "test"
264
+ },
265
+ {
266
+ "path": "tests/test_task_service.py",
267
+ "kind": "file",
268
+ "role": "test",
269
+ "language": "python",
270
+ "lines": 53
271
+ }
272
+ ]
273
+ }
274
+ },
275
+ {
276
+ "projectId": "todo-js",
277
+ "displayName": "Todo JavaScript",
278
+ "description": "JavaScript Todo Core implementation.",
279
+ "languageMix": "single-language JavaScript",
280
+ "primaryLanguage": "javascript",
281
+ "languages": [
282
+ "javascript"
283
+ ],
284
+ "complexityLevel": "small",
285
+ "rootPath": "benchmarks/projects/todo-js",
286
+ "sourceRoots": [
287
+ "src"
288
+ ],
289
+ "testRoots": [
290
+ "tests"
291
+ ],
292
+ "benchmarkPurpose": "Baseline JavaScript retrieval fixture.",
293
+ "expectedUseCases": [
294
+ "token-savings retrieval evaluation",
295
+ "prompt strategy comparison",
296
+ "answer-key correctness scoring"
297
+ ],
298
+ "taskStats": {
299
+ "taskCount": 5,
300
+ "expectedRelevantFilesAverage": 1.2,
301
+ "expectedRelevantSymbolsAverage": 2.4
302
+ },
303
+ "complexityScore": 12,
304
+ "complexityMetrics": {
305
+ "fileCount": 7,
306
+ "sourceFileCount": 3,
307
+ "testFileCount": 1,
308
+ "totalLinesOfCode": 95,
309
+ "sourceLinesOfCode": 56,
310
+ "testLinesOfCode": 39,
311
+ "languageCount": 1,
312
+ "dependencyFileCount": 1,
313
+ "internalImportCount": 1,
314
+ "exportedSymbolEstimate": 2,
315
+ "taskCount": 5,
316
+ "expectedRelevantFilesAverage": 1.2,
317
+ "expectedRelevantSymbolsAverage": 2.4,
318
+ "maxFileLines": 46,
319
+ "averageFileLines": 29,
320
+ "packageDependencyCount": 1,
321
+ "functionOrClassEstimate": 2
322
+ },
323
+ "complexityFormula": {
324
+ "id": "benchmark-project-complexity-v1",
325
+ "description": "Weighted score using capped normalized source files, source lines, language count, internal imports, max file lines, expected relevant files, and expected relevant symbols.",
326
+ "scoreRange": [
327
+ 0,
328
+ 100
329
+ ],
330
+ "normalizedValue": "min(value / cap, 1)",
331
+ "weights": {
332
+ "sourceFileCount": 0.2,
333
+ "sourceLinesOfCode": 0.2,
334
+ "languageCount": 0.15,
335
+ "internalImportCount": 0.15,
336
+ "maxFileLines": 0.1,
337
+ "expectedRelevantFilesAverage": 0.1,
338
+ "expectedRelevantSymbolsAverage": 0.1
339
+ },
340
+ "caps": {
341
+ "sourceFileCount": 20,
342
+ "sourceLinesOfCode": 2000,
343
+ "languageCount": 4,
344
+ "internalImportCount": 50,
345
+ "maxFileLines": 300,
346
+ "expectedRelevantFilesAverage": 10,
347
+ "expectedRelevantSymbolsAverage": 20
348
+ }
349
+ },
350
+ "fileTree": {
351
+ "entries": [
352
+ {
353
+ "path": "package.json",
354
+ "kind": "file",
355
+ "role": "config",
356
+ "language": "json",
357
+ "lines": 12
358
+ },
359
+ {
360
+ "path": "README.md",
361
+ "kind": "file",
362
+ "role": "docs",
363
+ "language": "markdown",
364
+ "lines": 4
365
+ },
366
+ {
367
+ "path": "src",
368
+ "kind": "directory",
369
+ "role": "source"
370
+ },
371
+ {
372
+ "path": "src/index.js",
373
+ "kind": "file",
374
+ "role": "source",
375
+ "language": "javascript",
376
+ "lines": 3
377
+ },
378
+ {
379
+ "path": "src/taskService.js",
380
+ "kind": "file",
381
+ "role": "source",
382
+ "language": "javascript",
383
+ "lines": 38
384
+ },
385
+ {
386
+ "path": "src/taskStore.js",
387
+ "kind": "file",
388
+ "role": "source",
389
+ "language": "javascript",
390
+ "lines": 29
391
+ },
392
+ {
393
+ "path": "tests",
394
+ "kind": "directory",
395
+ "role": "test"
396
+ },
397
+ {
398
+ "path": "tests/taskService.test.js",
399
+ "kind": "file",
400
+ "role": "test",
401
+ "language": "javascript",
402
+ "lines": 46
403
+ },
404
+ {
405
+ "path": "vitest.config.js",
406
+ "kind": "file",
407
+ "role": "config",
408
+ "language": "javascript",
409
+ "lines": 6
410
+ }
411
+ ]
412
+ }
413
+ },
414
+ {
415
+ "projectId": "todo-mixed-ts-py",
416
+ "displayName": "Todo Mixed TS/Python",
417
+ "description": "Mixed TypeScript and Python Todo boundary implementation.",
418
+ "languageMix": "mixed TypeScript and Python",
419
+ "primaryLanguage": "typescript",
420
+ "languages": [
421
+ "typescript",
422
+ "python"
423
+ ],
424
+ "complexityLevel": "mixed-language",
425
+ "rootPath": "benchmarks/projects/todo-mixed-ts-py",
426
+ "sourceRoots": [
427
+ "src",
428
+ "python"
429
+ ],
430
+ "testRoots": [
431
+ "tests"
432
+ ],
433
+ "benchmarkPurpose": "Mixed-language boundary retrieval fixture.",
434
+ "expectedUseCases": [
435
+ "token-savings retrieval evaluation",
436
+ "prompt strategy comparison",
437
+ "answer-key correctness scoring"
438
+ ],
439
+ "taskStats": {
440
+ "taskCount": 5,
441
+ "expectedRelevantFilesAverage": 2,
442
+ "expectedRelevantSymbolsAverage": 2.4
443
+ },
444
+ "complexityScore": 16,
445
+ "complexityMetrics": {
446
+ "fileCount": 7,
447
+ "sourceFileCount": 2,
448
+ "testFileCount": 1,
449
+ "totalLinesOfCode": 100,
450
+ "sourceLinesOfCode": 84,
451
+ "testLinesOfCode": 16,
452
+ "languageCount": 2,
453
+ "dependencyFileCount": 1,
454
+ "internalImportCount": 0,
455
+ "exportedSymbolEstimate": 11,
456
+ "taskCount": 5,
457
+ "expectedRelevantFilesAverage": 2,
458
+ "expectedRelevantSymbolsAverage": 2.4,
459
+ "maxFileLines": 77,
460
+ "averageFileLines": 40.67,
461
+ "packageDependencyCount": 3,
462
+ "functionOrClassEstimate": 10
463
+ },
464
+ "complexityFormula": {
465
+ "id": "benchmark-project-complexity-v1",
466
+ "description": "Weighted score using capped normalized source files, source lines, language count, internal imports, max file lines, expected relevant files, and expected relevant symbols.",
467
+ "scoreRange": [
468
+ 0,
469
+ 100
470
+ ],
471
+ "normalizedValue": "min(value / cap, 1)",
472
+ "weights": {
473
+ "sourceFileCount": 0.2,
474
+ "sourceLinesOfCode": 0.2,
475
+ "languageCount": 0.15,
476
+ "internalImportCount": 0.15,
477
+ "maxFileLines": 0.1,
478
+ "expectedRelevantFilesAverage": 0.1,
479
+ "expectedRelevantSymbolsAverage": 0.1
480
+ },
481
+ "caps": {
482
+ "sourceFileCount": 20,
483
+ "sourceLinesOfCode": 2000,
484
+ "languageCount": 4,
485
+ "internalImportCount": 50,
486
+ "maxFileLines": 300,
487
+ "expectedRelevantFilesAverage": 10,
488
+ "expectedRelevantSymbolsAverage": 20
489
+ }
490
+ },
491
+ "fileTree": {
492
+ "entries": [
493
+ {
494
+ "path": "package.json",
495
+ "kind": "file",
496
+ "role": "config",
497
+ "language": "json",
498
+ "lines": 14
499
+ },
500
+ {
501
+ "path": "python",
502
+ "kind": "directory",
503
+ "role": "source"
504
+ },
505
+ {
506
+ "path": "python/task_service.py",
507
+ "kind": "file",
508
+ "role": "source",
509
+ "language": "python",
510
+ "lines": 77
511
+ },
512
+ {
513
+ "path": "README.md",
514
+ "kind": "file",
515
+ "role": "docs",
516
+ "language": "markdown",
517
+ "lines": 4
518
+ },
519
+ {
520
+ "path": "src",
521
+ "kind": "directory",
522
+ "role": "source"
523
+ },
524
+ {
525
+ "path": "src/taskCli.ts",
526
+ "kind": "file",
527
+ "role": "source",
528
+ "language": "typescript",
529
+ "lines": 26
530
+ },
531
+ {
532
+ "path": "tests",
533
+ "kind": "directory",
534
+ "role": "test"
535
+ },
536
+ {
537
+ "path": "tests/mixedBoundary.test.ts",
538
+ "kind": "file",
539
+ "role": "test",
540
+ "language": "typescript",
541
+ "lines": 19
542
+ },
543
+ {
544
+ "path": "tsconfig.json",
545
+ "kind": "file",
546
+ "role": "config",
547
+ "language": "json",
548
+ "lines": 13
549
+ },
550
+ {
551
+ "path": "vitest.config.ts",
552
+ "kind": "file",
553
+ "role": "config",
554
+ "language": "typescript",
555
+ "lines": 6
556
+ }
557
+ ]
558
+ }
559
+ },
560
+ {
561
+ "projectId": "task-workflow-medium-ts",
562
+ "displayName": "Task Workflow Medium TypeScript",
563
+ "description": "Medium TypeScript workflow benchmark with validation, filtering, import dedupe, and summarization.",
564
+ "languageMix": "single-language TypeScript",
565
+ "primaryLanguage": "typescript",
566
+ "languages": [
567
+ "typescript"
568
+ ],
569
+ "complexityLevel": "medium",
570
+ "rootPath": "benchmarks/projects/task-workflow-medium-ts",
571
+ "sourceRoots": [
572
+ "src"
573
+ ],
574
+ "testRoots": [
575
+ "tests"
576
+ ],
577
+ "benchmarkPurpose": "Medium retrieval fixture where services, validation, and store state all matter.",
578
+ "expectedUseCases": [
579
+ "real-agent strategy comparison",
580
+ "project complexity comparison",
581
+ "answer-key correctness scoring"
582
+ ],
583
+ "taskStats": {
584
+ "taskCount": 1,
585
+ "expectedRelevantFilesAverage": 3,
586
+ "expectedRelevantSymbolsAverage": 4
587
+ },
588
+ "complexityScore": 30,
589
+ "complexityMetrics": {
590
+ "fileCount": 20,
591
+ "sourceFileCount": 11,
592
+ "testFileCount": 5,
593
+ "totalLinesOfCode": 366,
594
+ "sourceLinesOfCode": 266,
595
+ "testLinesOfCode": 100,
596
+ "languageCount": 1,
597
+ "dependencyFileCount": 1,
598
+ "internalImportCount": 17,
599
+ "exportedSymbolEstimate": 21,
600
+ "taskCount": 1,
601
+ "expectedRelevantFilesAverage": 3,
602
+ "expectedRelevantSymbolsAverage": 4,
603
+ "maxFileLines": 77,
604
+ "averageFileLines": 26.31,
605
+ "packageDependencyCount": 2,
606
+ "functionOrClassEstimate": 14
607
+ },
608
+ "complexityFormula": {
609
+ "id": "benchmark-project-complexity-v1",
610
+ "description": "Weighted score using capped normalized source files, source lines, language count, internal imports, max file lines, expected relevant files, and expected relevant symbols.",
611
+ "scoreRange": [
612
+ 0,
613
+ 100
614
+ ],
615
+ "normalizedValue": "min(value / cap, 1)",
616
+ "weights": {
617
+ "sourceFileCount": 0.2,
618
+ "sourceLinesOfCode": 0.2,
619
+ "languageCount": 0.15,
620
+ "internalImportCount": 0.15,
621
+ "maxFileLines": 0.1,
622
+ "expectedRelevantFilesAverage": 0.1,
623
+ "expectedRelevantSymbolsAverage": 0.1
624
+ },
625
+ "caps": {
626
+ "sourceFileCount": 20,
627
+ "sourceLinesOfCode": 2000,
628
+ "languageCount": 4,
629
+ "internalImportCount": 50,
630
+ "maxFileLines": 300,
631
+ "expectedRelevantFilesAverage": 10,
632
+ "expectedRelevantSymbolsAverage": 20
633
+ }
634
+ },
635
+ "fileTree": {
636
+ "entries": [
637
+ {
638
+ "path": "package.json",
639
+ "kind": "file",
640
+ "role": "config",
641
+ "language": "json",
642
+ "lines": 13
643
+ },
644
+ {
645
+ "path": "README.md",
646
+ "kind": "file",
647
+ "role": "docs",
648
+ "language": "markdown",
649
+ "lines": 2
650
+ },
651
+ {
652
+ "path": "src",
653
+ "kind": "directory",
654
+ "role": "source"
655
+ },
656
+ {
657
+ "path": "src/index.ts",
658
+ "kind": "file",
659
+ "role": "source",
660
+ "language": "typescript",
661
+ "lines": 10
662
+ },
663
+ {
664
+ "path": "src/models",
665
+ "kind": "directory",
666
+ "role": "source"
667
+ },
668
+ {
669
+ "path": "src/models/project.ts",
670
+ "kind": "file",
671
+ "role": "source",
672
+ "language": "typescript",
673
+ "lines": 7
674
+ },
675
+ {
676
+ "path": "src/models/task.ts",
677
+ "kind": "file",
678
+ "role": "source",
679
+ "language": "typescript",
680
+ "lines": 40
681
+ },
682
+ {
683
+ "path": "src/services",
684
+ "kind": "directory",
685
+ "role": "source"
686
+ },
687
+ {
688
+ "path": "src/services/completeTask.ts",
689
+ "kind": "file",
690
+ "role": "source",
691
+ "language": "typescript",
692
+ "lines": 16
693
+ },
694
+ {
695
+ "path": "src/services/createTask.ts",
696
+ "kind": "file",
697
+ "role": "source",
698
+ "language": "typescript",
699
+ "lines": 27
700
+ },
701
+ {
702
+ "path": "src/services/filterTasks.ts",
703
+ "kind": "file",
704
+ "role": "source",
705
+ "language": "typescript",
706
+ "lines": 18
707
+ },
708
+ {
709
+ "path": "src/services/importTasks.ts",
710
+ "kind": "file",
711
+ "role": "source",
712
+ "language": "typescript",
713
+ "lines": 34
714
+ },
715
+ {
716
+ "path": "src/services/summarizeTasks.ts",
717
+ "kind": "file",
718
+ "role": "source",
719
+ "language": "typescript",
720
+ "lines": 31
721
+ },
722
+ {
723
+ "path": "src/store",
724
+ "kind": "directory",
725
+ "role": "source"
726
+ },
727
+ {
728
+ "path": "src/store/taskStore.ts",
729
+ "kind": "file",
730
+ "role": "source",
731
+ "language": "typescript",
732
+ "lines": 77
733
+ },
734
+ {
735
+ "path": "src/utils",
736
+ "kind": "directory",
737
+ "role": "source"
738
+ },
739
+ {
740
+ "path": "src/utils/deterministicId.ts",
741
+ "kind": "file",
742
+ "role": "source",
743
+ "language": "typescript",
744
+ "lines": 4
745
+ },
746
+ {
747
+ "path": "src/validation",
748
+ "kind": "directory",
749
+ "role": "source"
750
+ },
751
+ {
752
+ "path": "src/validation/taskValidation.ts",
753
+ "kind": "file",
754
+ "role": "source",
755
+ "language": "typescript",
756
+ "lines": 46
757
+ },
758
+ {
759
+ "path": "tests",
760
+ "kind": "directory",
761
+ "role": "test"
762
+ },
763
+ {
764
+ "path": "tests/completeTask.test.ts",
765
+ "kind": "file",
766
+ "role": "test",
767
+ "language": "typescript",
768
+ "lines": 17
769
+ },
770
+ {
771
+ "path": "tests/createTask.test.ts",
772
+ "kind": "file",
773
+ "role": "test",
774
+ "language": "typescript",
775
+ "lines": 22
776
+ },
777
+ {
778
+ "path": "tests/filterTasks.test.ts",
779
+ "kind": "file",
780
+ "role": "test",
781
+ "language": "typescript",
782
+ "lines": 19
783
+ },
784
+ {
785
+ "path": "tests/importTasks.test.ts",
786
+ "kind": "file",
787
+ "role": "test",
788
+ "language": "typescript",
789
+ "lines": 23
790
+ },
791
+ {
792
+ "path": "tests/summarizeTasks.test.ts",
793
+ "kind": "file",
794
+ "role": "test",
795
+ "language": "typescript",
796
+ "lines": 30
797
+ },
798
+ {
799
+ "path": "tsconfig.json",
800
+ "kind": "file",
801
+ "role": "config",
802
+ "language": "json",
803
+ "lines": 13
804
+ },
805
+ {
806
+ "path": "vitest.config.ts",
807
+ "kind": "file",
808
+ "role": "config",
809
+ "language": "typescript",
810
+ "lines": 6
811
+ }
812
+ ]
813
+ }
814
+ },
815
+ {
816
+ "projectId": "task-analytics-large-mixed",
817
+ "displayName": "Task Analytics Large Mixed",
818
+ "description": "Large mixed-language benchmark with TypeScript snapshot building and Python quality reporting.",
819
+ "languageMix": "mixed TypeScript and Python",
820
+ "primaryLanguage": "typescript",
821
+ "languages": [
822
+ "typescript",
823
+ "python"
824
+ ],
825
+ "complexityLevel": "large",
826
+ "rootPath": "benchmarks/projects/task-analytics-large-mixed",
827
+ "sourceRoots": [
828
+ "ts/src",
829
+ "py/task_analytics"
830
+ ],
831
+ "testRoots": [
832
+ "ts/tests",
833
+ "py/tests"
834
+ ],
835
+ "benchmarkPurpose": "Larger retrieval fixture where guided context should matter more than toy Todo projects.",
836
+ "expectedUseCases": [
837
+ "real-agent strategy comparison",
838
+ "cross-language retrieval evaluation",
839
+ "answer-key correctness scoring"
840
+ ],
841
+ "taskStats": {
842
+ "taskCount": 1,
843
+ "expectedRelevantFilesAverage": 5,
844
+ "expectedRelevantSymbolsAverage": 5
845
+ },
846
+ "complexityScore": 48,
847
+ "complexityMetrics": {
848
+ "fileCount": 35,
849
+ "sourceFileCount": 22,
850
+ "testFileCount": 9,
851
+ "totalLinesOfCode": 480,
852
+ "sourceLinesOfCode": 301,
853
+ "testLinesOfCode": 179,
854
+ "languageCount": 2,
855
+ "dependencyFileCount": 1,
856
+ "internalImportCount": 28,
857
+ "exportedSymbolEstimate": 24,
858
+ "taskCount": 1,
859
+ "expectedRelevantFilesAverage": 5,
860
+ "expectedRelevantSymbolsAverage": 5,
861
+ "maxFileLines": 49,
862
+ "averageFileLines": 18.55,
863
+ "packageDependencyCount": 2,
864
+ "functionOrClassEstimate": 22
865
+ },
866
+ "complexityFormula": {
867
+ "id": "benchmark-project-complexity-v1",
868
+ "description": "Weighted score using capped normalized source files, source lines, language count, internal imports, max file lines, expected relevant files, and expected relevant symbols.",
869
+ "scoreRange": [
870
+ 0,
871
+ 100
872
+ ],
873
+ "normalizedValue": "min(value / cap, 1)",
874
+ "weights": {
875
+ "sourceFileCount": 0.2,
876
+ "sourceLinesOfCode": 0.2,
877
+ "languageCount": 0.15,
878
+ "internalImportCount": 0.15,
879
+ "maxFileLines": 0.1,
880
+ "expectedRelevantFilesAverage": 0.1,
881
+ "expectedRelevantSymbolsAverage": 0.1
882
+ },
883
+ "caps": {
884
+ "sourceFileCount": 20,
885
+ "sourceLinesOfCode": 2000,
886
+ "languageCount": 4,
887
+ "internalImportCount": 50,
888
+ "maxFileLines": 300,
889
+ "expectedRelevantFilesAverage": 10,
890
+ "expectedRelevantSymbolsAverage": 20
891
+ }
892
+ },
893
+ "fileTree": {
894
+ "entries": [
895
+ {
896
+ "path": "py",
897
+ "kind": "directory",
898
+ "role": "source"
899
+ },
900
+ {
901
+ "path": "py/task_analytics",
902
+ "kind": "directory",
903
+ "role": "source"
904
+ },
905
+ {
906
+ "path": "py/task_analytics/__init__.py",
907
+ "kind": "file",
908
+ "role": "source",
909
+ "language": "python",
910
+ "lines": 4
911
+ },
912
+ {
913
+ "path": "py/task_analytics/fixtures.py",
914
+ "kind": "file",
915
+ "role": "source",
916
+ "language": "python",
917
+ "lines": 7
918
+ },
919
+ {
920
+ "path": "py/task_analytics/metrics.py",
921
+ "kind": "file",
922
+ "role": "source",
923
+ "language": "python",
924
+ "lines": 30
925
+ },
926
+ {
927
+ "path": "py/task_analytics/models.py",
928
+ "kind": "file",
929
+ "role": "source",
930
+ "language": "python",
931
+ "lines": 22
932
+ },
933
+ {
934
+ "path": "py/task_analytics/parser.py",
935
+ "kind": "file",
936
+ "role": "source",
937
+ "language": "python",
938
+ "lines": 17
939
+ },
940
+ {
941
+ "path": "py/task_analytics/pipeline.py",
942
+ "kind": "file",
943
+ "role": "source",
944
+ "language": "python",
945
+ "lines": 10
946
+ },
947
+ {
948
+ "path": "py/task_analytics/quality.py",
949
+ "kind": "file",
950
+ "role": "source",
951
+ "language": "python",
952
+ "lines": 9
953
+ },
954
+ {
955
+ "path": "py/task_analytics/reporting.py",
956
+ "kind": "file",
957
+ "role": "source",
958
+ "language": "python",
959
+ "lines": 12
960
+ },
961
+ {
962
+ "path": "py/tests",
963
+ "kind": "directory",
964
+ "role": "test"
965
+ },
966
+ {
967
+ "path": "py/tests/test_metrics.py",
968
+ "kind": "file",
969
+ "role": "test",
970
+ "language": "python",
971
+ "lines": 20
972
+ },
973
+ {
974
+ "path": "py/tests/test_parser.py",
975
+ "kind": "file",
976
+ "role": "test",
977
+ "language": "python",
978
+ "lines": 16
979
+ },
980
+ {
981
+ "path": "py/tests/test_quality.py",
982
+ "kind": "file",
983
+ "role": "test",
984
+ "language": "python",
985
+ "lines": 20
986
+ },
987
+ {
988
+ "path": "py/tests/test_reporting.py",
989
+ "kind": "file",
990
+ "role": "test",
991
+ "language": "python",
992
+ "lines": 16
993
+ },
994
+ {
995
+ "path": "README.md",
996
+ "kind": "file",
997
+ "role": "docs",
998
+ "language": "markdown",
999
+ "lines": 2
1000
+ },
1001
+ {
1002
+ "path": "ts",
1003
+ "kind": "directory",
1004
+ "role": "other"
1005
+ },
1006
+ {
1007
+ "path": "ts/package.json",
1008
+ "kind": "file",
1009
+ "role": "config",
1010
+ "language": "json",
1011
+ "lines": 13
1012
+ },
1013
+ {
1014
+ "path": "ts/src",
1015
+ "kind": "directory",
1016
+ "role": "source"
1017
+ },
1018
+ {
1019
+ "path": "ts/src/index.ts",
1020
+ "kind": "file",
1021
+ "role": "source",
1022
+ "language": "typescript",
1023
+ "lines": 12
1024
+ },
1025
+ {
1026
+ "path": "ts/src/models",
1027
+ "kind": "directory",
1028
+ "role": "source"
1029
+ },
1030
+ {
1031
+ "path": "ts/src/models/analyticsSnapshot.ts",
1032
+ "kind": "file",
1033
+ "role": "source",
1034
+ "language": "typescript",
1035
+ "lines": 21
1036
+ },
1037
+ {
1038
+ "path": "ts/src/models/project.ts",
1039
+ "kind": "file",
1040
+ "role": "source",
1041
+ "language": "typescript",
1042
+ "lines": 6
1043
+ },
1044
+ {
1045
+ "path": "ts/src/models/task.ts",
1046
+ "kind": "file",
1047
+ "role": "source",
1048
+ "language": "typescript",
1049
+ "lines": 11
1050
+ },
1051
+ {
1052
+ "path": "ts/src/reporting",
1053
+ "kind": "directory",
1054
+ "role": "source"
1055
+ },
1056
+ {
1057
+ "path": "ts/src/reporting/buildProjectLeaderboard.ts",
1058
+ "kind": "file",
1059
+ "role": "source",
1060
+ "language": "typescript",
1061
+ "lines": 8
1062
+ },
1063
+ {
1064
+ "path": "ts/src/reporting/formatTaskHealthReport.ts",
1065
+ "kind": "file",
1066
+ "role": "source",
1067
+ "language": "typescript",
1068
+ "lines": 14
1069
+ },
1070
+ {
1071
+ "path": "ts/src/services",
1072
+ "kind": "directory",
1073
+ "role": "source"
1074
+ },
1075
+ {
1076
+ "path": "ts/src/services/buildAnalyticsSnapshot.ts",
1077
+ "kind": "file",
1078
+ "role": "source",
1079
+ "language": "typescript",
1080
+ "lines": 40
1081
+ },
1082
+ {
1083
+ "path": "ts/src/services/completeTask.ts",
1084
+ "kind": "file",
1085
+ "role": "source",
1086
+ "language": "typescript",
1087
+ "lines": 11
1088
+ },
1089
+ {
1090
+ "path": "ts/src/services/createTask.ts",
1091
+ "kind": "file",
1092
+ "role": "source",
1093
+ "language": "typescript",
1094
+ "lines": 22
1095
+ },
1096
+ {
1097
+ "path": "ts/src/services/listTasksByProject.ts",
1098
+ "kind": "file",
1099
+ "role": "source",
1100
+ "language": "typescript",
1101
+ "lines": 7
1102
+ },
1103
+ {
1104
+ "path": "ts/src/store",
1105
+ "kind": "directory",
1106
+ "role": "source"
1107
+ },
1108
+ {
1109
+ "path": "ts/src/store/projectStore.ts",
1110
+ "kind": "file",
1111
+ "role": "source",
1112
+ "language": "typescript",
1113
+ "lines": 21
1114
+ },
1115
+ {
1116
+ "path": "ts/src/store/taskStore.ts",
1117
+ "kind": "file",
1118
+ "role": "source",
1119
+ "language": "typescript",
1120
+ "lines": 45
1121
+ },
1122
+ {
1123
+ "path": "ts/src/validation",
1124
+ "kind": "directory",
1125
+ "role": "source"
1126
+ },
1127
+ {
1128
+ "path": "ts/src/validation/projectValidation.ts",
1129
+ "kind": "file",
1130
+ "role": "source",
1131
+ "language": "typescript",
1132
+ "lines": 13
1133
+ },
1134
+ {
1135
+ "path": "ts/src/validation/taskValidation.ts",
1136
+ "kind": "file",
1137
+ "role": "source",
1138
+ "language": "typescript",
1139
+ "lines": 19
1140
+ },
1141
+ {
1142
+ "path": "ts/tests",
1143
+ "kind": "directory",
1144
+ "role": "test"
1145
+ },
1146
+ {
1147
+ "path": "ts/tests/buildAnalyticsSnapshot.test.ts",
1148
+ "kind": "file",
1149
+ "role": "test",
1150
+ "language": "typescript",
1151
+ "lines": 49
1152
+ },
1153
+ {
1154
+ "path": "ts/tests/completeTask.test.ts",
1155
+ "kind": "file",
1156
+ "role": "test",
1157
+ "language": "typescript",
1158
+ "lines": 22
1159
+ },
1160
+ {
1161
+ "path": "ts/tests/createTask.test.ts",
1162
+ "kind": "file",
1163
+ "role": "test",
1164
+ "language": "typescript",
1165
+ "lines": 32
1166
+ },
1167
+ {
1168
+ "path": "ts/tests/listTasksByProject.test.ts",
1169
+ "kind": "file",
1170
+ "role": "test",
1171
+ "language": "typescript",
1172
+ "lines": 19
1173
+ },
1174
+ {
1175
+ "path": "ts/tests/reporting.test.ts",
1176
+ "kind": "file",
1177
+ "role": "test",
1178
+ "language": "typescript",
1179
+ "lines": 20
1180
+ },
1181
+ {
1182
+ "path": "ts/tsconfig.json",
1183
+ "kind": "file",
1184
+ "role": "config",
1185
+ "language": "json",
1186
+ "lines": 13
1187
+ },
1188
+ {
1189
+ "path": "ts/vitest.config.ts",
1190
+ "kind": "file",
1191
+ "role": "config",
1192
+ "language": "typescript",
1193
+ "lines": 6
1194
+ }
1195
+ ]
1196
+ }
1197
+ }
1198
+ ]
1199
+ }