--- language: - en - zh configs: - config_name: default data_files: - split: train path: main/*.parquet - config_name: failed data_files: - split: train path: failed/*.parquet --- # SII Stellarator Configuration Dataset: Consolidated Format Schema version: `stellarator-1.1`. This card describes the new offline export, not a claim that the existing Hugging Face dataset has already been replaced. See `report.json` for this particular export's actual counts and `inventory.json` for its source file inventory. Upload and source-license review are separate steps. ## One Row, One Configuration The primary data is `main/*.parquet`. It includes successful evaluations even when physical constraints are violated, plus explicitly labelled unknown-status partial evaluations. `failed/*.parquet` contains explicit solver failures with identifiable boundaries. These are not train/test splits. The HF `train` label above is only a loader convention; no evaluation holdout has been defined. Identical NFP and numerical Fourier coefficients produce one record across both groups. Prefer successful over unknown over failed status, then more finite metrics, then deterministic source ordering. Repeated evaluations are not kept as separate samples. A selected row is kept whole; missing fields are never filled from a different evaluation of the same boundary. ## Boundary | Column | Type | Meaning | | --- | --- | --- | | `configuration_id` | string | SHA-256 of canonical NFP, mode grid and float64 coefficients | | `schema_version` | string | `stellarator-1.1` | | `boundary.n_field_periods` | int64 | Positive integer NFP; different NFP means different configuration | | `boundary.r_cos` | list[list[float64]] | Radial cosine coefficients; usually 5 by 9 | | `boundary.z_sin` | list[list[float64]] | Vertical sine coefficients; same shape as r_cos | For shape `(M, 2N+1)`, rows are poloidal modes `m=0..M-1` and columns are toroidal indices `n=-N..N`. Standard records use 5 by 9; DP also uses 8 by 15. `r_cos[0, n<0]` and `z_sin[0, n<=0]` must be zero under the source convention. Only stellarator-symmetric boundaries are represented; nonzero `r_sin` or `z_cos` are rejected, not discarded silently. Coefficients are never rescaled by major radius or standardized as model features. Recognized smaller centered odd-width arrays are padded to at least 5 by 9; larger arrays retain every coefficient, with a `higher_fourier_modes_preserved` flag. Flat length-45 arrays are reshaped row-major. Negative zero becomes zero. All other float64 values are retained exactly, with no tolerance/rounding. For the standard 5-by-9 grid, the ID hashes little-endian signed int64 NFP followed by float64 values in row-major `r_cos`, then row-major `z_sin` order (`struct.pack('`. Unknown iota convention must not be treated as proof that its sign was preserved. Metric completeness does not establish fidelity or physical feasibility. `higher_fourier_modes_preserved` requires downstream models to support variable mode grids. `legacy_boundary_text_precision` identifies ExLLM arrays stored as rounded printed numbers; missing digits cannot be reconstructed. DP raw constraint values are retained, but its scaled objective is not assumed to equal raw L_delta_b (`scaled_target_not_used_as_raw_ldb`). ## Loading and Filtering ```python import pyarrow.dataset as ds data = ds.dataset('main', format='parquet') complete = data.to_table(filter=(ds.field('quality.metric_count') == 9) & (ds.field('evaluation.success') == True)) # Request just the original 12 columns for compatible downstream consumers. core = complete.select([name for name in complete.column_names if name.startswith(('boundary.', 'metrics.'))]) ``` For signed-iota training, additionally require `quality.iota_representation == 'signed'`. For raw-QI-only studies, exclude records carrying the reconstruction flag. `failed` is for failure analysis, not a source of zero-valued physics labels. No common `feasibility <= threshold` filter is guaranteed valid across all sources. ## Coverage and Review The builder recognizes cleaned/raw original Parquet, historical and current optimization pools/CMA/sBO records, legacy BO, traditional AL final results, DP SQLite/NPZ evaluations, ExLLM stored measurements and FusionLeague QI/QI-frontier evaluation records. It excludes leaderboard references, quadratic tests, surrogate predictions, latent-only points and opaque binary model or optimizer state. Unsupported formats are not interpreted as physical labels. Input files are individually bounded snapshots, not one global freeze. Malformed or unusable records are indexed in `quarantine.jsonl` without fabricating a row; all source files should be retained for investigation. `report.json` lists duplicate counts, missing data, selected source distribution, read statistics and shard checksums. Check those reports before publication. Scientific comparability and licenses across sources require review; this export does not grant new permissions.