Srishti280992 commited on
Commit
5cc5437
·
verified ·
1 Parent(s): 2044e6f

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -1 +1,12 @@
1
- Reproduction bundle for TimeRCD ICML 2026 claim checks. See scripts/reproduce_timercd_evidence.py and outputs/timercd_evidence/summary.json.
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # TimeRCD reproduction bundle
2
+
3
+ This bundle mirrors the evidence used in the logbook:
4
+
5
+ - `scripts/rank_recount.py`: parses arXiv v3/v5 Table 1 HTML and recomputes rank counts.
6
+ - `scripts/timercd_deep_audit.py`: audits released TimeRCD checkpoints/code and public synthetic generator throughput.
7
+ - `scripts/timercd_checkpoint_probe.py`: runs the released univariate checkpoint on a small generated contextual set.
8
+ - `scripts/reproduce_timercd_evidence.py`: earlier paper/code/generator/proxy evidence bundle.
9
+ - `scripts/hf_timercd_probe.py`: reduced Hugging Face T4 cloud probe.
10
+ - `outputs/`: JSON/CSV/HTML outputs from the runs.
11
+
12
+ Official assets used: https://huggingface.co/thu-sail-lab/Time-RCD, https://github.com/thu-sail-lab/Time-RCD, https://github.com/thu-sail-lab/TSAD_dataset_gen_public.
outputs/deep_repro/rank_recount.json ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "v3_submission": {
3
+ "url": "https://arxiv.org/html/2509.21190v3",
4
+ "label": "submission-era v3",
5
+ "datasets": [
6
+ "IOPS",
7
+ "MGAB",
8
+ "NAB",
9
+ "NEK",
10
+ "Power",
11
+ "SED",
12
+ "TODS",
13
+ "UCR",
14
+ "YAHOO",
15
+ "MSL",
16
+ "PSM",
17
+ "SMAP",
18
+ "SMD",
19
+ "SWaT"
20
+ ],
21
+ "zero_shot": {
22
+ "first": 41,
23
+ "second": 6,
24
+ "cases": 56
25
+ },
26
+ "full_shot": {
27
+ "first": 28,
28
+ "second": 5,
29
+ "cases": 56
30
+ },
31
+ "expected_zero": {
32
+ "first": 41,
33
+ "second": 6,
34
+ "cases": 56
35
+ },
36
+ "expected_full": {
37
+ "first": 28,
38
+ "second": 5,
39
+ "cases": 56
40
+ },
41
+ "zero_matches_expected": true,
42
+ "full_matches_expected": true
43
+ },
44
+ "v5_camera_ready": {
45
+ "url": "https://arxiv.org/html/2509.21190v5",
46
+ "label": "camera-ready v5",
47
+ "datasets": [
48
+ "IOPS",
49
+ "MGAB",
50
+ "NAB",
51
+ "NEK",
52
+ "Power",
53
+ "SED",
54
+ "Stock",
55
+ "TODS",
56
+ "UCR",
57
+ "WSD",
58
+ "YAHOO",
59
+ "MSL",
60
+ "PSM",
61
+ "SMAP",
62
+ "SMD",
63
+ "SWaT"
64
+ ],
65
+ "zero_shot": {
66
+ "first": 38,
67
+ "second": 14,
68
+ "cases": 64
69
+ },
70
+ "full_shot": {
71
+ "first": 35,
72
+ "second": 3,
73
+ "cases": 64
74
+ },
75
+ "expected_zero": {
76
+ "first": 38,
77
+ "second": 14,
78
+ "cases": 64
79
+ },
80
+ "expected_full": {
81
+ "first": 35,
82
+ "second": 3,
83
+ "cases": 64
84
+ },
85
+ "zero_matches_expected": true,
86
+ "full_matches_expected": true
87
+ }
88
+ }
outputs/deep_repro/rank_recount_details.csv ADDED
@@ -0,0 +1,241 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ block,metric,dataset,timercd_rank,winner,winner_value,runner_up,runner_up_value,version
2
+ Zero-Shot,Affiliation-F,IOPS,2,Chronos,90.12,TimeRCD,83.28,v3_submission
3
+ Zero-Shot,Affiliation-F,MGAB,1,TimeRCD,70.69,Chronos,67.89,v3_submission
4
+ Zero-Shot,Affiliation-F,NAB,3,Chronos,86.66,DADA†,86.56,v3_submission
5
+ Zero-Shot,Affiliation-F,NEK,6,DADA†,95.4,Chronos,93.63,v3_submission
6
+ Zero-Shot,Affiliation-F,Power,1,TimeRCD,85.51,MOMENT†,75.97,v3_submission
7
+ Zero-Shot,Affiliation-F,SED,1,TimeRCD,96.87,Chronos,67.89,v3_submission
8
+ Zero-Shot,Affiliation-F,TODS,3,Chronos,91.96,TimesFM,89.08,v3_submission
9
+ Zero-Shot,Affiliation-F,UCR,1,TimeRCD,84.63,MOMENT†,75.77,v3_submission
10
+ Zero-Shot,Affiliation-F,YAHOO,1,TimeRCD,96.65,Chronos,96.34,v3_submission
11
+ Zero-Shot,Affiliation-F,MSL,1,TimeRCD,81.16,DADA†,76.57,v3_submission
12
+ Zero-Shot,Affiliation-F,PSM,1,TimeRCD,81.61,DADA†,81.27,v3_submission
13
+ Zero-Shot,Affiliation-F,SMAP,1,TimeRCD,87.73,DADA†,76.92,v3_submission
14
+ Zero-Shot,Affiliation-F,SMD,1,TimeRCD,92.58,DADA†,83.74,v3_submission
15
+ Zero-Shot,Affiliation-F,SWaT,2,DADA†,76.18,TimeRCD,71.55,v3_submission
16
+ Zero-Shot,F1_T,IOPS,3,TimesFM,48.95,Chronos,45.45,v3_submission
17
+ Zero-Shot,F1_T,MGAB,1,TimeRCD,1.81,Chronos,1.1,v3_submission
18
+ Zero-Shot,F1_T,NAB,1,TimeRCD,38.85,Time MOE,38.7,v3_submission
19
+ Zero-Shot,F1_T,NEK,4,MOMENT†,63.66,DADA†,47.98,v3_submission
20
+ Zero-Shot,F1_T,Power,1,TimeRCD,28.47,MOMENT†,19.91,v3_submission
21
+ Zero-Shot,F1_T,SED,1,TimeRCD,69.43,Time MOE,17.73,v3_submission
22
+ Zero-Shot,F1_T,TODS,1,TimeRCD,65.89,Chronos,53.9,v3_submission
23
+ Zero-Shot,F1_T,UCR,1,TimeRCD,34.3,MOMENT†,13.02,v3_submission
24
+ Zero-Shot,F1_T,YAHOO,1,TimeRCD,85.86,TimesFM,83.46,v3_submission
25
+ Zero-Shot,F1_T,MSL,1,TimeRCD,42.47,DADA†,34.58,v3_submission
26
+ Zero-Shot,F1_T,PSM,1,TimeRCD,37.98,DADA†,31.84,v3_submission
27
+ Zero-Shot,F1_T,SMAP,1,TimeRCD,33.74,DADA†,30.42,v3_submission
28
+ Zero-Shot,F1_T,SMD,1,TimeRCD,53.91,DADA†,40.8,v3_submission
29
+ Zero-Shot,F1_T,SWaT,2,DADA†,35.13,TimeRCD,30.28,v3_submission
30
+ Zero-Shot,Standard-F1,IOPS,4,TimesFM,34.28,Chronos,32.69,v3_submission
31
+ Zero-Shot,Standard-F1,MGAB,1,TimeRCD,1.62,Chronos,0.99,v3_submission
32
+ Zero-Shot,Standard-F1,NAB,1,TimeRCD,27.7,DADA†,26.91,v3_submission
33
+ Zero-Shot,Standard-F1,NEK,5,MOMENT†,63.85,DADA†,48.24,v3_submission
34
+ Zero-Shot,Standard-F1,Power,1,TimeRCD,28.59,TS-Pulse,18.27,v3_submission
35
+ Zero-Shot,Standard-F1,SED,1,TimeRCD,69.88,Time MOE,17.73,v3_submission
36
+ Zero-Shot,Standard-F1,TODS,1,TimeRCD,67.02,Chronos,40.52,v3_submission
37
+ Zero-Shot,Standard-F1,UCR,1,TimeRCD,28.13,MOMENT†,9.0,v3_submission
38
+ Zero-Shot,Standard-F1,YAHOO,1,TimeRCD,87.02,TimesFM,84.44,v3_submission
39
+ Zero-Shot,Standard-F1,MSL,1,TimeRCD,30.66,DADA†,22.13,v3_submission
40
+ Zero-Shot,Standard-F1,PSM,1,TimeRCD,26.0,Time MOE,24.8,v3_submission
41
+ Zero-Shot,Standard-F1,SMAP,1,TimeRCD,30.48,DADA†,26.75,v3_submission
42
+ Zero-Shot,Standard-F1,SMD,1,TimeRCD,44.89,DADA†,34.94,v3_submission
43
+ Zero-Shot,Standard-F1,SWaT,2,DADA†,34.78,TimeRCD,28.73,v3_submission
44
+ Zero-Shot,VUS-PR,IOPS,1,TimeRCD,20.23,TimesFM,19.56,v3_submission
45
+ Zero-Shot,VUS-PR,MGAB,1,TimeRCD,1.05,Chronos,0.6,v3_submission
46
+ Zero-Shot,VUS-PR,NAB,2,DADA†,24.73,TimeRCD,24.32,v3_submission
47
+ Zero-Shot,VUS-PR,NEK,5,MOMENT†,67.74,DADA†,46.85,v3_submission
48
+ Zero-Shot,VUS-PR,Power,1,TimeRCD,21.25,TS-Pulse,11.72,v3_submission
49
+ Zero-Shot,VUS-PR,SED,1,TimeRCD,80.75,Time MOE,10.87,v3_submission
50
+ Zero-Shot,VUS-PR,TODS,1,TimeRCD,93.46,TimesFM,72.89,v3_submission
51
+ Zero-Shot,VUS-PR,UCR,1,TimeRCD,23.09,Chronos,6.56,v3_submission
52
+ Zero-Shot,VUS-PR,YAHOO,2,TimesFM,86.78,TimeRCD,84.41,v3_submission
53
+ Zero-Shot,VUS-PR,MSL,1,TimeRCD,20.45,DADA†,12.74,v3_submission
54
+ Zero-Shot,VUS-PR,PSM,1,TimeRCD,18.69,DADA†,17.17,v3_submission
55
+ Zero-Shot,VUS-PR,SMAP,1,TimeRCD,22.68,DADA†,20.02,v3_submission
56
+ Zero-Shot,VUS-PR,SMD,1,TimeRCD,37.03,DADA†,25.98,v3_submission
57
+ Zero-Shot,VUS-PR,SWaT,3,DADA†,21.13,TimesFM,19.43,v3_submission
58
+ Full-Shot,Affiliation-F,IOPS,1,TimeRCD,83.28,TranAD,83.19,v3_submission
59
+ Full-Shot,Affiliation-F,MGAB,1,TimeRCD,70.69,IForest,68.82,v3_submission
60
+ Full-Shot,Affiliation-F,NAB,4,OmniAnomaly,92.35,USAD,91.54,v3_submission
61
+ Full-Shot,Affiliation-F,NEK,4,OmniAnomaly,86.3,TranAD,85.02,v3_submission
62
+ Full-Shot,Affiliation-F,Power,1,TimeRCD,85.51,OmniAnomaly,78.16,v3_submission
63
+ Full-Shot,Affiliation-F,SED,1,TimeRCD,96.87,IForest,70.09,v3_submission
64
+ Full-Shot,Affiliation-F,TODS,1,TimeRCD,86.37,LOF,60.58,v3_submission
65
+ Full-Shot,Affiliation-F,UCR,1,TimeRCD,84.63,USAD,76.0,v3_submission
66
+ Full-Shot,Affiliation-F,YAHOO,1,TimeRCD,96.65,TranAD,76.08,v3_submission
67
+ Full-Shot,Affiliation-F,MSL,4,LOF,84.35,OmniAnomaly,83.15,v3_submission
68
+ Full-Shot,Affiliation-F,PSM,1,TimeRCD,81.61,TranAD,73.83,v3_submission
69
+ Full-Shot,Affiliation-F,SMAP,2,OmniAnomaly,91.38,TimeRCD,87.73,v3_submission
70
+ Full-Shot,Affiliation-F,SMD,1,TimeRCD,92.58,TranAD,92.2,v3_submission
71
+ Full-Shot,Affiliation-F,SWaT,4,TranAD,75.37,USAD,75.06,v3_submission
72
+ Full-Shot,F1_T,IOPS,2,OmniAnomaly,51.17,TimeRCD,28.44,v3_submission
73
+ Full-Shot,F1_T,MGAB,2,USAD,4.07,TimeRCD,1.81,v3_submission
74
+ Full-Shot,F1_T,NAB,3,USAD,61.46,OmniAnomaly,40.09,v3_submission
75
+ Full-Shot,F1_T,NEK,6,OmniAnomaly,82.2,USAD,70.64,v3_submission
76
+ Full-Shot,F1_T,Power,1,TimeRCD,28.47,USAD,28.23,v3_submission
77
+ Full-Shot,F1_T,SED,1,TimeRCD,69.43,OmniAnomaly,9.68,v3_submission
78
+ Full-Shot,F1_T,TODS,1,TimeRCD,65.89,LOF,31.63,v3_submission
79
+ Full-Shot,F1_T,UCR,1,TimeRCD,34.3,USAD,14.63,v3_submission
80
+ Full-Shot,F1_T,YAHOO,1,TimeRCD,85.86,LOF,55.93,v3_submission
81
+ Full-Shot,F1_T,MSL,3,OmniAnomaly,49.36,USAD,48.71,v3_submission
82
+ Full-Shot,F1_T,PSM,1,TimeRCD,37.98,OmniAnomaly,30.42,v3_submission
83
+ Full-Shot,F1_T,SMAP,3,OmniAnomaly,46.63,USAD,43.94,v3_submission
84
+ Full-Shot,F1_T,SMD,1,TimeRCD,53.91,OmniAnomaly,51.84,v3_submission
85
+ Full-Shot,F1_T,SWaT,5,USAD,50.41,TranAD,49.58,v3_submission
86
+ Full-Shot,Standard-F1,IOPS,5,OmniAnomaly,47.05,TranAD,34.85,v3_submission
87
+ Full-Shot,Standard-F1,MGAB,2,USAD,3.89,TimeRCD,1.62,v3_submission
88
+ Full-Shot,Standard-F1,NAB,4,USAD,56.15,IForest,29.41,v3_submission
89
+ Full-Shot,Standard-F1,NEK,6,OmniAnomaly,74.03,USAD,62.91,v3_submission
90
+ Full-Shot,Standard-F1,Power,1,TimeRCD,28.59,USAD,28.24,v3_submission
91
+ Full-Shot,Standard-F1,SED,1,TimeRCD,69.88,LOF,4.11,v3_submission
92
+ Full-Shot,Standard-F1,TODS,1,TimeRCD,67.02,LOF,25.77,v3_submission
93
+ Full-Shot,Standard-F1,UCR,1,TimeRCD,28.13,USAD,10.74,v3_submission
94
+ Full-Shot,Standard-F1,YAHOO,1,TimeRCD,87.02,LOF,48.95,v3_submission
95
+ Full-Shot,Standard-F1,MSL,3,OmniAnomaly,39.1,USAD,38.71,v3_submission
96
+ Full-Shot,Standard-F1,PSM,3,OmniAnomaly,30.43,USAD,28.41,v3_submission
97
+ Full-Shot,Standard-F1,SMAP,3,OmniAnomaly,40.5,USAD,38.66,v3_submission
98
+ Full-Shot,Standard-F1,SMD,3,OmniAnomaly,57.06,USAD,53.06,v3_submission
99
+ Full-Shot,Standard-F1,SWaT,5,USAD,62.82,TranAD,61.86,v3_submission
100
+ Full-Shot,VUS-PR,IOPS,3,OmniAnomaly,25.35,TranAD,21.61,v3_submission
101
+ Full-Shot,VUS-PR,MGAB,1,TimeRCD,1.05,USAD,0.75,v3_submission
102
+ Full-Shot,VUS-PR,NAB,4,USAD,55.03,OmniAnomaly,27.17,v3_submission
103
+ Full-Shot,VUS-PR,NEK,6,OmniAnomaly,74.51,TranAD,61.63,v3_submission
104
+ Full-Shot,VUS-PR,Power,1,TimeRCD,21.25,USAD,18.68,v3_submission
105
+ Full-Shot,VUS-PR,SED,1,TimeRCD,80.75,IForest,7.71,v3_submission
106
+ Full-Shot,VUS-PR,TODS,1,TimeRCD,93.46,USAD,56.36,v3_submission
107
+ Full-Shot,VUS-PR,UCR,1,TimeRCD,23.09,USAD,8.85,v3_submission
108
+ Full-Shot,VUS-PR,YAHOO,1,TimeRCD,84.41,LOF,41.37,v3_submission
109
+ Full-Shot,VUS-PR,MSL,4,OmniAnomaly,31.57,USAD,29.95,v3_submission
110
+ Full-Shot,VUS-PR,PSM,1,TimeRCD,18.69,OmniAnomaly,18.58,v3_submission
111
+ Full-Shot,VUS-PR,SMAP,3,OmniAnomaly,28.07,USAD,26.37,v3_submission
112
+ Full-Shot,VUS-PR,SMD,2,OmniAnomaly,37.44,TimeRCD,37.03,v3_submission
113
+ Full-Shot,VUS-PR,SWaT,4,TranAD,47.37,USAD,44.73,v3_submission
114
+ Zero-Shot,Affiliation-F,IOPS,2,Chronos,90.12,TimeRCD,86.98,v5_camera_ready
115
+ Zero-Shot,Affiliation-F,MGAB,1,TimeRCD,74.54,Chronos,67.89,v5_camera_ready
116
+ Zero-Shot,Affiliation-F,NAB,1,TimeRCD,93.81,MovingVar.,91.5,v5_camera_ready
117
+ Zero-Shot,Affiliation-F,NEK,5,DADA†,95.4,Chronos,93.63,v5_camera_ready
118
+ Zero-Shot,Affiliation-F,Power,1,TimeRCD,85.02,MOMENT†,75.97,v5_camera_ready
119
+ Zero-Shot,Affiliation-F,SED,1,TimeRCD,88.99,Chronos,67.89,v5_camera_ready
120
+ Zero-Shot,Affiliation-F,Stock,7,DADA†,98.77,TimesFM,97.53,v5_camera_ready
121
+ Zero-Shot,Affiliation-F,TODS,3,Chronos,91.96,TimesFM,89.08,v5_camera_ready
122
+ Zero-Shot,Affiliation-F,UCR,1,TimeRCD,84.34,MovingVar.,78.44,v5_camera_ready
123
+ Zero-Shot,Affiliation-F,WSD,3,MOMENT†,95.39,DADA†,93.92,v5_camera_ready
124
+ Zero-Shot,Affiliation-F,YAHOO,2,Chronos,96.34,TimeRCD,95.94,v5_camera_ready
125
+ Zero-Shot,Affiliation-F,MSL,2,MovingVar.,89.43,TimeRCD,84.66,v5_camera_ready
126
+ Zero-Shot,Affiliation-F,PSM,1,TimeRCD,82.31,DADA†,81.27,v5_camera_ready
127
+ Zero-Shot,Affiliation-F,SMAP,2,MovingVar.,88.14,TimeRCD,86.01,v5_camera_ready
128
+ Zero-Shot,Affiliation-F,SMD,1,TimeRCD,91.75,DADA†,83.74,v5_camera_ready
129
+ Zero-Shot,Affiliation-F,SWaT,5,DADA†,76.18,MovingVar.,75.55,v5_camera_ready
130
+ Zero-Shot,F1-T,IOPS,3,TimesFM,48.95,Chronos,45.45,v5_camera_ready
131
+ Zero-Shot,F1-T,MGAB,1,TimeRCD,9.05,Chronos,1.1,v5_camera_ready
132
+ Zero-Shot,F1-T,NAB,2,MovingVar.,56.66,TimeRCD,50.49,v5_camera_ready
133
+ Zero-Shot,F1-T,NEK,1,TimeRCD,76.91,MOMENT†,63.66,v5_camera_ready
134
+ Zero-Shot,F1-T,Power,1,TimeRCD,23.05,MovingVar.,19.93,v5_camera_ready
135
+ Zero-Shot,F1-T,SED,1,TimeRCD,60.59,Time MOE,17.73,v5_camera_ready
136
+ Zero-Shot,F1-T,Stock,5,DADA†,95.49,Chronos,89.3,v5_camera_ready
137
+ Zero-Shot,F1-T,TODS,1,TimeRCD,68.46,Chronos,53.9,v5_camera_ready
138
+ Zero-Shot,F1-T,UCR,1,TimeRCD,41.18,MOMENT†,13.02,v5_camera_ready
139
+ Zero-Shot,F1-T,WSD,2,DADA†,48.46,TimeRCD,44.13,v5_camera_ready
140
+ Zero-Shot,F1-T,YAHOO,2,TimesFM,83.46,TimeRCD,79.14,v5_camera_ready
141
+ Zero-Shot,F1-T,MSL,1,TimeRCD,43.67,MovingVar.,41.08,v5_camera_ready
142
+ Zero-Shot,F1-T,PSM,1,TimeRCD,43.86,DADA†,31.84,v5_camera_ready
143
+ Zero-Shot,F1-T,SMAP,1,TimeRCD,35.82,DADA†,30.42,v5_camera_ready
144
+ Zero-Shot,F1-T,SMD,1,TimeRCD,55.96,DADA†,40.8,v5_camera_ready
145
+ Zero-Shot,F1-T,SWaT,1,TimeRCD,35.47,DADA†,35.13,v5_camera_ready
146
+ Zero-Shot,Standard-F1,IOPS,1,TimeRCD,47.28,TimesFM,34.28,v5_camera_ready
147
+ Zero-Shot,Standard-F1,MGAB,1,TimeRCD,8.63,Chronos,0.99,v5_camera_ready
148
+ Zero-Shot,Standard-F1,NAB,2,MovingVar.,51.37,TimeRCD,42.66,v5_camera_ready
149
+ Zero-Shot,Standard-F1,NEK,1,TimeRCD,68.64,MOMENT†,63.85,v5_camera_ready
150
+ Zero-Shot,Standard-F1,Power,1,TimeRCD,23.12,MovingVar.,19.94,v5_camera_ready
151
+ Zero-Shot,Standard-F1,SED,1,TimeRCD,60.85,Time MOE,17.73,v5_camera_ready
152
+ Zero-Shot,Standard-F1,Stock,5,DADA†,95.59,Chronos,89.41,v5_camera_ready
153
+ Zero-Shot,Standard-F1,TODS,1,TimeRCD,70.02,Chronos,40.52,v5_camera_ready
154
+ Zero-Shot,Standard-F1,UCR,1,TimeRCD,33.47,MovingVar.,9.51,v5_camera_ready
155
+ Zero-Shot,Standard-F1,WSD,3,DADA†,45.06,MOMENT†,41.42,v5_camera_ready
156
+ Zero-Shot,Standard-F1,YAHOO,1,TimeRCD,89.05,TimesFM,84.44,v5_camera_ready
157
+ Zero-Shot,Standard-F1,MSL,2,MovingVar.,35.43,TimeRCD,34.48,v5_camera_ready
158
+ Zero-Shot,Standard-F1,PSM,1,TimeRCD,28.25,MovingVar.,26.1,v5_camera_ready
159
+ Zero-Shot,Standard-F1,SMAP,2,DADA†,26.75,TimeRCD,25.36,v5_camera_ready
160
+ Zero-Shot,Standard-F1,SMD,1,TimeRCD,53.82,MovingVar.,38.43,v5_camera_ready
161
+ Zero-Shot,Standard-F1,SWaT,2,DADA†,34.78,TimeRCD,34.44,v5_camera_ready
162
+ Zero-Shot,VUS-PR,IOPS,1,TimeRCD,42.98,MovingVar.,22.47,v5_camera_ready
163
+ Zero-Shot,VUS-PR,MGAB,1,TimeRCD,3.09,Chronos,0.6,v5_camera_ready
164
+ Zero-Shot,VUS-PR,NAB,2,MovingVar.,48.75,TimeRCD,44.65,v5_camera_ready
165
+ Zero-Shot,VUS-PR,NEK,1,TimeRCD,71.13,MOMENT†,67.74,v5_camera_ready
166
+ Zero-Shot,VUS-PR,Power,1,TimeRCD,14.63,Chronos,10.95,v5_camera_ready
167
+ Zero-Shot,VUS-PR,SED,1,TimeRCD,69.86,Time MOE,10.87,v5_camera_ready
168
+ Zero-Shot,VUS-PR,Stock,7,DADA†,99.51,TimesFM,98.39,v5_camera_ready
169
+ Zero-Shot,VUS-PR,TODS,1,TimeRCD,91.67,TimesFM,72.89,v5_camera_ready
170
+ Zero-Shot,VUS-PR,UCR,1,TimeRCD,27.48,MovingVar.,6.9,v5_camera_ready
171
+ Zero-Shot,VUS-PR,WSD,3,MOMENT†,55.26,DADA†,33.42,v5_camera_ready
172
+ Zero-Shot,VUS-PR,YAHOO,1,TimeRCD,87.88,TimesFM,86.78,v5_camera_ready
173
+ Zero-Shot,VUS-PR,MSL,2,MovingVar.,25.02,TimeRCD,23.41,v5_camera_ready
174
+ Zero-Shot,VUS-PR,PSM,1,TimeRCD,21.69,DADA†,17.17,v5_camera_ready
175
+ Zero-Shot,VUS-PR,SMAP,2,DADA†,20.02,TimeRCD,19.68,v5_camera_ready
176
+ Zero-Shot,VUS-PR,SMD,1,TimeRCD,46.7,DADA†,25.98,v5_camera_ready
177
+ Zero-Shot,VUS-PR,SWaT,3,DADA†,21.13,TimesFM,19.43,v5_camera_ready
178
+ Full-Shot,Affiliation-F,IOPS,1,TimeRCD,86.98,TranAD,83.19,v5_camera_ready
179
+ Full-Shot,Affiliation-F,MGAB,1,TimeRCD,74.54,IForest,68.82,v5_camera_ready
180
+ Full-Shot,Affiliation-F,NAB,1,TimeRCD,93.81,OmniAnomaly,92.35,v5_camera_ready
181
+ Full-Shot,Affiliation-F,NEK,5,Sub-PCA,97.1,OmniAnomaly,86.3,v5_camera_ready
182
+ Full-Shot,Affiliation-F,Power,1,TimeRCD,85.02,OmniAnomaly,78.16,v5_camera_ready
183
+ Full-Shot,Affiliation-F,SED,1,TimeRCD,88.99,DCdetector,72.2,v5_camera_ready
184
+ Full-Shot,Affiliation-F,Stock,7,OmniAnomaly,75.24,Sub-PCA,70.63,v5_camera_ready
185
+ Full-Shot,Affiliation-F,TODS,1,TimeRCD,84.86,Sub-PCA,72.75,v5_camera_ready
186
+ Full-Shot,Affiliation-F,UCR,1,TimeRCD,84.34,Sub-PCA,76.66,v5_camera_ready
187
+ Full-Shot,Affiliation-F,WSD,1,TimeRCD,91.0,TranAD,84.34,v5_camera_ready
188
+ Full-Shot,Affiliation-F,YAHOO,1,TimeRCD,95.94,TFMAE,76.87,v5_camera_ready
189
+ Full-Shot,Affiliation-F,MSL,1,TimeRCD,84.66,LOF,84.35,v5_camera_ready
190
+ Full-Shot,Affiliation-F,PSM,1,TimeRCD,82.31,TranAD,73.83,v5_camera_ready
191
+ Full-Shot,Affiliation-F,SMAP,5,OmniAnomaly,91.38,Sub-PCA,90.08,v5_camera_ready
192
+ Full-Shot,Affiliation-F,SMD,2,TranAD,92.2,TimeRCD,91.75,v5_camera_ready
193
+ Full-Shot,Affiliation-F,SWaT,7,Sub-PCA,76.29,TFMAE,75.72,v5_camera_ready
194
+ Full-Shot,F1-T,IOPS,2,OmniAnomaly,51.17,TimeRCD,45.39,v5_camera_ready
195
+ Full-Shot,F1-T,MGAB,1,TimeRCD,9.05,USAD,4.07,v5_camera_ready
196
+ Full-Shot,F1-T,NAB,3,USAD,61.46,Sub-PCA,54.15,v5_camera_ready
197
+ Full-Shot,F1-T,NEK,3,Sub-PCA,84.18,OmniAnomaly,82.2,v5_camera_ready
198
+ Full-Shot,F1-T,Power,3,USAD,28.23,OmniAnomaly,23.48,v5_camera_ready
199
+ Full-Shot,F1-T,SED,1,TimeRCD,60.59,TFMAE,11.82,v5_camera_ready
200
+ Full-Shot,F1-T,Stock,5,LOF,66.14,OmniAnomaly,36.22,v5_camera_ready
201
+ Full-Shot,F1-T,TODS,1,TimeRCD,68.46,LOF,31.63,v5_camera_ready
202
+ Full-Shot,F1-T,UCR,1,TimeRCD,41.18,Sub-PCA,18.9,v5_camera_ready
203
+ Full-Shot,F1-T,WSD,1,TimeRCD,44.13,OmniAnomaly,34.79,v5_camera_ready
204
+ Full-Shot,F1-T,YAHOO,1,TimeRCD,79.14,LOF,55.93,v5_camera_ready
205
+ Full-Shot,F1-T,MSL,4,OmniAnomaly,49.36,Sub-PCA,49.02,v5_camera_ready
206
+ Full-Shot,F1-T,PSM,1,TimeRCD,43.86,OmniAnomaly,30.42,v5_camera_ready
207
+ Full-Shot,F1-T,SMAP,4,OmniAnomaly,46.63,Sub-PCA,44.31,v5_camera_ready
208
+ Full-Shot,F1-T,SMD,1,TimeRCD,55.96,Sub-PCA,51.87,v5_camera_ready
209
+ Full-Shot,F1-T,SWaT,5,USAD,50.41,TranAD,49.58,v5_camera_ready
210
+ Full-Shot,Standard-F1,IOPS,1,TimeRCD,47.28,OmniAnomaly,47.05,v5_camera_ready
211
+ Full-Shot,Standard-F1,MGAB,1,TimeRCD,8.63,USAD,3.89,v5_camera_ready
212
+ Full-Shot,Standard-F1,NAB,3,USAD,56.15,Sub-PCA,46.71,v5_camera_ready
213
+ Full-Shot,Standard-F1,NEK,3,Sub-PCA,85.43,OmniAnomaly,74.03,v5_camera_ready
214
+ Full-Shot,Standard-F1,Power,3,USAD,28.24,OmniAnomaly,23.5,v5_camera_ready
215
+ Full-Shot,Standard-F1,SED,1,TimeRCD,60.85,TFMAE,11.87,v5_camera_ready
216
+ Full-Shot,Standard-F1,Stock,5,LOF,66.2,OmniAnomaly,38.59,v5_camera_ready
217
+ Full-Shot,Standard-F1,TODS,1,TimeRCD,70.02,LOF,25.77,v5_camera_ready
218
+ Full-Shot,Standard-F1,UCR,1,TimeRCD,33.47,Sub-PCA,15.12,v5_camera_ready
219
+ Full-Shot,Standard-F1,WSD,1,TimeRCD,41.04,OmniAnomaly,29.57,v5_camera_ready
220
+ Full-Shot,Standard-F1,YAHOO,1,TimeRCD,89.05,LOF,48.95,v5_camera_ready
221
+ Full-Shot,Standard-F1,MSL,4,OmniAnomaly,39.1,USAD,38.71,v5_camera_ready
222
+ Full-Shot,Standard-F1,PSM,4,OmniAnomaly,30.43,Sub-PCA,30.26,v5_camera_ready
223
+ Full-Shot,Standard-F1,SMAP,4,OmniAnomaly,40.5,Sub-PCA,38.9,v5_camera_ready
224
+ Full-Shot,Standard-F1,SMD,3,Sub-PCA,57.22,OmniAnomaly,57.06,v5_camera_ready
225
+ Full-Shot,Standard-F1,SWaT,5,USAD,62.82,TranAD,61.86,v5_camera_ready
226
+ Full-Shot,VUS-PR,IOPS,1,TimeRCD,42.98,OmniAnomaly,25.35,v5_camera_ready
227
+ Full-Shot,VUS-PR,MGAB,1,TimeRCD,3.09,USAD,0.75,v5_camera_ready
228
+ Full-Shot,VUS-PR,NAB,3,USAD,55.03,Sub-PCA,46.08,v5_camera_ready
229
+ Full-Shot,VUS-PR,NEK,3,Sub-PCA,88.91,OmniAnomaly,74.51,v5_camera_ready
230
+ Full-Shot,VUS-PR,Power,2,USAD,18.68,TimeRCD,14.63,v5_camera_ready
231
+ Full-Shot,VUS-PR,SED,1,TimeRCD,69.86,TFMAE,9.55,v5_camera_ready
232
+ Full-Shot,VUS-PR,Stock,8,OmniAnomaly,91.29,LOF,83.07,v5_camera_ready
233
+ Full-Shot,VUS-PR,TODS,1,TimeRCD,91.67,USAD,56.36,v5_camera_ready
234
+ Full-Shot,VUS-PR,UCR,1,TimeRCD,27.48,Sub-PCA,12.92,v5_camera_ready
235
+ Full-Shot,VUS-PR,WSD,1,TimeRCD,29.95,Sub-PCA,16.41,v5_camera_ready
236
+ Full-Shot,VUS-PR,YAHOO,1,TimeRCD,87.88,LOF,41.37,v5_camera_ready
237
+ Full-Shot,VUS-PR,MSL,5,OmniAnomaly,31.57,Sub-PCA,31.43,v5_camera_ready
238
+ Full-Shot,VUS-PR,PSM,1,TimeRCD,21.69,OmniAnomaly,18.58,v5_camera_ready
239
+ Full-Shot,VUS-PR,SMAP,4,OmniAnomaly,28.07,Sub-PCA,26.42,v5_camera_ready
240
+ Full-Shot,VUS-PR,SMD,1,TimeRCD,46.7,Sub-PCA,37.5,v5_camera_ready
241
+ Full-Shot,VUS-PR,SWaT,5,TranAD,47.37,USAD,44.73,v5_camera_ready
outputs/deep_repro/table1_v3_submission_normalized.csv ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ section,metric,model,IOPS,MGAB,NAB,NEK,Power,SED,TODS,UCR,YAHOO,MSL,PSM,SMAP,SMD,SWaT
2
+ Zero-Shot Models,Affiliation-F,TimeRCD,83.28,70.69,82.48,79.73,85.51,96.87,86.37,84.63,96.65,81.16,81.61,87.73,92.58,71.55
3
+ Zero-Shot Models,Affiliation-F,DADA†,89.37*,67.66*,86.56,95.40,69.79,65.18,76.89,72.21,92.20*,76.57,81.27,76.92,83.74,76.18
4
+ Zero-Shot Models,Affiliation-F,TS-Pulse,68.76,67.33,70.80,73.05,69.94,67.44,67.90,67.70,70.05,70.14,70.28,69.21,68.21,71.18
5
+ Zero-Shot Models,Affiliation-F,MOMENT†,87.54*,66.76*,90.45*,92.26,75.97,59.13,59.76,75.77,79.99*,74.55*,65.79,77.42*,74.00*,70.17
6
+ Zero-Shot Models,Affiliation-F,TimesFM,81.88,66.95,79.73,90.49,69.88,67.14,89.08,70.03,91.28,20.35,71.24,45.44,62.85,44.37
7
+ Zero-Shot Models,Affiliation-F,Chronos,90.12,67.89,86.66,93.63,69.72,67.89,91.96,74.35,96.34,75.52,70.88,72.22,75.31,70.43
8
+ Zero-Shot Models,Affiliation-F,Time MOE,76.34,67.23,80.51,80.50,71.19,60.98,54.68,73.56,69.70,69.85,54.74,74.38,69.97,64.37
9
+ Zero-Shot Models,F1_T,TimeRCD,28.44,01.81,38.85,35.87,28.47,69.43,65.89,34.30,85.86,42.47,37.98,33.74,53.91,30.28
10
+ Zero-Shot Models,F1_T,DADA†,42.50*,00.91*,37.24,47.98,19.80,09.56,35.18,07.22,79.52*,34.58,31.84,30.42,40.80,35.13
11
+ Zero-Shot Models,F1_T,TS-Pulse,04.10,00.81,34.61,27.07,19.90,09.71,13.45,05.12,05.50,23.57,25.39,12.34,09.15,28.58
12
+ Zero-Shot Models,F1_T,MOMENT†,33.15*,00.80*,52.27*,63.66,19.91,09.54,17.47,13.02,11.69*,25.97*,27.77,17.93*,28.68*,28.76
13
+ Zero-Shot Models,F1_T,TimesFM,48.95,00.93,36.74,36.63,19.80,09.58,51.13,10.78,83.46,07.83,25.42,11.64,18.65,21.39
14
+ Zero-Shot Models,F1_T,Chronos,45.45,01.10,36.10,33.16,19.90,13.18,53.90,10.88,79.00,15.59,25.42,11.72,17.32,28.88
15
+ Zero-Shot Models,F1_T,Time MOE,25.95,00.63,38.70,15.78,19.85,17.73,20.91,08.29,37.11,23.92,26.82,14.22,19.90,30.11
16
+ Zero-Shot Models,Standard-F1,TimeRCD,24.22,01.62,27.70,33.05,28.59,69.88,67.02,28.13,87.02,30.66,26.00,30.48,44.89,28.73
17
+ Zero-Shot Models,Standard-F1,DADA†,32.76*,00.80*,26.91,48.24,15.99,02.69,28.18,03.36,79.30*,22.13,24.07,26.75,34.94,34.78
18
+ Zero-Shot Models,Standard-F1,TS-Pulse,03.54,00.73,21.61,23.96,18.27,08.84,12.45,02.05,04.00,12.56,22.31,07.44,08.00,23.84
19
+ Zero-Shot Models,Standard-F1,MOMENT†,30.69*,00.67*,44.75*,63.85,16.39,03.36,14.64,09.00,10.54*,14.43*,23.83,12.92*,29.78*,21.30
20
+ Zero-Shot Models,Standard-F1,TimesFM,34.28,00.83,26.46,38.15,16.73,02.96,40.08,07.86,84.44,05.75,22.18,10.46,18.65,22.84
21
+ Zero-Shot Models,Standard-F1,Chronos,32.69,00.99,26.22,33.54,17.47,08.74,40.52,08.21,78.89,11.63,22.27,09.62,17.50,24.03
22
+ Zero-Shot Models,Standard-F1,Time MOE,26.52,00.45,26.20,11.47,12.16,17.73,16.38,04.09,27.50,12.85,24.80,09.01,21.62,23.58
23
+ Zero-Shot Models,VUS-PR,TimeRCD,20.23,01.05,24.32,27.88,21.25,80.75,93.46,23.09,84.41,20.45,18.69,22.68,37.03,17.58
24
+ Zero-Shot Models,VUS-PR,DADA†,24.97*,00.57*,24.73,46.85,10.61,06.42,64.83,02.94,70.74*,12.74,17.17,20.02,25.98,21.13
25
+ Zero-Shot Models,VUS-PR,TS-Pulse,04.64,00.56,16.40,19.39,11.72,09.11,45.86,01.20,09.93,07.41,14.48,03.99,04.56,15.67
26
+ Zero-Shot Models,VUS-PR,MOMENT†,37.35*,00.56*,45.38*,67.74,10.50,04.31,56.45,06.17,30.81*,09.32*,16.48,08.97*,15.96*,14.90
27
+ Zero-Shot Models,VUS-PR,TimesFM,19.56,00.58,24.01,35.02,10.44,06.13,72.89,06.03,86.78,11.84,14.76,16.95,13.02,19.43
28
+ Zero-Shot Models,VUS-PR,Chronos,19.00,00.60,23.76,31.80,10.95,08.65,70.66,06.56,83.54,08.25,14.61,05.18,10.22,16.44
29
+ Zero-Shot Models,VUS-PR,Time MOE,16.63,00.52,22.62,19.76,09.34,10.87,48.78,02.10,20.90,07.82,15.68,04.98,11.12,16.20
30
+ Full-Shot Models,Affiliation-F,TimeRCD,83.28,70.69,82.48,79.73,85.51,96.87,86.37,84.63,96.65,81.16,81.61,87.73,92.58,71.55
31
+ Full-Shot Models,Affiliation-F,TranAD,83.19,67.28,90.28,85.02,71.56,61.03,52.76,73.31,76.08,79.91,73.83,87.39,92.20,75.37
32
+ Full-Shot Models,Affiliation-F,USAD,71.08,67.81,91.54,71.13,76.48,55.60,47.90,76.00,53.05,81.86,57.86,87.25,85.09,75.06
33
+ Full-Shot Models,Affiliation-F,OmniAnomaly,80.32,67.35,92.35,86.30,78.16,61.26,50.73,73.53,71.31,83.15,58.17,91.38,85.82,73.39
34
+ Full-Shot Models,Affiliation-F,LOF,81.06,68.44,75.75,84.74,66.76,63.85,60.58,73.53,75.63,84.35,61.98,63.32,64.13,56.34
35
+ Full-Shot Models,Affiliation-F,IForest,52.81,68.82,39.84,71.15,00.00,70.09,44.17,50.56,33.30,63.36,63.78,59.96,69.71,00.00
36
+ Full-Shot Models,F1_T,TimeRCD,28.44,01.81,38.85,35.87,28.47,69.43,65.89,34.30,85.86,42.47,37.98,33.74,53.91,30.28
37
+ Full-Shot Models,F1_T,TranAD,22.63,01.65,37.28,69.97,22.36,09.57,13.51,07.75,08.41,39.42,25.49,29.12,37.98,49.58
38
+ Full-Shot Models,F1_T,USAD,20.99,04.07,61.46,70.64,28.23,09.54,20.85,14.63,09.35,48.71,28.96,43.94,50.41,50.41
39
+ Full-Shot Models,F1_T,OmniAnomaly,51.17,01.61,40.09,82.20,23.48,09.68,14.33,08.47,24.16,49.36,30.42,46.63,51.84,46.64
40
+ Full-Shot Models,F1_T,LOF,27.97,01.15,35.76,63.57,19.80,09.60,31.63,08.31,55.93,38.97,25.58,21.81,10.13,30.62
41
+ Full-Shot Models,F1_T,IForest,07.64,00.84,21.44,65.56,00.00,09.54,11.06,06.36,04.90,20.73,25.39,14.32,16.20,00.00
42
+ Full-Shot Models,Standard-F1,TimeRCD,24.22,01.62,27.70,33.05,28.59,69.88,67.02,28.13,87.02,30.66,26.00,30.48,44.89,28.73
43
+ Full-Shot Models,Standard-F1,TranAD,34.85,01.46,27.33,60.36,22.36,02.63,11.94,04.40,05.70,29.60,25.63,25.11,43.99,61.86
44
+ Full-Shot Models,Standard-F1,USAD,30.66,03.89,56.15,62.91,28.24,03.41,23.87,10.74,07.21,38.71,28.41,38.66,53.06,62.82
45
+ Full-Shot Models,Standard-F1,OmniAnomaly,47.05,01.44,28.81,74.03,23.50,00.43,12.65,05.11,21.40,39.10,30.43,40.50,57.06,55.93
46
+ Full-Shot Models,Standard-F1,LOF,30.28,01.05,24.04,56.92,12.18,04.11,25.77,04.70,48.95,30.65,18.80,18.70,08.41,29.08
47
+ Full-Shot Models,Standard-F1,IForest,08.37,00.73,29.41,58.10,19.77,03.81,13.35,04.09,03.20,14.68,24.15,13.61,16.89,26.76
48
+ Full-Shot Models,VUS-PR,TimeRCD,20.23,01.05,24.32,27.88,21.25,80.75,93.46,23.09,84.41,20.45,18.69,22.68,37.03,17.58
49
+ Full-Shot Models,VUS-PR,TranAD,21.61,00.64,24.82,61.63,13.04,05.75,47.33,02.25,25.78,14.78,16.49,13.37,28.34,47.37
50
+ Full-Shot Models,VUS-PR,USAD,16.58,00.75,55.03,58.53,18.68,04.37,56.36,08.85,14.15,29.95,17.59,26.37,34.53,44.73
51
+ Full-Shot Models,VUS-PR,OmniAnomaly,25.35,00.64,27.17,74.51,14.32,06.20,45.55,02.40,29.26,31.57,18.58,28.07,37.44,42.97
52
+ Full-Shot Models,VUS-PR,LOF,19.43,00.57,21.18,58.52,09.31,06.81,49.14,02.39,41.37,24.67,13.58,10.59,04.40,14.50
53
+ Full-Shot Models,VUS-PR,IForest,08.59,00.62,23.57,56.50,11.56,07.71,46.62,02.88,10.47,11.29,15.85,07.55,08.88,15.49
outputs/deep_repro/table1_v5_camera_ready_normalized.csv ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ section,metric,model,IOPS,MGAB,NAB,NEK,Power,SED,Stock,TODS,UCR,WSD,YAHOO,MSL,PSM,SMAP,SMD,SWaT
2
+ Zero-Shot Models,Affiliation-F,TimeRCD,86.98,74.54,93.81,83.95,85.02,88.99,41.31,84.86,84.34,91.00,95.94,84.66,82.31,86.01,91.75,69.43
3
+ Zero-Shot Models,Affiliation-F,DADA†,89.37∗,67.66∗,86.56,95.40,69.79,65.18,98.77,76.89,72.21,93.92,92.20∗,76.57,81.27,76.92,83.74,76.18
4
+ Zero-Shot Models,Affiliation-F,MOMENT†,87.54∗,66.76∗,90.45∗,92.26,75.97,59.13,45.26,59.76,75.77,95.39,79.99∗,74.55∗,65.79,77.42∗,74.00∗,70.17
5
+ Zero-Shot Models,Affiliation-F,TimesFM,81.88,66.95,79.73,90.49,69.88,67.14,97.53,89.08,70.03,78.97,91.28,20.35,71.24,45.44,62.85,44.37
6
+ Zero-Shot Models,Affiliation-F,Chronos,90.12,67.89,86.66,93.63,69.72,67.89,96.85,91.96,74.35,90.98,96.34,75.52,70.88,72.22,75.31,70.43
7
+ Zero-Shot Models,Affiliation-F,Time MOE,76.34,67.23,80.51,80.50,71.19,60.98,63.28,54.68,73.56,80.25,69.70,69.85,54.74,74.38,69.97,64.37
8
+ Zero-Shot Models,Affiliation-F,MovingVar.,83.90,67.56,91.50,77.81,74.77,67.14,67.96,71.57,78.44,89.13,78.00,89.43,73.91,88.14,81.33,75.55
9
+ Zero-Shot Models,F1-T,TimeRCD,45.39,9.05,50.49,76.91,23.05,60.59,18.38,68.46,41.18,44.13,79.14,43.67,43.86,35.82,55.96,35.47
10
+ Zero-Shot Models,F1-T,DADA†,42.50∗,0.91∗,37.24,47.98,19.80,9.56,95.49,35.18,7.22,48.46,79.52∗,34.58,31.84,30.42,40.80,35.13
11
+ Zero-Shot Models,F1-T,MOMENT†,33.15∗,0.80∗,52.27∗,63.66,19.91,9.54,18.04,17.47,13.02,41.98,11.69∗,25.97∗,27.77,17.93∗,28.68∗,28.76
12
+ Zero-Shot Models,F1-T,TimesFM,48.95,0.93,36.74,36.63,19.80,9.58,88.94,51.13,10.78,41.38,83.46,7.83,25.42,11.64,18.65,21.39
13
+ Zero-Shot Models,F1-T,Chronos,45.45,1.10,36.10,33.16,19.90,13.18,89.30,53.90,10.88,39.82,79.00,15.59,25.42,11.72,17.32,28.88
14
+ Zero-Shot Models,F1-T,Time MOE,25.95,0.63,38.70,15.78,19.85,17.73,34.13,20.91,8.29,22.60,37.11,23.92,26.82,14.22,19.90,30.11
15
+ Zero-Shot Models,F1-T,MovingVar.,22.53,0.85,56.66,55.72,19.93,9.59,17.53,16.43,12.85,22.01,13.89,41.08,26.13,24.13,32.67,27.11
16
+ Zero-Shot Models,Standard-F1,TimeRCD,47.28,8.63,42.66,68.64,23.12,60.85,19.56,70.02,33.47,41.04,89.05,34.48,28.25,25.36,53.82,34.44
17
+ Zero-Shot Models,Standard-F1,DADA†,32.76∗,0.80∗,26.91,48.24,15.99,2.69,95.59,28.18,3.36,45.06,79.30∗,22.13,24.07,26.75,34.98,34.78
18
+ Zero-Shot Models,Standard-F1,MOMENT†,30.69∗,0.67∗,44.75∗,63.85,16.39,3.36,19.38,14.64,9.00,41.42,10.54∗,14.43∗,23.83,12.92∗,29.78∗,21.30
19
+ Zero-Shot Models,Standard-F1,TimesFM,34.28,0.83,26.46,38.15,16.73,2.96,89.13,40.08,7.86,38.50,84.44,5.75,22.18,10.46,18.65,22.84
20
+ Zero-Shot Models,Standard-F1,Chronos,32.69,0.99,26.22,33.54,17.47,8.74,89.41,40.52,8.21,34.58,78.89,11.63,22.27,9.62,17.50,24.03
21
+ Zero-Shot Models,Standard-F1,Time MOE,26.52,0.45,26.20,11.47,12.16,17.73,34.32,16.38,4.09,20.09,27.50,12.85,24.80,9.01,21.62,23.58
22
+ Zero-Shot Models,Standard-F1,MovingVar.,22.74,0.74,51.37,49.19,19.94,9.60,19.01,16.10,9.51,22.57,11.62,35.43,26.10,23.66,38.43,26.86
23
+ Zero-Shot Models,VUS-PR,TimeRCD,42.98,3.09,44.65,71.13,14.63,69.86,72.73,91.67,27.48,29.95,87.88,23.41,21.69,19.68,46.70,18.47
24
+ Zero-Shot Models,VUS-PR,DADA†,24.97∗,0.57∗,24.73,46.85,10.61,6.42,99.51,64.83,2.94,33.42,70.74∗,12.74,17.17,20.02,25.98,21.13
25
+ Zero-Shot Models,VUS-PR,MOMENT†,37.35∗,0.56∗,45.38∗,67.74,10.50,4.31,76.97,56.45,6.17,55.26,30.81∗,9.32∗,16.48,8.97∗,15.96∗,14.90
26
+ Zero-Shot Models,VUS-PR,TimesFM,19.56,0.58,24.01,35.02,10.44,6.13,98.39,72.89,6.03,21.57,86.78,11.84,14.76,16.95,13.02,19.43
27
+ Zero-Shot Models,VUS-PR,Chronos,19.00,0.60,23.76,31.80,10.95,8.65,97.49,70.66,6.56,18.81,83.54,8.25,14.61,5.18,10.22,16.44
28
+ Zero-Shot Models,VUS-PR,Time MOE,16.63,0.52,22.62,19.76,9.34,10.87,74.78,48.78,2.10,10.93,20.90,7.82,15.68,4.98,11.12,16.20
29
+ Zero-Shot Models,VUS-PR,MovingVar.,22.47,0.44,48.75,38.81,10.70,5.17,73.99,51.58,6.90,22.83,19.85,25.02,16.45,12.73,21.43,14.49
30
+ Full-Shot Models,Affiliation-F,TimeRCD,86.98,74.54,93.81,83.95,85.02,88.99,41.31,84.86,84.34,91.00,95.94,84.66,82.31,86.01,91.75,69.43
31
+ Full-Shot Models,Affiliation-F,TranAD,83.19,67.28,90.28,85.02,71.56,61.03,57.94,52.76,73.31,84.34,76.08,79.91,73.83,87.39,92.20,75.37
32
+ Full-Shot Models,Affiliation-F,USAD,71.08,67.81,91.54,71.13,76.48,55.60,35.92,47.90,76.00,65.10,53.05,81.86,57.86,87.25,85.09,75.06
33
+ Full-Shot Models,Affiliation-F,OmniAnomaly,80.32,67.35,92.35,86.30,78.16,61.26,75.24,50.73,73.53,78.02,71.31,83.15,58.17,91.38,85.82,73.39
34
+ Full-Shot Models,Affiliation-F,LOF,81.06,68.44,75.75,84.74,66.76,63.85,69.74,60.58,73.53,81.29,75.63,84.35,61.98,63.32,64.13,56.34
35
+ Full-Shot Models,Affiliation-F,IForest,52.81,68.82,39.84,71.15,0.00,70.09,0.06,44.17,50.56,41.24,33.30,63.36,63.78,59.96,69.71,0.00
36
+ Full-Shot Models,Affiliation-F,Sub-PCA,75.39,66.90,89.29,97.10,71.37,67.14,70.63,72.75,76.66,76.45,75.85,84.25,71.49,90.08,85.80,76.29
37
+ Full-Shot Models,Affiliation-F,DCdetector,71.83,67.91,72.21,62.31,69.75,72.20,55.79,57.81,70.18,72.79,67.77,67.74,67.32,67.10,69.55,71.07
38
+ Full-Shot Models,Affiliation-F,TFMAE,78.25,67.50,75.99,76.91,70.30,68.17,56.39,62.83,70.60,80.25,76.87,75.70,70.07,75.36,70.85,75.72
39
+ Full-Shot Models,F1-T,TimeRCD,45.39,9.05,50.49,76.91,23.05,60.59,18.38,68.46,41.18,44.13,79.14,43.67,43.86,35.82,55.96,35.47
40
+ Full-Shot Models,F1-T,TranAD,22.63,1.65,37.28,69.97,22.36,9.57,16.73,13.51,7.75,20.94,8.41,39.42,25.49,29.12,37.98,49.58
41
+ Full-Shot Models,F1-T,USAD,20.99,4.07,61.46,70.64,28.23,9.54,16.86,20.85,14.63,14.18,9.35,48.71,28.96,43.94,50.41,50.41
42
+ Full-Shot Models,F1-T,OmniAnomaly,51.17,1.61,40.09,82.20,23.48,9.68,36.22,14.33,8.47,34.79,24.16,49.36,30.42,46.63,51.84,46.64
43
+ Full-Shot Models,F1-T,LOF,27.97,1.15,35.76,63.57,19.80,9.60,66.14,31.63,8.31,24.38,55.93,38.97,25.58,21.81,10.13,30.62
44
+ Full-Shot Models,F1-T,IForest,7.64,0.84,21.44,65.56,0.00,9.54,1.10,11.06,6.36,4.28,4.90,20.73,25.39,14.32,16.20,0.00
45
+ Full-Shot Models,F1-T,Sub-PCA,32.75,0.98,54.15,84.18,20.30,9.54,20.10,18.40,18.90,24.62,11.57,49.02,30.38,44.31,51.87,46.65
46
+ Full-Shot Models,F1-T,DCdetector,6.61,1.32,32.72,29.21,21.13,10.53,16.07,16.40,6.62,7.32,6.81,23.24,25.34,15.73,9.47,28.64
47
+ Full-Shot Models,F1-T,TFMAE,19.41,1.07,33.04,31.11,20.18,11.82,22.15,16.48,5.90,19.11,23.85,25.28,25.36,19.39,10.13,28.46
48
+ Full-Shot Models,Standard-F1,TimeRCD,47.28,8.63,42.66,68.64,23.12,60.85,19.56,70.02,33.47,41.04,89.05,34.48,28.25,25.36,53.82,34.44
49
+ Full-Shot Models,Standard-F1,TranAD,34.85,1.46,27.33,60.36,22.36,2.63,16.23,11.94,4.40,20.23,5.70,29.60,25.63,25.11,43.99,61.86
50
+ Full-Shot Models,Standard-F1,USAD,30.66,3.89,56.15,62.91,28.24,3.41,17.99,23.87,10.74,13.20,7.21,38.71,28.41,38.66,53.06,62.82
51
+ Full-Shot Models,Standard-F1,OmniAnomaly,47.05,1.44,28.81,74.03,23.50,0.43,38.59,12.65,5.11,29.57,21.40,39.10,30.43,40.50,57.06,55.93
52
+ Full-Shot Models,Standard-F1,LOF,30.28,1.05,24.04,56.92,12.18,4.11,66.20,25.77,4.70,22.62,48.95,30.65,18.80,18.70,8.41,29.08
53
+ Full-Shot Models,Standard-F1,IForest,8.37,0.73,29.41,58.10,19.77,3.81,16.91,13.35,4.09,2.07,3.20,14.68,24.15,13.61,16.89,26.76
54
+ Full-Shot Models,Standard-F1,Sub-PCA,33.96,0.83,46.71,85.43,16.05,9.56,21.77,18.72,15.12,24.74,11.06,38.29,30.26,38.90,57.22,55.98
55
+ Full-Shot Models,Standard-F1,DCdetector,5.19,1.21,24.02,17.37,21.10,10.54,16.97,17.85,3.18,4.64,4.14,14.08,25.33,10.67,8.99,27.02
56
+ Full-Shot Models,Standard-F1,TFMAE,9.48,0.97,23.78,19.74,20.14,11.87,23.32,14.88,2.83,15.53,20.50,15.68,25.39,12.58,9.16,27.08
57
+ Full-Shot Models,VUS-PR,TimeRCD,42.98,3.09,44.65,71.13,14.63,69.86,72.73,91.67,27.48,29.95,87.88,23.41,21.69,19.68,46.70,18.47
58
+ Full-Shot Models,VUS-PR,TranAD,21.61,0.64,24.82,61.63,13.04,5.75,78.08,47.33,2.25,12.20,25.78,14.78,16.49,13.37,28.34,47.37
59
+ Full-Shot Models,VUS-PR,USAD,16.58,0.75,55.03,58.53,18.68,4.37,74.53,56.36,8.85,10.00,14.15,29.95,17.59,26.37,34.53,44.73
60
+ Full-Shot Models,VUS-PR,OmniAnomaly,25.35,0.64,27.17,74.51,14.32,6.20,91.29,45.55,2.40,16.37,29.26,31.57,18.58,28.07,37.44,42.97
61
+ Full-Shot Models,VUS-PR,LOF,19.43,0.57,21.18,58.52,9.31,6.81,83.07,49.14,2.39,12.85,41.37,24.67,13.58,10.59,4.40,14.50
62
+ Full-Shot Models,VUS-PR,IForest,8.59,0.62,23.57,56.50,11.56,7.71,70.99,46.62,2.88,2.06,10.47,11.29,15.85,7.55,8.88,15.49
63
+ Full-Shot Models,VUS-PR,Sub-PCA,23.02,0.60,46.08,88.91,10.49,3.72,80.86,54.16,12.92,16.41,21.57,31.43,18.52,26.42,37.50,43.02
64
+ Full-Shot Models,VUS-PR,DCdetector,5.83,0.59,16.60,14.03,12.32,9.37,74.16,46.66,1.53,3.23,10.17,7.01,14.49,4.21,4.66,15.04
65
+ Full-Shot Models,VUS-PR,TFMAE,5.32,0.64,15.68,17.81,11.90,9.55,73.54,48.79,2.57,5.36,25.93,8.25,14.22,5.76,4.77,15.38
outputs/deep_repro/timercd_checkpoint_probe.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "probe_scope": "20 generated contextual series, length 512; released univariate checkpoint; CPU/GPU auto device",
3
+ "data_points": 10240,
4
+ "anomaly_points": 698,
5
+ "checkpoint": "https://huggingface.co/thu-sail-lab/Time-RCD",
6
+ "code": "https://github.com/thu-sail-lab/Time-RCD",
7
+ "anomaly_probability_best_f1": {
8
+ "f1": 0.9765395894428152,
9
+ "precision": 1.0,
10
+ "recall": 0.9541547277936963,
11
+ "threshold": 0.8847003036737447
12
+ },
13
+ "anomaly_logit_best_f1": {
14
+ "f1": 0.9765395894428152,
15
+ "precision": 1.0,
16
+ "recall": 0.9541547277936963,
17
+ "threshold": 2.0378390777111104
18
+ },
19
+ "reconstruction_like_best_f1": {
20
+ "f1": 0.12762845127079905,
21
+ "precision": 0.0681640625,
22
+ "recall": 1.0,
23
+ "threshold": 0.0
24
+ },
25
+ "score_summary": {
26
+ "prob_min": 1.0502965778869111e-05,
27
+ "prob_max": 1.0,
28
+ "prob_mean": 0.07896710932254791,
29
+ "logit_min": -11.463842391967773,
30
+ "logit_max": 18.774564743041992,
31
+ "logit_mean": -4.502697467803955
32
+ }
33
+ }
outputs/deep_repro/timercd_deep_audit.json ADDED
The diff for this file is too large to render. See raw diff
 
scripts/rank_recount.py ADDED
@@ -0,0 +1,161 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Recount TimeRCD rank claims from arXiv HTML tables.
3
+
4
+ The challenge prompt uses the submission-era Table 1 numbers, while the
5
+ camera-ready arXiv version expanded the table. This script parses both versions,
6
+ excludes asterisked leakage entries, and recomputes first/second finishes.
7
+ """
8
+
9
+ from __future__ import annotations
10
+
11
+ import json
12
+ import re
13
+ from pathlib import Path
14
+
15
+ import pandas as pd
16
+
17
+
18
+ ROOT = Path(__file__).resolve().parents[1]
19
+ OUT = ROOT / "outputs" / "deep_repro"
20
+
21
+
22
+ VERSIONS = {
23
+ "v3_submission": {
24
+ "url": "https://arxiv.org/html/2509.21190v3",
25
+ "label": "submission-era v3",
26
+ "expected_zero": {"first": 41, "second": 6, "cases": 56},
27
+ "expected_full": {"first": 28, "second": 5, "cases": 56},
28
+ },
29
+ "v5_camera_ready": {
30
+ "url": "https://arxiv.org/html/2509.21190v5",
31
+ "label": "camera-ready v5",
32
+ "expected_zero": {"first": 38, "second": 14, "cases": 64},
33
+ "expected_full": {"first": 35, "second": 3, "cases": 64},
34
+ },
35
+ }
36
+
37
+
38
+ def parse_value(raw: object) -> tuple[float | None, bool]:
39
+ text = str(raw).strip()
40
+ if text.lower() in {"", "nan", "none", "-"}:
41
+ return None, False
42
+ excluded = "*" in text or "∗" in text
43
+ cleaned = text.replace("*", "").replace("∗", "")
44
+ match = re.search(r"-?\d+(?:\.\d+)?", cleaned)
45
+ return (float(match.group()) if match else None), excluded
46
+
47
+
48
+ def normalize_table(df: pd.DataFrame) -> tuple[pd.DataFrame, list[str]]:
49
+ """Convert arXiv Table 1's visual layout into metric/model/dataset rows."""
50
+ datasets = [str(x).strip() for x in df.iloc[1, 2:-2].tolist()]
51
+ rows: list[dict[str, object]] = []
52
+ section: str | None = None
53
+ for _, row in df.iloc[2:].iterrows():
54
+ values = row.tolist()
55
+ cells = [str(v).strip() for v in values]
56
+ if len(set(cells)) == 1:
57
+ section = cells[0]
58
+ continue
59
+ metric, model = str(values[0]).strip(), str(values[1]).strip()
60
+ if "Grand Total" in metric or model.lower() == "nan":
61
+ continue
62
+ record: dict[str, object] = {"section": section or "", "metric": metric, "model": model}
63
+ for dataset, value in zip(datasets, values[2:-2]):
64
+ record[dataset] = value
65
+ rows.append(record)
66
+ return pd.DataFrame(rows), datasets
67
+
68
+
69
+ def pick_table(tables: list[pd.DataFrame]) -> pd.DataFrame:
70
+ for table in tables:
71
+ text = " ".join(table.astype(str).fillna("").values.ravel().tolist())
72
+ if "TimeRCD" in text and "Grand Total" in text and "Zero-Shot" in text:
73
+ return table
74
+ raise RuntimeError("Could not find Table 1 in arXiv HTML tables")
75
+
76
+
77
+ def recount(table: pd.DataFrame, datasets: list[str], block: str) -> dict[str, object]:
78
+ subset = table[table["section"].str.contains(block, case=False, na=False)]
79
+ first = 0
80
+ second = 0
81
+ covered = 0
82
+ detail_rows: list[dict[str, object]] = []
83
+
84
+ for metric in subset["metric"].dropna().unique():
85
+ metric_rows = subset[subset["metric"] == metric]
86
+ for dataset in datasets:
87
+ entries: list[tuple[str, float]] = []
88
+ for _, row in metric_rows.iterrows():
89
+ value, excluded = parse_value(row[dataset])
90
+ if value is not None and not excluded:
91
+ entries.append((str(row["model"]), value))
92
+ if not entries:
93
+ continue
94
+ covered += 1
95
+ ordered = sorted(entries, key=lambda item: item[1], reverse=True)
96
+ rank = next((idx + 1 for idx, (model, _) in enumerate(ordered) if model == "TimeRCD"), None)
97
+ if rank == 1:
98
+ first += 1
99
+ if rank == 2:
100
+ second += 1
101
+ detail_rows.append(
102
+ {
103
+ "block": block,
104
+ "metric": metric,
105
+ "dataset": dataset,
106
+ "timercd_rank": rank,
107
+ "winner": ordered[0][0],
108
+ "winner_value": ordered[0][1],
109
+ "runner_up": ordered[1][0] if len(ordered) > 1 else "",
110
+ "runner_up_value": ordered[1][1] if len(ordered) > 1 else "",
111
+ }
112
+ )
113
+
114
+ return {"first": first, "second": second, "cases": covered, "details": detail_rows}
115
+
116
+
117
+ def main() -> None:
118
+ OUT.mkdir(parents=True, exist_ok=True)
119
+ summary: dict[str, object] = {}
120
+ all_details: list[dict[str, object]] = []
121
+
122
+ for version, meta in VERSIONS.items():
123
+ tables = pd.read_html(meta["url"])
124
+ raw = pick_table(tables)
125
+ normalized, datasets = normalize_table(raw)
126
+ zero = recount(normalized, datasets, "Zero-Shot")
127
+ full = recount(normalized, datasets, "Full-Shot")
128
+ normalized.to_csv(OUT / f"table1_{version}_normalized.csv", index=False)
129
+ for row in zero["details"]:
130
+ row["version"] = version
131
+ all_details.append(row)
132
+ for row in full["details"]:
133
+ row["version"] = version
134
+ all_details.append(row)
135
+ summary[version] = {
136
+ "url": meta["url"],
137
+ "label": meta["label"],
138
+ "datasets": datasets,
139
+ "zero_shot": {k: zero[k] for k in ("first", "second", "cases")},
140
+ "full_shot": {k: full[k] for k in ("first", "second", "cases")},
141
+ "expected_zero": meta["expected_zero"],
142
+ "expected_full": meta["expected_full"],
143
+ "zero_matches_expected": {k: zero[k] for k in ("first", "second", "cases")} == meta["expected_zero"],
144
+ "full_matches_expected": {k: full[k] for k in ("first", "second", "cases")} == meta["expected_full"],
145
+ }
146
+
147
+ pd.DataFrame(all_details).to_csv(OUT / "rank_recount_details.csv", index=False)
148
+ (OUT / "rank_recount.json").write_text(json.dumps(summary, indent=2), encoding="utf-8")
149
+
150
+ for version, result in summary.items():
151
+ print(
152
+ f"{result['label']}: zero-shot {result['zero_shot']['first']} first / "
153
+ f"{result['zero_shot']['second']} second of {result['zero_shot']['cases']}; "
154
+ f"full-shot {result['full_shot']['first']} first / "
155
+ f"{result['full_shot']['second']} second of {result['full_shot']['cases']}"
156
+ )
157
+ print(f"wrote {OUT / 'rank_recount.json'}")
158
+
159
+
160
+ if __name__ == "__main__":
161
+ main()
scripts/timercd_checkpoint_probe.py ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Small released-checkpoint probe on generated contextual anomalies.
3
+
4
+ This is not the paper's full contextual benchmark. It is a sanity check that the
5
+ public univariate checkpoint can run zero-shot on contextual anomaly series and
6
+ emit anomaly-head scores end to end in this reproduction environment.
7
+ """
8
+
9
+ from __future__ import annotations
10
+
11
+ import json
12
+ import os
13
+ import sys
14
+ from pathlib import Path
15
+
16
+ import numpy as np
17
+
18
+
19
+ ROOT = Path(__file__).resolve().parents[1]
20
+ TIME_RCD = ROOT / "official_Time-RCD"
21
+ OUT = ROOT / "outputs" / "deep_repro"
22
+
23
+
24
+ def best_f1(scores: np.ndarray, labels: np.ndarray) -> dict[str, float]:
25
+ scores = np.asarray(scores, dtype=float).reshape(-1)
26
+ labels = np.asarray(labels, dtype=int).reshape(-1)
27
+ n = min(len(scores), len(labels))
28
+ scores, labels = scores[:n], labels[:n]
29
+ thresholds = np.unique(np.quantile(scores, np.linspace(0, 1, 201)))
30
+ best = {"f1": 0.0, "precision": 0.0, "recall": 0.0, "threshold": float(thresholds[0])}
31
+ for threshold in thresholds:
32
+ pred = scores >= threshold
33
+ tp = int(np.sum(pred & (labels == 1)))
34
+ fp = int(np.sum(pred & (labels == 0)))
35
+ fn = int(np.sum((~pred) & (labels == 1)))
36
+ precision = tp / (tp + fp) if tp + fp else 0.0
37
+ recall = tp / (tp + fn) if tp + fn else 0.0
38
+ f1 = 2 * precision * recall / (precision + recall) if precision + recall else 0.0
39
+ if f1 > best["f1"]:
40
+ best = {"f1": float(f1), "precision": float(precision), "recall": float(recall), "threshold": float(threshold)}
41
+ return best
42
+
43
+
44
+ def make_contextual(n_series: int = 20, length: int = 512) -> tuple[np.ndarray, np.ndarray]:
45
+ rng = np.random.default_rng(12052)
46
+ series = []
47
+ labels = []
48
+ for i in range(n_series):
49
+ t = np.arange(length)
50
+ period = rng.uniform(42, 90)
51
+ phase = rng.uniform(0, 2 * np.pi)
52
+ y = np.sin(2 * np.pi * t / period + phase)
53
+ y += 0.24 * np.sin(2 * np.pi * t / (period / 3.0) + phase / 3)
54
+ y += rng.normal(0, 0.06, length)
55
+ lab = np.zeros(length, dtype=int)
56
+ if i >= n_series // 2:
57
+ start = int(rng.integers(150, 330))
58
+ width = int(rng.integers(45, 85))
59
+ end = min(length, start + width)
60
+ local = np.arange(end - start)
61
+ # Contextual: in-range and smooth, but locally violates the context
62
+ # relationship between dominant and harmonic components.
63
+ y[start:end] = 0.38 * np.sin(2 * np.pi * local / (period * 0.52) + phase)
64
+ y[start:end] += rng.normal(0, 0.05, end - start)
65
+ lab[start:end] = 1
66
+ series.append(y)
67
+ labels.append(lab)
68
+ return np.concatenate(series).reshape(-1, 1).astype("float32"), np.concatenate(labels)
69
+
70
+
71
+ def reconstruction_like(data: np.ndarray) -> np.ndarray:
72
+ flat = data.reshape(-1)
73
+ return np.abs(flat - np.r_[flat[0], flat[:-1]])
74
+
75
+
76
+ def main() -> None:
77
+ OUT.mkdir(parents=True, exist_ok=True)
78
+ sys.path.insert(0, str(TIME_RCD))
79
+ old_cwd = Path.cwd()
80
+ os.chdir(TIME_RCD)
81
+ try:
82
+ from models.TimeRCD import TimeRCDPretrainTester
83
+ from models.time_rcd.time_rcd_config import default_config
84
+
85
+ data, labels = make_contextual()
86
+ config = default_config
87
+ config.ts_config.patch_size = 16
88
+ config.ts_config.num_features = 1
89
+ config.win_size = 512
90
+ config.batch_size = 4
91
+ tester = TimeRCDPretrainTester("best_model/pretrain_checkpoint_best_uni.pth", config)
92
+ score_batches, logit_batches = tester.zero_shot(data)
93
+ finally:
94
+ os.chdir(old_cwd)
95
+
96
+ scores = np.concatenate([np.asarray(x).reshape(-1) for x in score_batches])
97
+ logits = np.concatenate([np.asarray(x).reshape(-1) for x in logit_batches])
98
+ rec = reconstruction_like(data)
99
+ result = {
100
+ "probe_scope": "20 generated contextual series, length 512; released univariate checkpoint; CPU/GPU auto device",
101
+ "data_points": int(data.shape[0]),
102
+ "anomaly_points": int(labels.sum()),
103
+ "checkpoint": "https://huggingface.co/thu-sail-lab/Time-RCD",
104
+ "code": "https://github.com/thu-sail-lab/Time-RCD",
105
+ "anomaly_probability_best_f1": best_f1(scores, labels),
106
+ "anomaly_logit_best_f1": best_f1(logits, labels),
107
+ "reconstruction_like_best_f1": best_f1(rec, labels),
108
+ "score_summary": {
109
+ "prob_min": float(np.min(scores)),
110
+ "prob_max": float(np.max(scores)),
111
+ "prob_mean": float(np.mean(scores)),
112
+ "logit_min": float(np.min(logits)),
113
+ "logit_max": float(np.max(logits)),
114
+ "logit_mean": float(np.mean(logits)),
115
+ },
116
+ }
117
+ path = OUT / "timercd_checkpoint_probe.json"
118
+ path.write_text(json.dumps(result, indent=2), encoding="utf-8")
119
+ print(json.dumps(result, indent=2))
120
+ print(f"wrote {path}")
121
+
122
+
123
+ if __name__ == "__main__":
124
+ main()
scripts/timercd_deep_audit.py ADDED
@@ -0,0 +1,228 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Inspect TimeRCD released code, checkpoints, and synthetic generator.
3
+
4
+ This is designed as a lightweight, reproducible evidence pass: no full benchmark
5
+ sweep, but enough to verify architecture, released-weight scale, generator stages,
6
+ and plausible synthetic-corpus throughput.
7
+ """
8
+
9
+ from __future__ import annotations
10
+
11
+ import ast
12
+ import json
13
+ import os
14
+ import random
15
+ import re
16
+ import sys
17
+ import time
18
+ from pathlib import Path
19
+
20
+ import numpy as np
21
+
22
+
23
+ ROOT = Path(__file__).resolve().parents[1]
24
+ OUT = ROOT / "outputs" / "deep_repro"
25
+ TIME_RCD = ROOT / "official_Time-RCD"
26
+ GEN = ROOT / "official_TSAD_dataset_gen_public"
27
+
28
+
29
+ def read(path: Path) -> str:
30
+ return path.read_text(encoding="utf-8", errors="ignore")
31
+
32
+
33
+ def config_defaults() -> dict[str, object]:
34
+ source = read(TIME_RCD / "models" / "time_rcd" / "time_rcd_config.py")
35
+ tree = ast.parse(source)
36
+ defaults: dict[str, dict[str, object]] = {}
37
+ for node in ast.walk(tree):
38
+ if isinstance(node, ast.ClassDef) and node.name in {"TimeSeriesConfig", "TimeRCDConfig"}:
39
+ defaults[node.name] = {}
40
+ for stmt in node.body:
41
+ if isinstance(stmt, ast.AnnAssign) and isinstance(stmt.target, ast.Name):
42
+ try:
43
+ defaults[node.name][stmt.target.id] = ast.literal_eval(stmt.value)
44
+ except Exception:
45
+ defaults[node.name][stmt.target.id] = ast.unparse(stmt.value)
46
+ return defaults
47
+
48
+
49
+ def checkpoint_summary() -> dict[str, object]:
50
+ ckpt_paths = sorted((TIME_RCD / "best_model").glob("*.pth"))
51
+ summary: dict[str, object] = {"checkpoint_files": [str(p.relative_to(ROOT)) for p in ckpt_paths]}
52
+ if not ckpt_paths:
53
+ summary["status"] = "no checkpoint files present"
54
+ return summary
55
+
56
+ try:
57
+ import torch
58
+ except Exception as exc: # pragma: no cover - environment fallback
59
+ summary["status"] = f"torch import failed: {exc}"
60
+ return summary
61
+
62
+ rows: list[dict[str, object]] = []
63
+ for path in ckpt_paths:
64
+ raw = torch.load(path, map_location="cpu")
65
+ state = raw.get("model_state_dict", raw) if isinstance(raw, dict) else raw
66
+ tensors = {k.removeprefix("module."): v for k, v in state.items() if hasattr(v, "numel")}
67
+ total = int(sum(v.numel() for v in tensors.values()))
68
+ head_keys = [k for k in tensors if "head" in k]
69
+ rows.append(
70
+ {
71
+ "file": str(path.relative_to(ROOT)),
72
+ "tensors": len(tensors),
73
+ "parameters": total,
74
+ "parameters_millions": round(total / 1_000_000, 3),
75
+ "has_reconstruction_head_weights": any("reconstruction_head" in k for k in tensors),
76
+ "has_anomaly_head_weights": any("anomaly_head" in k for k in tensors),
77
+ "head_key_sample": head_keys[:12],
78
+ }
79
+ )
80
+ summary["status"] = "loaded"
81
+ summary["checkpoints"] = rows
82
+ return summary
83
+
84
+
85
+ def architecture_audit() -> dict[str, object]:
86
+ pretrain = read(TIME_RCD / "models" / "time_rcd" / "TimeRCD_pretrain_multi.py")
87
+ encoder = read(TIME_RCD / "models" / "time_rcd" / "ts_encoder_bi_bias.py")
88
+ wrapper = read(TIME_RCD / "model_wrapper.py")
89
+ config = config_defaults()
90
+ ts_config = config.get("TimeSeriesConfig", {})
91
+ return {
92
+ "repo": "https://github.com/thu-sail-lab/Time-RCD",
93
+ "hf_model": "https://huggingface.co/thu-sail-lab/Time-RCD",
94
+ "config_defaults": config,
95
+ "is_standard_transformer_encoder_family": "nn.TransformerEncoder" in encoder
96
+ or "TransformerEncoderLayerWithRoPE" in encoder,
97
+ "encoder_layers": ts_config.get("num_layers"),
98
+ "hidden_size": ts_config.get("d_model"),
99
+ "num_attention_heads": ts_config.get("num_heads"),
100
+ "has_reconstruction_head": "self.reconstruction_head" in pretrain,
101
+ "has_anomaly_head": "self.anomaly_head" in pretrain,
102
+ "reconstruction_loss_in_training": "F.mse_loss" in pretrain and "reconstruction" in pretrain,
103
+ "anomaly_loss_in_training": "F.cross_entropy" in pretrain and "anomaly" in pretrain,
104
+ "zero_shot_inference_uses_anomaly_logits": "score_list, logit_list = cls.zero_shot(data)" in wrapper
105
+ and "logit" in wrapper,
106
+ "source_snippets": {
107
+ "heads": [line.strip() for line in pretrain.splitlines() if "self.reconstruction_head" in line or "self.anomaly_head" in line][:8],
108
+ "loss_terms": [line.strip() for line in pretrain.splitlines() if "F.mse_loss" in line or "F.cross_entropy" in line][:8],
109
+ },
110
+ }
111
+
112
+
113
+ def generator_audit() -> dict[str, object]:
114
+ gen = read(GEN / "src" / "generate_dataset.py")
115
+ uni = read(GEN / "src" / "ts_generator.py")
116
+ multi = read(GEN / "src" / "ts_multi_generator.py")
117
+ trend = read(GEN / "src" / "trend_utils.py")
118
+ config_src = read(GEN / "src" / "config.py")
119
+ cfg = json.loads(read(GEN / "config" / "synthetic.json"))
120
+ anomaly_types = sorted(set(re.findall(r"anomaly_type\s*==\s*['\"]([^'\"]+)['\"]", uni + multi)))
121
+ explicit_types = sorted(set(re.findall(r"['\"]([a-zA-Z_]+_anomaly|[a-zA-Z_]+_change|[a-zA-Z_]+_shift)['\"]", uni + multi)))
122
+ return {
123
+ "repo": "https://github.com/thu-sail-lab/TSAD_dataset_gen_public",
124
+ "config": cfg,
125
+ "stage_1_context_templates": all(token in uni + trend + config_src for token in ("generate_trend", "generate_seasonal", "generate_noise")),
126
+ "stage_2_joint_context_fusion": "generate_random_dag" in multi
127
+ and "nx.is_directed_acyclic_graph" in multi
128
+ and "y_0[t] = a * y_0[t - 1]" in multi,
129
+ "stage_3_causal_contextual_injection": "is_endogenous = random.choice([True, False])" in multi
130
+ and all(token in uni for token in ("generate_local_chars", "seasonal_anomalies", "y_abnormal")),
131
+ "stage_4_token_level_labels": "'labels': labels" in gen and "labels = labels | labels_i" in multi,
132
+ "arx_clamp_present": "COEFF_A_MIN = -0.8" in multi and "COEFF_A_MAX = 0.8" in multi,
133
+ "observed_anomaly_type_names": sorted(set(anomaly_types + explicit_types))[:80],
134
+ "label_decay_rule_found": "half" in gen.lower() or "decay" in gen.lower() or "halflife" in gen.lower(),
135
+ }
136
+
137
+
138
+ def throughput_probe(samples: int = 120) -> dict[str, object]:
139
+ sys.path.insert(0, str(GEN / "src"))
140
+ old_cwd = Path.cwd()
141
+ os.chdir(GEN)
142
+ from generate_dataset import generate_dataset
143
+
144
+ random.seed(2026)
145
+ np.random.seed(2026)
146
+ lengths = np.random.default_rng(2026).integers(100, 10001, size=samples).tolist()
147
+ total_points = 0
148
+ generated = 0
149
+ started = time.perf_counter()
150
+ try:
151
+ for length in lengths:
152
+ batch = generate_dataset(
153
+ num_samples=1,
154
+ seq_len=int(length),
155
+ anomaly_sample_ratio=1.0,
156
+ is_multivariate=False,
157
+ use_attribute_set=True,
158
+ num_workers=1,
159
+ )
160
+ item = batch[0]
161
+ series = item.get("time_series", item.get("timeseries"))
162
+ total_points += int(np.asarray(series).size)
163
+ generated += 1
164
+ finally:
165
+ os.chdir(old_cwd)
166
+ elapsed = time.perf_counter() - started
167
+ points_per_second = total_points / elapsed if elapsed else 0.0
168
+ return {
169
+ "samples": generated,
170
+ "min_length": int(min(lengths)),
171
+ "max_length": int(max(lengths)),
172
+ "total_points": total_points,
173
+ "elapsed_seconds": round(elapsed, 3),
174
+ "points_per_second": round(points_per_second, 1),
175
+ "estimated_hours_for_2_5b_at_this_rate": round(2_500_000_000 / points_per_second / 3600, 2)
176
+ if points_per_second
177
+ else None,
178
+ }
179
+
180
+
181
+ def main() -> None:
182
+ OUT.mkdir(parents=True, exist_ok=True)
183
+ result = {
184
+ "architecture": architecture_audit(),
185
+ "checkpoints": checkpoint_summary(),
186
+ "generator": generator_audit(),
187
+ "throughput_probe": throughput_probe(),
188
+ }
189
+ path = OUT / "timercd_deep_audit.json"
190
+ path.write_text(json.dumps(result, indent=2), encoding="utf-8")
191
+
192
+ arch = result["architecture"]
193
+ ckpt = result["checkpoints"]
194
+ gen = result["generator"]
195
+ thr = result["throughput_probe"]
196
+ print(
197
+ f"architecture: layers={arch['encoder_layers']} hidden={arch['hidden_size']} "
198
+ f"heads={arch['num_attention_heads']} dual_heads="
199
+ f"{arch['has_reconstruction_head'] and arch['has_anomaly_head']} "
200
+ f"inference_logits={arch['zero_shot_inference_uses_anomaly_logits']}"
201
+ )
202
+ if ckpt.get("status") == "loaded":
203
+ for row in ckpt["checkpoints"]:
204
+ print(
205
+ f"checkpoint: {row['file']} params={row['parameters_millions']}M "
206
+ f"recon_head={row['has_reconstruction_head_weights']} "
207
+ f"anomaly_head={row['has_anomaly_head_weights']}"
208
+ )
209
+ else:
210
+ print(f"checkpoint: {ckpt.get('status')}")
211
+ print(
212
+ "generator stages: "
213
+ f"template={gen['stage_1_context_templates']} "
214
+ f"dag_arx={gen['stage_2_joint_context_fusion']} "
215
+ f"injection={gen['stage_3_causal_contextual_injection']} "
216
+ f"labels={gen['stage_4_token_level_labels']} "
217
+ f"label_decay_found={gen['label_decay_rule_found']}"
218
+ )
219
+ print(
220
+ f"throughput: {thr['total_points']} points in {thr['elapsed_seconds']}s "
221
+ f"({thr['points_per_second']} pts/s), 2.5B estimate "
222
+ f"{thr['estimated_hours_for_2_5b_at_this_rate']} h"
223
+ )
224
+ print(f"wrote {path}")
225
+
226
+
227
+ if __name__ == "__main__":
228
+ main()