Zhongning commited on
Commit
05cb22e
·
verified ·
1 Parent(s): 4d671eb

Upload folder using huggingface_hub

Browse files
Files changed (45) hide show
  1. .gitattributes +108 -32
  2. README.md +69 -0
  3. README_zh.md +69 -0
  4. data/Dirichlet/BC_N32_0c_all.npy +3 -0
  5. data/Dirichlet/BC_N32_1c_all.npy +3 -0
  6. data/Dirichlet/BC_N32_2c_all.npy +3 -0
  7. data/Dirichlet/BC_N32_3c_all.npy +3 -0
  8. data/Dirichlet/BC_N32_4c_all.npy +3 -0
  9. data/Dirichlet/BC_N32_mix_all.npy +3 -0
  10. data/Dirichlet/RHS_N32_0c_all.npy +3 -0
  11. data/Dirichlet/RHS_N32_1c_all.npy +3 -0
  12. data/Dirichlet/RHS_N32_2c_all.npy +3 -0
  13. data/Dirichlet/RHS_N32_3c_all.npy +3 -0
  14. data/Dirichlet/RHS_N32_4c_all.npy +3 -0
  15. data/Dirichlet/RHS_N32_mix_all.npy +3 -0
  16. data/Dirichlet/SOL_N32_0c_all.npy +3 -0
  17. data/Dirichlet/SOL_N32_1c_all.npy +3 -0
  18. data/Dirichlet/SOL_N32_2c_all.npy +3 -0
  19. data/Dirichlet/SOL_N32_3c_all.npy +3 -0
  20. data/Dirichlet/SOL_N32_4c_all.npy +3 -0
  21. data/Dirichlet/SOL_N32_mix_all.npy +3 -0
  22. data/Neumann/BC_N32_0c_all.npy +3 -0
  23. data/Neumann/BC_N32_1c_all.npy +3 -0
  24. data/Neumann/BC_N32_2c_all.npy +3 -0
  25. data/Neumann/BC_N32_3c_all.npy +3 -0
  26. data/Neumann/BC_N32_4c_all.npy +3 -0
  27. data/Neumann/BC_N32_mix_all.npy +3 -0
  28. data/Neumann/RHS_N32_0c_all.npy +3 -0
  29. data/Neumann/RHS_N32_1c_all.npy +3 -0
  30. data/Neumann/RHS_N32_2c_all.npy +3 -0
  31. data/Neumann/RHS_N32_3c_all.npy +3 -0
  32. data/Neumann/RHS_N32_4c_all.npy +3 -0
  33. data/Neumann/RHS_N32_mix_all.npy +3 -0
  34. data/Neumann/SOL_N32_0c_all.npy +3 -0
  35. data/Neumann/SOL_N32_1c_all.npy +3 -0
  36. data/Neumann/SOL_N32_2c_all.npy +3 -0
  37. data/Neumann/SOL_N32_3c_all.npy +3 -0
  38. data/Neumann/SOL_N32_4c_all.npy +3 -0
  39. data/Neumann/SOL_N32_mix_all.npy +3 -0
  40. data_integrity_summary.json +13 -0
  41. dataset_infos.json +1 -0
  42. files_sha256.jsonl +36 -0
  43. metadata/beno_schema.json +29 -0
  44. onescience_run_manifest.yaml +377 -0
  45. scripts/validate_beno_dataset.py +132 -0
.gitattributes CHANGED
@@ -1,60 +1,136 @@
1
  *.7z filter=lfs diff=lfs merge=lfs -text
2
  *.arrow filter=lfs diff=lfs merge=lfs -text
3
- *.avro filter=lfs diff=lfs merge=lfs -text
4
  *.bin filter=lfs diff=lfs merge=lfs -text
 
5
  *.bz2 filter=lfs diff=lfs merge=lfs -text
6
- *.ckpt filter=lfs diff=lfs merge=lfs -text
7
  *.ftz filter=lfs diff=lfs merge=lfs -text
8
  *.gz filter=lfs diff=lfs merge=lfs -text
9
  *.h5 filter=lfs diff=lfs merge=lfs -text
10
  *.joblib filter=lfs diff=lfs merge=lfs -text
11
  *.lfs.* filter=lfs diff=lfs merge=lfs -text
12
- *.lz4 filter=lfs diff=lfs merge=lfs -text
13
- *.mds filter=lfs diff=lfs merge=lfs -text
14
- *.mlmodel filter=lfs diff=lfs merge=lfs -text
15
  *.model filter=lfs diff=lfs merge=lfs -text
16
  *.msgpack filter=lfs diff=lfs merge=lfs -text
17
- *.npy filter=lfs diff=lfs merge=lfs -text
18
- *.npz filter=lfs diff=lfs merge=lfs -text
19
  *.onnx filter=lfs diff=lfs merge=lfs -text
20
  *.ot filter=lfs diff=lfs merge=lfs -text
21
  *.parquet filter=lfs diff=lfs merge=lfs -text
22
  *.pb filter=lfs diff=lfs merge=lfs -text
23
- *.pickle filter=lfs diff=lfs merge=lfs -text
24
- *.pkl filter=lfs diff=lfs merge=lfs -text
25
  *.pt filter=lfs diff=lfs merge=lfs -text
26
  *.pth filter=lfs diff=lfs merge=lfs -text
27
  *.rar filter=lfs diff=lfs merge=lfs -text
28
- *.safetensors filter=lfs diff=lfs merge=lfs -text
29
  saved_model/**/* filter=lfs diff=lfs merge=lfs -text
30
- *.tar.* filter=lfs diff=lfs merge=lfs -text
31
  *.tar filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
32
  *.tflite filter=lfs diff=lfs merge=lfs -text
33
  *.tgz filter=lfs diff=lfs merge=lfs -text
34
- *.wasm filter=lfs diff=lfs merge=lfs -text
35
  *.xz filter=lfs diff=lfs merge=lfs -text
36
  *.zip filter=lfs diff=lfs merge=lfs -text
37
- *.zst filter=lfs diff=lfs merge=lfs -text
38
- *tfevents* filter=lfs diff=lfs merge=lfs -text
39
- # Audio files - uncompressed
40
- *.pcm filter=lfs diff=lfs merge=lfs -text
41
- *.sam filter=lfs diff=lfs merge=lfs -text
42
- *.raw filter=lfs diff=lfs merge=lfs -text
43
- # Audio files - compressed
44
- *.aac filter=lfs diff=lfs merge=lfs -text
45
- *.flac filter=lfs diff=lfs merge=lfs -text
46
- *.mp3 filter=lfs diff=lfs merge=lfs -text
47
- *.ogg filter=lfs diff=lfs merge=lfs -text
48
- *.wav filter=lfs diff=lfs merge=lfs -text
49
- # Image files - uncompressed
50
- *.bmp filter=lfs diff=lfs merge=lfs -text
51
- *.gif filter=lfs diff=lfs merge=lfs -text
52
- *.png filter=lfs diff=lfs merge=lfs -text
53
- *.tiff filter=lfs diff=lfs merge=lfs -text
54
- # Image files - compressed
55
  *.jpg filter=lfs diff=lfs merge=lfs -text
 
56
  *.jpeg filter=lfs diff=lfs merge=lfs -text
 
 
57
  *.webp filter=lfs diff=lfs merge=lfs -text
58
- # Video files - compressed
 
 
 
 
 
 
 
 
 
 
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
- *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  *.7z filter=lfs diff=lfs merge=lfs -text
2
  *.arrow filter=lfs diff=lfs merge=lfs -text
 
3
  *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bin.* filter=lfs diff=lfs merge=lfs -text
5
  *.bz2 filter=lfs diff=lfs merge=lfs -text
 
6
  *.ftz filter=lfs diff=lfs merge=lfs -text
7
  *.gz filter=lfs diff=lfs merge=lfs -text
8
  *.h5 filter=lfs diff=lfs merge=lfs -text
9
  *.joblib filter=lfs diff=lfs merge=lfs -text
10
  *.lfs.* filter=lfs diff=lfs merge=lfs -text
 
 
 
11
  *.model filter=lfs diff=lfs merge=lfs -text
12
  *.msgpack filter=lfs diff=lfs merge=lfs -text
 
 
13
  *.onnx filter=lfs diff=lfs merge=lfs -text
14
  *.ot filter=lfs diff=lfs merge=lfs -text
15
  *.parquet filter=lfs diff=lfs merge=lfs -text
16
  *.pb filter=lfs diff=lfs merge=lfs -text
 
 
17
  *.pt filter=lfs diff=lfs merge=lfs -text
18
  *.pth filter=lfs diff=lfs merge=lfs -text
19
  *.rar filter=lfs diff=lfs merge=lfs -text
 
20
  saved_model/**/* filter=lfs diff=lfs merge=lfs -text
 
21
  *.tar filter=lfs diff=lfs merge=lfs -text
22
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
23
+ *.mat filter=lfs diff=lfs merge=lfs -text
24
+ *.npz filter=lfs diff=lfs merge=lfs -text
25
+
26
+ *.h5 filter=lfs diff=lfs merge=lfs -text
27
+ *.hdf5 filter=lfs diff=lfs merge=lfs -text
28
+ *.pickle filter=lfs diff=lfs merge=lfs -text
29
+ *.pkl filter=lfs diff=lfs merge=lfs -text
30
  *.tflite filter=lfs diff=lfs merge=lfs -text
31
  *.tgz filter=lfs diff=lfs merge=lfs -text
 
32
  *.xz filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
+ *.zstandard filter=lfs diff=lfs merge=lfs -text
35
+ *.tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ *.db* filter=lfs diff=lfs merge=lfs -text
37
+ *.ark* filter=lfs diff=lfs merge=lfs -text
38
+ **/*ckpt*data* filter=lfs diff=lfs merge=lfs -text
39
+ **/*ckpt*.meta filter=lfs diff=lfs merge=lfs -text
40
+ **/*ckpt*.index filter=lfs diff=lfs merge=lfs -text
41
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
42
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
43
  *.jpg filter=lfs diff=lfs merge=lfs -text
44
+ *.png filter=lfs diff=lfs merge=lfs -text
45
  *.jpeg filter=lfs diff=lfs merge=lfs -text
46
+ *.bmp filter=lfs diff=lfs merge=lfs -text
47
+ *.gif filter=lfs diff=lfs merge=lfs -text
48
  *.webp filter=lfs diff=lfs merge=lfs -text
49
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
50
+ *.wav filter=lfs diff=lfs merge=lfs -text
51
+ *.wma filter=lfs diff=lfs merge=lfs -text
52
+ *.aac filter=lfs diff=lfs merge=lfs -text
53
+ *.ogg filter=lfs diff=lfs merge=lfs -text
54
+ *.m4a filter=lfs diff=lfs merge=lfs -text
55
+ *.m3u8 filter=lfs diff=lfs merge=lfs -text
56
+ *.amr filter=lfs diff=lfs merge=lfs -text
57
+ *.audio filter=lfs diff=lfs merge=lfs -text
58
+ *.avi filter=lfs diff=lfs merge=lfs -text
59
+ *.flv filter=lfs diff=lfs merge=lfs -text
60
  *.mp4 filter=lfs diff=lfs merge=lfs -text
61
+ *.mpg filter=lfs diff=lfs merge=lfs -text
62
+ *.asf filter=lfs diff=lfs merge=lfs -text
63
+ *.mov filter=lfs diff=lfs merge=lfs -text
64
+ *.mpeg filter=lfs diff=lfs merge=lfs -text
65
+ *.3gp filter=lfs diff=lfs merge=lfs -text
66
+ *.wmv filter=lfs diff=lfs merge=lfs -text
67
+ *.rmvb filter=lfs diff=lfs merge=lfs -text
68
+ *.rm filter=lfs diff=lfs merge=lfs -text
69
+ *.ts filter=lfs diff=lfs merge=lfs -text
70
+ *.mkv filter=lfs diff=lfs merge=lfs -text
71
+ *.flash filter=lfs diff=lfs merge=lfs -text
72
+ *.vob filter=lfs diff=lfs merge=lfs -text
73
+ *.pdf filter=lfs diff=lfs merge=lfs -text
74
+ *.ost filter=lfs diff=lfs merge=lfs -text
75
+ *.pst filter=lfs diff=lfs merge=lfs -text
76
+ *.doc filter=lfs diff=lfs merge=lfs -text
77
+ *.docx filter=lfs diff=lfs merge=lfs -text
78
+ *.txt filter=lfs diff=lfs merge=lfs -text
79
+ *.ppt filter=lfs diff=lfs merge=lfs -text
80
+ *.pptx filter=lfs diff=lfs merge=lfs -text
81
+ *.xls filter=lfs diff=lfs merge=lfs -text
82
+ *.xlsx filter=lfs diff=lfs merge=lfs -text
83
+ *.vsd filter=lfs diff=lfs merge=lfs -text
84
+ *.vsdx filter=lfs diff=lfs merge=lfs -text
85
+
86
+
87
+ dataset_infos.json ignore
88
+ *.csv filter=lfs diff=lfs merge=lfs -text
89
+ *.tsv filter=lfs diff=lfs merge=lfs -text
90
+
91
+ data/Dirichlet/BC_N32_1c_all.npy filter=lfs diff=lfs merge=lfs -text
92
+ data/Dirichlet/BC_N32_2c_all.npy filter=lfs diff=lfs merge=lfs -text
93
+ data/Dirichlet/BC_N32_0c_all.npy filter=lfs diff=lfs merge=lfs -text
94
+
95
+ data/Dirichlet/BC_N32_mix_all.npy filter=lfs diff=lfs merge=lfs -text
96
+ data/Dirichlet/RHS_N32_0c_all.npy filter=lfs diff=lfs merge=lfs -text
97
+ data/Dirichlet/BC_N32_3c_all.npy filter=lfs diff=lfs merge=lfs -text
98
+ data/Dirichlet/BC_N32_4c_all.npy filter=lfs diff=lfs merge=lfs -text
99
+
100
+ data/Dirichlet/RHS_N32_1c_all.npy filter=lfs diff=lfs merge=lfs -text
101
+ data/Dirichlet/RHS_N32_3c_all.npy filter=lfs diff=lfs merge=lfs -text
102
+ data/Dirichlet/RHS_N32_4c_all.npy filter=lfs diff=lfs merge=lfs -text
103
+ data/Dirichlet/RHS_N32_2c_all.npy filter=lfs diff=lfs merge=lfs -text
104
+
105
+ data/Dirichlet/SOL_N32_1c_all.npy filter=lfs diff=lfs merge=lfs -text
106
+ data/Dirichlet/SOL_N32_0c_all.npy filter=lfs diff=lfs merge=lfs -text
107
+ data/Dirichlet/SOL_N32_2c_all.npy filter=lfs diff=lfs merge=lfs -text
108
+ data/Dirichlet/RHS_N32_mix_all.npy filter=lfs diff=lfs merge=lfs -text
109
+
110
+ data/Dirichlet/SOL_N32_3c_all.npy filter=lfs diff=lfs merge=lfs -text
111
+ data/Dirichlet/SOL_N32_mix_all.npy filter=lfs diff=lfs merge=lfs -text
112
+ data/Dirichlet/SOL_N32_4c_all.npy filter=lfs diff=lfs merge=lfs -text
113
+ data/Neumann/BC_N32_0c_all.npy filter=lfs diff=lfs merge=lfs -text
114
+
115
+ data/Neumann/BC_N32_4c_all.npy filter=lfs diff=lfs merge=lfs -text
116
+ data/Neumann/BC_N32_2c_all.npy filter=lfs diff=lfs merge=lfs -text
117
+ data/Neumann/BC_N32_1c_all.npy filter=lfs diff=lfs merge=lfs -text
118
+ data/Neumann/BC_N32_3c_all.npy filter=lfs diff=lfs merge=lfs -text
119
+
120
+ data/Neumann/BC_N32_mix_all.npy filter=lfs diff=lfs merge=lfs -text
121
+ data/Neumann/RHS_N32_1c_all.npy filter=lfs diff=lfs merge=lfs -text
122
+ data/Neumann/RHS_N32_0c_all.npy filter=lfs diff=lfs merge=lfs -text
123
+ data/Neumann/RHS_N32_2c_all.npy filter=lfs diff=lfs merge=lfs -text
124
+
125
+ data/Neumann/RHS_N32_mix_all.npy filter=lfs diff=lfs merge=lfs -text
126
+ data/Neumann/SOL_N32_0c_all.npy filter=lfs diff=lfs merge=lfs -text
127
+ data/Neumann/RHS_N32_4c_all.npy filter=lfs diff=lfs merge=lfs -text
128
+ data/Neumann/RHS_N32_3c_all.npy filter=lfs diff=lfs merge=lfs -text
129
+
130
+ data/Neumann/SOL_N32_1c_all.npy filter=lfs diff=lfs merge=lfs -text
131
+ data/Neumann/SOL_N32_3c_all.npy filter=lfs diff=lfs merge=lfs -text
132
+ data/Neumann/SOL_N32_2c_all.npy filter=lfs diff=lfs merge=lfs -text
133
+ data/Neumann/SOL_N32_4c_all.npy filter=lfs diff=lfs merge=lfs -text
134
+
135
+ files_sha256.jsonl filter=lfs diff=lfs merge=lfs -text
136
+ data/Neumann/SOL_N32_mix_all.npy filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ #User-Defined Tags
4
+ tags:
5
+ - BENO
6
+ - CFD
7
+ - neural operator
8
+ language:
9
+ - en
10
+ - zh
11
+ ---
12
+ <p align="center">
13
+ <strong>
14
+ <span style="font-size: 30px;">BENO</span>
15
+ </strong>
16
+ </p>
17
+
18
+ ## Dataset Description
19
+
20
+ The BENO dataset originates from the ICLR 2024 paper *BENO: Boundary-Embedded Neural Operators for Elliptic PDEs* and is designed for solving elliptic partial differential equations under complex boundary conditions. The data contains random boundary geometries with four, three, two, one, or no corners, all standardized to a `32 x 32` grid resolution.
21
+
22
+ Paper: [BENO: Boundary-Embedded Neural Operators for Elliptic PDEs](https://proceedings.iclr.cc/paper_files/paper/2024/file/218ca0d92e6ed8f9db00621e103dc70c-Paper-Conference.pdf)
23
+
24
+ ## Supported Tasks
25
+
26
+ | Scenario | Description |
27
+ |---|---|
28
+ | Elliptic PDE solving | Predict the solution field from the boundary conditions and the right-hand side of the equation. |
29
+ | Boundary-condition research | Compare solution performance under Dirichlet and Neumann boundary conditions. |
30
+ | Geometry generalization evaluation | Evaluate model generalization across different random boundary shapes. |
31
+ | Neural operator research | Provide standardized training and evaluation data for operator models such as BENO. |
32
+
33
+ ## Dataset Format and Structure
34
+
35
+ The data is organized by boundary condition:
36
+
37
+ ```text
38
+ data/
39
+ Dirichlet/
40
+ Neumann/
41
+ ```
42
+
43
+ Each boundary-condition category contains the following six configurations: `N32_0c`, `N32_1c`, `N32_2c`, `N32_3c`, `N32_4c`, and `N32_mix`. Each configuration contains 1,000 `float64` samples:
44
+
45
+ | File | shape | Description |
46
+ |---|---|---|
47
+ | `BC_<prefix>_all.npy` | `[1000, 128, 4]` | Boundary coordinates, boundary values, and boundary features. |
48
+ | `RHS_<prefix>_all.npy` | `[1000, 1024, 4]` | Coordinates, source terms, and cell states on a 32×32 grid. |
49
+ | `SOL_<prefix>_all.npy` | `[1000, 1024, 1]` | Elliptic PDE solution fields. |
50
+
51
+ ## How to Use the Dataset
52
+
53
+ This dataset has been adapted for the `OneScience-Sugon/BENO` model. Download the dataset and model:
54
+
55
+ ```bash
56
+ hf download --dataset OneScience-Sugon/beno --local-dir ./data
57
+ ```
58
+
59
+ ## Official OneScience Information
60
+
61
+ | Platform | OneScience Main Repository | Skills Repository |
62
+ |---|---|---|
63
+ | Gitee | https://gitee.com/onescience-ai/onescience | https://gitee.com/onescience-ai/oneskills |
64
+ | GitHub | https://github.com/onescience-ai/OneScience | https://github.com/onescience-ai/oneskills |
65
+
66
+ ## Citation and License
67
+
68
+ - Original BENO paper: [BENO: Boundary-embedded Neural Operators for Elliptic PDEs](https://openreview.net/forum?id=ZZTkLDRmkg)
69
+ - This dataset has been organized and converted from the original BENO dataset. Its use must comply with the licensing requirements published by the original project.
README_zh.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ #用户自定义标签
4
+ tags:
5
+ - BENO
6
+ - CFD
7
+ - neural operator
8
+ language:
9
+ - en
10
+ - zh
11
+ ---
12
+ <p align="center">
13
+ <strong>
14
+ <span style="font-size: 30px;">BENO</span>
15
+ </strong>
16
+ </p>
17
+
18
+ ## 数据集描述
19
+
20
+ BENO 数据集来源于 ICLR 2024 论文 *BENO: Boundary-Embedded Neural Operators for Elliptic PDEs*,面向复杂边界条件下的椭圆型偏微分方程求解。数据包含四角、三角、两角、单角和无角等随机边界几何,并统一为 `32 x 32` 网格分辨率。
21
+
22
+ 论文:[BENO: Boundary-Embedded Neural Operators for Elliptic PDEs](https://proceedings.iclr.cc/paper_files/paper/2024/file/218ca0d92e6ed8f9db00621e103dc70c-Paper-Conference.pdf)
23
+
24
+ ## 数据集支持的任务
25
+
26
+ | 场景 | 说明 |
27
+ |---|---|
28
+ | 椭圆 PDE 求解 | 根据边界条件和方程右端项预测解场。 |
29
+ | 边界条件研究 | 比较 Dirichlet 和 Neumann 边界条件下的求解效果。 |
30
+ | 几何泛化评测 | 评估模型在不同随机边界形状上的泛化能力。 |
31
+ | 神经算子研究 | 为 BENO 等算子模型提供统一训练和评测数据。 |
32
+
33
+ ## 数据集的格式和结构
34
+
35
+ 数据按边界条件组织:
36
+
37
+ ```text
38
+ data/
39
+ Dirichlet/
40
+ Neumann/
41
+ ```
42
+
43
+ 每类边界条件包含以下六种配置:`N32_0c`、`N32_1c`、`N32_2c`、`N32_3c`、`N32_4c` 和 `N32_mix`。每种配置包含 1,000 个 `float64` 样本:
44
+
45
+ | 文件 | shape | 说明 |
46
+ |---|---|---|
47
+ | `BC_<prefix>_all.npy` | `[1000, 128, 4]` | 边界坐标、边界值及边界特征。 |
48
+ | `RHS_<prefix>_all.npy` | `[1000, 1024, 4]` | 32×32 网格上的坐标、源项和单元状态。 |
49
+ | `SOL_<prefix>_all.npy` | `[1000, 1024, 1]` | 椭圆 PDE 解场。 |
50
+
51
+ ## 数据集使用方式
52
+
53
+ 本数据集适配 `OneScience-Sugon/BENO` 模型。下载数据集和模型:
54
+
55
+ ```bash
56
+ hf download --dataset OneScience-Sugon/beno --local-dir ./data
57
+ ```
58
+
59
+ ## OneScience 官方信息
60
+
61
+ | 平台 | OneScience 主仓库 | Skills 仓库 |
62
+ |---|---|---|
63
+ | Gitee | https://gitee.com/onescience-ai/onescience | https://gitee.com/onescience-ai/oneskills |
64
+ | GitHub | https://github.com/onescience-ai/OneScience | https://github.com/onescience-ai/oneskills |
65
+
66
+ ## 引用与许可证
67
+
68
+ - BENO 原始论文:[BENO: Boundary-embedded Neural Operators for Elliptic PDEs](https://openreview.net/forum?id=ZZTkLDRmkg)
69
+ - 本数据集基于 BENO 原始数据集整理与转换,使用时应遵循原始项目公布的许可要求。
data/Dirichlet/BC_N32_0c_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ebebb5aa1287269a96df2e0eb1fe31357c8d6c15fa22dcd299c8fdc7909cce8
3
+ size 4096128
data/Dirichlet/BC_N32_1c_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25bf8759a6701455d869d815b93810acc7f0a4e38f789ec46cb9507adef71bc5
3
+ size 4096128
data/Dirichlet/BC_N32_2c_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c5cab2c7f70f611e62d7197ea9467cba2c71a8c33a677d6797da1fb5e6daafac
3
+ size 4096128
data/Dirichlet/BC_N32_3c_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ac44aaedf9469fdcdd55d17d8f7cf8fe0046933c88bfcbf33bd8dc8654879a6
3
+ size 4096128
data/Dirichlet/BC_N32_4c_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:abb4d054bd81944e2fe7002c2e54cfcf50c6639b85f8b1ce3309bbed8b02bdb0
3
+ size 4096128
data/Dirichlet/BC_N32_mix_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7997b2c8c4e5ad7883ba28552262ab9f1083d275cd6ca08ac302e03637e9cded
3
+ size 4096128
data/Dirichlet/RHS_N32_0c_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86f169000a6e4e839c5a52d6420207b8baab965a7ccceb7bc666054a0a8b459f
3
+ size 32768128
data/Dirichlet/RHS_N32_1c_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b18444360e37d053922ae421058dcb2550092d7a081c74ba9816a4e2d78cf60
3
+ size 32768128
data/Dirichlet/RHS_N32_2c_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed1c8809600751600252102dd765717c987477274a0676354ea9c07a318acac0
3
+ size 32768128
data/Dirichlet/RHS_N32_3c_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c584209efb512aab34ceb3573c5cda1fc0e15374dda1a6ac182081f67065d5e6
3
+ size 32768128
data/Dirichlet/RHS_N32_4c_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa6fbf290f7c4a20adf213039f338fc4515ba2270a4d3c6f8f9654a6cbc22619
3
+ size 32768128
data/Dirichlet/RHS_N32_mix_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dcc721e757bd24c82818b1b63064500c341cf068ab6a5c38a7cb741038eac176
3
+ size 32768128
data/Dirichlet/SOL_N32_0c_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f38c5d3c617eef071fb6b5696af1eebac7200fc84cf4f731f51bbf2d151e7a96
3
+ size 8192128
data/Dirichlet/SOL_N32_1c_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b112c13acbc27f0b0157b50d243f9c54674bfd0b6a97fd35fcd969e210cf3909
3
+ size 8192128
data/Dirichlet/SOL_N32_2c_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:feba1a4cb93f98e5e45e0071c39a78934cd16e3c589aef05c0d0ea036fc3ad11
3
+ size 8192128
data/Dirichlet/SOL_N32_3c_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0dc986d7ea26b08ebec9618332dc54ddc62da8a65e76cce458bdc23e58066fc1
3
+ size 8192128
data/Dirichlet/SOL_N32_4c_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51d43e6519824ddcdf8a49dc3da89cf82554018925bab7e5f5f5603dd6595e32
3
+ size 8192128
data/Dirichlet/SOL_N32_mix_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca2b407c937e913e17ef9b3239b7f217cd384c7a4229d2219148b0f0761a25ff
3
+ size 8192128
data/Neumann/BC_N32_0c_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:154670307db7e9cc5f6a013b847ee6127cd7ed05c54d13f7259e6145734a59d2
3
+ size 4096128
data/Neumann/BC_N32_1c_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c3db26ffe5842c0c658b96ac93a7480ebfe34c46bac031c8f0949223e82916b
3
+ size 4096128
data/Neumann/BC_N32_2c_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57bb7ec15d732273aab39ba7dc4cad2961870aec2e9f5069987d08d22452730a
3
+ size 4096128
data/Neumann/BC_N32_3c_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a1ea366ac50c4ee67cfa1d0173e0602e9f4befd6b61e97646c8435455902b7c5
3
+ size 4096128
data/Neumann/BC_N32_4c_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf3ec304e400e2acb2a9089a4db690faf84a94b01f8fa447dbcc3bd4c20aefef
3
+ size 4096128
data/Neumann/BC_N32_mix_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2a44d853cfe9ded1f2927ba565e8d2920999af0cd3931b4847d46882a21821d
3
+ size 4096128
data/Neumann/RHS_N32_0c_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0093616c6c53c0b8caa4602493e2ef73e0163dc8450e189a9aa688ebce176922
3
+ size 32768128
data/Neumann/RHS_N32_1c_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ef105ef55c4876450efbe0a6e18026842f8e17236cc5248b02b74c831719a55
3
+ size 32768128
data/Neumann/RHS_N32_2c_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c247e6e3454736c25b8b23ac38fab602a655067afda97a22079d3eee98abaa2d
3
+ size 32768128
data/Neumann/RHS_N32_3c_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:054aab9b0e7d2e631079a241af5120934f582dc2b23e025909610f9bb2efc2ad
3
+ size 32768128
data/Neumann/RHS_N32_4c_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3540e00c664cb30e8d69c24c38cc59d24e9aa6314f018a9dfa72b0c4f8b98e6
3
+ size 32768128
data/Neumann/RHS_N32_mix_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2141d8ab4ce6aa318c24a8179a75ff6617a5f604e1a2350c807da5b7e929a9e8
3
+ size 32768128
data/Neumann/SOL_N32_0c_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49fe2ed4c05aadd24a35c30af4b1d91f67429899e2b0c7f1c7b3814da74510b8
3
+ size 8192128
data/Neumann/SOL_N32_1c_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:27b076acbbbcf4ff94e6317a4d8ebc7a5c99eab3e9f5df86bb85ff26bdddc095
3
+ size 8192128
data/Neumann/SOL_N32_2c_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a180a8bd64457f796ce916b9e5577ce699a7873380fdec3f7eec911e29c7450
3
+ size 8192128
data/Neumann/SOL_N32_3c_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f7aa1bc8d84ec154f768b183f6284a219bc8d875e7688f3c8689bb3bef8108f0
3
+ size 8192128
data/Neumann/SOL_N32_4c_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7716bbbe37b8cc6da2f7f21232d32f03b22dbd74a7317b26e7df5ea0dfeae798
3
+ size 8192128
data/Neumann/SOL_N32_mix_all.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:373fadce389b3c5757ac80af81e32b6096216264ca3a2d12c0eadaa7ece05d2d
3
+ size 8192128
data_integrity_summary.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "checks": [
3
+ "relative_file_name",
4
+ "size_bytes",
5
+ "sha256"
6
+ ],
7
+ "file_count": 36,
8
+ "mismatch_count": 0,
9
+ "mismatches": [],
10
+ "source_root": "cfd_dataset/BENO/data",
11
+ "standardized_root": "modelscope_standardized/dataset/cfd_beno/data",
12
+ "total_size_bytes": 540676608
13
+ }
dataset_infos.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"default": {"features": {"checks": {"_type": "Value"}, "file_count": {"_type": "Value"}, "mismatch_count": {"_type": "Value"}, "mismatches": {"_type": "Value"}, "source_root": {"_type": "Value"}, "standardized_root": {"_type": "Value"}, "total_size_bytes": {"_type": "Value"}}, "splits": {"train": {"name": "train", "dataset_name": "beno"}}}}
files_sha256.jsonl ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"path": "data/Dirichlet/BC_N32_0c_all.npy", "sha256": "1ebebb5aa1287269a96df2e0eb1fe31357c8d6c15fa22dcd299c8fdc7909cce8", "size": 4096128, "source_path": "cfd_dataset/BENO/data/Dirichlet/BC_N32_0c_all.npy"}
2
+ {"path": "data/Dirichlet/BC_N32_1c_all.npy", "sha256": "25bf8759a6701455d869d815b93810acc7f0a4e38f789ec46cb9507adef71bc5", "size": 4096128, "source_path": "cfd_dataset/BENO/data/Dirichlet/BC_N32_1c_all.npy"}
3
+ {"path": "data/Dirichlet/BC_N32_2c_all.npy", "sha256": "c5cab2c7f70f611e62d7197ea9467cba2c71a8c33a677d6797da1fb5e6daafac", "size": 4096128, "source_path": "cfd_dataset/BENO/data/Dirichlet/BC_N32_2c_all.npy"}
4
+ {"path": "data/Dirichlet/BC_N32_3c_all.npy", "sha256": "4ac44aaedf9469fdcdd55d17d8f7cf8fe0046933c88bfcbf33bd8dc8654879a6", "size": 4096128, "source_path": "cfd_dataset/BENO/data/Dirichlet/BC_N32_3c_all.npy"}
5
+ {"path": "data/Dirichlet/BC_N32_4c_all.npy", "sha256": "abb4d054bd81944e2fe7002c2e54cfcf50c6639b85f8b1ce3309bbed8b02bdb0", "size": 4096128, "source_path": "cfd_dataset/BENO/data/Dirichlet/BC_N32_4c_all.npy"}
6
+ {"path": "data/Dirichlet/BC_N32_mix_all.npy", "sha256": "7997b2c8c4e5ad7883ba28552262ab9f1083d275cd6ca08ac302e03637e9cded", "size": 4096128, "source_path": "cfd_dataset/BENO/data/Dirichlet/BC_N32_mix_all.npy"}
7
+ {"path": "data/Dirichlet/RHS_N32_0c_all.npy", "sha256": "86f169000a6e4e839c5a52d6420207b8baab965a7ccceb7bc666054a0a8b459f", "size": 32768128, "source_path": "cfd_dataset/BENO/data/Dirichlet/RHS_N32_0c_all.npy"}
8
+ {"path": "data/Dirichlet/RHS_N32_1c_all.npy", "sha256": "7b18444360e37d053922ae421058dcb2550092d7a081c74ba9816a4e2d78cf60", "size": 32768128, "source_path": "cfd_dataset/BENO/data/Dirichlet/RHS_N32_1c_all.npy"}
9
+ {"path": "data/Dirichlet/RHS_N32_2c_all.npy", "sha256": "ed1c8809600751600252102dd765717c987477274a0676354ea9c07a318acac0", "size": 32768128, "source_path": "cfd_dataset/BENO/data/Dirichlet/RHS_N32_2c_all.npy"}
10
+ {"path": "data/Dirichlet/RHS_N32_3c_all.npy", "sha256": "c584209efb512aab34ceb3573c5cda1fc0e15374dda1a6ac182081f67065d5e6", "size": 32768128, "source_path": "cfd_dataset/BENO/data/Dirichlet/RHS_N32_3c_all.npy"}
11
+ {"path": "data/Dirichlet/RHS_N32_4c_all.npy", "sha256": "fa6fbf290f7c4a20adf213039f338fc4515ba2270a4d3c6f8f9654a6cbc22619", "size": 32768128, "source_path": "cfd_dataset/BENO/data/Dirichlet/RHS_N32_4c_all.npy"}
12
+ {"path": "data/Dirichlet/RHS_N32_mix_all.npy", "sha256": "dcc721e757bd24c82818b1b63064500c341cf068ab6a5c38a7cb741038eac176", "size": 32768128, "source_path": "cfd_dataset/BENO/data/Dirichlet/RHS_N32_mix_all.npy"}
13
+ {"path": "data/Dirichlet/SOL_N32_0c_all.npy", "sha256": "f38c5d3c617eef071fb6b5696af1eebac7200fc84cf4f731f51bbf2d151e7a96", "size": 8192128, "source_path": "cfd_dataset/BENO/data/Dirichlet/SOL_N32_0c_all.npy"}
14
+ {"path": "data/Dirichlet/SOL_N32_1c_all.npy", "sha256": "b112c13acbc27f0b0157b50d243f9c54674bfd0b6a97fd35fcd969e210cf3909", "size": 8192128, "source_path": "cfd_dataset/BENO/data/Dirichlet/SOL_N32_1c_all.npy"}
15
+ {"path": "data/Dirichlet/SOL_N32_2c_all.npy", "sha256": "feba1a4cb93f98e5e45e0071c39a78934cd16e3c589aef05c0d0ea036fc3ad11", "size": 8192128, "source_path": "cfd_dataset/BENO/data/Dirichlet/SOL_N32_2c_all.npy"}
16
+ {"path": "data/Dirichlet/SOL_N32_3c_all.npy", "sha256": "0dc986d7ea26b08ebec9618332dc54ddc62da8a65e76cce458bdc23e58066fc1", "size": 8192128, "source_path": "cfd_dataset/BENO/data/Dirichlet/SOL_N32_3c_all.npy"}
17
+ {"path": "data/Dirichlet/SOL_N32_4c_all.npy", "sha256": "51d43e6519824ddcdf8a49dc3da89cf82554018925bab7e5f5f5603dd6595e32", "size": 8192128, "source_path": "cfd_dataset/BENO/data/Dirichlet/SOL_N32_4c_all.npy"}
18
+ {"path": "data/Dirichlet/SOL_N32_mix_all.npy", "sha256": "ca2b407c937e913e17ef9b3239b7f217cd384c7a4229d2219148b0f0761a25ff", "size": 8192128, "source_path": "cfd_dataset/BENO/data/Dirichlet/SOL_N32_mix_all.npy"}
19
+ {"path": "data/Neumann/BC_N32_0c_all.npy", "sha256": "154670307db7e9cc5f6a013b847ee6127cd7ed05c54d13f7259e6145734a59d2", "size": 4096128, "source_path": "cfd_dataset/BENO/data/Neumann/BC_N32_0c_all.npy"}
20
+ {"path": "data/Neumann/BC_N32_1c_all.npy", "sha256": "8c3db26ffe5842c0c658b96ac93a7480ebfe34c46bac031c8f0949223e82916b", "size": 4096128, "source_path": "cfd_dataset/BENO/data/Neumann/BC_N32_1c_all.npy"}
21
+ {"path": "data/Neumann/BC_N32_2c_all.npy", "sha256": "57bb7ec15d732273aab39ba7dc4cad2961870aec2e9f5069987d08d22452730a", "size": 4096128, "source_path": "cfd_dataset/BENO/data/Neumann/BC_N32_2c_all.npy"}
22
+ {"path": "data/Neumann/BC_N32_3c_all.npy", "sha256": "a1ea366ac50c4ee67cfa1d0173e0602e9f4befd6b61e97646c8435455902b7c5", "size": 4096128, "source_path": "cfd_dataset/BENO/data/Neumann/BC_N32_3c_all.npy"}
23
+ {"path": "data/Neumann/BC_N32_4c_all.npy", "sha256": "bf3ec304e400e2acb2a9089a4db690faf84a94b01f8fa447dbcc3bd4c20aefef", "size": 4096128, "source_path": "cfd_dataset/BENO/data/Neumann/BC_N32_4c_all.npy"}
24
+ {"path": "data/Neumann/BC_N32_mix_all.npy", "sha256": "c2a44d853cfe9ded1f2927ba565e8d2920999af0cd3931b4847d46882a21821d", "size": 4096128, "source_path": "cfd_dataset/BENO/data/Neumann/BC_N32_mix_all.npy"}
25
+ {"path": "data/Neumann/RHS_N32_0c_all.npy", "sha256": "0093616c6c53c0b8caa4602493e2ef73e0163dc8450e189a9aa688ebce176922", "size": 32768128, "source_path": "cfd_dataset/BENO/data/Neumann/RHS_N32_0c_all.npy"}
26
+ {"path": "data/Neumann/RHS_N32_1c_all.npy", "sha256": "3ef105ef55c4876450efbe0a6e18026842f8e17236cc5248b02b74c831719a55", "size": 32768128, "source_path": "cfd_dataset/BENO/data/Neumann/RHS_N32_1c_all.npy"}
27
+ {"path": "data/Neumann/RHS_N32_2c_all.npy", "sha256": "c247e6e3454736c25b8b23ac38fab602a655067afda97a22079d3eee98abaa2d", "size": 32768128, "source_path": "cfd_dataset/BENO/data/Neumann/RHS_N32_2c_all.npy"}
28
+ {"path": "data/Neumann/RHS_N32_3c_all.npy", "sha256": "054aab9b0e7d2e631079a241af5120934f582dc2b23e025909610f9bb2efc2ad", "size": 32768128, "source_path": "cfd_dataset/BENO/data/Neumann/RHS_N32_3c_all.npy"}
29
+ {"path": "data/Neumann/RHS_N32_4c_all.npy", "sha256": "c3540e00c664cb30e8d69c24c38cc59d24e9aa6314f018a9dfa72b0c4f8b98e6", "size": 32768128, "source_path": "cfd_dataset/BENO/data/Neumann/RHS_N32_4c_all.npy"}
30
+ {"path": "data/Neumann/RHS_N32_mix_all.npy", "sha256": "2141d8ab4ce6aa318c24a8179a75ff6617a5f604e1a2350c807da5b7e929a9e8", "size": 32768128, "source_path": "cfd_dataset/BENO/data/Neumann/RHS_N32_mix_all.npy"}
31
+ {"path": "data/Neumann/SOL_N32_0c_all.npy", "sha256": "49fe2ed4c05aadd24a35c30af4b1d91f67429899e2b0c7f1c7b3814da74510b8", "size": 8192128, "source_path": "cfd_dataset/BENO/data/Neumann/SOL_N32_0c_all.npy"}
32
+ {"path": "data/Neumann/SOL_N32_1c_all.npy", "sha256": "27b076acbbbcf4ff94e6317a4d8ebc7a5c99eab3e9f5df86bb85ff26bdddc095", "size": 8192128, "source_path": "cfd_dataset/BENO/data/Neumann/SOL_N32_1c_all.npy"}
33
+ {"path": "data/Neumann/SOL_N32_2c_all.npy", "sha256": "3a180a8bd64457f796ce916b9e5577ce699a7873380fdec3f7eec911e29c7450", "size": 8192128, "source_path": "cfd_dataset/BENO/data/Neumann/SOL_N32_2c_all.npy"}
34
+ {"path": "data/Neumann/SOL_N32_3c_all.npy", "sha256": "f7aa1bc8d84ec154f768b183f6284a219bc8d875e7688f3c8689bb3bef8108f0", "size": 8192128, "source_path": "cfd_dataset/BENO/data/Neumann/SOL_N32_3c_all.npy"}
35
+ {"path": "data/Neumann/SOL_N32_4c_all.npy", "sha256": "7716bbbe37b8cc6da2f7f21232d32f03b22dbd74a7317b26e7df5ea0dfeae798", "size": 8192128, "source_path": "cfd_dataset/BENO/data/Neumann/SOL_N32_4c_all.npy"}
36
+ {"path": "data/Neumann/SOL_N32_mix_all.npy", "sha256": "373fadce389b3c5757ac80af81e32b6096216264ca3a2d12c0eadaa7ece05d2d", "size": 8192128, "source_path": "cfd_dataset/BENO/data/Neumann/SOL_N32_mix_all.npy"}
metadata/beno_schema.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": "BENO",
3
+ "format": "npy",
4
+ "boundary_types": ["Dirichlet", "Neumann"],
5
+ "prefixes": ["N32_0c", "N32_1c", "N32_2c", "N32_3c", "N32_4c", "N32_mix"],
6
+ "files": {
7
+ "BC_<prefix>_all.npy": {
8
+ "shape": [1000, 128, 4],
9
+ "dtype": "float64",
10
+ "description_zh": "边界坐标、边界值和边界相关特征;当前 OneScience BENO datapipe 使用通道 0:2 和通道 2,通道 3 在原始数据中为 NaN 占位"
11
+ },
12
+ "RHS_<prefix>_all.npy": {
13
+ "shape": [1000, 1024, 4],
14
+ "dtype": "float64",
15
+ "description_zh": "32x32 网格上的坐标、源项和单元状态"
16
+ },
17
+ "SOL_<prefix>_all.npy": {
18
+ "shape": [1000, 1024, 1],
19
+ "dtype": "float64",
20
+ "description_zh": "椭圆 PDE 解场"
21
+ }
22
+ },
23
+ "default_model_subset": {
24
+ "boundary_type": "Dirichlet",
25
+ "prefix": "N32_4c",
26
+ "train_samples": 900,
27
+ "test_samples": 100
28
+ }
29
+ }
onescience_run_manifest.yaml ADDED
@@ -0,0 +1,377 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ onescience_manifest_version: "0.1"
2
+ resource_type: dataset
3
+
4
+ resource:
5
+ id: OneScience/beno
6
+ name: beno
7
+ domain: cfd
8
+ domain_tags:
9
+ - cfd
10
+ - elliptic_pde
11
+ - boundary_condition
12
+ task: elliptic_pde_surrogate_dataset
13
+ task_tags:
14
+ - train_data
15
+ - eval_data
16
+ - inference_input
17
+ - dataset_validation
18
+ modalities:
19
+ - gridded_field
20
+ - boundary_condition
21
+ input_formats:
22
+ - npy
23
+ output_formats:
24
+ - npy
25
+ summary: BENO 椭圆 PDE 数据集,包含 Dirichlet 和 Neumann 边界下的 32x32 网格 RHS、SOL、BC NPY 文件。
26
+
27
+ platform_resource:
28
+ primary:
29
+ platform: modelscope
30
+ repo_id: OneScience/beno
31
+ repo_type: dataset
32
+ url: https://modelscope.cn/datasets/OneScience/beno
33
+ revision: main
34
+ readme_path: README.md
35
+ manifest_path: onescience_run_manifest.yaml
36
+ mirrors: []
37
+ access:
38
+ visibility: public
39
+ license: unknown
40
+
41
+ website_integration:
42
+ enabled: true
43
+ click_target:
44
+ platform: modelscope
45
+ resource_url: https://modelscope.cn/datasets/OneScience/beno
46
+ llm_handoff:
47
+ readme_required: true
48
+ manifest_required: true
49
+ download_readme_first: true
50
+ resolve_related_models: true
51
+ default_run_goal: dataset_validation
52
+ cwd_note: 如果使用 modelscope download --cache_dir 下载数据集,请先 cd 到实际下载后的数据集仓库根目录;模型侧将 ONESCIENCE_BENO_DATA_DIR 指向本仓库 data 目录。
53
+
54
+ runtime:
55
+ enabled: true
56
+ onescience_domain: cfd
57
+ min_onescience_version: null
58
+ supported_execution:
59
+ - local_dataset_validation
60
+ - model_training_input
61
+ - model_inference_input
62
+ environment:
63
+ exported_env:
64
+ ONESCIENCE_BENO_DATA_DIR: <dataset_repo_root>/data
65
+ dependencies:
66
+ python: ">=3.10"
67
+ python_packages:
68
+ - numpy
69
+ - pyyaml
70
+
71
+ onescience:
72
+ repo: https://gitee.com/onescience-ai/onescience
73
+ official_links:
74
+ gitee:
75
+ doc: https://gitee.com/onescience-ai/onescience-doc
76
+ onescience: https://gitee.com/onescience-ai/onescience
77
+ skills: https://gitee.com/onescience-ai/oneskills
78
+ github:
79
+ doc: https://github.com/onescience-ai/OneScience-doc
80
+ onescience: https://github.com/onescience-ai/OneScience
81
+ skills: https://github.com/onescience-ai/oneskills
82
+ install:
83
+ required_by_default: false
84
+ command: bash install.sh cfd
85
+ source_paths:
86
+ - onescience/src/onescience/datapipes/cfd/beno.py
87
+ compatibility:
88
+ examples_path: onescience/examples/cfd/BENO
89
+ status: examples_compatible
90
+ datapipe: onescience.datapipes.cfd.BENODatapipe
91
+
92
+ runtime_package:
93
+ kind: standard_runtime_package
94
+ package_root: .
95
+ standard_layout:
96
+ workdir: .
97
+ data_dir: data
98
+ metadata_dir: metadata
99
+ output_dir: validation_outputs
100
+ apply_policy:
101
+ mode: direct_use
102
+ target: session_workdir
103
+ overwrite: false
104
+ protect_installed_onescience: true
105
+ entry_files:
106
+ - data/Dirichlet/RHS_N32_4c_all.npy
107
+ - data/Dirichlet/SOL_N32_4c_all.npy
108
+ - data/Dirichlet/BC_N32_4c_all.npy
109
+ - metadata/beno_schema.json
110
+ - scripts/validate_beno_dataset.py
111
+ - files_sha256.jsonl
112
+ entrypoints:
113
+ preflight: scripts/validate_beno_dataset.py
114
+ validate: scripts/validate_beno_dataset.py
115
+ inference: null
116
+ train: null
117
+ finetune: null
118
+ evaluate: null
119
+ visualize: null
120
+ deploy: null
121
+
122
+ files:
123
+ model_files: []
124
+ dataset_files:
125
+ - path: data/Dirichlet/*.npy
126
+ role: train_eval_inference_data
127
+ description_zh: Dirichlet 边界条件下的 BENO NPY 数据文件,包含 RHS、SOL、BC 三类数组和 6 个几何前缀。
128
+ required: true
129
+ required_for: [dataset_validation, train, inference, evaluate]
130
+ source:
131
+ platform: modelscope
132
+ repo_id: OneScience/beno
133
+ repo_type: dataset
134
+ download_method: command_ref
135
+ command_ref: commands.download.download_dataset
136
+ local_path: data/Dirichlet
137
+ - path: data/Neumann/*.npy
138
+ role: additional_boundary_data
139
+ description_zh: Neumann 边界条件下的 BENO NPY 数据文件,可用于扩展训练或对比实验。
140
+ required: true
141
+ required_for: [dataset_validation]
142
+ source:
143
+ platform: modelscope
144
+ repo_id: OneScience/beno
145
+ repo_type: dataset
146
+ download_method: command_ref
147
+ command_ref: commands.download.download_dataset
148
+ local_path: data/Neumann
149
+ - path: files_sha256.jsonl
150
+ role: file_size_sha256_inventory
151
+ description_zh: 整理后数据文件的大小和 SHA256 清单,用于完整性校验。
152
+ required: true
153
+ required_for: [dataset_validation]
154
+ source:
155
+ platform: modelscope
156
+ repo_id: OneScience/beno
157
+ repo_type: dataset
158
+ download_method: command_ref
159
+ command_ref: commands.download.download_dataset
160
+ local_path: files_sha256.jsonl
161
+ - path: data_integrity_summary.json
162
+ role: source_to_standardized_integrity_summary
163
+ description_zh: 原始数据与整理后数据的文件名、大小、SHA256 对照摘要。
164
+ required: true
165
+ required_for: [dataset_validation]
166
+ source:
167
+ platform: modelscope
168
+ repo_id: OneScience/beno
169
+ repo_type: dataset
170
+ download_method: command_ref
171
+ command_ref: commands.download.download_dataset
172
+ local_path: data_integrity_summary.json
173
+ config_files:
174
+ - path: metadata/beno_schema.json
175
+ role: dataset_schema
176
+ description_zh: 描述 BENO 数据文件命名、shape、dtype 和默认模型子集。
177
+ required: true
178
+ required_for: [dataset_validation, train, inference]
179
+ source:
180
+ platform: modelscope
181
+ repo_id: OneScience/beno
182
+ repo_type: dataset
183
+ download_method: command_ref
184
+ command_ref: commands.download.download_dataset
185
+ local_path: metadata/beno_schema.json
186
+ sample_files:
187
+ - path: scripts/validate_beno_dataset.py
188
+ role: dataset_validation_entry
189
+ description_zh: 数据集读取验证脚本,检查文件结构、shape、dtype、可读性、统计清单和可选 SHA256。
190
+ required: true
191
+ required_for: [dataset_validation]
192
+ source:
193
+ platform: modelscope
194
+ repo_id: OneScience/beno
195
+ repo_type: dataset
196
+ download_method: command_ref
197
+ command_ref: commands.download.download_dataset
198
+ local_path: scripts/validate_beno_dataset.py
199
+
200
+ relations:
201
+ required_datasets: []
202
+ optional_datasets: []
203
+ compatible_models:
204
+ - id: OneScience/BENO
205
+ role: train_data
206
+ required_for: [train, inference, evaluate, visualize]
207
+ resource_ref:
208
+ platform: modelscope
209
+ repo_id: OneScience/BENO
210
+ repo_type: model
211
+ url: https://modelscope.cn/models/OneScience/BENO
212
+ revision: main
213
+ readme_path: README.md
214
+ manifest_path: onescience_run_manifest.yaml
215
+ expected_local_path: session_workdir/data
216
+ expected_env: ONESCIENCE_BENO_DATA_DIR
217
+
218
+ run_matrix:
219
+ scenarios:
220
+ - name: validate_structure
221
+ capability: dataset_validation
222
+ default: true
223
+ required_datasets:
224
+ - id: OneScience/beno
225
+ role: train_data
226
+ local_path: data
227
+ required_model_files: []
228
+ required_dataset_files:
229
+ - data/Dirichlet/*.npy
230
+ - data/Neumann/*.npy
231
+ - metadata/beno_schema.json
232
+ preconditions:
233
+ - 当前工作目录为数据集仓库根目录。
234
+ command_refs:
235
+ - commands.preflight.validate_dataset
236
+ outputs:
237
+ - 控制台输出 [OK] dataset validation completed
238
+ - name: validate_integrity_full_hash
239
+ capability: dataset_validation
240
+ default: false
241
+ required_datasets:
242
+ - id: OneScience/beno
243
+ role: train_data
244
+ local_path: data
245
+ required_model_files: []
246
+ required_dataset_files:
247
+ - files_sha256.jsonl
248
+ - data/Dirichlet/*.npy
249
+ - data/Neumann/*.npy
250
+ preconditions:
251
+ - 当前工作目录为数据集仓库根目录。
252
+ command_refs:
253
+ - commands.preflight.validate_dataset_full_hash
254
+ outputs:
255
+ - 控制台输出 checksum manifest verified in size+sha256 mode
256
+ - name: provide_to_beno_model
257
+ capability: train
258
+ default: true
259
+ required_datasets:
260
+ - id: OneScience/beno
261
+ role: train_data
262
+ local_path: data
263
+ required_model_files:
264
+ - OneScience/BENO:conf/beno.yaml
265
+ required_dataset_files:
266
+ - data/Dirichlet/RHS_N32_4c_all.npy
267
+ - data/Dirichlet/SOL_N32_4c_all.npy
268
+ - data/Dirichlet/BC_N32_4c_all.npy
269
+ preconditions:
270
+ - 模型仓库 OneScience/BENO 已下载。
271
+ - 设置 ONESCIENCE_BENO_DATA_DIR 为本仓库 data 目录。
272
+ command_refs:
273
+ - commands.prepare.export_dataset_env
274
+ outputs:
275
+ - 模型侧 scripts/preflight_check.py 可以读取数据集。
276
+
277
+ capabilities:
278
+ dataset_validation: true
279
+ train_input: true
280
+ inference_input: true
281
+ evaluation_input: true
282
+ visualization_input: true
283
+ preflight: true
284
+ inference: false
285
+ train: false
286
+ finetune: false
287
+ evaluate: false
288
+ visualize: false
289
+ deploy: false
290
+
291
+ commands:
292
+ download:
293
+ - name: download_dataset
294
+ command: modelscope download --dataset OneScience/beno
295
+ cwd: session_workdir
296
+ - name: download_model
297
+ command: modelscope download --model OneScience/BENO
298
+ cwd: session_workdir
299
+ prepare:
300
+ - name: export_dataset_env
301
+ command: export ONESCIENCE_BENO_DATA_DIR=/path/to/OneScience_beno/data
302
+ cwd: .
303
+ preflight:
304
+ - name: validate_dataset
305
+ command: python scripts/validate_beno_dataset.py
306
+ cwd: .
307
+ - name: validate_dataset_full_hash
308
+ command: python scripts/validate_beno_dataset.py --full-hash
309
+ cwd: .
310
+ inference: []
311
+ train: []
312
+ finetune: []
313
+ evaluate: []
314
+ visualize: []
315
+ deploy: []
316
+
317
+ expected_outputs:
318
+ - name: validate_dataset
319
+ paths: []
320
+ success_criteria:
321
+ - 控制台输出 [OK] dataset validation completed
322
+ - name: validate_dataset_full_hash
323
+ paths:
324
+ - files_sha256.jsonl
325
+ success_criteria:
326
+ - 控制台输出 checksum manifest verified in size+sha256 mode: 36 files
327
+ - name: model_consumption
328
+ paths: []
329
+ success_criteria:
330
+ - 模型包 scripts/preflight_check.py 通过数据路径和 schema 检查。
331
+
332
+ diagnostics:
333
+ - name: missing_data_root
334
+ symptom: dataset data root does not exist
335
+ action: 确认当前目录为 OneScience/beno 数据集仓库根目录,且 data 目录存在。
336
+ - name: missing_npy
337
+ symptom: missing required NPY files
338
+ action: 对照 files_sha256.jsonl 重新上传或重新下载缺失文件。
339
+ - name: shape_mismatch
340
+ symptom: shape mismatch 或 dtype mismatch
341
+ action: 确认没有用其他分辨率或其他 BENO 数据覆盖当前文件。
342
+ - name: checksum_mismatch
343
+ symptom: sha256 mismatch
344
+ action: 删除损坏文件后重新下载 OneScience/beno。
345
+ - name: model_cannot_find_data
346
+ symptom: 模型侧报告 ONESCIENCE_BENO_DATA_DIR is not set 或 Data file not found
347
+ action: 将 ONESCIENCE_BENO_DATA_DIR 设置为本仓库 data 目录,而不是仓库根目录或 data/Dirichlet。
348
+
349
+ domain_extension:
350
+ cfd:
351
+ dataset_family: BENO
352
+ physics: elliptic partial differential equation
353
+ boundary_types:
354
+ - Dirichlet
355
+ - Neumann
356
+ prefixes:
357
+ - N32_0c
358
+ - N32_1c
359
+ - N32_2c
360
+ - N32_3c
361
+ - N32_4c
362
+ - N32_mix
363
+ file_count: 36
364
+ total_size_bytes: 540676608
365
+ resolution: 32
366
+ samples_per_file: 1000
367
+ schema:
368
+ BC:
369
+ shape: [1000, 128, 4]
370
+ dtype: float64
371
+ note: 当前 OneScience BENO datapipe 使用通道 0:2 和通道 2;通道 3 在原始数据中为 NaN 占位,验证脚本会记录警告但不视为损坏。
372
+ RHS:
373
+ shape: [1000, 1024, 4]
374
+ dtype: float64
375
+ SOL:
376
+ shape: [1000, 1024, 1]
377
+ dtype: float64
scripts/validate_beno_dataset.py ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Validate the standardized BENO dataset package."""
3
+
4
+ from __future__ import annotations
5
+
6
+ import argparse
7
+ import hashlib
8
+ import json
9
+ import sys
10
+ from pathlib import Path
11
+
12
+ import numpy as np
13
+
14
+
15
+ REPO_ROOT = Path(__file__).resolve().parents[1]
16
+ DATA_ROOT = REPO_ROOT / "data"
17
+ CHECKSUM_PATH = REPO_ROOT / "files_sha256.jsonl"
18
+ BOUNDARIES = ("Dirichlet", "Neumann")
19
+ PREFIXES = ("N32_0c", "N32_1c", "N32_2c", "N32_3c", "N32_4c", "N32_mix")
20
+ KINDS = ("BC", "RHS", "SOL")
21
+ EXPECTED_SHAPES = {
22
+ "BC": (1000, 128, 4),
23
+ "RHS": (1000, 1024, 4),
24
+ "SOL": (1000, 1024, 1),
25
+ }
26
+
27
+
28
+ def fail(message: str) -> None:
29
+ print(f"[FAIL] {message}")
30
+ raise SystemExit(1)
31
+
32
+
33
+ def ok(message: str) -> None:
34
+ print(f"[OK] {message}")
35
+
36
+
37
+ def warn(message: str) -> None:
38
+ print(f"[WARN] {message}")
39
+
40
+
41
+ def sha256_file(path: Path) -> str:
42
+ digest = hashlib.sha256()
43
+ with path.open("rb") as handle:
44
+ for chunk in iter(lambda: handle.read(1024 * 1024), b""):
45
+ digest.update(chunk)
46
+ return digest.hexdigest()
47
+
48
+
49
+ def expected_files() -> list[Path]:
50
+ return [
51
+ DATA_ROOT / boundary / f"{kind}_{prefix}_all.npy"
52
+ for boundary in BOUNDARIES
53
+ for prefix in PREFIXES
54
+ for kind in KINDS
55
+ ]
56
+
57
+
58
+ def validate_structure() -> None:
59
+ if not DATA_ROOT.is_dir():
60
+ fail(f"dataset data root does not exist: {DATA_ROOT}")
61
+ missing = [str(path.relative_to(REPO_ROOT)) for path in expected_files() if not path.is_file()]
62
+ if missing:
63
+ fail("missing required NPY files: " + "; ".join(missing[:10]))
64
+ actual = sorted(path for path in DATA_ROOT.glob("*/*.npy"))
65
+ expected = sorted(expected_files())
66
+ if [p.relative_to(REPO_ROOT) for p in actual] != [p.relative_to(REPO_ROOT) for p in expected]:
67
+ fail(f"unexpected NPY file set: expected {len(expected)}, got {len(actual)}")
68
+ ok("dataset file names and directory layout are valid")
69
+
70
+
71
+ def validate_arrays(sample_values: bool) -> None:
72
+ for path in expected_files():
73
+ kind = path.name.split("_", 1)[0]
74
+ arr = np.load(path, mmap_mode="r")
75
+ if tuple(arr.shape) != EXPECTED_SHAPES[kind]:
76
+ fail(f"{path.relative_to(REPO_ROOT)} shape mismatch: expected {EXPECTED_SHAPES[kind]}, got {tuple(arr.shape)}")
77
+ if arr.dtype != np.float64:
78
+ fail(f"{path.relative_to(REPO_ROOT)} dtype mismatch: expected float64, got {arr.dtype}")
79
+ if sample_values:
80
+ probe = np.asarray(arr[0])
81
+ if kind == "BC":
82
+ required_channels = probe[:, :3]
83
+ if not np.isfinite(required_channels).all():
84
+ fail(f"{path.relative_to(REPO_ROOT)} contains non-finite values in BC channels 0:3")
85
+ optional_channel = probe[:, 3]
86
+ nonfinite = optional_channel.size - int(np.isfinite(optional_channel).sum())
87
+ if nonfinite:
88
+ warn(f"{path.relative_to(REPO_ROOT)} BC channel 3 contains {nonfinite} non-finite placeholder values in first sample")
89
+ elif not np.isfinite(probe).all():
90
+ fail(f"{path.relative_to(REPO_ROOT)} contains non-finite values in first sample")
91
+ ok("dataset NPY files are readable and match expected shape/dtype")
92
+
93
+
94
+ def verify_checksums(full_hash: bool) -> None:
95
+ if not CHECKSUM_PATH.exists():
96
+ warn(f"checksum manifest is not present: {CHECKSUM_PATH}")
97
+ return
98
+ records = []
99
+ for line in CHECKSUM_PATH.read_text(encoding="utf-8").splitlines():
100
+ if line.strip():
101
+ records.append(json.loads(line))
102
+ if len(records) != 36:
103
+ fail(f"checksum manifest must contain 36 records, got {len(records)}")
104
+ for record in records:
105
+ path = REPO_ROOT / record["path"]
106
+ if not path.is_file():
107
+ fail(f"checksum entry points to missing file: {path}")
108
+ size = path.stat().st_size
109
+ if size != record["size"]:
110
+ fail(f"size mismatch for {path}: expected {record['size']}, got {size}")
111
+ if full_hash:
112
+ digest = sha256_file(path)
113
+ if digest != record["sha256"]:
114
+ fail(f"sha256 mismatch for {path}")
115
+ mode = "size+sha256" if full_hash else "size"
116
+ ok(f"checksum manifest verified in {mode} mode: {len(records)} files")
117
+
118
+
119
+ def main() -> int:
120
+ parser = argparse.ArgumentParser()
121
+ parser.add_argument("--full-hash", action="store_true")
122
+ parser.add_argument("--skip-value-sample", action="store_true")
123
+ args = parser.parse_args()
124
+ validate_structure()
125
+ validate_arrays(sample_values=not args.skip_value_sample)
126
+ verify_checksums(full_hash=args.full_hash)
127
+ ok("dataset validation completed")
128
+ return 0
129
+
130
+
131
+ if __name__ == "__main__":
132
+ sys.exit(main())