MathewShen commited on
Commit
36fd533
·
verified ·
1 Parent(s): d66ce97

feat(dataset): publish Open-UTS 126-series subset

Browse files
.ruff_cache/.gitignore ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ # Automatically created by ruff.
2
+ *
.ruff_cache/0.16.8/8972865887656897122 ADDED
Binary file (204 Bytes). View file
 
.ruff_cache/CACHEDIR.TAG ADDED
@@ -0,0 +1 @@
 
 
1
+ Signature: 8a477f597d28d172789f06886806bc55
CORRECTIONS.json ADDED
@@ -0,0 +1,287 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "base_revision": "c6aded12d5657b96d83595500eb60c1412c8c3a2",
3
+ "status": "public_release_corrections_only",
4
+ "interval_convention": "zero-based half-open [start,end)",
5
+ "changes": [
6
+ {
7
+ "id": "001_NAB_id_1_Facility_tr_1007_1st_2014",
8
+ "source": "NAB",
9
+ "reason": "source_labeling_excludes_probation",
10
+ "ranges": [
11
+ [
12
+ 0,
13
+ 603
14
+ ]
15
+ ],
16
+ "evidence": "source-mappings.json"
17
+ },
18
+ {
19
+ "id": "002_NAB_id_2_WebService_tr_1500_1st_4106",
20
+ "source": "NAB",
21
+ "reason": "source_labeling_excludes_probation",
22
+ "ranges": [
23
+ [
24
+ 0,
25
+ 749
26
+ ]
27
+ ],
28
+ "evidence": "source-mappings.json"
29
+ },
30
+ {
31
+ "id": "005_NAB_id_5_Traffic_tr_594_1st_1645",
32
+ "source": "NAB",
33
+ "reason": "source_labeling_excludes_probation",
34
+ "ranges": [
35
+ [
36
+ 0,
37
+ 356
38
+ ]
39
+ ],
40
+ "evidence": "source-mappings.json"
41
+ },
42
+ {
43
+ "id": "006_NAB_id_6_Traffic_tr_2579_1st_5839",
44
+ "source": "NAB",
45
+ "reason": "source_labeling_excludes_probation",
46
+ "ranges": [
47
+ [
48
+ 0,
49
+ 749
50
+ ]
51
+ ],
52
+ "evidence": "source-mappings.json"
53
+ },
54
+ {
55
+ "id": "008_NAB_id_8_Synthetic_tr_1007_1st_2734",
56
+ "source": "NAB",
57
+ "reason": "source_labeling_excludes_probation",
58
+ "ranges": [
59
+ [
60
+ 0,
61
+ 603
62
+ ]
63
+ ],
64
+ "evidence": "source-mappings.json"
65
+ },
66
+ {
67
+ "id": "009_NAB_id_9_Traffic_tr_500_1st_438",
68
+ "source": "NAB",
69
+ "reason": "source_labeling_excludes_probation",
70
+ "ranges": [
71
+ [
72
+ 0,
73
+ 323
74
+ ]
75
+ ],
76
+ "evidence": "source-mappings.json"
77
+ },
78
+ {
79
+ "id": "010_NAB_id_10_WebService_tr_500_1st_271",
80
+ "source": "NAB",
81
+ "reason": "source_labeling_excludes_probation",
82
+ "ranges": [
83
+ [
84
+ 0,
85
+ 229
86
+ ]
87
+ ],
88
+ "evidence": "source-mappings.json"
89
+ },
90
+ {
91
+ "id": "011_NAB_id_11_Facility_tr_1007_1st_1526",
92
+ "source": "NAB",
93
+ "reason": "source_labeling_excludes_probation",
94
+ "ranges": [
95
+ [
96
+ 0,
97
+ 603
98
+ ]
99
+ ],
100
+ "evidence": "source-mappings.json"
101
+ },
102
+ {
103
+ "id": "013_NAB_id_13_Traffic_tr_623_1st_2084",
104
+ "source": "NAB",
105
+ "reason": "source_labeling_excludes_probation",
106
+ "ranges": [
107
+ [
108
+ 0,
109
+ 373
110
+ ]
111
+ ],
112
+ "evidence": "source-mappings.json"
113
+ },
114
+ {
115
+ "id": "014_NAB_id_14_WebService_tr_500_1st_1045",
116
+ "source": "NAB",
117
+ "reason": "source_labeling_excludes_probation",
118
+ "ranges": [
119
+ [
120
+ 0,
121
+ 229
122
+ ]
123
+ ],
124
+ "evidence": "source-mappings.json"
125
+ },
126
+ {
127
+ "id": "015_NAB_id_15_Synthetic_tr_1007_1st_2787",
128
+ "source": "NAB",
129
+ "reason": "source_labeling_excludes_probation",
130
+ "ranges": [
131
+ [
132
+ 0,
133
+ 603
134
+ ]
135
+ ],
136
+ "evidence": "source-mappings.json"
137
+ },
138
+ {
139
+ "id": "016_NAB_id_16_Environment_tr_1816_1st_3540",
140
+ "source": "NAB",
141
+ "reason": "source_labeling_excludes_probation",
142
+ "ranges": [
143
+ [
144
+ 0,
145
+ 749
146
+ ]
147
+ ],
148
+ "evidence": "source-mappings.json"
149
+ },
150
+ {
151
+ "id": "017_NAB_id_17_Synthetic_tr_1007_1st_1805",
152
+ "source": "NAB",
153
+ "reason": "source_labeling_excludes_probation",
154
+ "ranges": [
155
+ [
156
+ 0,
157
+ 603
158
+ ]
159
+ ],
160
+ "evidence": "source-mappings.json"
161
+ },
162
+ {
163
+ "id": "018_NAB_id_18_Facility_tr_500_1st_669",
164
+ "source": "NAB",
165
+ "reason": "source_labeling_excludes_probation",
166
+ "ranges": [
167
+ [
168
+ 0,
169
+ 281
170
+ ]
171
+ ],
172
+ "evidence": "source-mappings.json"
173
+ },
174
+ {
175
+ "id": "019_NAB_id_19_Facility_tr_1007_1st_1171",
176
+ "source": "NAB",
177
+ "reason": "source_labeling_excludes_probation",
178
+ "ranges": [
179
+ [
180
+ 0,
181
+ 603
182
+ ]
183
+ ],
184
+ "evidence": "source-mappings.json"
185
+ },
186
+ {
187
+ "id": "020_NAB_id_20_Synthetic_tr_1007_1st_2679",
188
+ "source": "NAB",
189
+ "reason": "source_labeling_excludes_probation",
190
+ "ranges": [
191
+ [
192
+ 0,
193
+ 603
194
+ ]
195
+ ],
196
+ "evidence": "source-mappings.json"
197
+ },
198
+ {
199
+ "id": "022_NAB_id_22_Facility_tr_1007_1st_2980",
200
+ "source": "NAB",
201
+ "reason": "source_labeling_excludes_probation",
202
+ "ranges": [
203
+ [
204
+ 0,
205
+ 603
206
+ ]
207
+ ],
208
+ "evidence": "source-mappings.json"
209
+ },
210
+ {
211
+ "id": "023_NAB_id_23_Facility_tr_4512_1st_16551",
212
+ "source": "NAB",
213
+ "reason": "source_labeling_excludes_probation",
214
+ "ranges": [
215
+ [
216
+ 0,
217
+ 749
218
+ ]
219
+ ],
220
+ "evidence": "source-mappings.json"
221
+ },
222
+ {
223
+ "id": "024_NAB_id_24_Synthetic_tr_1007_1st_2787",
224
+ "source": "NAB",
225
+ "reason": "source_labeling_excludes_probation",
226
+ "ranges": [
227
+ [
228
+ 0,
229
+ 603
230
+ ]
231
+ ],
232
+ "evidence": "source-mappings.json"
233
+ },
234
+ {
235
+ "id": "025_NAB_id_25_WebService_tr_3958_1st_4614",
236
+ "source": "NAB",
237
+ "reason": "source_labeling_excludes_probation",
238
+ "ranges": [
239
+ [
240
+ 0,
241
+ 749
242
+ ]
243
+ ],
244
+ "evidence": "source-mappings.json"
245
+ },
246
+ {
247
+ "id": "026_NAB_id_26_Traffic_tr_624_1st_2261",
248
+ "source": "NAB",
249
+ "reason": "source_labeling_excludes_probation",
250
+ "ranges": [
251
+ [
252
+ 0,
253
+ 374
254
+ ]
255
+ ],
256
+ "evidence": "source-mappings.json"
257
+ },
258
+ {
259
+ "id": "028_NAB_id_28_Facility_tr_1007_1st_3447",
260
+ "source": "NAB",
261
+ "reason": "source_labeling_excludes_probation",
262
+ "ranges": [
263
+ [
264
+ 0,
265
+ 603
266
+ ]
267
+ ],
268
+ "evidence": "source-mappings.json"
269
+ },
270
+ {
271
+ "id": "169_Daphnet_id_1_HumanActivity_tr_9693_1st_20732",
272
+ "source": "Daphnet",
273
+ "reason": "outside_original_experiment",
274
+ "ranges": [
275
+ [
276
+ 0,
277
+ 16639
278
+ ],
279
+ [
280
+ 33280,
281
+ 38774
282
+ ]
283
+ ],
284
+ "evidence": "source-mappings.json"
285
+ }
286
+ ]
287
+ }
LICENSES/MGAB-CC0.txt ADDED
@@ -0,0 +1,121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Creative Commons Legal Code
2
+
3
+ CC0 1.0 Universal
4
+
5
+ CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
6
+ LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
7
+ ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
8
+ INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
9
+ REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
10
+ PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
11
+ THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
12
+ HEREUNDER.
13
+
14
+ Statement of Purpose
15
+
16
+ The laws of most jurisdictions throughout the world automatically confer
17
+ exclusive Copyright and Related Rights (defined below) upon the creator
18
+ and subsequent owner(s) (each and all, an "owner") of an original work of
19
+ authorship and/or a database (each, a "Work").
20
+
21
+ Certain owners wish to permanently relinquish those rights to a Work for
22
+ the purpose of contributing to a commons of creative, cultural and
23
+ scientific works ("Commons") that the public can reliably and without fear
24
+ of later claims of infringement build upon, modify, incorporate in other
25
+ works, reuse and redistribute as freely as possible in any form whatsoever
26
+ and for any purposes, including without limitation commercial purposes.
27
+ These owners may contribute to the Commons to promote the ideal of a free
28
+ culture and the further production of creative, cultural and scientific
29
+ works, or to gain reputation or greater distribution for their Work in
30
+ part through the use and efforts of others.
31
+
32
+ For these and/or other purposes and motivations, and without any
33
+ expectation of additional consideration or compensation, the person
34
+ associating CC0 with a Work (the "Affirmer"), to the extent that he or she
35
+ is an owner of Copyright and Related Rights in the Work, voluntarily
36
+ elects to apply CC0 to the Work and publicly distribute the Work under its
37
+ terms, with knowledge of his or her Copyright and Related Rights in the
38
+ Work and the meaning and intended legal effect of CC0 on those rights.
39
+
40
+ 1. Copyright and Related Rights. A Work made available under CC0 may be
41
+ protected by copyright and related or neighboring rights ("Copyright and
42
+ Related Rights"). Copyright and Related Rights include, but are not
43
+ limited to, the following:
44
+
45
+ i. the right to reproduce, adapt, distribute, perform, display,
46
+ communicate, and translate a Work;
47
+ ii. moral rights retained by the original author(s) and/or performer(s);
48
+ iii. publicity and privacy rights pertaining to a person's image or
49
+ likeness depicted in a Work;
50
+ iv. rights protecting against unfair competition in regards to a Work,
51
+ subject to the limitations in paragraph 4(a), below;
52
+ v. rights protecting the extraction, dissemination, use and reuse of data
53
+ in a Work;
54
+ vi. database rights (such as those arising under Directive 96/9/EC of the
55
+ European Parliament and of the Council of 11 March 1996 on the legal
56
+ protection of databases, and under any national implementation
57
+ thereof, including any amended or successor version of such
58
+ directive); and
59
+ vii. other similar, equivalent or corresponding rights throughout the
60
+ world based on applicable law or treaty, and any national
61
+ implementations thereof.
62
+
63
+ 2. Waiver. To the greatest extent permitted by, but not in contravention
64
+ of, applicable law, Affirmer hereby overtly, fully, permanently,
65
+ irrevocably and unconditionally waives, abandons, and surrenders all of
66
+ Affirmer's Copyright and Related Rights and associated claims and causes
67
+ of action, whether now known or unknown (including existing as well as
68
+ future claims and causes of action), in the Work (i) in all territories
69
+ worldwide, (ii) for the maximum duration provided by applicable law or
70
+ treaty (including future time extensions), (iii) in any current or future
71
+ medium and for any number of copies, and (iv) for any purpose whatsoever,
72
+ including without limitation commercial, advertising or promotional
73
+ purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
74
+ member of the public at large and to the detriment of Affirmer's heirs and
75
+ successors, fully intending that such Waiver shall not be subject to
76
+ revocation, rescission, cancellation, termination, or any other legal or
77
+ equitable action to disrupt the quiet enjoyment of the Work by the public
78
+ as contemplated by Affirmer's express Statement of Purpose.
79
+
80
+ 3. Public License Fallback. Should any part of the Waiver for any reason
81
+ be judged legally invalid or ineffective under applicable law, then the
82
+ Waiver shall be preserved to the maximum extent permitted taking into
83
+ account Affirmer's express Statement of Purpose. In addition, to the
84
+ extent the Waiver is so judged Affirmer hereby grants to each affected
85
+ person a royalty-free, non transferable, non sublicensable, non exclusive,
86
+ irrevocable and unconditional license to exercise Affirmer's Copyright and
87
+ Related Rights in the Work (i) in all territories worldwide, (ii) for the
88
+ maximum duration provided by applicable law or treaty (including future
89
+ time extensions), (iii) in any current or future medium and for any number
90
+ of copies, and (iv) for any purpose whatsoever, including without
91
+ limitation commercial, advertising or promotional purposes (the
92
+ "License"). The License shall be deemed effective as of the date CC0 was
93
+ applied by Affirmer to the Work. Should any part of the License for any
94
+ reason be judged legally invalid or ineffective under applicable law, such
95
+ partial invalidity or ineffectiveness shall not invalidate the remainder
96
+ of the License, and in such case Affirmer hereby affirms that he or she
97
+ will not (i) exercise any of his or her remaining Copyright and Related
98
+ Rights in the Work or (ii) assert any associated claims and causes of
99
+ action with respect to the Work, in either case contrary to Affirmer's
100
+ express Statement of Purpose.
101
+
102
+ 4. Limitations and Disclaimers.
103
+
104
+ a. No trademark or patent rights held by Affirmer are waived, abandoned,
105
+ surrendered, licensed or otherwise affected by this document.
106
+ b. Affirmer offers the Work as-is and makes no representations or
107
+ warranties of any kind concerning the Work, express, implied,
108
+ statutory or otherwise, including without limitation warranties of
109
+ title, merchantability, fitness for a particular purpose, non
110
+ infringement, or the absence of latent or other defects, accuracy, or
111
+ the present or absence of errors, whether or not discoverable, all to
112
+ the greatest extent permissible under applicable law.
113
+ c. Affirmer disclaims responsibility for clearing rights of other persons
114
+ that may apply to the Work or any use thereof, including without
115
+ limitation any person's Copyright and Related Rights in the Work.
116
+ Further, Affirmer disclaims responsibility for obtaining any necessary
117
+ consents, permissions or other rights required for any use of the
118
+ Work.
119
+ d. Affirmer understands and acknowledges that Creative Commons is not a
120
+ party to this document and has no duty or obligation with respect to
121
+ this CC0 or use of the Work.
LICENSES/NAB-MIT.txt ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright 2014-2024 Numenta Inc.
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ SOFTWARE.
LICENSES/SMD-MIT.txt ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2021 NetManAIOps-SMD
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
MANIFEST.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "status": "public_subset_126",
3
+ "baseline_dataset": "MathewShen/tsb-ad-u",
4
+ "baseline_revision": "c6aded12d5657b96d83595500eb60c1412c8c3a2",
5
+ "rows": 126,
6
+ "sources": {
7
+ "CATSv2": 1,
8
+ "Daphnet": 1,
9
+ "LTDB": 8,
10
+ "MGAB": 8,
11
+ "MITDB": 7,
12
+ "NAB": 23,
13
+ "OPPORTUNITY": 27,
14
+ "SMD": 33,
15
+ "SVDB": 18
16
+ },
17
+ "columns": [
18
+ "id",
19
+ "source",
20
+ "values",
21
+ "labels",
22
+ "train_end",
23
+ "original_sha256",
24
+ "labels_corrected"
25
+ ],
26
+ "files": {
27
+ "data/test.parquet": {
28
+ "sha256": "dacc0bd31bc8a30bc0569c5b82e3bd74ce5cf2724d69b8ff3c92fe968fb20276",
29
+ "rows": 126,
30
+ "points": 10691121,
31
+ "train_unknown": 21633,
32
+ "test_unknown": 12440
33
+ }
34
+ },
35
+ "catsv2_verification": {
36
+ "source_file_sha256": "259b5849a134e3318ed5e683bca0582d8c1005d1a008bb86094c8131ca1b2ff3",
37
+ "source_column": "bso2",
38
+ "source_half_open_range": [
39
+ 4300000,
40
+ 4600000
41
+ ],
42
+ "max_absolute_observation_difference": 7.105427357601002e-15,
43
+ "original_labels_match_source_y": true
44
+ }
45
+ }
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: Open-UTS (126 Univariate Time Series)
3
+ language:
4
+ - zxx
5
+ license: other
6
+ tags:
7
+ - time-series
8
+ - anomaly-detection
9
+ - tsb-ad
10
+ ---
11
+
12
+ # Open-UTS: 126 Univariate Time Series
13
+
14
+ Open-UTS contains **126 complete univariate time series from nine original datasets**. All 126 are from the Eval 350 collection of the pinned, private [TSB-AD-U baseline](https://huggingface.co/datasets/MathewShen/tsb-ad-u), revision `c6aded12d5657b96d83595500eb60c1412c8c3a2`. It is an unofficial redistribution of selected [TSB-AD](https://github.com/TheDatumOrg/TSB-AD) series, not a new blind benchmark. The other 696 series from the 822-series baseline are not in this release.
15
+
16
+ The data have **mixed licenses**, not a single license granted by this repository. Read [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md) before reuse; the original source licenses and attribution requirements still apply. The selection excludes GPL, noncommercial, permission-dependent, and insufficiently documented sources from this particular release.
17
+
18
+ ## Data and labels
19
+
20
+ `data/test.parquet` contains one complete sequence per row, with 10,691,121 observations in total. The Hub split is named `test` for benchmark evaluation; each row also includes its training prefix.
21
+
22
+ | Column | Type | Meaning |
23
+ | --- | --- | --- |
24
+ | `id` | string | Pinned TSB-AD-U series ID |
25
+ | `source` | string | Original dataset name; reporting metadata only |
26
+ | `values` | list<float64> | Complete observations in original sampling order |
27
+ | `labels` | list<bool> | Unchanged labels from the pinned baseline |
28
+ | `train_end` | int64 | Exclusive end of the training prefix |
29
+ | `original_sha256` | string | SHA-256 of the retained TSB-AD source CSV |
30
+ | `labels_corrected` | list<bool or null> | Original labels with demonstrably unlabeled positions restored to null |
31
+
32
+ In the public subset, 22 NAB series have an unlabeled initialization region in the training prefix, and the Daphnet series has positions outside the annotated experiment. Those positions are `null` in `labels_corrected`, not negative examples. This accounts for 21,633 unknown training points and 12,440 unknown evaluation points. The exact zero-based, half-open intervals and reasons are in [CORRECTIONS.json](CORRECTIONS.json); the relevant original-file and offset evidence is in [source-mappings.json](source-mappings.json). Other labels remain unchanged; unchanged does **not** imply every point was independently verified. The original `labels` column is untouched.
33
+
34
+ No `labels_annotated` column is released here. The current model-assisted annotation candidates lack human review and should not be presented as supervised ground truth. An evaluation using `labels_corrected` needs a specified null-aware metric protocol: filling null with zero or deleting it and joining the timeline would change the task.
35
+
36
+ The observations, original labels, row IDs, train boundaries, and CSV hashes were checked against the pinned baseline before export. [MANIFEST.json](MANIFEST.json) records the exported file checksum and CATSv2 source alignment. Run `uv run --with pyarrow python verify.py` to check the distributed file, schema, row counts, sources, and nullable-label invariants.
37
+
38
+ Example usage after publication:
39
+
40
+ ```python
41
+ from datasets import load_dataset
42
+
43
+ rows = load_dataset("MathewShen/open-uts", split="test", revision="PINNED_COMMIT")
44
+ row = rows[0]
45
+ train_values = row["values"][:row["train_end"]]
46
+ test_values = row["values"][row["train_end"]:]
47
+ test_labels = row["labels_corrected"][row["train_end"]:]
48
+ ```
49
+
50
+ The source name and ID must not drive anomaly-detector candidate generation, routing, or hyperparameters. Keep evaluation labels out of model fitting and selection. All 126 sequences have been exposed to development work; this is not an untouched test set.
51
+
52
+ ## Source distribution
53
+
54
+ | Source | Series | License |
55
+ | --- | ---: | --- |
56
+ | CATSv2 | 1 | CC BY 4.0 |
57
+ | Daphnet | 1 | CC BY 4.0 |
58
+ | LTDB | 8 | ODC-By 1.0 |
59
+ | MGAB | 8 | CC0 1.0 |
60
+ | MITDB | 7 | ODC-By 1.0 |
61
+ | NAB | 23 | MIT |
62
+ | OPPORTUNITY | 27 | CC BY 4.0 |
63
+ | SMD | 33 | MIT |
64
+ | SVDB | 18 | ODC-By 1.0 |
65
+
66
+ The original values and labels of the CATSv2 row were independently matched to `bso2[4,300,000:4,600,000]` and `y[4,300,000:4,600,000]` in [Zenodo 8338435](https://doi.org/10.5281/zenodo.8338435). The maximal observation difference is `7.11e-15`; all 300,000 original labels match the source's `y` column. See [MANIFEST.json](MANIFEST.json) for the source-file checksum.
67
+
68
+ ## Status and provenance
69
+
70
+ The original and corrected labels come from a broader, still ongoing source audit. The corrections in this subset are limited to NAB and Daphnet. This subset does not certify the excluded sources or finish the requested human annotations.
THIRD_PARTY_NOTICES.md ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Source licenses and attribution
2
+
3
+ This package is a transformed subset of nine datasets assembled through TSB-AD/TSB-AD-U. **No single blanket license covers the underlying observations and labels.** The `license: other` Hub metadata reflects the mixed source terms. The transformations here consist of selecting and cropping univariate sequences, converting them to row-based Parquet, retaining the original labels, and adding `labels_corrected` where the source evidence identifies unannotated positions. The original creators have not endorsed this package.
4
+
5
+ | Source | Credit and source | License and notice |
6
+ | --- | --- | --- |
7
+ | NAB | Numenta, [NAB at pinned revision](https://github.com/numenta/NAB/tree/ea702d75cc2258d9d7dd35ca8e5e2539d71f3140) | MIT; retain [Numenta's full license and copyright](LICENSES/NAB-MIT.txt). The NAB initialization region was changed to null in `labels_corrected` where applicable. |
8
+ | MGAB | Markus Thill, [MGAB at pinned revision](https://github.com/MarkusThill/MGAB/tree/acb4b816216c99cdb3721be620459a8a510c2640) | [CC0 1.0](LICENSES/MGAB-CC0.txt); source credit is retained for traceability. |
9
+ | SMD | NetManAIOps-SMD, [ServerMachineDataset at pinned revision](https://github.com/NetManAIOps/OmniAnomaly/tree/7fb0e0acf89ea49908896bcc9f9e80fcfff6baf4/ServerMachineDataset) | MIT; retain [its dataset-specific full license and copyright](LICENSES/SMD-MIT.txt). |
10
+ | Daphnet | Daniel Roggen, Meir Plotnik, Jeff Hausdorff, [UCI Daphnet Freezing of Gait](https://archive.ics.uci.edu/dataset/245/daphnet+freezing+of+gait), [DOI 10.24432/C56K78](https://doi.org/10.24432/C56K78) | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Experimental-outside points were restored to null in `labels_corrected`. |
11
+ | OPPORTUNITY | Daniel Roggen, Alberto Calatroni, Long-Van Nguyen-Dinh, Ricardo Chavarriaga, Hesam Sagha, [UCI OPPORTUNITY](https://archive.ics.uci.edu/dataset/226/opportunity+activity+recognition), [DOI 10.24432/C5M027](https://doi.org/10.24432/C5M027) | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). |
12
+ | CATSv2 | Patrick Fleith / Solenix Engineering GmbH, [Controlled Anomalies Time Series (CATS) Dataset](https://doi.org/10.5281/zenodo.8338435) | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). `bso2[4,300,000:4,600,000]` was selected; original event labels match Zenodo's `y`. |
13
+ | MITDB | [MIT-BIH Arrhythmia Database v1.0.0](https://physionet.org/content/mitdb/1.0.0/), [DOI 10.13026/C2F305](https://doi.org/10.13026/C2F305), PhysioNet | [ODC-By 1.0](https://opendatacommons.org/licenses/by/1-0/); retain database source, license, and attribution. |
14
+ | SVDB | [MIT-BIH Supraventricular Arrhythmia Database v1.0.0](https://physionet.org/content/svdb/1.0.0/), [DOI 10.13026/C2V30W](https://doi.org/10.13026/C2V30W), PhysioNet | [ODC-By 1.0](https://opendatacommons.org/licenses/by/1-0/); retain database source, license, and attribution. |
15
+ | LTDB | [Long-Term ST Database v1.0.0](https://physionet.org/content/ltdb/1.0.0/), [DOI 10.13026/C2KS3F](https://doi.org/10.13026/C2KS3F), PhysioNet | [ODC-By 1.0](https://opendatacommons.org/licenses/by/1-0/); retain database source, license, and attribution. |
16
+
17
+ For the three PhysioNet datasets, also credit [PhysioNet](https://physionet.org/about/database/) and follow each source page's recommended citation. The ODC-By license applies to their database files, according to each versioned PhysioNet record. Rights in a constituent source are not replaced by the license of an aggregator or this package.
data/test.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dacc0bd31bc8a30bc0569c5b82e3bd74ce5cf2724d69b8ff3c92fe968fb20276
3
+ size 22881277
source-mappings.json ADDED
@@ -0,0 +1,709 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "id": "001_NAB_id_1_Facility_tr_1007_1st_2014",
4
+ "source": "NAB",
5
+ "train_end": 1007,
6
+ "matches": [
7
+ {
8
+ "file": "realKnownCause/ec2_request_latency_system_failure.csv",
9
+ "offset": 1,
10
+ "original_points": 4032,
11
+ "max_abs_value_difference": 1.4210854715202004e-14,
12
+ "raw_window_label_mismatch_ranges": [
13
+ [
14
+ 2013,
15
+ 2014
16
+ ],
17
+ [
18
+ 3327,
19
+ 3328
20
+ ],
21
+ [
22
+ 3955,
23
+ 3956
24
+ ]
25
+ ],
26
+ "probation_end_original_exclusive": 604,
27
+ "proposed_unknown_range": [
28
+ 0,
29
+ 603
30
+ ],
31
+ "affected_train": 603,
32
+ "affected_test": 0
33
+ }
34
+ ]
35
+ },
36
+ {
37
+ "id": "002_NAB_id_2_WebService_tr_1500_1st_4106",
38
+ "source": "NAB",
39
+ "train_end": 1500,
40
+ "matches": [
41
+ {
42
+ "file": "realTweets/Twitter_volume_GOOG.csv",
43
+ "offset": 1,
44
+ "original_points": 15842,
45
+ "max_abs_value_difference": 0.0,
46
+ "raw_window_label_mismatch_ranges": [
47
+ [
48
+ 4105,
49
+ 4106
50
+ ]
51
+ ],
52
+ "probation_end_original_exclusive": 750,
53
+ "proposed_unknown_range": [
54
+ 0,
55
+ 749
56
+ ],
57
+ "affected_train": 749,
58
+ "affected_test": 0
59
+ }
60
+ ]
61
+ },
62
+ {
63
+ "id": "005_NAB_id_5_Traffic_tr_594_1st_1645",
64
+ "source": "NAB",
65
+ "train_end": 594,
66
+ "matches": [
67
+ {
68
+ "file": "realTraffic/occupancy_6005.csv",
69
+ "offset": 1,
70
+ "original_points": 2380,
71
+ "max_abs_value_difference": 3.552713678800501e-15,
72
+ "raw_window_label_mismatch_ranges": [
73
+ [
74
+ 1644,
75
+ 1645
76
+ ]
77
+ ],
78
+ "probation_end_original_exclusive": 357,
79
+ "proposed_unknown_range": [
80
+ 0,
81
+ 356
82
+ ],
83
+ "affected_train": 356,
84
+ "affected_test": 0
85
+ }
86
+ ]
87
+ },
88
+ {
89
+ "id": "006_NAB_id_6_Traffic_tr_2579_1st_5839",
90
+ "source": "NAB",
91
+ "train_end": 2579,
92
+ "matches": [
93
+ {
94
+ "file": "realKnownCause/nyc_taxi.csv",
95
+ "offset": 1,
96
+ "original_points": 10320,
97
+ "max_abs_value_difference": 0.0,
98
+ "raw_window_label_mismatch_ranges": [
99
+ [
100
+ 5838,
101
+ 5839
102
+ ],
103
+ [
104
+ 7079,
105
+ 7080
106
+ ],
107
+ [
108
+ 8422,
109
+ 8423
110
+ ],
111
+ [
112
+ 8730,
113
+ 8731
114
+ ],
115
+ [
116
+ 9976,
117
+ 9977
118
+ ]
119
+ ],
120
+ "probation_end_original_exclusive": 750,
121
+ "proposed_unknown_range": [
122
+ 0,
123
+ 749
124
+ ],
125
+ "affected_train": 749,
126
+ "affected_test": 0
127
+ }
128
+ ]
129
+ },
130
+ {
131
+ "id": "008_NAB_id_8_Synthetic_tr_1007_1st_2734",
132
+ "source": "NAB",
133
+ "train_end": 1007,
134
+ "matches": [
135
+ {
136
+ "file": "artificialWithAnomaly/art_load_balancer_spikes.csv",
137
+ "offset": 1,
138
+ "original_points": 4032,
139
+ "max_abs_value_difference": 1.3322676295501878e-15,
140
+ "raw_window_label_mismatch_ranges": [
141
+ [
142
+ 2733,
143
+ 2734
144
+ ]
145
+ ],
146
+ "probation_end_original_exclusive": 604,
147
+ "proposed_unknown_range": [
148
+ 0,
149
+ 603
150
+ ],
151
+ "affected_train": 603,
152
+ "affected_test": 0
153
+ }
154
+ ]
155
+ },
156
+ {
157
+ "id": "009_NAB_id_9_Traffic_tr_500_1st_438",
158
+ "source": "NAB",
159
+ "train_end": 500,
160
+ "matches": [
161
+ {
162
+ "file": "realTraffic/TravelTime_451.csv",
163
+ "offset": 1,
164
+ "original_points": 2162,
165
+ "max_abs_value_difference": 0.0,
166
+ "raw_window_label_mismatch_ranges": [
167
+ [
168
+ 437,
169
+ 438
170
+ ]
171
+ ],
172
+ "probation_end_original_exclusive": 324,
173
+ "proposed_unknown_range": [
174
+ 0,
175
+ 323
176
+ ],
177
+ "affected_train": 323,
178
+ "affected_test": 0
179
+ }
180
+ ]
181
+ },
182
+ {
183
+ "id": "010_NAB_id_10_WebService_tr_500_1st_271",
184
+ "source": "NAB",
185
+ "train_end": 500,
186
+ "matches": [
187
+ {
188
+ "file": "realAdExchange/exchange-3_cpc_results.csv",
189
+ "offset": 1,
190
+ "original_points": 1538,
191
+ "max_abs_value_difference": 2.220446049250313e-16,
192
+ "raw_window_label_mismatch_ranges": [
193
+ [
194
+ 270,
195
+ 271
196
+ ],
197
+ [
198
+ 412,
199
+ 413
200
+ ],
201
+ [
202
+ 951,
203
+ 952
204
+ ]
205
+ ],
206
+ "probation_end_original_exclusive": 230,
207
+ "proposed_unknown_range": [
208
+ 0,
209
+ 229
210
+ ],
211
+ "affected_train": 229,
212
+ "affected_test": 0
213
+ }
214
+ ]
215
+ },
216
+ {
217
+ "id": "011_NAB_id_11_Facility_tr_1007_1st_1526",
218
+ "source": "NAB",
219
+ "train_end": 1007,
220
+ "matches": [
221
+ {
222
+ "file": "realAWSCloudwatch/ec2_cpu_utilization_825cc2.csv",
223
+ "offset": 1,
224
+ "original_points": 4032,
225
+ "max_abs_value_difference": 4.263256414560601e-14,
226
+ "raw_window_label_mismatch_ranges": [
227
+ [
228
+ 1525,
229
+ 1526
230
+ ],
231
+ [
232
+ 1868,
233
+ 2000
234
+ ]
235
+ ],
236
+ "probation_end_original_exclusive": 604,
237
+ "proposed_unknown_range": [
238
+ 0,
239
+ 603
240
+ ],
241
+ "affected_train": 603,
242
+ "affected_test": 0
243
+ }
244
+ ]
245
+ },
246
+ {
247
+ "id": "013_NAB_id_13_Traffic_tr_623_1st_2084",
248
+ "source": "NAB",
249
+ "train_end": 623,
250
+ "matches": [
251
+ {
252
+ "file": "realTraffic/speed_t4013.csv",
253
+ "offset": 1,
254
+ "original_points": 2495,
255
+ "max_abs_value_difference": 0.0,
256
+ "raw_window_label_mismatch_ranges": [
257
+ [
258
+ 2083,
259
+ 2084
260
+ ],
261
+ [
262
+ 2334,
263
+ 2335
264
+ ]
265
+ ],
266
+ "probation_end_original_exclusive": 374,
267
+ "proposed_unknown_range": [
268
+ 0,
269
+ 373
270
+ ],
271
+ "affected_train": 373,
272
+ "affected_test": 0
273
+ }
274
+ ]
275
+ },
276
+ {
277
+ "id": "014_NAB_id_14_WebService_tr_500_1st_1045",
278
+ "source": "NAB",
279
+ "train_end": 500,
280
+ "matches": [
281
+ {
282
+ "file": "realAdExchange/exchange-3_cpm_results.csv",
283
+ "offset": 1,
284
+ "original_points": 1538,
285
+ "max_abs_value_difference": 4.440892098500626e-16,
286
+ "raw_window_label_mismatch_ranges": [
287
+ [
288
+ 1044,
289
+ 1045
290
+ ]
291
+ ],
292
+ "probation_end_original_exclusive": 230,
293
+ "proposed_unknown_range": [
294
+ 0,
295
+ 229
296
+ ],
297
+ "affected_train": 229,
298
+ "affected_test": 0
299
+ }
300
+ ]
301
+ },
302
+ {
303
+ "id": "015_NAB_id_15_Synthetic_tr_1007_1st_2787",
304
+ "source": "NAB",
305
+ "train_end": 1007,
306
+ "matches": [
307
+ {
308
+ "file": "artificialWithAnomaly/art_daily_jumpsdown.csv",
309
+ "offset": 1,
310
+ "original_points": 4032,
311
+ "max_abs_value_difference": 2.842170943040401e-14,
312
+ "raw_window_label_mismatch_ranges": [
313
+ [
314
+ 2786,
315
+ 2787
316
+ ],
317
+ [
318
+ 3189,
319
+ 3300
320
+ ]
321
+ ],
322
+ "probation_end_original_exclusive": 604,
323
+ "proposed_unknown_range": [
324
+ 0,
325
+ 603
326
+ ],
327
+ "affected_train": 603,
328
+ "affected_test": 0
329
+ }
330
+ ]
331
+ },
332
+ {
333
+ "id": "016_NAB_id_16_Environment_tr_1816_1st_3540",
334
+ "source": "NAB",
335
+ "train_end": 1816,
336
+ "matches": [
337
+ {
338
+ "file": "realKnownCause/ambient_temperature_system_failure.csv",
339
+ "offset": 1,
340
+ "original_points": 7267,
341
+ "max_abs_value_difference": 2.842170943040401e-14,
342
+ "raw_window_label_mismatch_ranges": [
343
+ [
344
+ 3539,
345
+ 3540
346
+ ],
347
+ [
348
+ 5998,
349
+ 5999
350
+ ]
351
+ ],
352
+ "probation_end_original_exclusive": 750,
353
+ "proposed_unknown_range": [
354
+ 0,
355
+ 749
356
+ ],
357
+ "affected_train": 749,
358
+ "affected_test": 0
359
+ }
360
+ ]
361
+ },
362
+ {
363
+ "id": "017_NAB_id_17_Synthetic_tr_1007_1st_1805",
364
+ "source": "NAB",
365
+ "train_end": 1007,
366
+ "matches": [
367
+ {
368
+ "file": "artificialWithAnomaly/art_increase_spike_density.csv",
369
+ "offset": 1,
370
+ "original_points": 4032,
371
+ "max_abs_value_difference": 0.0,
372
+ "raw_window_label_mismatch_ranges": [
373
+ [
374
+ 1804,
375
+ 1805
376
+ ]
377
+ ],
378
+ "probation_end_original_exclusive": 604,
379
+ "proposed_unknown_range": [
380
+ 0,
381
+ 603
382
+ ],
383
+ "affected_train": 603,
384
+ "affected_test": 0
385
+ }
386
+ ]
387
+ },
388
+ {
389
+ "id": "018_NAB_id_18_Facility_tr_500_1st_669",
390
+ "source": "NAB",
391
+ "train_end": 500,
392
+ "matches": [
393
+ {
394
+ "file": "realKnownCause/rogue_agent_key_hold.csv",
395
+ "offset": 1,
396
+ "original_points": 1882,
397
+ "max_abs_value_difference": 1.1102230246251565e-16,
398
+ "raw_window_label_mismatch_ranges": [
399
+ [
400
+ 668,
401
+ 669
402
+ ],
403
+ [
404
+ 1239,
405
+ 1240
406
+ ]
407
+ ],
408
+ "probation_end_original_exclusive": 282,
409
+ "proposed_unknown_range": [
410
+ 0,
411
+ 281
412
+ ],
413
+ "affected_train": 281,
414
+ "affected_test": 0
415
+ }
416
+ ]
417
+ },
418
+ {
419
+ "id": "019_NAB_id_19_Facility_tr_1007_1st_1171",
420
+ "source": "NAB",
421
+ "train_end": 1007,
422
+ "matches": [
423
+ {
424
+ "file": "realAWSCloudwatch/ec2_cpu_utilization_5f5533.csv",
425
+ "offset": 1,
426
+ "original_points": 4032,
427
+ "max_abs_value_difference": 1.4210854715202004e-14,
428
+ "raw_window_label_mismatch_ranges": [
429
+ [
430
+ 1170,
431
+ 1171
432
+ ],
433
+ [
434
+ 2829,
435
+ 2830
436
+ ]
437
+ ],
438
+ "probation_end_original_exclusive": 604,
439
+ "proposed_unknown_range": [
440
+ 0,
441
+ 603
442
+ ],
443
+ "affected_train": 603,
444
+ "affected_test": 0
445
+ }
446
+ ]
447
+ },
448
+ {
449
+ "id": "020_NAB_id_20_Synthetic_tr_1007_1st_2679",
450
+ "source": "NAB",
451
+ "train_end": 1007,
452
+ "matches": [
453
+ {
454
+ "file": "artificialWithAnomaly/art_daily_flatmiddle.csv",
455
+ "offset": 1,
456
+ "original_points": 4032,
457
+ "max_abs_value_difference": 2.842170943040401e-14,
458
+ "raw_window_label_mismatch_ranges": [
459
+ [
460
+ 2678,
461
+ 2679
462
+ ],
463
+ [
464
+ 3081,
465
+ 3300
466
+ ]
467
+ ],
468
+ "probation_end_original_exclusive": 604,
469
+ "proposed_unknown_range": [
470
+ 0,
471
+ 603
472
+ ],
473
+ "affected_train": 603,
474
+ "affected_test": 0
475
+ }
476
+ ]
477
+ },
478
+ {
479
+ "id": "022_NAB_id_22_Facility_tr_1007_1st_2980",
480
+ "source": "NAB",
481
+ "train_end": 1007,
482
+ "matches": [
483
+ {
484
+ "file": "realAWSCloudwatch/rds_cpu_utilization_cc0c53.csv",
485
+ "offset": 1,
486
+ "original_points": 4032,
487
+ "max_abs_value_difference": 3.552713678800501e-15,
488
+ "raw_window_label_mismatch_ranges": [
489
+ [
490
+ 2979,
491
+ 2980
492
+ ],
493
+ [
494
+ 3180,
495
+ 3300
496
+ ],
497
+ [
498
+ 3478,
499
+ 3479
500
+ ]
501
+ ],
502
+ "probation_end_original_exclusive": 604,
503
+ "proposed_unknown_range": [
504
+ 0,
505
+ 603
506
+ ],
507
+ "affected_train": 603,
508
+ "affected_test": 0
509
+ }
510
+ ]
511
+ },
512
+ {
513
+ "id": "023_NAB_id_23_Facility_tr_4512_1st_16551",
514
+ "source": "NAB",
515
+ "train_end": 4512,
516
+ "matches": [
517
+ {
518
+ "file": "realKnownCause/cpu_utilization_asg_misconfiguration.csv",
519
+ "offset": 1,
520
+ "original_points": 18050,
521
+ "max_abs_value_difference": 4.263256414560601e-14,
522
+ "raw_window_label_mismatch_ranges": [
523
+ [
524
+ 16550,
525
+ 16551
526
+ ]
527
+ ],
528
+ "probation_end_original_exclusive": 750,
529
+ "proposed_unknown_range": [
530
+ 0,
531
+ 749
532
+ ],
533
+ "affected_train": 749,
534
+ "affected_test": 0
535
+ }
536
+ ]
537
+ },
538
+ {
539
+ "id": "024_NAB_id_24_Synthetic_tr_1007_1st_2787",
540
+ "source": "NAB",
541
+ "train_end": 1007,
542
+ "matches": [
543
+ {
544
+ "file": "artificialWithAnomaly/art_daily_jumpsup.csv",
545
+ "offset": 1,
546
+ "original_points": 4032,
547
+ "max_abs_value_difference": 5.684341886080802e-14,
548
+ "raw_window_label_mismatch_ranges": [
549
+ [
550
+ 2786,
551
+ 2787
552
+ ],
553
+ [
554
+ 3189,
555
+ 3300
556
+ ]
557
+ ],
558
+ "probation_end_original_exclusive": 604,
559
+ "proposed_unknown_range": [
560
+ 0,
561
+ 603
562
+ ],
563
+ "affected_train": 603,
564
+ "affected_test": 0
565
+ }
566
+ ]
567
+ },
568
+ {
569
+ "id": "025_NAB_id_25_WebService_tr_3958_1st_4614",
570
+ "source": "NAB",
571
+ "train_end": 3958,
572
+ "matches": [
573
+ {
574
+ "file": "realTweets/Twitter_volume_FB.csv",
575
+ "offset": 1,
576
+ "original_points": 15833,
577
+ "max_abs_value_difference": 0.0,
578
+ "raw_window_label_mismatch_ranges": [
579
+ [
580
+ 4613,
581
+ 4614
582
+ ],
583
+ [
584
+ 9925,
585
+ 9926
586
+ ]
587
+ ],
588
+ "probation_end_original_exclusive": 750,
589
+ "proposed_unknown_range": [
590
+ 0,
591
+ 749
592
+ ],
593
+ "affected_train": 749,
594
+ "affected_test": 0
595
+ }
596
+ ]
597
+ },
598
+ {
599
+ "id": "026_NAB_id_26_Traffic_tr_624_1st_2261",
600
+ "source": "NAB",
601
+ "train_end": 624,
602
+ "matches": [
603
+ {
604
+ "file": "realTraffic/speed_6005.csv",
605
+ "offset": 1,
606
+ "original_points": 2500,
607
+ "max_abs_value_difference": 0.0,
608
+ "raw_window_label_mismatch_ranges": [
609
+ [
610
+ 2260,
611
+ 2261
612
+ ]
613
+ ],
614
+ "probation_end_original_exclusive": 375,
615
+ "proposed_unknown_range": [
616
+ 0,
617
+ 374
618
+ ],
619
+ "affected_train": 374,
620
+ "affected_test": 0
621
+ }
622
+ ]
623
+ },
624
+ {
625
+ "id": "027_NAB_id_27_Facility_tr_757_1st_2582",
626
+ "source": "NAB",
627
+ "train_end": 757,
628
+ "matches": [
629
+ {
630
+ "file": "realAWSCloudwatch/elb_request_count_8c0756.csv",
631
+ "offset": 1001,
632
+ "original_points": 4032,
633
+ "max_abs_value_difference": 0.0,
634
+ "raw_window_label_mismatch_ranges": [
635
+ [
636
+ 2581,
637
+ 2582
638
+ ]
639
+ ],
640
+ "probation_end_original_exclusive": 604,
641
+ "proposed_unknown_range": [
642
+ 0,
643
+ 0
644
+ ],
645
+ "affected_train": 0,
646
+ "affected_test": 0
647
+ }
648
+ ]
649
+ },
650
+ {
651
+ "id": "028_NAB_id_28_Facility_tr_1007_1st_3447",
652
+ "source": "NAB",
653
+ "train_end": 1007,
654
+ "matches": [
655
+ {
656
+ "file": "realAWSCloudwatch/ec2_cpu_utilization_24ae8d.csv",
657
+ "offset": 1,
658
+ "original_points": 4032,
659
+ "max_abs_value_difference": 2.220446049250313e-16,
660
+ "raw_window_label_mismatch_ranges": [
661
+ [
662
+ 3446,
663
+ 3447
664
+ ],
665
+ [
666
+ 3647,
667
+ 3676
668
+ ]
669
+ ],
670
+ "probation_end_original_exclusive": 604,
671
+ "proposed_unknown_range": [
672
+ 0,
673
+ 603
674
+ ],
675
+ "affected_train": 603,
676
+ "affected_test": 0
677
+ }
678
+ ]
679
+ },
680
+ {
681
+ "id": "169_Daphnet_id_1_HumanActivity_tr_9693_1st_20732",
682
+ "source": "Daphnet",
683
+ "train_end": 9693,
684
+ "matches": [
685
+ {
686
+ "file": "dataset_fog_release/dataset/S03R02.txt",
687
+ "column_zero_based": 4,
688
+ "selection": "all",
689
+ "offset": 0,
690
+ "original_start": 0,
691
+ "original_end_inclusive": 38773,
692
+ "outside_experiment_points": 22133,
693
+ "proposed_unknown_ranges": [
694
+ [
695
+ 0,
696
+ 16639
697
+ ],
698
+ [
699
+ 33280,
700
+ 38774
701
+ ]
702
+ ],
703
+ "affected_train": 9693,
704
+ "affected_test": 12440,
705
+ "binary_label_mismatch_count": 0
706
+ }
707
+ ]
708
+ }
709
+ ]
verify.py ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Check the public package's content and integrity: uv run --with pyarrow python verify.py."""
2
+
3
+ import hashlib
4
+ import json
5
+ from collections import Counter
6
+ from pathlib import Path
7
+
8
+ import pyarrow.parquet as pq
9
+
10
+
11
+ def main():
12
+ root = Path(__file__).resolve().parent
13
+ manifest = json.loads((root / "MANIFEST.json").read_text())
14
+ assert manifest["rows"] == 126
15
+ assert manifest["columns"] == [
16
+ "id",
17
+ "source",
18
+ "values",
19
+ "labels",
20
+ "train_end",
21
+ "original_sha256",
22
+ "labels_corrected",
23
+ ]
24
+ corrections = json.loads((root / "CORRECTIONS.json").read_text())
25
+ changes = {row["id"]: row for row in corrections["changes"]}
26
+ assert len(changes) == 23
27
+ mappings = json.loads((root / "source-mappings.json").read_text())
28
+ assert len(mappings) == 24 and set(changes) <= {row["id"] for row in mappings}
29
+ counts, seen = Counter(), set()
30
+ for name, info in manifest["files"].items():
31
+ path = root / name
32
+ with path.open("rb") as stream:
33
+ assert hashlib.file_digest(stream, "sha256").hexdigest() == info["sha256"]
34
+ table = pq.read_table(path)
35
+ assert table.column_names == manifest["columns"]
36
+ assert table.num_rows == info["rows"]
37
+ points = train_unknown = test_unknown = 0
38
+ for row in table.to_pylist():
39
+ ident = row["id"]
40
+ assert ident not in seen
41
+ seen.add(ident)
42
+ counts[row["source"]] += 1
43
+ values, labels, corrected = (
44
+ row["values"],
45
+ row["labels"],
46
+ row["labels_corrected"],
47
+ )
48
+ end = row["train_end"]
49
+ assert 0 < end < len(values) == len(labels) == len(corrected)
50
+ expected = labels.copy()
51
+ if ident in changes:
52
+ assert changes[ident]["source"] == row["source"]
53
+ for start, stop in changes[ident]["ranges"]:
54
+ assert 0 <= start < stop <= len(labels)
55
+ expected[start:stop] = [None] * (stop - start)
56
+ assert corrected == expected
57
+ points += len(values)
58
+ train_unknown += sum(y is None for y in corrected[:end])
59
+ test_unknown += sum(y is None for y in corrected[end:])
60
+ assert (points, train_unknown, test_unknown) == (
61
+ info["points"],
62
+ info["train_unknown"],
63
+ info["test_unknown"],
64
+ )
65
+ assert len(seen) == 126 and set(changes) <= seen
66
+ assert dict(sorted(counts.items())) == manifest["sources"]
67
+ print(f"Verified {len(seen)} series from {len(counts)} sources")
68
+
69
+
70
+ if __name__ == "__main__":
71
+ main()