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