--- license: cc-by-nc-4.0 language: - zh pretty_name: OceanCoder-Benchmark task_categories: - text-generation size_categories: - n<1K tags: - orcaflex - ocean-engineering - code-generation - benchmark configs: - config_name: default data_files: - split: test path: test.jsonl --- # OceanCoder-Benchmark **OceanCoder-Benchmark** is an evaluation benchmark of **665 Chinese ocean-engineering modelling tasks** for Python (`OrcFxAPI`) code generation targeting **OrcaFlex 11.6**. This release contains task specifications only (`id` and `question`); reference scripts, simulation files, and ground-truth numerical outputs are excluded. Executing generated programs requires a licensed OrcaFlex 11.6 (`OrcFxAPI`) environment. ## Dataset Structure - **File:** `test.jsonl` (665 UTF-8 JSON Lines records, `test` split) - **Fields:** - `id` (`string`): Unique task identifier (e.g., `A1-B01`, `B3-B01`, `C4-FC1000-seed_02-026`, `RE2-001`) - `question` (`string`): Chinese engineering specification detailing coordinate systems, environment, geometry and material parameters, solver setup, and target outputs (`model.dat`, `model.sim`, `results.json`, or task-specific `.csv` files) ### Example ```json { "id": "RE2-001", "question": "为临时观测浮标的单根锚链静水定位复核建立单根系泊线静力模型。坐标采用东—北—上,静水面Z=0,海水密度1.025 t/m³。水深80 m,上端固定在(0, 0, -6) m,海床锚点水平坐标为(110, 0) m,锚端线体下缘与海床相切。\n\n沿上端到锚端依次布置:第1段长145 m、外径0.14 m、接触直径0.27 m、单位长度质量120 kg/m、轴向刚度520 MN。各段目标单元长度2 m,忽略弯曲刚度,线只能受拉;平坦弹性海床法向刚度1000 kN/m³,线与海床无切向摩擦,静水无波无流无风。\n\n用OrcFxAPI 11.6完成一次完整静力平衡,保存model.dat;将上端有效张力和最低点高程写入results.json,单位分别为kN和m。" } ``` ## Task Composition | Prefix | Count | Engineering Domain | | :--- | ---: | :--- | | `A1` | 48 | Single mooring line static analysis | | `A2` | 50 | Multi-point mooring static restoring force and stiffness | | `A3` | 50 | Steel catenary riser (SCR) static analysis | | `A4` | 47 | Subsea pipeline on-bottom stability | | `B1` | 50 | Mooring line dynamic wave response | | `B2` | 49 | Coupled floating-structure and mooring dynamics | | `B3` | 50 | SCR dynamic response under vessel motion, waves, and currents | | `B4` | 50 | Free-spanning subsea pipeline dynamic response | | `C1` | 48 | S-lay static pipelay analysis with stinger and rollers | | `C2` | 50 | Dynamic subsea cable laying | | `C3` | 47 | Splash-zone lowering and water-entry transient analysis | | `C4` | 50 | Subsea equipment seabed landing and touchdown dynamics | | `RE2` | 76 | Cross-scenario extended engineering tasks | | **Total** | **665** | | Task identifiers preserve original benchmark subset numbering (including non-contiguous indices and subset prefixes such as `B*`, `Z*`, `G*`, `M*`, `FC1000-seed_*`, and `RE2-*`). Certain subsets (notably `C4`) use compact engineering shorthand to evaluate robustness on terse specifications. ## Usage ```python from datasets import load_dataset dataset = load_dataset("json", data_files={"test": "test.jsonl"}, split="test") print(len(dataset), dataset[0]["id"]) ``` ## Related Model The companion LoRA adapter **OceanCoder** (built on `Qwen/Qwen3-8B`) is released as a separate Hugging Face model repository. ## License This dataset is released under the **Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)** license (`LICENSE`). Commercial use is not permitted. OrcaFlex and OrcFxAPI are trademarks of Orcina Ltd.