csusupergear commited on
Commit
93d796f
·
verified ·
1 Parent(s): 62254e7

Add standalone_multireflection_bcdi_adam_twodisloc_sandbox/run_code

Browse files
standalone_multireflection_bcdi_adam_twodisloc_sandbox/run_code/data_gen_log.txt ADDED
@@ -0,0 +1,348 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [I 260313 05:34:10 gen_std_data:664] Loading grain data into solver.
2
+ [I 260313 05:34:10 gen_std_data:666] Printing data tree...
3
+ global
4
+ global/mask
5
+ global/ux
6
+ global/uy
7
+ global/uz
8
+ scans
9
+ scans/dataset_10
10
+ scans/dataset_10/intensity
11
+ scans/dataset_10/object
12
+ scans/dataset_10/signal
13
+ scans/dataset_10/signal/photon_max_10000.0
14
+ scans/dataset_10/signal/photon_max_100000.0
15
+ scans/dataset_10/signal/photon_max_1000000.0
16
+ scans/dataset_10/wave
17
+ scans/dataset_15
18
+ scans/dataset_15/intensity
19
+ scans/dataset_15/object
20
+ scans/dataset_15/signal
21
+ scans/dataset_15/signal/photon_max_10000.0
22
+ scans/dataset_15/signal/photon_max_100000.0
23
+ scans/dataset_15/signal/photon_max_1000000.0
24
+ scans/dataset_15/wave
25
+ scans/dataset_18
26
+ scans/dataset_18/intensity
27
+ scans/dataset_18/object
28
+ scans/dataset_18/signal
29
+ scans/dataset_18/signal/photon_max_10000.0
30
+ scans/dataset_18/signal/photon_max_100000.0
31
+ scans/dataset_18/signal/photon_max_1000000.0
32
+ scans/dataset_18/wave
33
+ scans/dataset_2
34
+ scans/dataset_8
35
+ scans/dataset_8/intensity
36
+ scans/dataset_8/object
37
+ scans/dataset_8/signal
38
+ scans/dataset_8/signal/photon_max_10000.0
39
+ scans/dataset_8/signal/photon_max_100000.0
40
+ scans/dataset_8/signal/photon_max_1000000.0
41
+ scans/dataset_8/wave
42
+ [Metadata] Recorded schema for: getBufferSize
43
+ [Metadata] Recorded schema for: fft1d
44
+ [Metadata] Recorded schema for: ifft1d
45
+ [I 260313 05:34:13 gen_std_data:669] Created solver.
46
+ [I 260313 05:34:13 gen_std_data:670] Successful scans: [ 8 10 15 18]
47
+ [I 260313 05:34:13 gen_std_data:671] Global parameters:
48
+ [I 260313 05:34:13 gen_std_data:673] Rcryst: [[-0.75666183 -0.4623536 -0.46226834]
49
+ [ 0.26074696 -0.86178097 0.43513744]
50
+ [-0.59956142 0.20871683 0.77263406]]
51
+ [I 260313 05:34:13 gen_std_data:673] arm: 0.638
52
+ [I 260313 05:34:13 gen_std_data:673] idx: [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 25]
53
+ [I 260313 05:34:13 gen_std_data:673] lam: 1.3785e-11
54
+ [I 260313 05:34:13 gen_std_data:673] lattice_parms: [ 4.078 4.078 4.078 90. 90. 90. ]
55
+ [I 260313 05:34:13 gen_std_data:673] pix: 5.5e-05
56
+ [I 260313 05:34:13 gen_std_data:673] step_cubic: 12.279155187423308
57
+ [I 260313 05:34:13 gen_std_data:674] Running optimizer...
58
+
59
+ Epoch : 0%| | 0/9 [00:00<?, ?it/s]
60
+
61
+ Batch/minibatch: 0%| | 0/1 [00:00<?, ?it/s]
62
+
63
+
64
+ Iteration : 0%| | 0/1 [00:00<?, ?it/s] [Metadata] Recorded schema for: TV3D
65
+
66
+
67
+
68
+ Iteration : 100%|██████████| 1/1 [00:01<00:00, 1.26s/it]
69
+
70
+
71
+ 
72
+
73
+ Batch/minibatch: 100%|██████████| 1/1 [00:01<00:00, 1.26s/it]
74
+
75
+ 
76
+ Epoch : 11%|█ | 1/9 [00:02<00:18, 2.28s/it]
77
+
78
+ Batch/minibatch: 0%| | 0/1 [00:00<?, ?it/s]
79
+
80
+
81
+ Iteration : 0%| | 0/1 [00:00<?, ?it/s]
82
+
83
+
84
+ Iteration : 100%|██████████| 1/1 [00:01<00:00, 1.26s/it]
85
+
86
+
87
+ 
88
+
89
+ Batch/minibatch: 100%|██████████| 1/1 [00:01<00:00, 1.26s/it]
90
+
91
+ 
92
+ Epoch : 22%|██▏ | 2/9 [00:04<00:15, 2.18s/it]
93
+
94
+ Batch/minibatch: 0%| | 0/1 [00:00<?, ?it/s]
95
+
96
+
97
+ Iteration : 0%| | 0/1 [00:00<?, ?it/s]
98
+
99
+
100
+ Iteration : 100%|██████████| 1/1 [00:00<00:00, 1.03it/s]
101
+
102
+
103
+ 
104
+
105
+ Batch/minibatch: 100%|██████████| 1/1 [00:00<00:00, 1.03it/s]
106
+
107
+ 
108
+ Epoch : 33%|███▎ | 3/9 [00:06<00:12, 2.01s/it]
109
+
110
+ Batch/minibatch: 0%| | 0/1 [00:00<?, ?it/s]
111
+
112
+
113
+ Iteration : 0%| | 0/1 [00:00<?, ?it/s]
114
+
115
+
116
+ Iteration : 100%|██████████| 1/1 [00:02<00:00, 2.04s/it]
117
+
118
+
119
+ 
120
+
121
+ Batch/minibatch: 100%|██████████| 1/1 [00:02<00:00, 2.05s/it]
122
+
123
+ 
124
+ Epoch : 44%|████▍ | 4/9 [00:09<00:11, 2.34s/it]
125
+
126
+ Batch/minibatch: 0%| | 0/1 [00:00<?, ?it/s]
127
+
128
+
129
+ Iteration : 0%| | 0/1 [00:00<?, ?it/s]
130
+
131
+
132
+ Iteration : 100%|██████████| 1/1 [00:01<00:00, 1.90s/it]
133
+
134
+
135
+ 
136
+
137
+ Batch/minibatch: 100%|██████████| 1/1 [00:01<00:00, 1.90s/it]
138
+
139
+ 
140
+ Epoch : 56%|█████▌ | 5/9 [00:12<00:10, 2.75s/it]
141
+
142
+ Batch/minibatch: 0%| | 0/1 [00:00<?, ?it/s]
143
+
144
+
145
+ Iteration : 0%| | 0/1 [00:00<?, ?it/s]
146
+
147
+
148
+ Iteration : 100%|██████████| 1/1 [00:01<00:00, 1.75s/it]
149
+
150
+
151
+ 
152
+
153
+ Batch/minibatch: 100%|██████████| 1/1 [00:01<00:00, 1.76s/it]
154
+
155
+ 
156
+ Epoch : 67%|██████▋ | 6/9 [00:15<00:08, 2.68s/it]
157
+
158
+ Batch/minibatch: 0%| | 0/1 [00:00<?, ?it/s]
159
+
160
+
161
+ Iteration : 0%| | 0/1 [00:00<?, ?it/s]
162
+
163
+
164
+ Iteration : 100%|██████████| 1/1 [00:01<00:00, 1.49s/it]
165
+
166
+
167
+ 
168
+
169
+ Batch/minibatch: 100%|██████████| 1/1 [00:01<00:00, 1.49s/it]
170
+
171
+ 
172
+ Epoch : 78%|███████▊ | 7/9 [00:17<00:05, 2.55s/it]
173
+
174
+ Batch/minibatch: 0%| | 0/1 [00:00<?, ?it/s]
175
+
176
+
177
+ Iteration : 0%| | 0/1 [00:00<?, ?it/s]
178
+
179
+
180
+ Iteration : 100%|██████████| 1/1 [00:01<00:00, 1.31s/it]
181
+
182
+
183
+ 
184
+
185
+ Batch/minibatch: 100%|██████████| 1/1 [00:01<00:00, 1.31s/it]
186
+
187
+ 
188
+ Epoch : 89%|████████▉ | 8/9 [00:19<00:02, 2.40s/it]
189
+
190
+ Batch/minibatch: 0%| | 0/1 [00:00<?, ?it/s]
191
+
192
+
193
+ Iteration : 0%| | 0/20 [00:00<?, ?it/s]
194
+
195
+
196
+ Iteration : 5%|▌ | 1/20 [00:01<00:36, 1.91s/it]
197
+
198
+
199
+ Iteration : 10%|█ | 2/20 [00:03<00:35, 1.97s/it]
200
+
201
+
202
+ Iteration : 15%|█▌ | 3/20 [00:06<00:36, 2.16s/it]
203
+
204
+
205
+ Iteration : 20%|██ | 4/20 [00:08<00:34, 2.17s/it]
206
+
207
+
208
+ Iteration : 25%|██▌ | 5/20 [00:10<00:33, 2.23s/it]
209
+
210
+
211
+ Iteration : 30%|███ | 6/20 [00:13<00:31, 2.27s/it]
212
+
213
+
214
+ Iteration : 35%|███▌ | 7/20 [00:15<00:29, 2.31s/it]
215
+
216
+
217
+ Iteration : 40%|████ | 8/20 [00:17<00:28, 2.33s/it]
218
+
219
+
220
+ Iteration : 45%|████▌ | 9/20 [00:20<00:26, 2.37s/it]
221
+
222
+
223
+ Iteration : 50%|█████ | 10/20 [00:22<00:23, 2.37s/it]
224
+
225
+
226
+ Iteration : 55%|█████▌ | 11/20 [00:25<00:21, 2.44s/it]
227
+
228
+
229
+ Iteration : 60%|██████ | 12/20 [00:27<00:19, 2.41s/it]
230
+
231
+
232
+ Iteration : 65%|██████▌ | 13/20 [00:29<00:16, 2.36s/it]
233
+
234
+
235
+ Iteration : 70%|███████ | 14/20 [00:32<00:14, 2.41s/it]
236
+
237
+
238
+ Iteration : 75%|███████▌ | 15/20 [00:34<00:11, 2.39s/it]
239
+
240
+
241
+ Iteration : 80%|████████ | 16/20 [00:37<00:09, 2.38s/it]
242
+
243
+
244
+ Iteration : 85%|████████▌ | 17/20 [00:39<00:07, 2.38s/it]
245
+
246
+
247
+ Iteration : 90%|█████████ | 18/20 [00:41<00:04, 2.37s/it]
248
+
249
+
250
+ Iteration : 95%|█████████▌| 19/20 [00:44<00:02, 2.43s/it]
251
+
252
+
253
+ Iteration : 100%|██████████| 20/20 [00:46<00:00, 2.44s/it]
254
+
255
+
256
+ 
257
+
258
+ Batch/minibatch: 100%|██████████| 1/1 [00:46<00:00, 46.95s/it]
259
+
260
+ 
261
+ Epoch : 100%|██████████| 9/9 [01:07<00:00, 16.59s/it]
262
+ Epoch : 100%|██████████| 9/9 [01:07<00:00, 7.47s/it]
263
+ [I 260313 05:35:22 gen_std_data:686] Running optimizer (Phase 2)...
264
+
265
+ Epoch : 0%| | 0/1 [00:00<?, ?it/s]
266
+
267
+ Batch/minibatch: 0%| | 0/1 [00:00<?, ?it/s]
268
+
269
+
270
+ Iteration : 0%| | 0/20 [00:00<?, ?it/s]
271
+
272
+
273
+ Iteration : 5%|▌ | 1/20 [00:02<00:46, 2.43s/it]
274
+
275
+
276
+ Iteration : 10%|█ | 2/20 [00:04<00:43, 2.42s/it]
277
+
278
+
279
+ Iteration : 15%|█▌ | 3/20 [00:07<00:40, 2.40s/it]
280
+
281
+
282
+ Iteration : 20%|██ | 4/20 [00:09<00:38, 2.40s/it]
283
+
284
+
285
+ Iteration : 25%|██▌ | 5/20 [00:11<00:35, 2.39s/it]
286
+
287
+
288
+ Iteration : 30%|███ | 6/20 [00:14<00:33, 2.38s/it]
289
+
290
+
291
+ Iteration : 35%|███▌ | 7/20 [00:16<00:31, 2.38s/it]
292
+
293
+
294
+ Iteration : 40%|████ | 8/20 [00:19<00:28, 2.38s/it]
295
+
296
+
297
+ Iteration : 45%|████▌ | 9/20 [00:21<00:26, 2.38s/it]
298
+
299
+
300
+ Iteration : 50%|█████ | 10/20 [00:23<00:23, 2.38s/it]
301
+
302
+
303
+ Iteration : 55%|█████▌ | 11/20 [00:26<00:21, 2.39s/it]
304
+
305
+
306
+ Iteration : 60%|██████ | 12/20 [00:28<00:19, 2.39s/it]
307
+
308
+
309
+ Iteration : 65%|██████▌ | 13/20 [00:30<00:16, 2.36s/it]
310
+
311
+
312
+ Iteration : 70%|███████ | 14/20 [00:33<00:14, 2.37s/it]
313
+
314
+
315
+ Iteration : 75%|███████▌ | 15/20 [00:35<00:11, 2.39s/it]
316
+
317
+
318
+ Iteration : 80%|████████ | 16/20 [00:38<00:09, 2.39s/it]
319
+
320
+
321
+ Iteration : 85%|████████▌ | 17/20 [00:40<00:07, 2.40s/it]
322
+
323
+
324
+ Iteration : 90%|█████████ | 18/20 [00:42<00:04, 2.39s/it]
325
+
326
+
327
+ Iteration : 95%|█████████▌| 19/20 [00:45<00:02, 2.38s/it]
328
+
329
+
330
+ Iteration : 100%|██████████| 20/20 [00:47<00:00, 2.37s/it]
331
+
332
+
333
+ 
334
+
335
+ Batch/minibatch: 100%|██████████| 1/1 [00:47<00:00, 47.69s/it]
336
+
337
+ 
338
+ Epoch : 100%|██████████| 1/1 [00:48<00:00, 48.49s/it]
339
+ Epoch : 100%|██████████| 1/1 [00:48<00:00, 48.49s/it]
340
+ gen_std_data.py:43: MatplotlibDeprecationWarning:
341
+ The update_dict attribute was deprecated in Matplotlib 3.3 and will be removed two minor releases later.
342
+ attr = getattr(obj, m)
343
+ [Metadata] Recorded schema for: TilePlot
344
+ 0 dataset_8
345
+ 1 dataset_10
346
+ 2 dataset_15
347
+ 3 dataset_18
348
+ [I 260313 05:36:18 gen_std_data:734] Reconstruction complete. Results saved to /fs-computility-new/UPDZ02_sunhe/shared/QA_yixuan/standalone_multireflection_bcdi_adam_twodisloc_sandbox/./reconstructions/Results_twodisloc.h5
standalone_multireflection_bcdi_adam_twodisloc_sandbox/run_code/final_test_report.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "getBufferSize": "PASS",
3
+ "fft1d": "PASS",
4
+ "ifft1d": "PASS",
5
+ "TV3D": "PASS",
6
+ "TilePlot": "PASS"
7
+ }
standalone_multireflection_bcdi_adam_twodisloc_sandbox/run_code/meta_data.json ADDED
@@ -0,0 +1,832 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "function_name": "getBufferSize",
4
+ "inputs": {
5
+ "coef_of_exp": {
6
+ "type": "numpy.ndarray",
7
+ "shape": [
8
+ 3
9
+ ],
10
+ "dtype": "float64"
11
+ },
12
+ "shp": {
13
+ "type": "tuple",
14
+ "length": 3,
15
+ "elements": [
16
+ {
17
+ "type": "int",
18
+ "value_sample": "128"
19
+ },
20
+ {
21
+ "type": "int",
22
+ "value_sample": "128"
23
+ },
24
+ {
25
+ "type": "int",
26
+ "value_sample": "128"
27
+ }
28
+ ]
29
+ }
30
+ },
31
+ "output": {
32
+ "type": "numpy.ndarray",
33
+ "shape": [
34
+ 3
35
+ ],
36
+ "dtype": "int64"
37
+ }
38
+ },
39
+ {
40
+ "function_name": "fft1d",
41
+ "inputs": {
42
+ "arr": {
43
+ "type": "torch.Tensor",
44
+ "shape": [
45
+ 128,
46
+ 128,
47
+ 128
48
+ ],
49
+ "dtype": "torch.complex128",
50
+ "device": "cuda:0"
51
+ },
52
+ "n": {
53
+ "type": "int",
54
+ "value_sample": "0"
55
+ }
56
+ },
57
+ "output": {
58
+ "type": "torch.Tensor",
59
+ "shape": [
60
+ 128,
61
+ 128,
62
+ 128
63
+ ],
64
+ "dtype": "torch.complex128",
65
+ "device": "cuda:0"
66
+ }
67
+ },
68
+ {
69
+ "function_name": "ifft1d",
70
+ "inputs": {
71
+ "arr": {
72
+ "type": "torch.Tensor",
73
+ "shape": [
74
+ 126,
75
+ 128,
76
+ 128
77
+ ],
78
+ "dtype": "torch.complex128",
79
+ "device": "cuda:0"
80
+ },
81
+ "n": {
82
+ "type": "int",
83
+ "value_sample": "0"
84
+ }
85
+ },
86
+ "output": {
87
+ "type": "torch.Tensor",
88
+ "shape": [
89
+ 126,
90
+ 128,
91
+ 128
92
+ ],
93
+ "dtype": "torch.complex128",
94
+ "device": "cuda:0"
95
+ }
96
+ },
97
+ {
98
+ "function_name": "TV3D",
99
+ "inputs": {
100
+ "arr": {
101
+ "type": "torch.Tensor",
102
+ "shape": [
103
+ 40,
104
+ 40,
105
+ 40
106
+ ],
107
+ "dtype": "torch.float64",
108
+ "device": "cuda:0"
109
+ }
110
+ },
111
+ "output": {
112
+ "type": "torch.Tensor",
113
+ "shape": [],
114
+ "dtype": "torch.float64",
115
+ "device": "cuda:0"
116
+ }
117
+ },
118
+ {
119
+ "function_name": "TilePlot",
120
+ "inputs": {
121
+ "images": {
122
+ "type": "tuple",
123
+ "length": 3,
124
+ "elements": [
125
+ {
126
+ "type": "torch.Tensor",
127
+ "shape": [
128
+ 40,
129
+ 40
130
+ ],
131
+ "dtype": "torch.float64",
132
+ "device": "cpu"
133
+ },
134
+ {
135
+ "type": "torch.Tensor",
136
+ "shape": [
137
+ 40,
138
+ 40
139
+ ],
140
+ "dtype": "torch.float64",
141
+ "device": "cpu"
142
+ },
143
+ {
144
+ "type": "torch.Tensor",
145
+ "shape": [
146
+ 40,
147
+ 40
148
+ ],
149
+ "dtype": "torch.float64",
150
+ "device": "cpu"
151
+ }
152
+ ]
153
+ },
154
+ "layout": {
155
+ "type": "tuple",
156
+ "length": 2,
157
+ "elements": [
158
+ {
159
+ "type": "int",
160
+ "value_sample": "1"
161
+ },
162
+ {
163
+ "type": "int",
164
+ "value_sample": "3"
165
+ }
166
+ ]
167
+ },
168
+ "figsize": {
169
+ "type": "tuple",
170
+ "length": 2,
171
+ "elements": [
172
+ {
173
+ "type": "int",
174
+ "value_sample": "15"
175
+ },
176
+ {
177
+ "type": "int",
178
+ "value_sample": "5"
179
+ }
180
+ ]
181
+ },
182
+ "log_norm": {
183
+ "type": "bool",
184
+ "value_sample": "False"
185
+ },
186
+ "color_scales": {
187
+ "type": "bool",
188
+ "value_sample": "False"
189
+ },
190
+ "kwargs": {
191
+ "type": "dict",
192
+ "value_sample": "{}"
193
+ }
194
+ },
195
+ "output": {
196
+ "type": "tuple",
197
+ "length": 3,
198
+ "elements": [
199
+ {
200
+ "type": "CustomObject",
201
+ "class_name": "Figure",
202
+ "public_methods": [
203
+ "add_artist",
204
+ "add_axes",
205
+ "add_axobserver",
206
+ "add_callback",
207
+ "add_gridspec",
208
+ "add_subplot",
209
+ "align_labels",
210
+ "align_xlabels",
211
+ "align_ylabels",
212
+ "autofmt_xdate",
213
+ "clear",
214
+ "clf",
215
+ "colorbar",
216
+ "contains",
217
+ "convert_xunits",
218
+ "convert_yunits",
219
+ "delaxes",
220
+ "draw",
221
+ "draw_artist",
222
+ "execute_constrained_layout",
223
+ "figimage",
224
+ "findobj",
225
+ "format_cursor_data",
226
+ "gca",
227
+ "get_agg_filter",
228
+ "get_alpha",
229
+ "get_animated",
230
+ "get_axes",
231
+ "get_children",
232
+ "get_clip_box",
233
+ "get_clip_on",
234
+ "get_clip_path",
235
+ "get_constrained_layout",
236
+ "get_constrained_layout_pads",
237
+ "get_contains",
238
+ "get_cursor_data",
239
+ "get_default_bbox_extra_artists",
240
+ "get_dpi",
241
+ "get_edgecolor",
242
+ "get_facecolor",
243
+ "get_figheight",
244
+ "get_figure",
245
+ "get_figwidth",
246
+ "get_frameon",
247
+ "get_gid",
248
+ "get_in_layout",
249
+ "get_label",
250
+ "get_path_effects",
251
+ "get_picker",
252
+ "get_rasterized",
253
+ "get_size_inches",
254
+ "get_sketch_params",
255
+ "get_snap",
256
+ "get_tight_layout",
257
+ "get_tightbbox",
258
+ "get_transform",
259
+ "get_transformed_clip_path_and_affine",
260
+ "get_url",
261
+ "get_visible",
262
+ "get_window_extent",
263
+ "get_zorder",
264
+ "ginput",
265
+ "have_units",
266
+ "init_layoutbox",
267
+ "is_transform_set",
268
+ "legend",
269
+ "pchanged",
270
+ "pick",
271
+ "pickable",
272
+ "properties",
273
+ "remove",
274
+ "remove_callback",
275
+ "savefig",
276
+ "sca",
277
+ "set",
278
+ "set_agg_filter",
279
+ "set_alpha",
280
+ "set_animated",
281
+ "set_canvas",
282
+ "set_clip_box",
283
+ "set_clip_on",
284
+ "set_clip_path",
285
+ "set_constrained_layout",
286
+ "set_constrained_layout_pads",
287
+ "set_contains",
288
+ "set_dpi",
289
+ "set_edgecolor",
290
+ "set_facecolor",
291
+ "set_figheight",
292
+ "set_figure",
293
+ "set_figwidth",
294
+ "set_frameon",
295
+ "set_gid",
296
+ "set_in_layout",
297
+ "set_label",
298
+ "set_path_effects",
299
+ "set_picker",
300
+ "set_rasterized",
301
+ "set_size_inches",
302
+ "set_sketch_params",
303
+ "set_snap",
304
+ "set_tight_layout",
305
+ "set_transform",
306
+ "set_url",
307
+ "set_visible",
308
+ "set_zorder",
309
+ "show",
310
+ "stale_callback",
311
+ "subplot_mosaic",
312
+ "subplots",
313
+ "subplots_adjust",
314
+ "suptitle",
315
+ "text",
316
+ "tight_layout",
317
+ "update",
318
+ "update_from",
319
+ "waitforbuttonpress"
320
+ ],
321
+ "attributes": [
322
+ "_stale",
323
+ "stale_callback",
324
+ "figure",
325
+ "_transform",
326
+ "_transformSet",
327
+ "_visible",
328
+ "_animated",
329
+ "_alpha",
330
+ "clipbox",
331
+ "_clippath",
332
+ "_clipon",
333
+ "_label",
334
+ "_picker",
335
+ "_contains",
336
+ "_rasterized",
337
+ "_agg_filter",
338
+ "_mouseover",
339
+ "eventson",
340
+ "_oid",
341
+ "_propobservers",
342
+ "_remove_method",
343
+ "_url",
344
+ "_gid",
345
+ "_snap",
346
+ "_sketch",
347
+ "_path_effects",
348
+ "_sticky_edges",
349
+ "_in_layout",
350
+ "callbacks",
351
+ "bbox_inches",
352
+ "dpi_scale_trans",
353
+ "_dpi",
354
+ "bbox",
355
+ "transFigure",
356
+ "patch",
357
+ "canvas",
358
+ "_suptitle",
359
+ "subplotpars",
360
+ "_layoutbox",
361
+ "_constrained_layout_pads",
362
+ "_constrained",
363
+ "_tight",
364
+ "_tight_parameters",
365
+ "_axstack",
366
+ "suppressComposite",
367
+ "artists",
368
+ "lines",
369
+ "patches",
370
+ "texts",
371
+ "images",
372
+ "legends",
373
+ "_axobservers",
374
+ "_cachedRenderer",
375
+ "_align_xlabel_grp",
376
+ "_align_ylabel_grp",
377
+ "_gridspecs",
378
+ "number"
379
+ ]
380
+ },
381
+ {
382
+ "type": "list",
383
+ "length": 3,
384
+ "elements": [
385
+ {
386
+ "type": "CustomObject",
387
+ "class_name": "AxesImage",
388
+ "public_methods": [
389
+ "add_callback",
390
+ "add_checker",
391
+ "autoscale",
392
+ "autoscale_None",
393
+ "can_composite",
394
+ "changed",
395
+ "check_update",
396
+ "cmap",
397
+ "contains",
398
+ "convert_xunits",
399
+ "convert_yunits",
400
+ "draw",
401
+ "findobj",
402
+ "format_cursor_data",
403
+ "get_agg_filter",
404
+ "get_alpha",
405
+ "get_animated",
406
+ "get_array",
407
+ "get_children",
408
+ "get_clim",
409
+ "get_clip_box",
410
+ "get_clip_on",
411
+ "get_clip_path",
412
+ "get_cmap",
413
+ "get_contains",
414
+ "get_cursor_data",
415
+ "get_extent",
416
+ "get_figure",
417
+ "get_filternorm",
418
+ "get_filterrad",
419
+ "get_gid",
420
+ "get_in_layout",
421
+ "get_interpolation",
422
+ "get_label",
423
+ "get_path_effects",
424
+ "get_picker",
425
+ "get_rasterized",
426
+ "get_resample",
427
+ "get_size",
428
+ "get_sketch_params",
429
+ "get_snap",
430
+ "get_tightbbox",
431
+ "get_transform",
432
+ "get_transformed_clip_path_and_affine",
433
+ "get_url",
434
+ "get_visible",
435
+ "get_window_extent",
436
+ "get_zorder",
437
+ "have_units",
438
+ "is_transform_set",
439
+ "make_image",
440
+ "norm",
441
+ "pchanged",
442
+ "pick",
443
+ "pickable",
444
+ "properties",
445
+ "remove",
446
+ "remove_callback",
447
+ "set",
448
+ "set_agg_filter",
449
+ "set_alpha",
450
+ "set_animated",
451
+ "set_array",
452
+ "set_clim",
453
+ "set_clip_box",
454
+ "set_clip_on",
455
+ "set_clip_path",
456
+ "set_cmap",
457
+ "set_contains",
458
+ "set_data",
459
+ "set_extent",
460
+ "set_figure",
461
+ "set_filternorm",
462
+ "set_filterrad",
463
+ "set_gid",
464
+ "set_in_layout",
465
+ "set_interpolation",
466
+ "set_label",
467
+ "set_norm",
468
+ "set_path_effects",
469
+ "set_picker",
470
+ "set_rasterized",
471
+ "set_resample",
472
+ "set_sketch_params",
473
+ "set_snap",
474
+ "set_transform",
475
+ "set_url",
476
+ "set_visible",
477
+ "set_zorder",
478
+ "stale_callback",
479
+ "to_rgba",
480
+ "update",
481
+ "update_from",
482
+ "write_png"
483
+ ],
484
+ "attributes": [
485
+ "_extent",
486
+ "_stale",
487
+ "stale_callback",
488
+ "_axes",
489
+ "figure",
490
+ "_transform",
491
+ "_transformSet",
492
+ "_visible",
493
+ "_animated",
494
+ "_alpha",
495
+ "clipbox",
496
+ "_clippath",
497
+ "_clipon",
498
+ "_label",
499
+ "_picker",
500
+ "_contains",
501
+ "_rasterized",
502
+ "_agg_filter",
503
+ "_mouseover",
504
+ "eventson",
505
+ "_oid",
506
+ "_propobservers",
507
+ "_remove_method",
508
+ "_url",
509
+ "_gid",
510
+ "_snap",
511
+ "_sketch",
512
+ "_path_effects",
513
+ "_sticky_edges",
514
+ "_in_layout",
515
+ "_A",
516
+ "norm",
517
+ "cmap",
518
+ "colorbar",
519
+ "callbacksSM",
520
+ "_update_dict",
521
+ "origin",
522
+ "_filternorm",
523
+ "_filterrad",
524
+ "_interpolation",
525
+ "_resample",
526
+ "_imcache",
527
+ "_rgbacache"
528
+ ]
529
+ },
530
+ {
531
+ "type": "CustomObject",
532
+ "class_name": "AxesImage",
533
+ "public_methods": [
534
+ "add_callback",
535
+ "add_checker",
536
+ "autoscale",
537
+ "autoscale_None",
538
+ "can_composite",
539
+ "changed",
540
+ "check_update",
541
+ "cmap",
542
+ "contains",
543
+ "convert_xunits",
544
+ "convert_yunits",
545
+ "draw",
546
+ "findobj",
547
+ "format_cursor_data",
548
+ "get_agg_filter",
549
+ "get_alpha",
550
+ "get_animated",
551
+ "get_array",
552
+ "get_children",
553
+ "get_clim",
554
+ "get_clip_box",
555
+ "get_clip_on",
556
+ "get_clip_path",
557
+ "get_cmap",
558
+ "get_contains",
559
+ "get_cursor_data",
560
+ "get_extent",
561
+ "get_figure",
562
+ "get_filternorm",
563
+ "get_filterrad",
564
+ "get_gid",
565
+ "get_in_layout",
566
+ "get_interpolation",
567
+ "get_label",
568
+ "get_path_effects",
569
+ "get_picker",
570
+ "get_rasterized",
571
+ "get_resample",
572
+ "get_size",
573
+ "get_sketch_params",
574
+ "get_snap",
575
+ "get_tightbbox",
576
+ "get_transform",
577
+ "get_transformed_clip_path_and_affine",
578
+ "get_url",
579
+ "get_visible",
580
+ "get_window_extent",
581
+ "get_zorder",
582
+ "have_units",
583
+ "is_transform_set",
584
+ "make_image",
585
+ "norm",
586
+ "pchanged",
587
+ "pick",
588
+ "pickable",
589
+ "properties",
590
+ "remove",
591
+ "remove_callback",
592
+ "set",
593
+ "set_agg_filter",
594
+ "set_alpha",
595
+ "set_animated",
596
+ "set_array",
597
+ "set_clim",
598
+ "set_clip_box",
599
+ "set_clip_on",
600
+ "set_clip_path",
601
+ "set_cmap",
602
+ "set_contains",
603
+ "set_data",
604
+ "set_extent",
605
+ "set_figure",
606
+ "set_filternorm",
607
+ "set_filterrad",
608
+ "set_gid",
609
+ "set_in_layout",
610
+ "set_interpolation",
611
+ "set_label",
612
+ "set_norm",
613
+ "set_path_effects",
614
+ "set_picker",
615
+ "set_rasterized",
616
+ "set_resample",
617
+ "set_sketch_params",
618
+ "set_snap",
619
+ "set_transform",
620
+ "set_url",
621
+ "set_visible",
622
+ "set_zorder",
623
+ "stale_callback",
624
+ "to_rgba",
625
+ "update",
626
+ "update_from",
627
+ "write_png"
628
+ ],
629
+ "attributes": [
630
+ "_extent",
631
+ "_stale",
632
+ "stale_callback",
633
+ "_axes",
634
+ "figure",
635
+ "_transform",
636
+ "_transformSet",
637
+ "_visible",
638
+ "_animated",
639
+ "_alpha",
640
+ "clipbox",
641
+ "_clippath",
642
+ "_clipon",
643
+ "_label",
644
+ "_picker",
645
+ "_contains",
646
+ "_rasterized",
647
+ "_agg_filter",
648
+ "_mouseover",
649
+ "eventson",
650
+ "_oid",
651
+ "_propobservers",
652
+ "_remove_method",
653
+ "_url",
654
+ "_gid",
655
+ "_snap",
656
+ "_sketch",
657
+ "_path_effects",
658
+ "_sticky_edges",
659
+ "_in_layout",
660
+ "_A",
661
+ "norm",
662
+ "cmap",
663
+ "colorbar",
664
+ "callbacksSM",
665
+ "_update_dict",
666
+ "origin",
667
+ "_filternorm",
668
+ "_filterrad",
669
+ "_interpolation",
670
+ "_resample",
671
+ "_imcache",
672
+ "_rgbacache"
673
+ ]
674
+ },
675
+ {
676
+ "type": "CustomObject",
677
+ "class_name": "AxesImage",
678
+ "public_methods": [
679
+ "add_callback",
680
+ "add_checker",
681
+ "autoscale",
682
+ "autoscale_None",
683
+ "can_composite",
684
+ "changed",
685
+ "check_update",
686
+ "cmap",
687
+ "contains",
688
+ "convert_xunits",
689
+ "convert_yunits",
690
+ "draw",
691
+ "findobj",
692
+ "format_cursor_data",
693
+ "get_agg_filter",
694
+ "get_alpha",
695
+ "get_animated",
696
+ "get_array",
697
+ "get_children",
698
+ "get_clim",
699
+ "get_clip_box",
700
+ "get_clip_on",
701
+ "get_clip_path",
702
+ "get_cmap",
703
+ "get_contains",
704
+ "get_cursor_data",
705
+ "get_extent",
706
+ "get_figure",
707
+ "get_filternorm",
708
+ "get_filterrad",
709
+ "get_gid",
710
+ "get_in_layout",
711
+ "get_interpolation",
712
+ "get_label",
713
+ "get_path_effects",
714
+ "get_picker",
715
+ "get_rasterized",
716
+ "get_resample",
717
+ "get_size",
718
+ "get_sketch_params",
719
+ "get_snap",
720
+ "get_tightbbox",
721
+ "get_transform",
722
+ "get_transformed_clip_path_and_affine",
723
+ "get_url",
724
+ "get_visible",
725
+ "get_window_extent",
726
+ "get_zorder",
727
+ "have_units",
728
+ "is_transform_set",
729
+ "make_image",
730
+ "norm",
731
+ "pchanged",
732
+ "pick",
733
+ "pickable",
734
+ "properties",
735
+ "remove",
736
+ "remove_callback",
737
+ "set",
738
+ "set_agg_filter",
739
+ "set_alpha",
740
+ "set_animated",
741
+ "set_array",
742
+ "set_clim",
743
+ "set_clip_box",
744
+ "set_clip_on",
745
+ "set_clip_path",
746
+ "set_cmap",
747
+ "set_contains",
748
+ "set_data",
749
+ "set_extent",
750
+ "set_figure",
751
+ "set_filternorm",
752
+ "set_filterrad",
753
+ "set_gid",
754
+ "set_in_layout",
755
+ "set_interpolation",
756
+ "set_label",
757
+ "set_norm",
758
+ "set_path_effects",
759
+ "set_picker",
760
+ "set_rasterized",
761
+ "set_resample",
762
+ "set_sketch_params",
763
+ "set_snap",
764
+ "set_transform",
765
+ "set_url",
766
+ "set_visible",
767
+ "set_zorder",
768
+ "stale_callback",
769
+ "to_rgba",
770
+ "update",
771
+ "update_from",
772
+ "write_png"
773
+ ],
774
+ "attributes": [
775
+ "_extent",
776
+ "_stale",
777
+ "stale_callback",
778
+ "_axes",
779
+ "figure",
780
+ "_transform",
781
+ "_transformSet",
782
+ "_visible",
783
+ "_animated",
784
+ "_alpha",
785
+ "clipbox",
786
+ "_clippath",
787
+ "_clipon",
788
+ "_label",
789
+ "_picker",
790
+ "_contains",
791
+ "_rasterized",
792
+ "_agg_filter",
793
+ "_mouseover",
794
+ "eventson",
795
+ "_oid",
796
+ "_propobservers",
797
+ "_remove_method",
798
+ "_url",
799
+ "_gid",
800
+ "_snap",
801
+ "_sketch",
802
+ "_path_effects",
803
+ "_sticky_edges",
804
+ "_in_layout",
805
+ "_A",
806
+ "norm",
807
+ "cmap",
808
+ "colorbar",
809
+ "callbacksSM",
810
+ "_update_dict",
811
+ "origin",
812
+ "_filternorm",
813
+ "_filterrad",
814
+ "_interpolation",
815
+ "_resample",
816
+ "_imcache",
817
+ "_rgbacache"
818
+ ]
819
+ }
820
+ ]
821
+ },
822
+ {
823
+ "type": "numpy.ndarray",
824
+ "shape": [
825
+ 3
826
+ ],
827
+ "dtype": "object"
828
+ }
829
+ ]
830
+ }
831
+ }
832
+ ]
standalone_multireflection_bcdi_adam_twodisloc_sandbox/run_code/std_data/data_TV3D.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:402c272dc9321cde7738c9082c386269ad9e69f67b52fc58251af7e8769141d7
3
+ size 2048775
standalone_multireflection_bcdi_adam_twodisloc_sandbox/run_code/std_data/data_TilePlot.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:681ac4a427f1735ea4269ee880c011c6513a3e22df75a07af5a3130e7fd52224
3
+ size 1948293
standalone_multireflection_bcdi_adam_twodisloc_sandbox/run_code/std_data/data_fft1d.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e729379cc3adf1392cbfee303f3c4d96fc732224168dd6398ab29265e5fcb3a
3
+ size 69206798
standalone_multireflection_bcdi_adam_twodisloc_sandbox/run_code/std_data/data_getBufferSize.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:633003541cf60831de37bdd44d44f42fe185567b09dc3d47b37069b916fc1ec8
3
+ size 367
standalone_multireflection_bcdi_adam_twodisloc_sandbox/run_code/std_data/data_ifft1d.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:53d6888f11f52b69e73f5cc09cd81afd4cfa9a92a9ee92b5650b0b1dc10cef94
3
+ size 71303951
standalone_multireflection_bcdi_adam_twodisloc_sandbox/run_code/verification_utils.py ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # verification_utils.py
2
+ import sys
3
+ import numpy as np
4
+
5
+ def recursive_check(expected, actual, rtol=1e-3, atol=1e-5, path="output"):
6
+ """
7
+ Recursively compares two objects (handling numpy, torch, dicts, lists, primitives).
8
+ Returns: (bool, str) -> (passed, error_message)
9
+ """
10
+ # 0. Pre-processing: Handle Torch Tensors (convert to numpy)
11
+ # We check sys.modules to avoid hard dependency on torch if not installed
12
+ if "torch" in sys.modules:
13
+ import torch
14
+ if isinstance(actual, torch.Tensor):
15
+ actual = actual.detach().cpu().numpy()
16
+ if isinstance(expected, torch.Tensor):
17
+ expected = expected.detach().cpu().numpy()
18
+
19
+ # 1. Type Mismatch Check
20
+ # Allow loose matching between tuple and list, otherwise strict
21
+ if isinstance(expected, (list, tuple)) and isinstance(actual, (list, tuple)):
22
+ pass # Treat tuple and list as compatible sequences
23
+ elif type(expected) != type(actual):
24
+ # Special case: Scalar numpy array vs Python scalar
25
+ if np.isscalar(expected) and isinstance(actual, np.ndarray) and actual.ndim == 0:
26
+ actual = actual.item()
27
+ elif np.isscalar(actual) and isinstance(expected, np.ndarray) and expected.ndim == 0:
28
+ expected = expected.item()
29
+ else:
30
+ return False, f"Type mismatch at {path}: expected {type(expected)}, got {type(actual)}"
31
+
32
+ # 2. Numpy Arrays
33
+ if isinstance(expected, np.ndarray):
34
+ if expected.shape != actual.shape:
35
+ return False, f"Shape mismatch at {path}: expected {expected.shape}, got {actual.shape}"
36
+
37
+ # Check for numeric types to use allclose
38
+ if np.issubdtype(expected.dtype, np.number):
39
+ if not np.allclose(expected, actual, rtol=rtol, atol=atol, equal_nan=True):
40
+ diff = np.abs(expected - actual)
41
+ max_diff = np.max(diff) if diff.size > 0 else 0
42
+ return False, f"Value mismatch at {path}: max difference {max_diff} > tol"
43
+ else:
44
+ # String or Object arrays
45
+ if not np.array_equal(expected, actual):
46
+ return False, f"Non-numeric array mismatch at {path}"
47
+ return True, ""
48
+
49
+ # 3. Dictionaries
50
+ if isinstance(expected, dict):
51
+ if set(expected.keys()) != set(actual.keys()):
52
+ return False, f"Key mismatch at {path}: expected {list(expected.keys())}, got {list(actual.keys())}"
53
+ for k in expected:
54
+ res, msg = recursive_check(expected[k], actual[k], rtol, atol, path=f"{path}['{k}']")
55
+ if not res: return False, msg
56
+ return True, ""
57
+
58
+ # 4. Lists / Tuples
59
+ if isinstance(expected, (list, tuple)):
60
+ if len(expected) != len(actual):
61
+ return False, f"Length mismatch at {path}: expected {len(expected)}, got {len(actual)}"
62
+ for i, (e, a) in enumerate(zip(expected, actual)):
63
+ res, msg = recursive_check(e, a, rtol, atol, path=f"{path}[{i}]")
64
+ if not res: return False, msg
65
+ return True, ""
66
+
67
+ # 5. Basic Types (float, int, str, bool, None)
68
+ if isinstance(expected, float):
69
+ if not np.isclose(expected, actual, rtol=rtol, atol=atol):
70
+ return False, f"Float mismatch at {path}: expected {expected}, got {actual}"
71
+ elif expected != actual:
72
+ return False, f"Value mismatch at {path}: expected {expected}, got {actual}"
73
+
74
+ return True, ""