@try-works/tool-mode-runtime-onnx 0.0.0-stage → 0.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.
- package/README.md +64 -2
- package/lib/clear-dsp.d.ts +235 -0
- package/lib/clear-dsp.d.ts.map +1 -0
- package/lib/clear-dsp.js +487 -0
- package/lib/clear-processor.d.ts +30 -0
- package/lib/clear-processor.d.ts.map +1 -0
- package/lib/clear-processor.js +172 -0
- package/lib/errors.d.ts +14 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +29 -0
- package/lib/fft.d.ts +86 -0
- package/lib/fft.d.ts.map +1 -0
- package/lib/fft.js +231 -0
- package/lib/frames.d.ts +99 -0
- package/lib/frames.d.ts.map +1 -0
- package/lib/frames.js +284 -0
- package/lib/index.d.ts +27 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +27 -0
- package/lib/processor.d.ts +74 -0
- package/lib/processor.d.ts.map +1 -0
- package/lib/processor.js +82 -0
- package/lib/provider-factory.d.ts +47 -0
- package/lib/provider-factory.d.ts.map +1 -0
- package/lib/provider-factory.js +276 -0
- package/lib/runtime.d.ts +122 -0
- package/lib/runtime.d.ts.map +1 -0
- package/lib/runtime.js +175 -0
- package/lib/uhm-processor.d.ts +23 -0
- package/lib/uhm-processor.d.ts.map +1 -0
- package/lib/uhm-processor.js +126 -0
- package/lib/wav.d.ts +97 -0
- package/lib/wav.d.ts.map +1 -0
- package/lib/wav.js +196 -0
- package/package.json +48 -4
package/README.md
CHANGED
|
@@ -1,3 +1,65 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @try-works/tool-mode-runtime-onnx
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The ONNX Runtime engine for the Tool Mode local model runtime (Phase 3): one onnxruntime-node
|
|
4
|
+
session, shared by every processor this build implements.
|
|
5
|
+
|
|
6
|
+
## Engine
|
|
7
|
+
|
|
8
|
+
`onnxLayer({ modelBytes, accelerators, ... })` provides the `OnnxSession` Effect service. It
|
|
9
|
+
acquires one `onnxruntime-node` session in the layer scope (so a provider cannot leak a native
|
|
10
|
+
handle) and releases it when the scope closes. Execution providers are negotiated from the
|
|
11
|
+
recipe's declared lanes against what the installed engine reports as bundled — the first
|
|
12
|
+
declared lane that works wins, and there is no silent CPU fallback for a lane the recipe did
|
|
13
|
+
not declare. This host reports cpu, dml and webgpu as bundled (onnxruntime-node 1.30.0,
|
|
14
|
+
win32-x64).
|
|
15
|
+
|
|
16
|
+
## Provider factory
|
|
17
|
+
|
|
18
|
+
`createProviderFromRecipe(recipe, assets, options?)` is the factory a code-free
|
|
19
|
+
`model-runtime` recipe names. It owns the engine and the processor; the recipe supplies the
|
|
20
|
+
artifact, limits and tool schemas. The factory shares one lifecycle across processors (resolve
|
|
21
|
+
artifact, build session, validate graph tensor names, relay abort/timeout, dispose) and
|
|
22
|
+
dispatches on `processor.id`.
|
|
23
|
+
|
|
24
|
+
### `uhm/waveform-v1` — filler words
|
|
25
|
+
|
|
26
|
+
WAV decode (PCM 16-bit and float32, mono or stereo down-mix), linear resample to 16 kHz,
|
|
27
|
+
480000-sample windows with a 1 s overlap and a zero-padded final window, one run per window,
|
|
28
|
+
argmax per 20 ms frame, filler = class != 0 and probability >= 0.5, spans merged across window
|
|
29
|
+
overlap (one-frame gaps tolerated) and clipped to the audio length. Output:
|
|
30
|
+
`{ fillers: [{ startMs, endMs, type, confidence }], coverage: { complete, processedSeconds, totalSeconds, reason? } }`.
|
|
31
|
+
Reads `labels.json` beside the model.
|
|
32
|
+
|
|
33
|
+
### `clear/stft-v1` — speech enhancement
|
|
34
|
+
|
|
35
|
+
The pinned `clear-studio.onnx` graph takes HOST-COMPUTED features (`spec`, `feat_erb`,
|
|
36
|
+
`feat_spec`) and returns `spec_enhanced`; it is DeepFilterNet3. Every parameter is ported from
|
|
37
|
+
the primary source, **desert-ant-core commit `baf4e6e3b4655c8e54aa8d5a25215b5f35f899a7`**:
|
|
38
|
+
|
|
39
|
+
- `Sources/Clear/DSP.swift` L31-46 (n_fft 960, hop 480, 481 bins, nErb 32, nDf 96,
|
|
40
|
+
convLookahead 2, 48 kHz, normAlpha 0.99, ERB widths summing to 481), L271-302 (Vorbis window,
|
|
41
|
+
forward gain 1/960, 480-sample prepad), L343-476 (framing, Hermitian mirror, unscaled inverse
|
|
42
|
+
DFT, windowed COLA overlap-add);
|
|
43
|
+
- `Sources/Clear/Features.swift` L20-125 (ERB dB with the -60..-90 dB running-mean state ramp
|
|
44
|
+
divided by 40; unit-norm of the first 96 complex bins with the 1e-3..1e-4 ramp);
|
|
45
|
+
- `Sources/Clear/Enhancer.swift` L55-73, L185-259 (200-frame windows, interleaved
|
|
46
|
+
`[1,1,200,481,2]` / `[1,1,200,32]` / `[1,1,200,96,2]`, features read two frames ahead);
|
|
47
|
+
- `Sources/Clear/Clear.swift` L428-434, L478-494 (48 kHz, mono downmix, mastering);
|
|
48
|
+
- `Sources/AudioDSP/Loudness.swift` L24-27, L90-244, L264-285 (BS.1770-4 K-weighting, 400 ms
|
|
49
|
+
blocks at 100 ms, -70/-10 gating, target -19 LUFS, +9 dB upward cap);
|
|
50
|
+
- `Sources/AudioDSP/Limiter.swift` L28-30, L169-198 (5 ms look-ahead, 50 ms release,
|
|
51
|
+
-1.5 dBTP ceiling).
|
|
52
|
+
|
|
53
|
+
The descriptor is `{ audio_path }` only: there is no writable path in `InvocationContextV1`,
|
|
54
|
+
so the enhanced audio comes back as a base64 WAV. Output:
|
|
55
|
+
`{ audio_base64, sampleRate: 48000, durationSeconds, coverage: { complete, processedSeconds, totalSeconds, reason? } }`
|
|
56
|
+
— 16-bit PCM, mono, 48 kHz. The duration is capped by the HOST's `context.limits.maxResultBytes`
|
|
57
|
+
(`maxSamplesForResultBudget`); with the default 8 MiB budget that is 3,145,322 samples
|
|
58
|
+
(65.5275 s), and `coverage.complete` is false with a reason when the cap bites.
|
|
59
|
+
|
|
60
|
+
## Tests
|
|
61
|
+
|
|
62
|
+
`npm test` runs the unit suite: fake-session lifecycle, WAV/DSP parameter tests against the
|
|
63
|
+
primary source constants, the clear pipeline over an echo engine, and the response-budget
|
|
64
|
+
arithmetic. The real-inference gates are skipped unless `TOOL_MODE_REAL_ASSETS=1` and the
|
|
65
|
+
pinned assets exist under `.assets/uhm` and `.assets/clear`.
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The DeepFilterNet3 front end, chunk layout and mastering the clear graph depends on
|
|
3
|
+
* (processor `clear/stft-v1`).
|
|
4
|
+
*
|
|
5
|
+
* THE GRAPH TAKES FEATURES, NOT A WAVEFORM: inputs `spec` (interleaved complex STFT),
|
|
6
|
+
* `feat_erb` and `feat_spec` (DFN3 features computed here), output `spec_enhanced`. So
|
|
7
|
+
* every constant below is part of the model contract, and a plausible-looking substitute
|
|
8
|
+
* (1024-point FFT, Hann window, log-mel filterbank) is silent garbage rather than an error.
|
|
9
|
+
*
|
|
10
|
+
* PRIMARY SOURCE for every value, desert-ant-core commit
|
|
11
|
+
* baf4e6e3b4655c8e54aa8d5a25215b5f35f899a7:
|
|
12
|
+
* - Sources/Clear/DSP.swift L31-46 (geometry, normAlpha, ERB widths), L271-302 (Vorbis
|
|
13
|
+
* window, wnorm, prepad), L343-476 (framing, mirror, overlap-add, prepad drop);
|
|
14
|
+
* - Sources/Clear/Features.swift L20-125 (ERB dB, running normalization, unit-norm);
|
|
15
|
+
* - Sources/Clear/Enhancer.swift L55-73, L185-259 (200-frame chunks, interleaved layout,
|
|
16
|
+
* the two-frame feature lookahead);
|
|
17
|
+
* - Sources/Clear/Clear.swift L428-434, L478-494 (48 kHz, mono downmix, mastering);
|
|
18
|
+
* - Sources/AudioDSP/Loudness.swift L24-27, L90-244, L264-285 (K-weighting, blocks,
|
|
19
|
+
* gating, gain cap);
|
|
20
|
+
* - Sources/AudioDSP/Limiter.swift L28-30, L169-198 (look-ahead and release).
|
|
21
|
+
*
|
|
22
|
+
* The module is PURE: no I/O, no engine. `ClearStft` holds scratch buffers and is used
|
|
23
|
+
* sequentially, like the reference.
|
|
24
|
+
*
|
|
25
|
+
* @module clear-dsp
|
|
26
|
+
*/
|
|
27
|
+
/** The model's sample rate, in and out. */
|
|
28
|
+
export declare const CLEAR_SAMPLE_RATE = 48000;
|
|
29
|
+
/** STFT size (libDF / DFN3). */
|
|
30
|
+
export declare const CLEAR_FFT_SIZE = 960;
|
|
31
|
+
/** STFT hop; half the window, so consecutive frames overlap by 50%. */
|
|
32
|
+
export declare const CLEAR_HOP_SIZE = 480;
|
|
33
|
+
/** STFT bins (fftSize/2 + 1). */
|
|
34
|
+
export declare const CLEAR_N_FREQ = 481;
|
|
35
|
+
/** ERB bands for feat_erb. */
|
|
36
|
+
export declare const CLEAR_N_ERB = 32;
|
|
37
|
+
/** Complex bins kept for feat_spec. */
|
|
38
|
+
export declare const CLEAR_N_DF = 96;
|
|
39
|
+
/** Feature lookahead: feat_erb/feat_spec frame t come from analysis frame t+2. */
|
|
40
|
+
export declare const CLEAR_LOOKAHEAD = 2;
|
|
41
|
+
/** Frames per model window. */
|
|
42
|
+
export declare const CLEAR_CHUNK_FRAMES = 200;
|
|
43
|
+
/** The running-normalization coefficient: round(exp(-hop/sr/tau), 3) with tau = 1 s. */
|
|
44
|
+
export declare const CLEAR_NORM_ALPHA = 0.99;
|
|
45
|
+
/**
|
|
46
|
+
* ERB band widths, fixed at training time: thirteen 2-bin bands, then 5, 5, 7, 7, 8, 10,
|
|
47
|
+
* 12, 13, 15, 18, 20, 24, 28, 31, 37, 42, 50, 56, 67. Their sum is exactly nFreq.
|
|
48
|
+
*/
|
|
49
|
+
export declare const CLEAR_ERB_WIDTHS: readonly number[];
|
|
50
|
+
/** The SDK's default integrated-loudness target (Apple Podcasts). */
|
|
51
|
+
export declare const CLEAR_TARGET_LUFS = -19;
|
|
52
|
+
/** Cap on upward loudness gain, so a quiet input does not lift the noise floor. */
|
|
53
|
+
export declare const CLEAR_MAX_GAIN_DB = 9;
|
|
54
|
+
/** True-peak ceiling for the look-ahead limiter. */
|
|
55
|
+
export declare const CLEAR_PEAK_CEILING_DBTP = -1.5;
|
|
56
|
+
/** WAV header size for 16-bit PCM. */
|
|
57
|
+
export declare const CLEAR_WAV_HEADER_BYTES = 44;
|
|
58
|
+
/** JSON envelope allowance reserved beside audio_base64 in the result budget. */
|
|
59
|
+
export declare const CLEAR_OUTPUT_ENVELOPE_BYTES = 1024;
|
|
60
|
+
/**
|
|
61
|
+
* The analysis/synthesis window.
|
|
62
|
+
*
|
|
63
|
+
* @returns a copy, so a caller cannot change the transform for everyone
|
|
64
|
+
*/
|
|
65
|
+
export declare function vorbisWindow(): Float32Array;
|
|
66
|
+
/** One windowed frame's spectrum. */
|
|
67
|
+
export interface ClearSpectrum {
|
|
68
|
+
/** Frame-major real parts, `nFrames * 481`. */
|
|
69
|
+
readonly real: Float32Array;
|
|
70
|
+
/** Frame-major imaginary parts, `nFrames * 481`. */
|
|
71
|
+
readonly imag: Float32Array;
|
|
72
|
+
readonly nFrames: number;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* The clear STFT: Vorbis window, n_fft 960, hop 480, 480-sample analysis prepad, forward
|
|
76
|
+
* gain 1/960, unscaled inverse DFT and windowed COLA overlap-add.
|
|
77
|
+
*
|
|
78
|
+
* Holds one DFT and scratch buffers; use it sequentially.
|
|
79
|
+
*/
|
|
80
|
+
export declare class ClearStft {
|
|
81
|
+
/** The transform size. */
|
|
82
|
+
readonly fftSize = 960;
|
|
83
|
+
/** The hop size. */
|
|
84
|
+
readonly hopSize = 480;
|
|
85
|
+
/** The number of bins kept. */
|
|
86
|
+
readonly nFreq = 481;
|
|
87
|
+
private readonly dft;
|
|
88
|
+
/** wnorm = 2*hop/fftSize^2 = 1/960: compensates the unscaled inverse DFT. */
|
|
89
|
+
private readonly wnorm;
|
|
90
|
+
private readonly frame;
|
|
91
|
+
private readonly fullReal;
|
|
92
|
+
private readonly fullImag;
|
|
93
|
+
private readonly timeReal;
|
|
94
|
+
private readonly timeImag;
|
|
95
|
+
/**
|
|
96
|
+
* Analyse a mono 48 kHz waveform.
|
|
97
|
+
*
|
|
98
|
+
* @param audio - the samples
|
|
99
|
+
* @returns the frame-major spectrum
|
|
100
|
+
*/
|
|
101
|
+
forward(audio: Float32Array): ClearSpectrum;
|
|
102
|
+
/**
|
|
103
|
+
* Synthesize a waveform from a spectrum.
|
|
104
|
+
*
|
|
105
|
+
* @param real - frame-major real parts
|
|
106
|
+
* @param imag - frame-major imaginary parts
|
|
107
|
+
* @param nFrames - how many frames to synthesize
|
|
108
|
+
* @returns the waveform with the analysis prepad dropped (at least the input length)
|
|
109
|
+
*/
|
|
110
|
+
inverse(real: Float32Array, imag: Float32Array, nFrames: number): Float32Array;
|
|
111
|
+
}
|
|
112
|
+
/** The DFN3 features the graph consumes. */
|
|
113
|
+
export interface ClearFeatures {
|
|
114
|
+
/** Frame-major ERB bands, `nFrames * 32`. */
|
|
115
|
+
readonly featErb: Float32Array;
|
|
116
|
+
/** Frame-major real parts of the unit-normalized first 96 bins. */
|
|
117
|
+
readonly featSpecReal: Float32Array;
|
|
118
|
+
/** Frame-major imaginary parts of the unit-normalized first 96 bins. */
|
|
119
|
+
readonly featSpecImag: Float32Array;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Compute feat_erb and feat_spec exactly as the reference does.
|
|
123
|
+
*
|
|
124
|
+
* @param real - frame-major real spectrum
|
|
125
|
+
* @param imag - frame-major imaginary spectrum
|
|
126
|
+
* @param nFrames - the number of frames
|
|
127
|
+
* @returns the two feature tensors
|
|
128
|
+
*/
|
|
129
|
+
export declare function clearFeatures(real: Float32Array, imag: Float32Array, nFrames: number): ClearFeatures;
|
|
130
|
+
/** What {@link clearChunkInputs} needs. */
|
|
131
|
+
export interface ClearChunkInputRequest {
|
|
132
|
+
readonly specReal: Float32Array;
|
|
133
|
+
readonly specImag: Float32Array;
|
|
134
|
+
readonly featErb: Float32Array;
|
|
135
|
+
readonly featSpecReal: Float32Array;
|
|
136
|
+
readonly featSpecImag: Float32Array;
|
|
137
|
+
readonly nFrames: number;
|
|
138
|
+
readonly start: number;
|
|
139
|
+
readonly chunkFrames?: number;
|
|
140
|
+
readonly lookahead?: number;
|
|
141
|
+
}
|
|
142
|
+
/** One model window's three input tensors. */
|
|
143
|
+
export interface ClearChunkInputs {
|
|
144
|
+
/** Interleaved complex spectrum, `T * 481 * 2`. */
|
|
145
|
+
readonly spec: Float32Array;
|
|
146
|
+
/** ERB features, `T * 32`. */
|
|
147
|
+
readonly featErb: Float32Array;
|
|
148
|
+
/** Interleaved complex DF features, `T * 96 * 2`. */
|
|
149
|
+
readonly featSpec: Float32Array;
|
|
150
|
+
/** The fixed window length the graph declares. */
|
|
151
|
+
readonly chunkFrames: number;
|
|
152
|
+
/** How many frames of this window are real audio. */
|
|
153
|
+
readonly validFrames: number;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Pack one 200-frame model window.
|
|
157
|
+
*
|
|
158
|
+
* The spectrum is read at the window's own frames; the FEATURES are read two frames ahead
|
|
159
|
+
* and zero-filled past the tail (Sources/Clear/Enhancer.swift L198-237).
|
|
160
|
+
*
|
|
161
|
+
* @param request - the whole-signal arrays and where the window starts
|
|
162
|
+
* @returns the three input tensors
|
|
163
|
+
*/
|
|
164
|
+
export declare function clearChunkInputs(request: ClearChunkInputRequest): ClearChunkInputs;
|
|
165
|
+
/** What {@link scatterEnhanced} needs. */
|
|
166
|
+
export interface ClearScatterRequest {
|
|
167
|
+
/** The model output, interleaved complex, `chunkFrames * 481 * 2`. */
|
|
168
|
+
readonly enhanced: Float32Array;
|
|
169
|
+
readonly chunkFrames: number;
|
|
170
|
+
readonly start: number;
|
|
171
|
+
readonly validFrames: number;
|
|
172
|
+
readonly outReal: Float32Array;
|
|
173
|
+
readonly outImag: Float32Array;
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* Copy a chunk's enhanced spectrum into the whole-signal planes.
|
|
177
|
+
*
|
|
178
|
+
* @param request - the output tensor, the window start and the destination planes
|
|
179
|
+
*/
|
|
180
|
+
export declare function scatterEnhanced(request: ClearScatterRequest): void;
|
|
181
|
+
/**
|
|
182
|
+
* ITU-R BS.1770-4 integrated loudness of mono samples at 48 kHz.
|
|
183
|
+
*
|
|
184
|
+
* 400 ms blocks at a 100 ms step; gated at -70 LUFS, then at (gated mean - 10 LU).
|
|
185
|
+
*
|
|
186
|
+
* @param samples - the signal
|
|
187
|
+
* @param sampleRate - must be 48 kHz, the rate the K-weighting coefficients were derived for
|
|
188
|
+
* @returns LUFS, or null for silence or audio shorter than one block
|
|
189
|
+
*/
|
|
190
|
+
export declare function integratedLufs(samples: Float32Array, sampleRate?: number): number | null;
|
|
191
|
+
/** Where mastering should land; every field defaults to the SDK's Apple Podcasts preset. */
|
|
192
|
+
export interface ClearLoudnessOptions {
|
|
193
|
+
readonly targetLufs?: number;
|
|
194
|
+
readonly maxGainDb?: number;
|
|
195
|
+
readonly peakCeilingDbtp?: number;
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* Normalize loudness in place: measure, apply min(maxGain, target - measured), then limit.
|
|
199
|
+
*
|
|
200
|
+
* @param samples - the signal, at 48 kHz
|
|
201
|
+
* @param options - target, gain cap and peak ceiling
|
|
202
|
+
* @returns the measured input LUFS, or null when the signal was left untouched (silence)
|
|
203
|
+
*/
|
|
204
|
+
export declare function normalizeLoudnessInPlace(samples: Float32Array, options?: ClearLoudnessOptions): number | null;
|
|
205
|
+
/**
|
|
206
|
+
* A look-ahead peak limiter, in place.
|
|
207
|
+
*
|
|
208
|
+
* Instantaneous attack: the envelope is already down when a peak arrives, because the
|
|
209
|
+
* window maximum looks 5 ms ahead. Exponential release. This is the reference's single-pass
|
|
210
|
+
* form of Limiter.Streaming.process + flush (same envelope over the whole signal).
|
|
211
|
+
*
|
|
212
|
+
* @param samples - the signal
|
|
213
|
+
* @param ceilingDbtp - the sample-peak ceiling
|
|
214
|
+
* @param sampleRate - the sample rate the window and release are derived for
|
|
215
|
+
*/
|
|
216
|
+
export declare function limitInPlace(samples: Float32Array, ceilingDbtp: number, sampleRate: number): void;
|
|
217
|
+
/**
|
|
218
|
+
* Encode mono float samples as a 16-bit PCM RIFF/WAVE document.
|
|
219
|
+
*
|
|
220
|
+
* @param samples - the samples
|
|
221
|
+
* @param sampleRate - the sample rate to declare
|
|
222
|
+
* @returns the WAV bytes
|
|
223
|
+
*/
|
|
224
|
+
export declare function encodePcm16Wav(samples: Float32Array, sampleRate: number): Uint8Array;
|
|
225
|
+
/**
|
|
226
|
+
* The most 48 kHz mono PCM16 samples whose base64 WAV fits the host's result budget.
|
|
227
|
+
*
|
|
228
|
+
* base64 is 4/3 of the raw WAV, which is 44 header bytes plus 2 bytes per sample. The
|
|
229
|
+
* 1024-byte envelope allowance is for the rest of the JSON result.
|
|
230
|
+
*
|
|
231
|
+
* @param maxResultBytes - context.limits.maxResultBytes
|
|
232
|
+
* @returns the sample cap, or 0 when even a header cannot fit
|
|
233
|
+
*/
|
|
234
|
+
export declare function maxSamplesForResultBudget(maxResultBytes: number): number;
|
|
235
|
+
//# sourceMappingURL=clear-dsp.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clear-dsp.d.ts","sourceRoot":"","sources":["../src/clear-dsp.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAIH,2CAA2C;AAC3C,eAAO,MAAM,iBAAiB,QAAS,CAAA;AAEvC,gCAAgC;AAChC,eAAO,MAAM,cAAc,MAAM,CAAA;AAEjC,uEAAuE;AACvE,eAAO,MAAM,cAAc,MAAM,CAAA;AAEjC,iCAAiC;AACjC,eAAO,MAAM,YAAY,MAAM,CAAA;AAE/B,8BAA8B;AAC9B,eAAO,MAAM,WAAW,KAAK,CAAA;AAE7B,uCAAuC;AACvC,eAAO,MAAM,UAAU,KAAK,CAAA;AAE5B,kFAAkF;AAClF,eAAO,MAAM,eAAe,IAAI,CAAA;AAEh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