@dailephd/my-dev-kit-lab 0.6.2 → 0.7.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.
- package/CHANGELOG.md +26 -0
- package/README.md +11 -8
- package/benchmarks/contracts/context-window-scaling-cases.json +220 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/README.md +14 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-1/carrier-depot-catalog-01.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-1/course-module-catalog-06.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-1/library-shelf-catalog-07.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-1/sensor-station-catalog-05.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-1/staff-rota-catalog-03.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-1/supplier-contract-catalog-02.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-1/vehicle-route-catalog-04.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-2/archive-box-catalog-12.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-2/clinic-ward-catalog-08.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-2/greenhouse-bay-catalog-13.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-2/harbor-berth-catalog-10.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-2/kitchen-section-catalog-15.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-2/market-stall-catalog-09.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-2/station-platform-catalog-14.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-2/workshop-bench-catalog-11.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-3/archive-box-catalog-28.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-3/carrier-depot-catalog-17.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-3/clinic-ward-catalog-24.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-3/course-module-catalog-22.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-3/greenhouse-bay-catalog-29.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-3/harbor-berth-catalog-26.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-3/kitchen-section-catalog-31.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-3/library-shelf-catalog-23.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-3/market-stall-catalog-25.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-3/sensor-station-catalog-21.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-3/staff-rota-catalog-19.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-3/station-platform-catalog-30.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-3/supplier-contract-catalog-18.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-3/vehicle-route-catalog-20.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-3/warehouse-zone-catalog-16.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-3/workshop-bench-catalog-27.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/archive-box-catalog-44.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/carrier-depot-catalog-33.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/carrier-depot-catalog-49.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/clinic-ward-catalog-40.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/clinic-ward-catalog-56.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/course-module-catalog-38.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/course-module-catalog-54.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/greenhouse-bay-catalog-45.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/harbor-berth-catalog-42.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/harbor-berth-catalog-58.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/kitchen-section-catalog-47.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/library-shelf-catalog-39.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/library-shelf-catalog-55.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/market-stall-catalog-41.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/market-stall-catalog-57.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/sensor-station-catalog-37.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/sensor-station-catalog-53.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/staff-rota-catalog-35.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/staff-rota-catalog-51.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/station-platform-catalog-46.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/supplier-contract-catalog-34.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/supplier-contract-catalog-50.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/vehicle-route-catalog-36.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/vehicle-route-catalog-52.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/warehouse-zone-catalog-32.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/warehouse-zone-catalog-48.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/filler/tier-4/workshop-bench-catalog-43.ts +302 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/tasks/auditRedaction.ts +25 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/tasks/inventoryReservation.ts +26 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/tasks/invoiceTotals.ts +25 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/src/tasks/shippingQuote.ts +32 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/tests/tasks/auditRedaction.test.ts +17 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/tests/tasks/inventoryReservation.test.ts +19 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/tests/tasks/invoiceTotals.test.ts +14 -0
- package/benchmarks/projects/context-window-scaling-fixed-ts/tests/tasks/shippingQuote.test.ts +19 -0
- package/dist/src/cli/help.js +27 -10
- package/dist/src/commands/runExperimentDescribeCommand.js +5 -2
- package/dist/src/commands/runExperimentRunCommand.js +64 -8
- package/dist/src/evaluation/benchmarkMetadata.js +5 -1
- package/dist/src/evaluation/parseAgentAnswer.js +172 -24
- package/dist/src/evaluation/runMyDevKitRetrieval.js +120 -7
- package/dist/src/experiments/defaultRegistry.js +2 -0
- package/dist/src/experiments/plugins/contextWindowScaling/cliBudgets.js +31 -0
- package/dist/src/experiments/plugins/contextWindowScaling/config.js +84 -0
- package/dist/src/experiments/plugins/contextWindowScaling/contextBudget.js +43 -0
- package/dist/src/experiments/plugins/contextWindowScaling/evaluation.js +36 -0
- package/dist/src/experiments/plugins/contextWindowScaling/execution.js +187 -0
- package/dist/src/experiments/plugins/contextWindowScaling/executionArtifact.js +15 -0
- package/dist/src/experiments/plugins/contextWindowScaling/executionArtifactReader.js +186 -0
- package/dist/src/experiments/plugins/contextWindowScaling/index.js +14 -0
- package/dist/src/experiments/plugins/contextWindowScaling/metadata.js +12 -0
- package/dist/src/experiments/plugins/contextWindowScaling/metrics.js +149 -0
- package/dist/src/experiments/plugins/contextWindowScaling/plugin.js +185 -0
- package/dist/src/experiments/plugins/contextWindowScaling/projectProfile.js +51 -0
- package/dist/src/experiments/plugins/contextWindowScaling/relevantFiles.js +76 -0
- package/dist/src/experiments/plugins/contextWindowScaling/successEvidence.js +60 -0
- package/dist/src/experiments/plugins/contextWindowScaling/types.js +1 -0
- package/dist/src/experiments/plugins/incrementalChangeStaleness/comparisonV2.js +49 -0
- package/dist/src/experiments/plugins/incrementalChangeStaleness/config.js +5 -4
- package/dist/src/experiments/plugins/incrementalChangeStaleness/disposableTarget.js +20 -2
- package/dist/src/experiments/plugins/incrementalChangeStaleness/execution.js +42 -16
- package/dist/src/experiments/plugins/incrementalChangeStaleness/executionArtifact.js +4 -4
- package/dist/src/experiments/plugins/incrementalChangeStaleness/executionArtifactV2.js +289 -0
- package/dist/src/experiments/plugins/incrementalChangeStaleness/executionV2.js +195 -0
- package/dist/src/experiments/plugins/incrementalChangeStaleness/indexClone.js +76 -0
- package/dist/src/experiments/plugins/incrementalChangeStaleness/lifecycle.js +64 -32
- package/dist/src/experiments/plugins/incrementalChangeStaleness/lifecyclePolicy.js +6 -4
- package/dist/src/experiments/plugins/incrementalChangeStaleness/lifecyclePolicyV2.js +78 -0
- package/dist/src/experiments/plugins/incrementalChangeStaleness/lifecycleV2.js +298 -0
- package/dist/src/experiments/plugins/incrementalChangeStaleness/plugin.js +213 -12
- package/dist/src/experiments/plugins/incrementalChangeStaleness/treatmentSessionV2.js +5 -0
- package/dist/src/experiments/plugins/index.js +1 -0
- package/dist/src/experiments/plugins/warmIndexReuse/agentEvaluation.js +1 -1
- package/dist/src/experiments/plugins/warmIndexReuse/warmIndexSession.js +3 -1
- package/dist/src/mobile/android/advancedSecurity/candidateEvidence.js +9 -2
- package/dist/src/mobile/android/advancedSecurity/redaction.js +19 -10
- package/dist/src/mobile/android/advancedSecurity/secretCandidates/analyzeSecretCandidates.js +12 -2
- package/dist/src/mobile/android/advancedSecurity/signingConfiguration/analyzeSigningConfiguration.js +1 -1
- package/dist/src/mobile/android/advancedSecurity/signingConfiguration/extractSigningConfigurations.js +7 -7
- package/dist/src/plots/buildContextWindowScalingPlotData.js +96 -0
- package/dist/src/plots/index.js +1 -0
- package/dist/src/plots/writePlotArtifacts.js +12 -3
- package/dist/src/report/experiments/buildContextWindowScalingReport.js +84 -0
- package/dist/src/report/experiments/buildIncrementalChangeStalenessPluginReport.js +33 -0
- package/dist/src/report/experiments/buildIncrementalChangeStalenessReport.js +1 -1
- package/dist/src/report/experiments/buildIncrementalChangeStalenessReportV2.js +80 -0
- package/dist/src/report/experiments/buildPluginExperimentReport.js +24 -4
- package/dist/src/report/experiments/contextWindowScalingReportModel.js +3 -0
- package/dist/src/report/experiments/incrementalChangeStalenessReportModelV2.js +3 -0
- package/dist/src/report/experiments/incrementalChangeStalenessReportRowsV2.js +146 -0
- package/dist/src/report/experiments/index.js +7 -0
- package/dist/src/report/experiments/renderContextWindowScalingHtml.js +99 -0
- package/dist/src/report/experiments/renderContextWindowScalingText.js +108 -0
- package/dist/src/report/experiments/renderIncrementalChangeStalenessHtml.js +4 -0
- package/dist/src/report/experiments/renderIncrementalChangeStalenessHtmlV2.js +111 -0
- package/dist/src/report/experiments/renderIncrementalChangeStalenessTextV2.js +96 -0
- package/dist/src/report/experiments/renderPluginExperimentReportHtml.js +3 -0
- package/dist/src/report/experiments/renderPluginExperimentReportText.js +14 -0
- package/dist/src/securityValidation/staticScans/codeql.js +8 -8
- package/docs/METRICS.md +58 -0
- package/examples/tutorial-browser/prepare.mjs +13 -13
- package/examples/tutorial-browser/server.mjs +13 -13
- package/package.json +1 -1
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
// Scale-only filler (tier-4). Ordinary catalog data for a clinic ward listing.
|
|
2
|
+
// It is unrelated to every task under src/tasks and exists only to add repository context.
|
|
3
|
+
|
|
4
|
+
export interface ClinicWardRecord56 {
|
|
5
|
+
id: string;
|
|
6
|
+
label: string;
|
|
7
|
+
capacity: number;
|
|
8
|
+
priority: number;
|
|
9
|
+
active: boolean;
|
|
10
|
+
notes: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const clinicWardRecords56: readonly ClinicWardRecord56[] = [
|
|
14
|
+
{
|
|
15
|
+
id: "cli-56-001",
|
|
16
|
+
label: "central row 1",
|
|
17
|
+
capacity: 78,
|
|
18
|
+
priority: 5,
|
|
19
|
+
active: false,
|
|
20
|
+
notes: "central clinic ward entry reviewed in cycle 1"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
id: "cli-56-002",
|
|
24
|
+
label: "central row 2",
|
|
25
|
+
capacity: 34,
|
|
26
|
+
priority: 5,
|
|
27
|
+
active: false,
|
|
28
|
+
notes: "northern clinic ward entry reviewed in cycle 1"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
id: "cli-56-003",
|
|
32
|
+
label: "central row 3",
|
|
33
|
+
capacity: 68,
|
|
34
|
+
priority: 5,
|
|
35
|
+
active: false,
|
|
36
|
+
notes: "central clinic ward entry reviewed in cycle 5"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
id: "cli-56-004",
|
|
40
|
+
label: "northern annex 4",
|
|
41
|
+
capacity: 66,
|
|
42
|
+
priority: 4,
|
|
43
|
+
active: false,
|
|
44
|
+
notes: "northern clinic ward entry reviewed in cycle 5"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
id: "cli-56-005",
|
|
48
|
+
label: "granite annex 5",
|
|
49
|
+
capacity: 24,
|
|
50
|
+
priority: 2,
|
|
51
|
+
active: false,
|
|
52
|
+
notes: "granite clinic ward entry reviewed in cycle 1"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
id: "cli-56-006",
|
|
56
|
+
label: "northern row 6",
|
|
57
|
+
capacity: 54,
|
|
58
|
+
priority: 2,
|
|
59
|
+
active: false,
|
|
60
|
+
notes: "northern clinic ward entry reviewed in cycle 9"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
id: "cli-56-007",
|
|
64
|
+
label: "central hall 7",
|
|
65
|
+
capacity: 18,
|
|
66
|
+
priority: 4,
|
|
67
|
+
active: false,
|
|
68
|
+
notes: "granite clinic ward entry reviewed in cycle 9"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
id: "cli-56-008",
|
|
72
|
+
label: "northern hall 8",
|
|
73
|
+
capacity: 84,
|
|
74
|
+
priority: 1,
|
|
75
|
+
active: false,
|
|
76
|
+
notes: "northern clinic ward entry reviewed in cycle 1"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
id: "cli-56-009",
|
|
80
|
+
label: "northern row 9",
|
|
81
|
+
capacity: 60,
|
|
82
|
+
priority: 5,
|
|
83
|
+
active: false,
|
|
84
|
+
notes: "central clinic ward entry reviewed in cycle 9"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
id: "cli-56-010",
|
|
88
|
+
label: "northern hall 10",
|
|
89
|
+
capacity: 20,
|
|
90
|
+
priority: 2,
|
|
91
|
+
active: false,
|
|
92
|
+
notes: "central clinic ward entry reviewed in cycle 1"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
id: "cli-56-011",
|
|
96
|
+
label: "granite annex 11",
|
|
97
|
+
capacity: 78,
|
|
98
|
+
priority: 2,
|
|
99
|
+
active: false,
|
|
100
|
+
notes: "granite clinic ward entry reviewed in cycle 5"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
id: "cli-56-012",
|
|
104
|
+
label: "central row 12",
|
|
105
|
+
capacity: 80,
|
|
106
|
+
priority: 4,
|
|
107
|
+
active: false,
|
|
108
|
+
notes: "northern clinic ward entry reviewed in cycle 9"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
id: "cli-56-013",
|
|
112
|
+
label: "northern hall 13",
|
|
113
|
+
capacity: 94,
|
|
114
|
+
priority: 1,
|
|
115
|
+
active: false,
|
|
116
|
+
notes: "northern clinic ward entry reviewed in cycle 1"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
id: "cli-56-014",
|
|
120
|
+
label: "northern hall 14",
|
|
121
|
+
capacity: 14,
|
|
122
|
+
priority: 5,
|
|
123
|
+
active: false,
|
|
124
|
+
notes: "northern clinic ward entry reviewed in cycle 5"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
id: "cli-56-015",
|
|
128
|
+
label: "central row 15",
|
|
129
|
+
capacity: 64,
|
|
130
|
+
priority: 1,
|
|
131
|
+
active: false,
|
|
132
|
+
notes: "northern clinic ward entry reviewed in cycle 5"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
id: "cli-56-016",
|
|
136
|
+
label: "granite row 16",
|
|
137
|
+
capacity: 92,
|
|
138
|
+
priority: 5,
|
|
139
|
+
active: false,
|
|
140
|
+
notes: "northern clinic ward entry reviewed in cycle 9"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
id: "cli-56-017",
|
|
144
|
+
label: "northern annex 17",
|
|
145
|
+
capacity: 48,
|
|
146
|
+
priority: 1,
|
|
147
|
+
active: false,
|
|
148
|
+
notes: "central clinic ward entry reviewed in cycle 1"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
id: "cli-56-018",
|
|
152
|
+
label: "central hall 18",
|
|
153
|
+
capacity: 22,
|
|
154
|
+
priority: 2,
|
|
155
|
+
active: false,
|
|
156
|
+
notes: "northern clinic ward entry reviewed in cycle 9"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
id: "cli-56-019",
|
|
160
|
+
label: "central hall 19",
|
|
161
|
+
capacity: 28,
|
|
162
|
+
priority: 5,
|
|
163
|
+
active: false,
|
|
164
|
+
notes: "granite clinic ward entry reviewed in cycle 1"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
id: "cli-56-020",
|
|
168
|
+
label: "northern annex 20",
|
|
169
|
+
capacity: 40,
|
|
170
|
+
priority: 1,
|
|
171
|
+
active: false,
|
|
172
|
+
notes: "northern clinic ward entry reviewed in cycle 9"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
id: "cli-56-021",
|
|
176
|
+
label: "central annex 21",
|
|
177
|
+
capacity: 88,
|
|
178
|
+
priority: 2,
|
|
179
|
+
active: false,
|
|
180
|
+
notes: "granite clinic ward entry reviewed in cycle 9"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
id: "cli-56-022",
|
|
184
|
+
label: "central annex 22",
|
|
185
|
+
capacity: 30,
|
|
186
|
+
priority: 1,
|
|
187
|
+
active: false,
|
|
188
|
+
notes: "central clinic ward entry reviewed in cycle 5"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
id: "cli-56-023",
|
|
192
|
+
label: "northern annex 23",
|
|
193
|
+
capacity: 44,
|
|
194
|
+
priority: 2,
|
|
195
|
+
active: false,
|
|
196
|
+
notes: "central clinic ward entry reviewed in cycle 9"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
id: "cli-56-024",
|
|
200
|
+
label: "central hall 24",
|
|
201
|
+
capacity: 44,
|
|
202
|
+
priority: 5,
|
|
203
|
+
active: false,
|
|
204
|
+
notes: "granite clinic ward entry reviewed in cycle 5"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
id: "cli-56-025",
|
|
208
|
+
label: "granite hall 25",
|
|
209
|
+
capacity: 12,
|
|
210
|
+
priority: 5,
|
|
211
|
+
active: false,
|
|
212
|
+
notes: "northern clinic ward entry reviewed in cycle 5"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
id: "cli-56-026",
|
|
216
|
+
label: "central hall 26",
|
|
217
|
+
capacity: 56,
|
|
218
|
+
priority: 3,
|
|
219
|
+
active: false,
|
|
220
|
+
notes: "northern clinic ward entry reviewed in cycle 5"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
id: "cli-56-027",
|
|
224
|
+
label: "central hall 27",
|
|
225
|
+
capacity: 54,
|
|
226
|
+
priority: 1,
|
|
227
|
+
active: false,
|
|
228
|
+
notes: "central clinic ward entry reviewed in cycle 5"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
id: "cli-56-028",
|
|
232
|
+
label: "northern row 28",
|
|
233
|
+
capacity: 70,
|
|
234
|
+
priority: 1,
|
|
235
|
+
active: false,
|
|
236
|
+
notes: "granite clinic ward entry reviewed in cycle 5"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
id: "cli-56-029",
|
|
240
|
+
label: "central hall 29",
|
|
241
|
+
capacity: 90,
|
|
242
|
+
priority: 5,
|
|
243
|
+
active: false,
|
|
244
|
+
notes: "northern clinic ward entry reviewed in cycle 9"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
id: "cli-56-030",
|
|
248
|
+
label: "northern hall 30",
|
|
249
|
+
capacity: 48,
|
|
250
|
+
priority: 3,
|
|
251
|
+
active: false,
|
|
252
|
+
notes: "granite clinic ward entry reviewed in cycle 5"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
id: "cli-56-031",
|
|
256
|
+
label: "central hall 31",
|
|
257
|
+
capacity: 94,
|
|
258
|
+
priority: 1,
|
|
259
|
+
active: false,
|
|
260
|
+
notes: "granite clinic ward entry reviewed in cycle 5"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
id: "cli-56-032",
|
|
264
|
+
label: "granite hall 32",
|
|
265
|
+
capacity: 20,
|
|
266
|
+
priority: 4,
|
|
267
|
+
active: false,
|
|
268
|
+
notes: "northern clinic ward entry reviewed in cycle 9"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
id: "cli-56-033",
|
|
272
|
+
label: "northern hall 33",
|
|
273
|
+
capacity: 80,
|
|
274
|
+
priority: 4,
|
|
275
|
+
active: false,
|
|
276
|
+
notes: "central clinic ward entry reviewed in cycle 1"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
id: "cli-56-034",
|
|
280
|
+
label: "granite hall 34",
|
|
281
|
+
capacity: 86,
|
|
282
|
+
priority: 2,
|
|
283
|
+
active: false,
|
|
284
|
+
notes: "northern clinic ward entry reviewed in cycle 9"
|
|
285
|
+
}
|
|
286
|
+
];
|
|
287
|
+
|
|
288
|
+
export function findClinicWardRecord56(id: string): ClinicWardRecord56 | undefined {
|
|
289
|
+
return clinicWardRecords56.find((record) => record.id === id);
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
export function listClinicWardActiveRecords56(): ClinicWardRecord56[] {
|
|
293
|
+
return clinicWardRecords56.filter((record) => record.active);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
export function totalClinicWardCapacity56(): number {
|
|
297
|
+
return clinicWardRecords56.reduce((sum, record) => sum + record.capacity, 0);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
export function countClinicWardByPriority56(priority: number): number {
|
|
301
|
+
return clinicWardRecords56.filter((record) => record.priority === priority).length;
|
|
302
|
+
}
|
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
// Scale-only filler (tier-4). Ordinary catalog data for a course module listing.
|
|
2
|
+
// It is unrelated to every task under src/tasks and exists only to add repository context.
|
|
3
|
+
|
|
4
|
+
export interface CourseModuleRecord38 {
|
|
5
|
+
id: string;
|
|
6
|
+
label: string;
|
|
7
|
+
capacity: number;
|
|
8
|
+
priority: number;
|
|
9
|
+
active: boolean;
|
|
10
|
+
notes: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const courseModuleRecords38: readonly CourseModuleRecord38[] = [
|
|
14
|
+
{
|
|
15
|
+
id: "cou-38-001",
|
|
16
|
+
label: "northern hall 1",
|
|
17
|
+
capacity: 38,
|
|
18
|
+
priority: 4,
|
|
19
|
+
active: false,
|
|
20
|
+
notes: "granite course module entry reviewed in cycle 1"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
id: "cou-38-002",
|
|
24
|
+
label: "granite hall 2",
|
|
25
|
+
capacity: 10,
|
|
26
|
+
priority: 3,
|
|
27
|
+
active: false,
|
|
28
|
+
notes: "northern course module entry reviewed in cycle 1"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
id: "cou-38-003",
|
|
32
|
+
label: "northern row 3",
|
|
33
|
+
capacity: 48,
|
|
34
|
+
priority: 2,
|
|
35
|
+
active: false,
|
|
36
|
+
notes: "granite course module entry reviewed in cycle 1"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
id: "cou-38-004",
|
|
40
|
+
label: "northern hall 4",
|
|
41
|
+
capacity: 73,
|
|
42
|
+
priority: 4,
|
|
43
|
+
active: false,
|
|
44
|
+
notes: "granite course module entry reviewed in cycle 1"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
id: "cou-38-005",
|
|
48
|
+
label: "central annex 5",
|
|
49
|
+
capacity: 30,
|
|
50
|
+
priority: 4,
|
|
51
|
+
active: false,
|
|
52
|
+
notes: "granite course module entry reviewed in cycle 9"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
id: "cou-38-006",
|
|
56
|
+
label: "central annex 6",
|
|
57
|
+
capacity: 40,
|
|
58
|
+
priority: 5,
|
|
59
|
+
active: false,
|
|
60
|
+
notes: "granite course module entry reviewed in cycle 5"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
id: "cou-38-007",
|
|
64
|
+
label: "northern row 7",
|
|
65
|
+
capacity: 64,
|
|
66
|
+
priority: 3,
|
|
67
|
+
active: false,
|
|
68
|
+
notes: "northern course module entry reviewed in cycle 9"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
id: "cou-38-008",
|
|
72
|
+
label: "granite hall 8",
|
|
73
|
+
capacity: 88,
|
|
74
|
+
priority: 5,
|
|
75
|
+
active: false,
|
|
76
|
+
notes: "northern course module entry reviewed in cycle 1"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
id: "cou-38-009",
|
|
80
|
+
label: "northern annex 9",
|
|
81
|
+
capacity: 34,
|
|
82
|
+
priority: 4,
|
|
83
|
+
active: false,
|
|
84
|
+
notes: "central course module entry reviewed in cycle 5"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
id: "cou-38-010",
|
|
88
|
+
label: "central hall 10",
|
|
89
|
+
capacity: 12,
|
|
90
|
+
priority: 1,
|
|
91
|
+
active: false,
|
|
92
|
+
notes: "northern course module entry reviewed in cycle 1"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
id: "cou-38-011",
|
|
96
|
+
label: "granite annex 11",
|
|
97
|
+
capacity: 74,
|
|
98
|
+
priority: 5,
|
|
99
|
+
active: false,
|
|
100
|
+
notes: "granite course module entry reviewed in cycle 5"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
id: "cou-38-012",
|
|
104
|
+
label: "central annex 12",
|
|
105
|
+
capacity: 82,
|
|
106
|
+
priority: 4,
|
|
107
|
+
active: false,
|
|
108
|
+
notes: "central course module entry reviewed in cycle 1"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
id: "cou-38-013",
|
|
112
|
+
label: "granite annex 13",
|
|
113
|
+
capacity: 12,
|
|
114
|
+
priority: 3,
|
|
115
|
+
active: false,
|
|
116
|
+
notes: "granite course module entry reviewed in cycle 1"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
id: "cou-38-014",
|
|
120
|
+
label: "granite hall 14",
|
|
121
|
+
capacity: 86,
|
|
122
|
+
priority: 2,
|
|
123
|
+
active: false,
|
|
124
|
+
notes: "granite course module entry reviewed in cycle 9"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
id: "cou-38-015",
|
|
128
|
+
label: "northern annex 15",
|
|
129
|
+
capacity: 74,
|
|
130
|
+
priority: 2,
|
|
131
|
+
active: false,
|
|
132
|
+
notes: "northern course module entry reviewed in cycle 1"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
id: "cou-38-016",
|
|
136
|
+
label: "central annex 16",
|
|
137
|
+
capacity: 62,
|
|
138
|
+
priority: 3,
|
|
139
|
+
active: false,
|
|
140
|
+
notes: "northern course module entry reviewed in cycle 1"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
id: "cou-38-017",
|
|
144
|
+
label: "central hall 17",
|
|
145
|
+
capacity: 84,
|
|
146
|
+
priority: 3,
|
|
147
|
+
active: false,
|
|
148
|
+
notes: "central course module entry reviewed in cycle 5"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
id: "cou-38-018",
|
|
152
|
+
label: "northern annex 18",
|
|
153
|
+
capacity: 32,
|
|
154
|
+
priority: 3,
|
|
155
|
+
active: false,
|
|
156
|
+
notes: "granite course module entry reviewed in cycle 5"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
id: "cou-38-019",
|
|
160
|
+
label: "northern row 19",
|
|
161
|
+
capacity: 86,
|
|
162
|
+
priority: 5,
|
|
163
|
+
active: false,
|
|
164
|
+
notes: "central course module entry reviewed in cycle 9"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
id: "cou-38-020",
|
|
168
|
+
label: "granite annex 20",
|
|
169
|
+
capacity: 32,
|
|
170
|
+
priority: 2,
|
|
171
|
+
active: false,
|
|
172
|
+
notes: "granite course module entry reviewed in cycle 9"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
id: "cou-38-021",
|
|
176
|
+
label: "granite annex 21",
|
|
177
|
+
capacity: 38,
|
|
178
|
+
priority: 3,
|
|
179
|
+
active: false,
|
|
180
|
+
notes: "granite course module entry reviewed in cycle 1"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
id: "cou-38-022",
|
|
184
|
+
label: "granite hall 22",
|
|
185
|
+
capacity: 42,
|
|
186
|
+
priority: 2,
|
|
187
|
+
active: false,
|
|
188
|
+
notes: "northern course module entry reviewed in cycle 5"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
id: "cou-38-023",
|
|
192
|
+
label: "central annex 23",
|
|
193
|
+
capacity: 30,
|
|
194
|
+
priority: 3,
|
|
195
|
+
active: false,
|
|
196
|
+
notes: "granite course module entry reviewed in cycle 5"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
id: "cou-38-024",
|
|
200
|
+
label: "central row 24",
|
|
201
|
+
capacity: 76,
|
|
202
|
+
priority: 2,
|
|
203
|
+
active: false,
|
|
204
|
+
notes: "northern course module entry reviewed in cycle 9"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
id: "cou-38-025",
|
|
208
|
+
label: "central row 25",
|
|
209
|
+
capacity: 24,
|
|
210
|
+
priority: 1,
|
|
211
|
+
active: false,
|
|
212
|
+
notes: "central course module entry reviewed in cycle 5"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
id: "cou-38-026",
|
|
216
|
+
label: "granite annex 26",
|
|
217
|
+
capacity: 26,
|
|
218
|
+
priority: 4,
|
|
219
|
+
active: false,
|
|
220
|
+
notes: "northern course module entry reviewed in cycle 9"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
id: "cou-38-027",
|
|
224
|
+
label: "granite row 27",
|
|
225
|
+
capacity: 42,
|
|
226
|
+
priority: 3,
|
|
227
|
+
active: false,
|
|
228
|
+
notes: "granite course module entry reviewed in cycle 5"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
id: "cou-38-028",
|
|
232
|
+
label: "central hall 28",
|
|
233
|
+
capacity: 32,
|
|
234
|
+
priority: 2,
|
|
235
|
+
active: false,
|
|
236
|
+
notes: "northern course module entry reviewed in cycle 1"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
id: "cou-38-029",
|
|
240
|
+
label: "northern annex 29",
|
|
241
|
+
capacity: 84,
|
|
242
|
+
priority: 2,
|
|
243
|
+
active: false,
|
|
244
|
+
notes: "granite course module entry reviewed in cycle 1"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
id: "cou-38-030",
|
|
248
|
+
label: "granite hall 30",
|
|
249
|
+
capacity: 66,
|
|
250
|
+
priority: 5,
|
|
251
|
+
active: false,
|
|
252
|
+
notes: "central course module entry reviewed in cycle 9"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
id: "cou-38-031",
|
|
256
|
+
label: "northern annex 31",
|
|
257
|
+
capacity: 64,
|
|
258
|
+
priority: 2,
|
|
259
|
+
active: false,
|
|
260
|
+
notes: "northern course module entry reviewed in cycle 5"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
id: "cou-38-032",
|
|
264
|
+
label: "central row 32",
|
|
265
|
+
capacity: 32,
|
|
266
|
+
priority: 1,
|
|
267
|
+
active: false,
|
|
268
|
+
notes: "granite course module entry reviewed in cycle 9"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
id: "cou-38-033",
|
|
272
|
+
label: "central annex 33",
|
|
273
|
+
capacity: 74,
|
|
274
|
+
priority: 2,
|
|
275
|
+
active: false,
|
|
276
|
+
notes: "northern course module entry reviewed in cycle 9"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
id: "cou-38-034",
|
|
280
|
+
label: "granite annex 34",
|
|
281
|
+
capacity: 64,
|
|
282
|
+
priority: 1,
|
|
283
|
+
active: false,
|
|
284
|
+
notes: "northern course module entry reviewed in cycle 1"
|
|
285
|
+
}
|
|
286
|
+
];
|
|
287
|
+
|
|
288
|
+
export function findCourseModuleRecord38(id: string): CourseModuleRecord38 | undefined {
|
|
289
|
+
return courseModuleRecords38.find((record) => record.id === id);
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
export function listCourseModuleActiveRecords38(): CourseModuleRecord38[] {
|
|
293
|
+
return courseModuleRecords38.filter((record) => record.active);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
export function totalCourseModuleCapacity38(): number {
|
|
297
|
+
return courseModuleRecords38.reduce((sum, record) => sum + record.capacity, 0);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
export function countCourseModuleByPriority38(priority: number): number {
|
|
301
|
+
return courseModuleRecords38.filter((record) => record.priority === priority).length;
|
|
302
|
+
}
|