edfcore 0.2.68 → 0.2.69
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/CHANGELOG.md +15 -0
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/package.json +1 -1
- package/src/constants.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,21 @@ alone does not tell you whether you were affected.
|
|
|
6
6
|
edfcore is pre-1.0. Patch releases have carried behaviour changes where the old behaviour was a
|
|
7
7
|
defect; those are called out below.
|
|
8
8
|
|
|
9
|
+
## 0.2.69
|
|
10
|
+
|
|
11
|
+
- **Documented and pinned** how an overlap is reported, after investigating whether it was reported
|
|
12
|
+
at all. It is: `EdfGap.durationSeconds` goes NEGATIVE, and `validateRecording` turns that into
|
|
13
|
+
`RECORD_ONSET_SPACING_VIOLATION` naming the segments. No new shape, no missing diagnostic — I
|
|
14
|
+
checked before changing anything, and there was nothing to fix.
|
|
15
|
+
- What was missing is that none of it was written down. Two consequences now are: summing gap
|
|
16
|
+
durations to get "time lost" is right only if you expect a negative term, and where two segments
|
|
17
|
+
cover the same instant `segmentAt` and `sampleAt` return one of them because more than one sample
|
|
18
|
+
genuinely exists there.
|
|
19
|
+
- Also pinned that a PROBED index sees none of this when a gap and an overlap cancel exactly — net
|
|
20
|
+
drift is zero, the file opens with no diagnostic, and `contiguityOf` answers `'unknown'`. That is
|
|
21
|
+
the honest answer and precisely why `buildRecordIndex` exists; the docs say so three times and
|
|
22
|
+
now a test does too.
|
|
23
|
+
|
|
9
24
|
## 0.2.68
|
|
10
25
|
|
|
11
26
|
Two defects in `sample-locate.ts`, both introduced by me in 0.2.61 and found by an adversarial
|
package/dist/constants.d.ts
CHANGED
|
@@ -109,5 +109,5 @@ export declare const SIGNAL_FIELD_BLOCK_OFFSETS: {
|
|
|
109
109
|
readonly reserved: 224;
|
|
110
110
|
};
|
|
111
111
|
/** Published package version. Kept in sync with package.json by a test. */
|
|
112
|
-
export declare const VERSION = "0.2.
|
|
112
|
+
export declare const VERSION = "0.2.69";
|
|
113
113
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.js
CHANGED
package/package.json
CHANGED
package/src/constants.ts
CHANGED