@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-3). 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 ClinicWardRecord24 {
|
|
5
|
+
id: string;
|
|
6
|
+
label: string;
|
|
7
|
+
capacity: number;
|
|
8
|
+
priority: number;
|
|
9
|
+
active: boolean;
|
|
10
|
+
notes: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const clinicWardRecords24: readonly ClinicWardRecord24[] = [
|
|
14
|
+
{
|
|
15
|
+
id: "cli-24-001",
|
|
16
|
+
label: "northern hall 1",
|
|
17
|
+
capacity: 84,
|
|
18
|
+
priority: 1,
|
|
19
|
+
active: false,
|
|
20
|
+
notes: "granite clinic ward entry reviewed in cycle 5"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
id: "cli-24-002",
|
|
24
|
+
label: "northern row 2",
|
|
25
|
+
capacity: 14,
|
|
26
|
+
priority: 4,
|
|
27
|
+
active: false,
|
|
28
|
+
notes: "granite clinic ward entry reviewed in cycle 1"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
id: "cli-24-003",
|
|
32
|
+
label: "granite hall 3",
|
|
33
|
+
capacity: 84,
|
|
34
|
+
priority: 1,
|
|
35
|
+
active: false,
|
|
36
|
+
notes: "northern clinic ward entry reviewed in cycle 9"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
id: "cli-24-004",
|
|
40
|
+
label: "northern row 4",
|
|
41
|
+
capacity: 48,
|
|
42
|
+
priority: 2,
|
|
43
|
+
active: false,
|
|
44
|
+
notes: "central clinic ward entry reviewed in cycle 1"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
id: "cli-24-005",
|
|
48
|
+
label: "eastern annex 5",
|
|
49
|
+
capacity: 48,
|
|
50
|
+
priority: 4,
|
|
51
|
+
active: false,
|
|
52
|
+
notes: "northern clinic ward entry reviewed in cycle 1"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
id: "cli-24-006",
|
|
56
|
+
label: "granite row 6",
|
|
57
|
+
capacity: 88,
|
|
58
|
+
priority: 1,
|
|
59
|
+
active: false,
|
|
60
|
+
notes: "central clinic ward entry reviewed in cycle 1"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
id: "cli-24-007",
|
|
64
|
+
label: "central annex 7",
|
|
65
|
+
capacity: 30,
|
|
66
|
+
priority: 4,
|
|
67
|
+
active: false,
|
|
68
|
+
notes: "northern clinic ward entry reviewed in cycle 9"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
id: "cli-24-008",
|
|
72
|
+
label: "northern annex 8",
|
|
73
|
+
capacity: 40,
|
|
74
|
+
priority: 3,
|
|
75
|
+
active: false,
|
|
76
|
+
notes: "central clinic ward entry reviewed in cycle 5"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
id: "cli-24-009",
|
|
80
|
+
label: "northern annex 9",
|
|
81
|
+
capacity: 62,
|
|
82
|
+
priority: 2,
|
|
83
|
+
active: false,
|
|
84
|
+
notes: "northern clinic ward entry reviewed in cycle 9"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
id: "cli-24-010",
|
|
88
|
+
label: "northern row 10",
|
|
89
|
+
capacity: 56,
|
|
90
|
+
priority: 5,
|
|
91
|
+
active: false,
|
|
92
|
+
notes: "northern clinic ward entry reviewed in cycle 9"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
id: "cli-24-011",
|
|
96
|
+
label: "granite row 11",
|
|
97
|
+
capacity: 46,
|
|
98
|
+
priority: 1,
|
|
99
|
+
active: false,
|
|
100
|
+
notes: "northern clinic ward entry reviewed in cycle 9"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
id: "cli-24-012",
|
|
104
|
+
label: "northern annex 12",
|
|
105
|
+
capacity: 32,
|
|
106
|
+
priority: 4,
|
|
107
|
+
active: false,
|
|
108
|
+
notes: "central clinic ward entry reviewed in cycle 5"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
id: "cli-24-013",
|
|
112
|
+
label: "granite row 13",
|
|
113
|
+
capacity: 98,
|
|
114
|
+
priority: 3,
|
|
115
|
+
active: false,
|
|
116
|
+
notes: "granite clinic ward entry reviewed in cycle 9"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
id: "cli-24-014",
|
|
120
|
+
label: "northern annex 14",
|
|
121
|
+
capacity: 44,
|
|
122
|
+
priority: 5,
|
|
123
|
+
active: false,
|
|
124
|
+
notes: "central clinic ward entry reviewed in cycle 9"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
id: "cli-24-015",
|
|
128
|
+
label: "northern annex 15",
|
|
129
|
+
capacity: 48,
|
|
130
|
+
priority: 3,
|
|
131
|
+
active: false,
|
|
132
|
+
notes: "central clinic ward entry reviewed in cycle 9"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
id: "cli-24-016",
|
|
136
|
+
label: "granite annex 16",
|
|
137
|
+
capacity: 22,
|
|
138
|
+
priority: 5,
|
|
139
|
+
active: false,
|
|
140
|
+
notes: "central clinic ward entry reviewed in cycle 1"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
id: "cli-24-017",
|
|
144
|
+
label: "northern row 17",
|
|
145
|
+
capacity: 82,
|
|
146
|
+
priority: 4,
|
|
147
|
+
active: false,
|
|
148
|
+
notes: "northern clinic ward entry reviewed in cycle 9"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
id: "cli-24-018",
|
|
152
|
+
label: "northern annex 18",
|
|
153
|
+
capacity: 78,
|
|
154
|
+
priority: 3,
|
|
155
|
+
active: false,
|
|
156
|
+
notes: "central clinic ward entry reviewed in cycle 9"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
id: "cli-24-019",
|
|
160
|
+
label: "northern annex 19",
|
|
161
|
+
capacity: 72,
|
|
162
|
+
priority: 3,
|
|
163
|
+
active: false,
|
|
164
|
+
notes: "northern clinic ward entry reviewed in cycle 1"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
id: "cli-24-020",
|
|
168
|
+
label: "granite annex 20",
|
|
169
|
+
capacity: 94,
|
|
170
|
+
priority: 5,
|
|
171
|
+
active: false,
|
|
172
|
+
notes: "granite clinic ward entry reviewed in cycle 9"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
id: "cli-24-021",
|
|
176
|
+
label: "granite hall 21",
|
|
177
|
+
capacity: 38,
|
|
178
|
+
priority: 1,
|
|
179
|
+
active: false,
|
|
180
|
+
notes: "granite clinic ward entry reviewed in cycle 9"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
id: "cli-24-022",
|
|
184
|
+
label: "granite row 22",
|
|
185
|
+
capacity: 74,
|
|
186
|
+
priority: 4,
|
|
187
|
+
active: false,
|
|
188
|
+
notes: "northern clinic ward entry reviewed in cycle 5"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
id: "cli-24-023",
|
|
192
|
+
label: "granite row 23",
|
|
193
|
+
capacity: 40,
|
|
194
|
+
priority: 3,
|
|
195
|
+
active: false,
|
|
196
|
+
notes: "central clinic ward entry reviewed in cycle 9"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
id: "cli-24-024",
|
|
200
|
+
label: "northern annex 24",
|
|
201
|
+
capacity: 44,
|
|
202
|
+
priority: 5,
|
|
203
|
+
active: false,
|
|
204
|
+
notes: "central clinic ward entry reviewed in cycle 5"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
id: "cli-24-025",
|
|
208
|
+
label: "granite hall 25",
|
|
209
|
+
capacity: 88,
|
|
210
|
+
priority: 3,
|
|
211
|
+
active: false,
|
|
212
|
+
notes: "northern clinic ward entry reviewed in cycle 5"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
id: "cli-24-026",
|
|
216
|
+
label: "northern hall 26",
|
|
217
|
+
capacity: 54,
|
|
218
|
+
priority: 2,
|
|
219
|
+
active: false,
|
|
220
|
+
notes: "granite clinic ward entry reviewed in cycle 9"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
id: "cli-24-027",
|
|
224
|
+
label: "northern loft 27",
|
|
225
|
+
capacity: 56,
|
|
226
|
+
priority: 4,
|
|
227
|
+
active: false,
|
|
228
|
+
notes: "central clinic ward entry reviewed in cycle 5"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
id: "cli-24-028",
|
|
232
|
+
label: "granite annex 28",
|
|
233
|
+
capacity: 22,
|
|
234
|
+
priority: 3,
|
|
235
|
+
active: false,
|
|
236
|
+
notes: "northern clinic ward entry reviewed in cycle 1"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
id: "cli-24-029",
|
|
240
|
+
label: "central hall 29",
|
|
241
|
+
capacity: 52,
|
|
242
|
+
priority: 4,
|
|
243
|
+
active: false,
|
|
244
|
+
notes: "central clinic ward entry reviewed in cycle 9"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
id: "cli-24-030",
|
|
248
|
+
label: "northern hall 30",
|
|
249
|
+
capacity: 24,
|
|
250
|
+
priority: 4,
|
|
251
|
+
active: false,
|
|
252
|
+
notes: "granite clinic ward entry reviewed in cycle 1"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
id: "cli-24-031",
|
|
256
|
+
label: "central row 31",
|
|
257
|
+
capacity: 30,
|
|
258
|
+
priority: 2,
|
|
259
|
+
active: false,
|
|
260
|
+
notes: "central clinic ward entry reviewed in cycle 5"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
id: "cli-24-032",
|
|
264
|
+
label: "northern hall 32",
|
|
265
|
+
capacity: 72,
|
|
266
|
+
priority: 3,
|
|
267
|
+
active: false,
|
|
268
|
+
notes: "central clinic ward entry reviewed in cycle 9"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
id: "cli-24-033",
|
|
272
|
+
label: "central annex 33",
|
|
273
|
+
capacity: 12,
|
|
274
|
+
priority: 5,
|
|
275
|
+
active: false,
|
|
276
|
+
notes: "central clinic ward entry reviewed in cycle 1"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
id: "cli-24-034",
|
|
280
|
+
label: "northern hall 34",
|
|
281
|
+
capacity: 98,
|
|
282
|
+
priority: 2,
|
|
283
|
+
active: false,
|
|
284
|
+
notes: "central clinic ward entry reviewed in cycle 1"
|
|
285
|
+
}
|
|
286
|
+
];
|
|
287
|
+
|
|
288
|
+
export function findClinicWardRecord24(id: string): ClinicWardRecord24 | undefined {
|
|
289
|
+
return clinicWardRecords24.find((record) => record.id === id);
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
export function listClinicWardActiveRecords24(): ClinicWardRecord24[] {
|
|
293
|
+
return clinicWardRecords24.filter((record) => record.active);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
export function totalClinicWardCapacity24(): number {
|
|
297
|
+
return clinicWardRecords24.reduce((sum, record) => sum + record.capacity, 0);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
export function countClinicWardByPriority24(priority: number): number {
|
|
301
|
+
return clinicWardRecords24.filter((record) => record.priority === priority).length;
|
|
302
|
+
}
|
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
// Scale-only filler (tier-3). 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 CourseModuleRecord22 {
|
|
5
|
+
id: string;
|
|
6
|
+
label: string;
|
|
7
|
+
capacity: number;
|
|
8
|
+
priority: number;
|
|
9
|
+
active: boolean;
|
|
10
|
+
notes: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const courseModuleRecords22: readonly CourseModuleRecord22[] = [
|
|
14
|
+
{
|
|
15
|
+
id: "cou-22-001",
|
|
16
|
+
label: "granite annex 1",
|
|
17
|
+
capacity: 84,
|
|
18
|
+
priority: 3,
|
|
19
|
+
active: false,
|
|
20
|
+
notes: "granite course module entry reviewed in cycle 1"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
id: "cou-22-002",
|
|
24
|
+
label: "northern row 2",
|
|
25
|
+
capacity: 86,
|
|
26
|
+
priority: 1,
|
|
27
|
+
active: false,
|
|
28
|
+
notes: "northern course module entry reviewed in cycle 5"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
id: "cou-22-003",
|
|
32
|
+
label: "northern annex 3",
|
|
33
|
+
capacity: 20,
|
|
34
|
+
priority: 3,
|
|
35
|
+
active: false,
|
|
36
|
+
notes: "granite course module entry reviewed in cycle 9"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
id: "cou-22-004",
|
|
40
|
+
label: "northern annex 4",
|
|
41
|
+
capacity: 68,
|
|
42
|
+
priority: 2,
|
|
43
|
+
active: false,
|
|
44
|
+
notes: "granite course module entry reviewed in cycle 1"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
id: "cou-22-005",
|
|
48
|
+
label: "northern annex 5",
|
|
49
|
+
capacity: 50,
|
|
50
|
+
priority: 1,
|
|
51
|
+
active: false,
|
|
52
|
+
notes: "granite course module entry reviewed in cycle 9"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
id: "cou-22-006",
|
|
56
|
+
label: "central row 6",
|
|
57
|
+
capacity: 74,
|
|
58
|
+
priority: 5,
|
|
59
|
+
active: false,
|
|
60
|
+
notes: "granite course module entry reviewed in cycle 5"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
id: "cou-22-007",
|
|
64
|
+
label: "northern hall 7",
|
|
65
|
+
capacity: 10,
|
|
66
|
+
priority: 5,
|
|
67
|
+
active: false,
|
|
68
|
+
notes: "granite course module entry reviewed in cycle 5"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
id: "cou-22-008",
|
|
72
|
+
label: "granite annex 8",
|
|
73
|
+
capacity: 92,
|
|
74
|
+
priority: 3,
|
|
75
|
+
active: false,
|
|
76
|
+
notes: "central course module entry reviewed in cycle 5"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
id: "cou-22-009",
|
|
80
|
+
label: "northern row 9",
|
|
81
|
+
capacity: 44,
|
|
82
|
+
priority: 3,
|
|
83
|
+
active: false,
|
|
84
|
+
notes: "granite course module entry reviewed in cycle 1"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
id: "cou-22-010",
|
|
88
|
+
label: "granite row 10",
|
|
89
|
+
capacity: 24,
|
|
90
|
+
priority: 2,
|
|
91
|
+
active: false,
|
|
92
|
+
notes: "granite course module entry reviewed in cycle 5"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
id: "cou-22-011",
|
|
96
|
+
label: "central annex 11",
|
|
97
|
+
capacity: 54,
|
|
98
|
+
priority: 2,
|
|
99
|
+
active: false,
|
|
100
|
+
notes: "central course module entry reviewed in cycle 5"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
id: "cou-22-012",
|
|
104
|
+
label: "central depot 12",
|
|
105
|
+
capacity: 50,
|
|
106
|
+
priority: 5,
|
|
107
|
+
active: false,
|
|
108
|
+
notes: "central course module entry reviewed in cycle 9"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
id: "cou-22-013",
|
|
112
|
+
label: "northern hall 13",
|
|
113
|
+
capacity: 64,
|
|
114
|
+
priority: 5,
|
|
115
|
+
active: false,
|
|
116
|
+
notes: "granite course module entry reviewed in cycle 9"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
id: "cou-22-014",
|
|
120
|
+
label: "northern hall 14",
|
|
121
|
+
capacity: 84,
|
|
122
|
+
priority: 1,
|
|
123
|
+
active: false,
|
|
124
|
+
notes: "northern course module entry reviewed in cycle 9"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
id: "cou-22-015",
|
|
128
|
+
label: "granite hall 15",
|
|
129
|
+
capacity: 58,
|
|
130
|
+
priority: 2,
|
|
131
|
+
active: false,
|
|
132
|
+
notes: "central course module entry reviewed in cycle 5"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
id: "cou-22-016",
|
|
136
|
+
label: "granite row 16",
|
|
137
|
+
capacity: 32,
|
|
138
|
+
priority: 1,
|
|
139
|
+
active: false,
|
|
140
|
+
notes: "granite course module entry reviewed in cycle 1"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
id: "cou-22-017",
|
|
144
|
+
label: "northern row 17",
|
|
145
|
+
capacity: 70,
|
|
146
|
+
priority: 4,
|
|
147
|
+
active: false,
|
|
148
|
+
notes: "northern course module entry reviewed in cycle 9"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
id: "cou-22-018",
|
|
152
|
+
label: "central hall 18",
|
|
153
|
+
capacity: 62,
|
|
154
|
+
priority: 4,
|
|
155
|
+
active: false,
|
|
156
|
+
notes: "granite course module entry reviewed in cycle 5"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
id: "cou-22-019",
|
|
160
|
+
label: "northern hall 19",
|
|
161
|
+
capacity: 48,
|
|
162
|
+
priority: 3,
|
|
163
|
+
active: false,
|
|
164
|
+
notes: "granite course module entry reviewed in cycle 9"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
id: "cou-22-020",
|
|
168
|
+
label: "northern hall 20",
|
|
169
|
+
capacity: 44,
|
|
170
|
+
priority: 3,
|
|
171
|
+
active: false,
|
|
172
|
+
notes: "central course module entry reviewed in cycle 9"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
id: "cou-22-021",
|
|
176
|
+
label: "central annex 21",
|
|
177
|
+
capacity: 12,
|
|
178
|
+
priority: 4,
|
|
179
|
+
active: false,
|
|
180
|
+
notes: "central course module entry reviewed in cycle 5"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
id: "cou-22-022",
|
|
184
|
+
label: "central hall 22",
|
|
185
|
+
capacity: 70,
|
|
186
|
+
priority: 5,
|
|
187
|
+
active: false,
|
|
188
|
+
notes: "granite course module entry reviewed in cycle 9"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
id: "cou-22-023",
|
|
192
|
+
label: "northern annex 23",
|
|
193
|
+
capacity: 84,
|
|
194
|
+
priority: 4,
|
|
195
|
+
active: false,
|
|
196
|
+
notes: "northern course module entry reviewed in cycle 1"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
id: "cou-22-024",
|
|
200
|
+
label: "northern row 24",
|
|
201
|
+
capacity: 52,
|
|
202
|
+
priority: 2,
|
|
203
|
+
active: false,
|
|
204
|
+
notes: "central course module entry reviewed in cycle 1"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
id: "cou-22-025",
|
|
208
|
+
label: "northern annex 25",
|
|
209
|
+
capacity: 56,
|
|
210
|
+
priority: 2,
|
|
211
|
+
active: false,
|
|
212
|
+
notes: "northern course module entry reviewed in cycle 9"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
id: "cou-22-026",
|
|
216
|
+
label: "central annex 26",
|
|
217
|
+
capacity: 74,
|
|
218
|
+
priority: 3,
|
|
219
|
+
active: false,
|
|
220
|
+
notes: "granite course module entry reviewed in cycle 9"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
id: "cou-22-027",
|
|
224
|
+
label: "granite row 27",
|
|
225
|
+
capacity: 76,
|
|
226
|
+
priority: 2,
|
|
227
|
+
active: false,
|
|
228
|
+
notes: "granite course module entry reviewed in cycle 5"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
id: "cou-22-028",
|
|
232
|
+
label: "northern hall 28",
|
|
233
|
+
capacity: 86,
|
|
234
|
+
priority: 3,
|
|
235
|
+
active: false,
|
|
236
|
+
notes: "northern course module entry reviewed in cycle 9"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
id: "cou-22-029",
|
|
240
|
+
label: "central annex 29",
|
|
241
|
+
capacity: 84,
|
|
242
|
+
priority: 3,
|
|
243
|
+
active: false,
|
|
244
|
+
notes: "granite course module entry reviewed in cycle 9"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
id: "cou-22-030",
|
|
248
|
+
label: "granite row 30",
|
|
249
|
+
capacity: 60,
|
|
250
|
+
priority: 3,
|
|
251
|
+
active: false,
|
|
252
|
+
notes: "central course module entry reviewed in cycle 9"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
id: "cou-22-031",
|
|
256
|
+
label: "granite row 31",
|
|
257
|
+
capacity: 80,
|
|
258
|
+
priority: 2,
|
|
259
|
+
active: false,
|
|
260
|
+
notes: "northern course module entry reviewed in cycle 5"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
id: "cou-22-032",
|
|
264
|
+
label: "granite annex 32",
|
|
265
|
+
capacity: 50,
|
|
266
|
+
priority: 5,
|
|
267
|
+
active: false,
|
|
268
|
+
notes: "northern course module entry reviewed in cycle 9"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
id: "cou-22-033",
|
|
272
|
+
label: "central hall 33",
|
|
273
|
+
capacity: 78,
|
|
274
|
+
priority: 5,
|
|
275
|
+
active: false,
|
|
276
|
+
notes: "central course module entry reviewed in cycle 1"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
id: "cou-22-034",
|
|
280
|
+
label: "central hall 34",
|
|
281
|
+
capacity: 68,
|
|
282
|
+
priority: 5,
|
|
283
|
+
active: false,
|
|
284
|
+
notes: "northern course module entry reviewed in cycle 1"
|
|
285
|
+
}
|
|
286
|
+
];
|
|
287
|
+
|
|
288
|
+
export function findCourseModuleRecord22(id: string): CourseModuleRecord22 | undefined {
|
|
289
|
+
return courseModuleRecords22.find((record) => record.id === id);
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
export function listCourseModuleActiveRecords22(): CourseModuleRecord22[] {
|
|
293
|
+
return courseModuleRecords22.filter((record) => record.active);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
export function totalCourseModuleCapacity22(): number {
|
|
297
|
+
return courseModuleRecords22.reduce((sum, record) => sum + record.capacity, 0);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
export function countCourseModuleByPriority22(priority: number): number {
|
|
301
|
+
return courseModuleRecords22.filter((record) => record.priority === priority).length;
|
|
302
|
+
}
|