@mailwoman/zoning 9.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +315 -0
- package/lib/index.ts +616 -0
- package/lib/ring-roles.ts +233 -0
- package/lib/rings.ts +34 -0
- package/lib/schema.ts +449 -0
- package/lib/scripts/ingest-chunk.ts +41 -0
- package/lib/sdk/build-zoning.ts +790 -0
- package/lib/sdk/cells.ts +276 -0
- package/lib/sdk/client.ts +335 -0
- package/lib/sdk/download.ts +78 -0
- package/lib/sdk/index.ts +15 -0
- package/lib/sdk/ingest-chunk.ts +360 -0
- package/lib/sdk/ingest.ts +402 -0
- package/lib/sdk/measure-resolutions.ts +100 -0
- package/lib/sdk/verify.ts +350 -0
- package/lib/test-kit.ts +207 -0
- package/lib/vocabulary.ts +342 -0
- package/out/index.d.ts +257 -0
- package/out/index.d.ts.map +1 -0
- package/out/index.js +325 -0
- package/out/index.js.map +1 -0
- package/out/ring-roles.d.ts +88 -0
- package/out/ring-roles.d.ts.map +1 -0
- package/out/ring-roles.js +151 -0
- package/out/ring-roles.js.map +1 -0
- package/out/rings.d.ts +22 -0
- package/out/rings.d.ts.map +1 -0
- package/out/rings.js +22 -0
- package/out/rings.js.map +1 -0
- package/out/schema.d.ts +325 -0
- package/out/schema.d.ts.map +1 -0
- package/out/schema.js +186 -0
- package/out/schema.js.map +1 -0
- package/out/scripts/ingest-chunk.d.ts +11 -0
- package/out/scripts/ingest-chunk.d.ts.map +1 -0
- package/out/scripts/ingest-chunk.js +36 -0
- package/out/scripts/ingest-chunk.js.map +1 -0
- package/out/sdk/build-zoning.d.ts +283 -0
- package/out/sdk/build-zoning.d.ts.map +1 -0
- package/out/sdk/build-zoning.js +462 -0
- package/out/sdk/build-zoning.js.map +1 -0
- package/out/sdk/cells.d.ts +137 -0
- package/out/sdk/cells.d.ts.map +1 -0
- package/out/sdk/cells.js +176 -0
- package/out/sdk/cells.js.map +1 -0
- package/out/sdk/client.d.ts +151 -0
- package/out/sdk/client.d.ts.map +1 -0
- package/out/sdk/client.js +239 -0
- package/out/sdk/client.js.map +1 -0
- package/out/sdk/download.d.ts +51 -0
- package/out/sdk/download.d.ts.map +1 -0
- package/out/sdk/download.js +57 -0
- package/out/sdk/download.js.map +1 -0
- package/out/sdk/index.d.ts +15 -0
- package/out/sdk/index.d.ts.map +1 -0
- package/out/sdk/index.js +15 -0
- package/out/sdk/index.js.map +1 -0
- package/out/sdk/ingest-chunk.d.ts +130 -0
- package/out/sdk/ingest-chunk.d.ts.map +1 -0
- package/out/sdk/ingest-chunk.js +206 -0
- package/out/sdk/ingest-chunk.js.map +1 -0
- package/out/sdk/ingest.d.ts +191 -0
- package/out/sdk/ingest.d.ts.map +1 -0
- package/out/sdk/ingest.js +238 -0
- package/out/sdk/ingest.js.map +1 -0
- package/out/sdk/measure-resolutions.d.ts +51 -0
- package/out/sdk/measure-resolutions.d.ts.map +1 -0
- package/out/sdk/measure-resolutions.js +64 -0
- package/out/sdk/measure-resolutions.js.map +1 -0
- package/out/sdk/verify.d.ts +176 -0
- package/out/sdk/verify.d.ts.map +1 -0
- package/out/sdk/verify.js +202 -0
- package/out/sdk/verify.js.map +1 -0
- package/out/test-kit.d.ts +97 -0
- package/out/test-kit.d.ts.map +1 -0
- package/out/test-kit.js +180 -0
- package/out/test-kit.js.map +1 -0
- package/out/vocabulary.d.ts +221 -0
- package/out/vocabulary.d.ts.map +1 -0
- package/out/vocabulary.js +299 -0
- package/out/vocabulary.js.map +1 -0
- package/package.json +245 -0
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @copyright Sister Software
|
|
3
|
+
* @license AGPL-3.0
|
|
4
|
+
* @author Teffen Ellis, et al.
|
|
5
|
+
*
|
|
6
|
+
* Build `zoning-ireland.db` — the sealed two-tier polygon layer, from the Department's bulk export.
|
|
7
|
+
*
|
|
8
|
+
* THE COVERAGE IS `source_present` AND THE TIER IS `build-local`, AND THE TWO ARE INDEPENDENT REFUSALS.
|
|
9
|
+
* The coverage basis is about what the source can support: the Department publishes its coverage detail only
|
|
10
|
+
* inside a map viewer, so an absent zoning polygon is one of at least four different things and
|
|
11
|
+
* {@linkcode assertNoNegativeClaim} refuses anything stronger before a row is written. The tier is about
|
|
12
|
+
* what the LICENCE supports: three published statements disagree about the grant, so
|
|
13
|
+
* {@linkcode assertTierMatchesLicense} refuses a `shipped` build. Resolving either one does not resolve the
|
|
14
|
+
* other.
|
|
15
|
+
*
|
|
16
|
+
* THE AREA CHECK IS THE HOLE CHECK AND THE ONE THING HERE THAT IS EXACT. The service encodes hole
|
|
17
|
+
* roles by ring orientation, and reading them wrong is silent — a hole read as an exterior produces a
|
|
18
|
+
* well-formed polygon that answers "inside" for every location the plan carved out. Measured over the whole
|
|
19
|
+
* national export: the rings read WITH their holes total 5,444.5 km² and the Department's own `Shape__Area`
|
|
20
|
+
* sums to 5,444.5 km²; the same rings read WITHOUT their holes total 5,666.6 km². The publisher's figure has
|
|
21
|
+
* to come from the live service, because the bulk export drops the column — which is what makes this a
|
|
22
|
+
* two-path check rather than the archive agreeing with itself.
|
|
23
|
+
*
|
|
24
|
+
* THERE IS NO BUILD-TIME TOUCH TABLE. A zoning cell row names ONE POLYGON, so it is final the moment that
|
|
25
|
+
* polygon is classified. The rows go straight in, and memory stays flat in row count with nothing to resolve
|
|
26
|
+
* afterwards.
|
|
27
|
+
*
|
|
28
|
+
* THE INGEST IS BOUNDED ANYWAY. h3's WASM heap cannot be reset from JavaScript and does not survive an
|
|
29
|
+
* unbounded number of polyfill calls; a sibling product died twice on that, after roughly 510,000 and
|
|
30
|
+
* 798,000 features. This product holds 85,330, so the whole country fits inside the 100,000-id default with
|
|
31
|
+
* room to spare — and the bound still ships, because a build that stays inside a ceiling by luck is not the
|
|
32
|
+
* same fact as one that cannot cross it.
|
|
33
|
+
*
|
|
34
|
+
* THE JURISDICTION, PLAN AND VOCABULARY ROWS ARE WRITTEN BY THE PARENT, once, from the merged chunk
|
|
35
|
+
* reports. They are the only tables whose rows are partials across chunks — an authority and a plan appear
|
|
36
|
+
* in every chunk that touches them — and merging them in the parent is what keeps the chunk append-only.
|
|
37
|
+
*/
|
|
38
|
+
import { CoverageBasis, LayerTier, type AreaAgreementReading, type CoverageCell } from "@mailwoman/core/layers";
|
|
39
|
+
import type { ZoningFeatureSource } from "#sdk/ingest";
|
|
40
|
+
import type { CrosswalkPair, ObservedTerm, ZoningChunkResult } from "#sdk/ingest-chunk";
|
|
41
|
+
/**
|
|
42
|
+
* Schema version of the domain tables. Bumped when a column changes meaning, never for an added column a reader can
|
|
43
|
+
* ignore.
|
|
44
|
+
*/
|
|
45
|
+
export declare const ZONING_SCHEMA_VERSION = 1;
|
|
46
|
+
/**
|
|
47
|
+
* The plan-level vocabulary scheme.
|
|
48
|
+
*/
|
|
49
|
+
export declare const PLAN_LEVEL_SCHEME = "IE-PLAN-LEVEL";
|
|
50
|
+
/**
|
|
51
|
+
* Feature ids per chunk process.
|
|
52
|
+
*
|
|
53
|
+
* Sized against the measured ceiling on a sibling product rather than guessed: single-process runs over that layer died
|
|
54
|
+
* after roughly 510,000 and 798,000 features as h3's WASM heap fragmented. This product holds 85,330 features, so this
|
|
55
|
+
* default puts the whole country in one process — and it is the ceiling that makes the build reproducible rather than
|
|
56
|
+
* the fact that this product happens to sit below it.
|
|
57
|
+
*
|
|
58
|
+
* A SMALLER CHUNK COSTS A FULL PASS EACH. The source is one 247 MB GeoJSON document rather than an indexed store, so
|
|
59
|
+
* ogr2ogr scans all of it per range: measured at 13.2 s per pass on this lab.
|
|
60
|
+
*/
|
|
61
|
+
export declare const DEFAULT_CHUNK_SIZE = 100000;
|
|
62
|
+
/**
|
|
63
|
+
* Where a build gets its features, and — for a real one — how it bounds each process's share of them.
|
|
64
|
+
*/
|
|
65
|
+
export type BuildZoningInput = {
|
|
66
|
+
/**
|
|
67
|
+
* A feature source consumed IN THIS PROCESS. Correct for a fixture and for anything small; it is what the batched
|
|
68
|
+
* form falls back to per chunk, so the two share one implementation.
|
|
69
|
+
*/
|
|
70
|
+
source: ZoningFeatureSource;
|
|
71
|
+
} | {
|
|
72
|
+
/**
|
|
73
|
+
* The bulk export, ingested in bounded chunks — one child process per range of the authority's own feature ids.
|
|
74
|
+
*/
|
|
75
|
+
batched: {
|
|
76
|
+
exportPath: string;
|
|
77
|
+
/**
|
|
78
|
+
* Feature ids per chunk. See {@link DEFAULT_CHUNK_SIZE}.
|
|
79
|
+
*/
|
|
80
|
+
chunkSize?: number;
|
|
81
|
+
/**
|
|
82
|
+
* The feature count the whole build should yield.
|
|
83
|
+
*/
|
|
84
|
+
declaredFeatureCount: number;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
export type BuildZoningOptions = BuildZoningInput & {
|
|
88
|
+
/**
|
|
89
|
+
* Where the sealed artifact lands. The build writes beside it and swaps.
|
|
90
|
+
*/
|
|
91
|
+
out: string;
|
|
92
|
+
/**
|
|
93
|
+
* The product vintage — `layer_manifest.version` and `source_vintage`.
|
|
94
|
+
*/
|
|
95
|
+
sourceVintage: string;
|
|
96
|
+
buildCmd: string;
|
|
97
|
+
buildSHA: string;
|
|
98
|
+
/**
|
|
99
|
+
* ISO-8601, supplied by the caller. Never generated here: the contract says so, and a library-generated timestamp
|
|
100
|
+
* makes two builds of the same inputs differ.
|
|
101
|
+
*/
|
|
102
|
+
createdAt: string;
|
|
103
|
+
/**
|
|
104
|
+
* The resolution the cell index is built at — chosen from the candidates-per-cell and zero-cell measurement.
|
|
105
|
+
*/
|
|
106
|
+
indexResolution: number;
|
|
107
|
+
/**
|
|
108
|
+
* The resolution `layer_coverage` rows are keyed at. Must be coarser than the index resolution.
|
|
109
|
+
*/
|
|
110
|
+
coverageResolution: number;
|
|
111
|
+
/**
|
|
112
|
+
* The publisher's OWN area figure for the whole product, in square metres — its `Shape__Area` sum, read from the live
|
|
113
|
+
* service. Supplied, the build asserts the rings it encoded agree with it.
|
|
114
|
+
*/
|
|
115
|
+
expectedSourceAreaM2?: number;
|
|
116
|
+
/**
|
|
117
|
+
* The feature count the live service reports. Supplied, the build asserts its own streamed total against it.
|
|
118
|
+
*/
|
|
119
|
+
expectedFeatureCount?: number;
|
|
120
|
+
/**
|
|
121
|
+
* The tier to stamp. `build-local` unless the licence contradiction is resolved — see
|
|
122
|
+
* {@link assertTierMatchesLicense}.
|
|
123
|
+
*/
|
|
124
|
+
tier?: LayerTier;
|
|
125
|
+
onProgress?: (message: string) => void;
|
|
126
|
+
};
|
|
127
|
+
export interface BuildZoningResult {
|
|
128
|
+
out: string;
|
|
129
|
+
features: number;
|
|
130
|
+
jurisdictions: number;
|
|
131
|
+
plans: number;
|
|
132
|
+
indexResolution: number;
|
|
133
|
+
coverageResolution: number;
|
|
134
|
+
wholeCellRows: number;
|
|
135
|
+
partialCellRows: number;
|
|
136
|
+
/**
|
|
137
|
+
* `partialCellRows / (wholeCellRows + partialCellRows)` over the STORED rows — the whole side is compacted per
|
|
138
|
+
* feature, so this is not the same number the resolution was chosen on and is reported separately.
|
|
139
|
+
*/
|
|
140
|
+
storedPartialShare: number;
|
|
141
|
+
/**
|
|
142
|
+
* Features whose bounding box forced a resolution coarser than `indexResolution`, and the resolutions the stored cell
|
|
143
|
+
* rows are actually at. Both are reported rather than smoothed over: a reader that assumed one resolution would probe
|
|
144
|
+
* at the wrong one and read every coarsened feature as an absence.
|
|
145
|
+
*/
|
|
146
|
+
coarsenedFeatures: number;
|
|
147
|
+
storedResolutions: number[];
|
|
148
|
+
coverageCells: number;
|
|
149
|
+
/**
|
|
150
|
+
* The basis every coverage row carries. `source_present`, always, while `zoning_mapped_extent` is empty.
|
|
151
|
+
*/
|
|
152
|
+
coverageBasis: CoverageBasis;
|
|
153
|
+
tier: LayerTier;
|
|
154
|
+
license: string;
|
|
155
|
+
/**
|
|
156
|
+
* The ring-role census: how many rings, how many the orientation read as exteriors and holes, and how many holes were
|
|
157
|
+
* placed on their parent's boundary rather than inside it.
|
|
158
|
+
*/
|
|
159
|
+
rings: {
|
|
160
|
+
total: number;
|
|
161
|
+
exteriors: number;
|
|
162
|
+
holes: number;
|
|
163
|
+
nestedHoles: number;
|
|
164
|
+
adjacentHoles: number;
|
|
165
|
+
/**
|
|
166
|
+
* Features whose exterior was chosen by MAGNITUDE because no ring read as one by orientation. Measured at ONE of
|
|
167
|
+
* 85,330 — a three-vertex sliver enclosing 3.0 × 10⁻⁷ m², where a ring's winding is floating-point noise rather
|
|
168
|
+
* than something the publisher stated. Reported rather than implied to be zero.
|
|
169
|
+
*/
|
|
170
|
+
exteriorByMagnitude: number;
|
|
171
|
+
};
|
|
172
|
+
/**
|
|
173
|
+
* The area totals in square kilometres — what the publisher says, what the encoded rings say read with their holes,
|
|
174
|
+
* and what they would say read without — with the witness stated, plus this product's own signed ring sum. The
|
|
175
|
+
* publisher's figure is never defaulted to this build's own reading: a receipt printing "publisher 205.4 km², 0.000%
|
|
176
|
+
* apart" when nobody asked the publisher is a check reporting itself as passed.
|
|
177
|
+
*/
|
|
178
|
+
area: AreaAgreementReading & {
|
|
179
|
+
signedKM2: number;
|
|
180
|
+
};
|
|
181
|
+
/**
|
|
182
|
+
* The vocabulary census, per scheme: how many codes the artifact holds and how many of them the publisher never
|
|
183
|
+
* declared.
|
|
184
|
+
*/
|
|
185
|
+
vocabulary: Array<{
|
|
186
|
+
scheme: string;
|
|
187
|
+
codes: number;
|
|
188
|
+
undeclared: number;
|
|
189
|
+
undeclaredCodes: string[];
|
|
190
|
+
}>;
|
|
191
|
+
/**
|
|
192
|
+
* (authority, local code) pairs, and how many of them take MORE THAN ONE generic type — the measurement that keeps
|
|
193
|
+
* `zoning_crosswalk_edge` empty.
|
|
194
|
+
*/
|
|
195
|
+
crosswalk: {
|
|
196
|
+
pairs: number;
|
|
197
|
+
nonFunctionalPairs: number;
|
|
198
|
+
/**
|
|
199
|
+
* The worst offenders, most generic types first, for the receipt.
|
|
200
|
+
*/
|
|
201
|
+
worst: Array<{
|
|
202
|
+
authorityCode: string;
|
|
203
|
+
localCode: string;
|
|
204
|
+
crosswalkCodes: string[];
|
|
205
|
+
}>;
|
|
206
|
+
};
|
|
207
|
+
sizeBytes: number;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Build the layer.
|
|
211
|
+
*
|
|
212
|
+
* @throws {Error} On a feature that reaches no cell, a feature count that disagrees with the source's own declaration,
|
|
213
|
+
* an area total that disagrees with the publisher's, a coverage row that would license a negative claim, a crosswalk
|
|
214
|
+
* edge table written while the mapping is not a function, or a `shipped` tier asked for under an unresolved licence.
|
|
215
|
+
*/
|
|
216
|
+
export declare function buildZoningDatabase(options: BuildZoningOptions): Promise<BuildZoningResult>;
|
|
217
|
+
/**
|
|
218
|
+
* What the whole ingest produced, however many processes it took.
|
|
219
|
+
*/
|
|
220
|
+
interface StreamResult {
|
|
221
|
+
features: number;
|
|
222
|
+
coarsened: number;
|
|
223
|
+
wholeCellRows: number;
|
|
224
|
+
partialCellRows: number;
|
|
225
|
+
observedByCoverageCell: Map<number, number>;
|
|
226
|
+
area: {
|
|
227
|
+
signedM2: number;
|
|
228
|
+
nestedM2: number;
|
|
229
|
+
allExteriorM2: number;
|
|
230
|
+
};
|
|
231
|
+
rings: {
|
|
232
|
+
total: number;
|
|
233
|
+
exteriors: number;
|
|
234
|
+
holes: number;
|
|
235
|
+
nestedHoles: number;
|
|
236
|
+
adjacentHoles: number;
|
|
237
|
+
/**
|
|
238
|
+
* Features whose exterior was chosen by MAGNITUDE because no ring read as one by orientation. Measured at ONE of
|
|
239
|
+
* 85,330 — a three-vertex sliver enclosing 3.0 × 10⁻⁷ m², where a ring's winding is floating-point noise rather
|
|
240
|
+
* than something the publisher stated. Reported rather than implied to be zero.
|
|
241
|
+
*/
|
|
242
|
+
exteriorByMagnitude: number;
|
|
243
|
+
};
|
|
244
|
+
jurisdictions: Array<[string, string]>;
|
|
245
|
+
plans: ZoningChunkResult["plans"];
|
|
246
|
+
vocabulary: ObservedTerm[];
|
|
247
|
+
crosswalkPairs: CrosswalkPair[];
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* Add up what the chunks reported.
|
|
251
|
+
*
|
|
252
|
+
* Exported for its own test: the coverage-cell arithmetic and the crosswalk-pair merge are the parts of the batched
|
|
253
|
+
* path a fixture build cannot reach, and getting either wrong produces a well-formed artifact — one that under-reports
|
|
254
|
+
* how many polygons a cell holds, or one that reports a mapping as a function because no single chunk saw it break.
|
|
255
|
+
*/
|
|
256
|
+
export declare function aggregateChunks(chunks: ReadonlyArray<ZoningChunkResult>): StreamResult;
|
|
257
|
+
/**
|
|
258
|
+
* The (authority, local code) pairs that take more than one generic type.
|
|
259
|
+
*/
|
|
260
|
+
export declare function nonFunctionalPairs(pairs: ReadonlyArray<CrosswalkPair>): CrosswalkPair[];
|
|
261
|
+
/**
|
|
262
|
+
* Refuse a crosswalk EDGE TABLE while the publisher's mapping is not a function of the (authority, code) pair.
|
|
263
|
+
*
|
|
264
|
+
* An edge table asserts that a code determines a type. Measured nationally, 52 of 795 pairs take more than one — Cork
|
|
265
|
+
* County Council's `Special Policy Area` takes 14 — so an edge table built from this data would have to pick one type
|
|
266
|
+
* per pair and would be this package's invention rather than the Department's mapping. The mapping lives per polygon,
|
|
267
|
+
* on `zoning_area`, where the Department put it.
|
|
268
|
+
*
|
|
269
|
+
* @throws {Error} When edges would be written while any pair is non-functional.
|
|
270
|
+
*/
|
|
271
|
+
export declare function assertCrosswalkIsNotATable(pairs: ReadonlyArray<CrosswalkPair>, edgeCount: number): void;
|
|
272
|
+
/**
|
|
273
|
+
* Refuse a coverage row that would license a negative claim.
|
|
274
|
+
*
|
|
275
|
+
* THIS IS THE CHECK THE MEANING-OF-ZERO RULE TURNS ON, and it is a condition rather than a convention. The Department
|
|
276
|
+
* publishes its coverage detail only inside a map viewer, so no row of this layer may support an exclusion — a
|
|
277
|
+
* `designated` or `surveyed` basis here would let an absent zoning polygon be read as a statement that no restriction
|
|
278
|
+
* applies, over most of the map. The reader checks the same thing at open time, so an artifact built by some other path
|
|
279
|
+
* cannot get past it either.
|
|
280
|
+
*/
|
|
281
|
+
export declare function assertNoNegativeClaim(cells: ReadonlyArray<CoverageCell>): void;
|
|
282
|
+
export {};
|
|
283
|
+
//# sourceMappingURL=build-zoning.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build-zoning.d.ts","sourceRoot":"","sources":["../../lib/sdk/build-zoning.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AAGH,OAAO,EAGN,aAAa,EAGb,SAAS,EAKT,KAAK,oBAAoB,EACzB,KAAK,YAAY,EACjB,MAAM,wBAAwB,CAAA;AAQ/B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AACtD,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAA;AAevF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,IAAI,CAAA;AAEtC;;GAEG;AACH,eAAO,MAAM,iBAAiB,kBAAkB,CAAA;AAEhD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,kBAAkB,SAAU,CAAA;AAEzC;;GAEG;AACH,MAAM,MAAM,gBAAgB,GACzB;IACA;;;OAGG;IACH,MAAM,EAAE,mBAAmB,CAAA;CAC1B,GACD;IACA;;OAEG;IACH,OAAO,EAAE;QACR,UAAU,EAAE,MAAM,CAAA;QAClB;;WAEG;QACH,SAAS,CAAC,EAAE,MAAM,CAAA;QAClB;;WAEG;QACH,oBAAoB,EAAE,MAAM,CAAA;KAC5B,CAAA;CACA,CAAA;AAEJ,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,GAAG;IACnD;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB;;;OAGG;IACH,SAAS,EAAE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