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