@mailwoman/zoning 10.0.0 → 10.1.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 (99) hide show
  1. package/README.md +169 -163
  2. package/lib/index.ts +89 -120
  3. package/lib/paths.ts +24 -0
  4. package/lib/ring-roles.ts +30 -71
  5. package/lib/rings.ts +2 -13
  6. package/lib/schema.ts +96 -114
  7. package/lib/vocabulary.ts +52 -130
  8. package/out/index.d.ts +75 -95
  9. package/out/index.d.ts.map +1 -1
  10. package/out/index.js +25 -82
  11. package/out/index.js.map +1 -1
  12. package/out/paths.d.ts +19 -0
  13. package/out/paths.d.ts.map +1 -0
  14. package/out/paths.js +21 -0
  15. package/out/paths.js.map +1 -0
  16. package/out/ring-roles.d.ts +16 -50
  17. package/out/ring-roles.d.ts.map +1 -1
  18. package/out/ring-roles.js +18 -51
  19. package/out/ring-roles.js.map +1 -1
  20. package/out/rings.d.ts +2 -13
  21. package/out/rings.d.ts.map +1 -1
  22. package/out/rings.js +2 -13
  23. package/out/rings.js.map +1 -1
  24. package/out/schema.d.ts +93 -108
  25. package/out/schema.d.ts.map +1 -1
  26. package/out/schema.js +16 -44
  27. package/out/schema.js.map +1 -1
  28. package/out/sdk/build-zoning.d.ts +58 -111
  29. package/out/sdk/build-zoning.d.ts.map +1 -1
  30. package/out/sdk/build-zoning.js +47 -136
  31. package/out/sdk/build-zoning.js.map +1 -1
  32. package/out/sdk/cells.d.ts +20 -61
  33. package/out/sdk/cells.d.ts.map +1 -1
  34. package/out/sdk/cells.js +13 -50
  35. package/out/sdk/cells.js.map +1 -1
  36. package/out/sdk/client.d.ts +23 -67
  37. package/out/sdk/client.d.ts.map +1 -1
  38. package/out/sdk/client.js +29 -77
  39. package/out/sdk/client.js.map +1 -1
  40. package/out/sdk/download.d.ts +7 -27
  41. package/out/sdk/download.d.ts.map +1 -1
  42. package/out/sdk/download.js +7 -27
  43. package/out/sdk/download.js.map +1 -1
  44. package/out/sdk/ingest/chunk.d.ts +19 -43
  45. package/out/sdk/ingest/chunk.d.ts.map +1 -1
  46. package/out/sdk/ingest/chunk.js +16 -49
  47. package/out/sdk/ingest/chunk.js.map +1 -1
  48. package/out/sdk/ingest/worker.d.ts +9 -0
  49. package/out/sdk/ingest/worker.d.ts.map +1 -0
  50. package/out/{scripts/ingest-chunk.js → sdk/ingest/worker.js} +5 -7
  51. package/out/sdk/ingest/worker.js.map +1 -0
  52. package/out/sdk/ingest.d.ts +162 -0
  53. package/out/sdk/ingest.d.ts.map +1 -0
  54. package/out/sdk/ingest.js +200 -0
  55. package/out/sdk/ingest.js.map +1 -0
  56. package/out/sdk/measure-resolutions.d.ts +7 -24
  57. package/out/sdk/measure-resolutions.d.ts.map +1 -1
  58. package/out/sdk/measure-resolutions.js +5 -22
  59. package/out/sdk/measure-resolutions.js.map +1 -1
  60. package/out/sdk/test-kit.d.ts +75 -0
  61. package/out/sdk/test-kit.d.ts.map +1 -0
  62. package/out/{test-kit.js → sdk/test-kit.js} +20 -43
  63. package/out/sdk/test-kit.js.map +1 -0
  64. package/out/sdk/verify.d.ts +74 -56
  65. package/out/sdk/verify.d.ts.map +1 -1
  66. package/out/sdk/verify.js +70 -57
  67. package/out/sdk/verify.js.map +1 -1
  68. package/out/vocabulary.d.ts +52 -120
  69. package/out/vocabulary.d.ts.map +1 -1
  70. package/out/vocabulary.js +47 -125
  71. package/out/vocabulary.js.map +1 -1
  72. package/package.json +37 -161
  73. package/{lib/sdk → sdk}/build-zoning.ts +99 -185
  74. package/{lib/sdk → sdk}/cells.ts +24 -63
  75. package/{lib/sdk → sdk}/client.ts +34 -82
  76. package/sdk/download.ts +58 -0
  77. package/{lib/sdk → sdk}/ingest/chunk.ts +33 -62
  78. package/{lib/scripts/ingest-chunk.ts → sdk/ingest/worker.ts} +4 -6
  79. package/sdk/ingest.ts +366 -0
  80. package/{lib/sdk → sdk}/measure-resolutions.ts +9 -26
  81. package/{lib → sdk}/test-kit.ts +21 -44
  82. package/{lib/sdk → sdk}/verify.ts +102 -75
  83. package/lib/sdk/download.ts +0 -78
  84. package/lib/sdk/index.ts +0 -15
  85. package/lib/sdk/ingest/index.ts +0 -393
  86. package/out/scripts/ingest-chunk.d.ts +0 -11
  87. package/out/scripts/ingest-chunk.d.ts.map +0 -1
  88. package/out/scripts/ingest-chunk.js.map +0 -1
  89. package/out/sdk/index.d.ts +0 -15
  90. package/out/sdk/index.d.ts.map +0 -1
  91. package/out/sdk/index.js +0 -15
  92. package/out/sdk/index.js.map +0 -1
  93. package/out/sdk/ingest/index.d.ts +0 -185
  94. package/out/sdk/ingest/index.d.ts.map +0 -1
  95. package/out/sdk/ingest/index.js +0 -232
  96. package/out/sdk/ingest/index.js.map +0 -1
  97. package/out/test-kit.d.ts +0 -96
  98. package/out/test-kit.d.ts.map +0 -1
  99. package/out/test-kit.js.map +0 -1
@@ -3,45 +3,16 @@
3
3
  * @license AGPL-3.0
4
4
  * @author Teffen Ellis, et al.
5
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.
6
+ * Build `zoning-ireland.db`, the sealed two-tier polygon layer. Its coverage basis and license tier can each refuse publication.
37
7
  */
38
8
  import { LayerTier, type AreaAgreementReading, type CoverageCell } from "@mailwoman/core/layers";
39
9
  import { CoverageBasis } from "@mailwoman/evidence";
10
+ import type { PathBuilderLike } from "path-ts";
11
+ import type { ZoningFeatureSource } from "#sdk/ingest";
40
12
  import type { CrosswalkPair, ObservedTerm, ZoningChunkResult } from "#sdk/ingest/chunk";
41
- import type { ZoningFeatureSource } from "#sdk/ingest/index";
42
13
  /**
43
- * Schema version of the domain tables. Bumped when a column changes meaning, never for an added column a reader can
44
- * ignore.
14
+ * Schema version of the domain tables, bumped when a column changes meaning
15
+ * rather than for an added column a reader can ignore.
45
16
  */
46
17
  export declare const ZONING_SCHEMA_VERSION = 1;
47
18
  /**
@@ -49,47 +20,37 @@ export declare const ZONING_SCHEMA_VERSION = 1;
49
20
  */
50
21
  export declare const PLAN_LEVEL_SCHEME = "IE-PLAN-LEVEL";
51
22
  /**
52
- * Feature ids per chunk process.
53
- *
54
- * Sized against the measured ceiling on a sibling product rather than guessed: single-process runs over that layer died
55
- * after roughly 510,000 and 798,000 features as h3's WASM heap fragmented. This product holds 85,330 features, so this
56
- * default puts the whole country in one process — and it is the ceiling that makes the build reproducible rather than
57
- * the fact that this product happens to sit below it.
58
- *
59
- * A SMALLER CHUNK COSTS A FULL PASS EACH. The source is one 247 MB GeoJSON document rather than an indexed store, so
60
- * ogr2ogr scans all of it per range: measured at 13.2 s per pass on this lab.
23
+ * Feature ids per chunk process, bounded at 100,000 because h3's wasm heap cannot be
24
+ * reset from JavaScript and does not survive an unbounded number of polyfill calls.
61
25
  */
62
26
  export declare const DEFAULT_CHUNK_SIZE = 100000;
63
27
  /**
64
- * Where a build gets its features, and — for a real one — how it bounds each process's share of them.
28
+ * Where a build gets its features.
29
+ * A real build also bounds each process's share of them.
65
30
  */
66
31
  export type BuildZoningInput = {
67
32
  /**
68
- * A feature source consumed IN THIS PROCESS. Correct for a fixture and for anything small; it is what the batched
69
- * form falls back to per chunk, so the two share one implementation.
33
+ * A feature source consumed in this process.
34
+ * It is the per-chunk fallback of the batched form.
70
35
  */
71
36
  source: ZoningFeatureSource;
72
37
  } | {
73
38
  /**
74
- * The bulk export, ingested in bounded chunks — one child process per range of the authority's own feature ids.
39
+ * The bulk export, ingested in bounded chunks — one child process per range
40
+ * of the authority's own feature ids.
75
41
  */
76
42
  batched: {
77
43
  exportPath: string;
78
- /**
79
- * Feature ids per chunk. See {@link DEFAULT_CHUNK_SIZE}.
80
- */
81
44
  chunkSize?: number;
82
- /**
83
- * The feature count the whole build should yield.
84
- */
85
45
  declaredFeatureCount: number;
86
46
  };
87
47
  };
88
48
  export type BuildZoningOptions = BuildZoningInput & {
89
49
  /**
90
- * Where the sealed artifact lands. The build writes beside it and swaps.
50
+ * Where the sealed artifact lands.
51
+ * The build writes beside it and swaps.
91
52
  */
92
- out: string;
53
+ out: PathBuilderLike;
93
54
  /**
94
55
  * The product vintage — `layer_manifest.version` and `source_vintage`.
95
56
  */
@@ -97,30 +58,34 @@ export type BuildZoningOptions = BuildZoningInput & {
97
58
  buildCmd: string;
98
59
  buildSHA: string;
99
60
  /**
100
- * ISO-8601, supplied by the caller. Never generated here: the contract says so, and a library-generated timestamp
101
- * makes two builds of the same inputs differ.
61
+ * ISO-8601, supplied by the caller so two builds of the same inputs do not differ.
102
62
  */
103
63
  createdAt: string;
104
64
  /**
105
- * The resolution the cell index is built at — chosen from the candidates-per-cell and zero-cell measurement.
65
+ * The resolution the cell index is built at — chosen from the candidates-per-cell
66
+ * and zero-cell measurement.
106
67
  */
107
68
  indexResolution: number;
108
69
  /**
109
- * The resolution `layer_coverage` rows are keyed at. Must be coarser than the index resolution.
70
+ * The resolution used for `layer_coverage` row keys.
71
+ * It must be coarser than the index resolution.
110
72
  */
111
73
  coverageResolution: number;
112
74
  /**
113
- * The publisher's OWN area figure for the whole product, in square metres — its `Shape__Area` sum, read from the live
114
- * service. Supplied, the build asserts the rings it encoded agree with it.
75
+ * The publisher's own `Shape__Area` sum in square meters, read from the live service.
76
+ *
77
+ * When supplied, the build asserts that its encoded rings agree with this value.
115
78
  */
116
79
  expectedSourceAreaM2?: number;
117
80
  /**
118
- * The feature count the live service reports. Supplied, the build asserts its own streamed total against it.
81
+ * The feature count the live service reports.
82
+ *
83
+ * When supplied, the build asserts its streamed total against this value.
119
84
  */
120
85
  expectedFeatureCount?: number;
121
86
  /**
122
- * The tier to stamp. `build-local` unless the licence contradiction is resolved — see
123
- * {@link assertTierMatchesLicense}.
87
+ * The tier to stamp, `build-local` unless the license contradiction is resolved —
88
+ * see {@link assertTierMatchesLicense}.
124
89
  */
125
90
  tier?: LayerTier;
126
91
  onProgress?: (message: string) => void;
@@ -135,27 +100,29 @@ export interface BuildZoningResult {
135
100
  wholeCellRows: number;
136
101
  partialCellRows: number;
137
102
  /**
138
- * `partialCellRows / (wholeCellRows + partialCellRows)` over the STORED rows — the whole side is compacted per
139
- * feature, so this is not the same number the resolution was chosen on and is reported separately.
103
+ * The partial share over the stored rows.
104
+ *
105
+ * This differs from the share used to choose the resolution because the whole
106
+ * side is compacted per feature.
140
107
  */
141
108
  storedPartialShare: number;
142
109
  /**
143
- * Features whose bounding box forced a resolution coarser than `indexResolution`, and the resolutions the stored cell
144
- * rows are actually at. Both are reported rather than smoothed over: a reader that assumed one resolution would probe
145
- * at the wrong one and read every coarsened feature as an absence.
110
+ * Features forced coarser than `indexResolution`, and the resolutions the stored
111
+ * cell rows are actually at, reported rather than smoothed over.
146
112
  */
147
113
  coarsenedFeatures: number;
148
114
  storedResolutions: number[];
149
115
  coverageCells: number;
150
116
  /**
151
- * The basis every coverage row carries. `source_present`, always, while `zoning_mapped_extent` is empty.
117
+ * The basis stored in every coverage row, `source_present` while `zoning_mapped_extent` is empty.
152
118
  */
153
119
  coverageBasis: CoverageBasis;
154
120
  tier: LayerTier;
155
121
  license: string;
156
122
  /**
157
- * The ring-role census: how many rings, how many the orientation read as exteriors and holes, and how many holes were
158
- * placed on their parent's boundary rather than inside it.
123
+ * The ring-role census records the total rings and the exteriors and holes inferred from orientation.
124
+ *
125
+ * It also counts holes placed on their parent's boundary rather than inside it.
159
126
  */
160
127
  rings: {
161
128
  total: number;
@@ -164,24 +131,21 @@ export interface BuildZoningResult {
164
131
  nestedHoles: number;
165
132
  adjacentHoles: number;
166
133
  /**
167
- * Features whose exterior was chosen by MAGNITUDE because no ring read as one by orientation. Measured at ONE of
168
- * 85,330 — a three-vertex sliver enclosing 3.0 × 10⁻⁷ m², where a ring's winding is floating-point noise rather
169
- * than something the publisher stated. Reported rather than implied to be zero.
134
+ * Features whose exterior was chosen by magnitude because no ring read as one
135
+ * by orientation, reported rather than implied to be zero.
170
136
  */
171
137
  exteriorByMagnitude: number;
172
138
  };
173
139
  /**
174
- * The area totals in square kilometres — what the publisher says, what the encoded rings say read with their holes,
175
- * and what they would say read without — with the witness stated, plus this product's own signed ring sum. The
176
- * publisher's figure is never defaulted to this build's own reading: a receipt printing "publisher 205.4 km², 0.000%
177
- * apart" when nobody asked the publisher is a check reporting itself as passed.
140
+ * The area totals in square kilometers with the witness stated, never defaulting
141
+ * the publisher's figure to this build's own reading.
178
142
  */
179
143
  area: AreaAgreementReading & {
180
144
  signedKM2: number;
181
145
  };
182
146
  /**
183
- * The vocabulary census, per scheme: how many codes the artifact holds and how many of them the publisher never
184
- * declared.
147
+ * The vocabulary census, per scheme: how many codes the artifact holds
148
+ * and how many of them the publisher never declared.
185
149
  */
186
150
  vocabulary: Array<{
187
151
  scheme: string;
@@ -190,15 +154,12 @@ export interface BuildZoningResult {
190
154
  undeclaredCodes: string[];
191
155
  }>;
192
156
  /**
193
- * (authority, local code) pairs, and how many of them take MORE THAN ONE generic type — the measurement that keeps
194
- * `zoning_crosswalk_edge` empty.
157
+ * (authority, local code) pairs and how many take more than one generic type,
158
+ * the measurement that keeps `zoning_crosswalk_edge` empty.
195
159
  */
196
160
  crosswalk: {
197
161
  pairs: number;
198
162
  nonFunctionalPairs: number;
199
- /**
200
- * The worst offenders, most generic types first, for the receipt.
201
- */
202
163
  worst: Array<{
203
164
  authorityCode: string;
204
165
  localCode: string;
@@ -210,14 +171,12 @@ export interface BuildZoningResult {
210
171
  /**
211
172
  * Build the layer.
212
173
  *
213
- * @throws {Error} On a feature that reaches no cell, a feature count that disagrees with the source's own declaration,
214
- * an area total that disagrees with the publisher's, a coverage row that would license a negative claim, a crosswalk
215
- * edge table written while the mapping is not a function, or a `shipped` tier asked for under an unresolved licence.
174
+ * @throws {Error} On a feature that reaches no cell, a feature count that disagrees
175
+ * with the source's own declaration, an area total that disagrees with the publisher's,
176
+ * a coverage row that would license a negative claim, a crosswalk edge table written while
177
+ * the mapping is not a function, or a `shipped` tier asked for under an unresolved license.
216
178
  */
217
179
  export declare function buildZoningDatabase(options: BuildZoningOptions): Promise<BuildZoningResult>;
218
- /**
219
- * What the whole ingest produced, however many processes it took.
220
- */
221
180
  interface StreamResult {
222
181
  features: number;
223
182
  coarsened: number;
@@ -236,9 +195,8 @@ interface StreamResult {
236
195
  nestedHoles: number;
237
196
  adjacentHoles: number;
238
197
  /**
239
- * Features whose exterior was chosen by MAGNITUDE because no ring read as one by orientation. Measured at ONE of
240
- * 85,330 — a three-vertex sliver enclosing 3.0 × 10⁻⁷ m², where a ring's winding is floating-point noise rather
241
- * than something the publisher stated. Reported rather than implied to be zero.
198
+ * Features whose exterior was chosen by magnitude because no ring read as one
199
+ * by orientation, reported rather than implied to be zero.
242
200
  */
243
201
  exteriorByMagnitude: number;
244
202
  };
@@ -248,11 +206,7 @@ interface StreamResult {
248
206
  crosswalkPairs: CrosswalkPair[];
249
207
  }
250
208
  /**
251
- * Add up what the chunks reported.
252
- *
253
- * Exported for its own test: the coverage-cell arithmetic and the crosswalk-pair merge are the parts of the batched
254
- * path a fixture build cannot reach, and getting either wrong produces a well-formed artifact — one that under-reports
255
- * how many polygons a cell holds, or one that reports a mapping as a function because no single chunk saw it break.
209
+ * Add up what the chunks reported, exported for its own test.
256
210
  */
257
211
  export declare function aggregateChunks(chunks: ReadonlyArray<ZoningChunkResult>): StreamResult;
258
212
  /**
@@ -260,12 +214,8 @@ export declare function aggregateChunks(chunks: ReadonlyArray<ZoningChunkResult>
260
214
  */
261
215
  export declare function nonFunctionalPairs(pairs: ReadonlyArray<CrosswalkPair>): CrosswalkPair[];
262
216
  /**
263
- * Refuse a crosswalk EDGE TABLE while the publisher's mapping is not a function of the (authority, code) pair.
264
- *
265
- * An edge table asserts that a code determines a type. Measured nationally, 52 of 795 pairs take more than one — Cork
266
- * County Council's `Special Policy Area` takes 14 — so an edge table built from this data would have to pick one type
267
- * per pair and would be this package's invention rather than the Department's mapping. The mapping lives per polygon,
268
- * on `zoning_area`, where the Department put it.
217
+ * Refuse a crosswalk edge table while the publisher's mapping is not a function
218
+ * of the (authority, code) pair.
269
219
  *
270
220
  * @throws {Error} When edges would be written while any pair is non-functional.
271
221
  */
@@ -273,11 +223,8 @@ export declare function assertCrosswalkIsNotATable(pairs: ReadonlyArray<Crosswal
273
223
  /**
274
224
  * Refuse a coverage row that would license a negative claim.
275
225
  *
276
- * THIS IS THE CHECK THE MEANING-OF-ZERO RULE TURNS ON, and it is a condition rather than a convention. The Department
277
- * publishes its coverage detail only inside a map viewer, so no row of this layer may support an exclusion — a
278
- * `designated` or `surveyed` basis here would let an absent zoning polygon be read as a statement that no restriction
279
- * applies, over most of the map. The reader checks the same thing at open time, so an artifact built by some other path
280
- * cannot get past it either.
226
+ * No row of this layer can support that claim because the Department publishes
227
+ * coverage detail only in a map viewer.
281
228
  */
282
229
  export declare function assertNoNegativeClaim(cells: ReadonlyArray<CoverageCell>): void;
283
230
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"build-zoning.d.ts","sourceRoot":"","sources":["../../lib/sdk/build-zoning.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AAGH,OAAO,EAKN,SAAS,EAKT,KAAK,oBAAoB,EACzB,KAAK,YAAY,EACjB,MAAM,wBAAwB,CAAA;AAG/B,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAMnD,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAA;AAEvF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAa5D;;;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,oBA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