Upload 3 files
Browse files- LICENSE +23 -0
- README.md +79 -0
- test.jsonl +0 -0
LICENSE
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)
|
| 2 |
+
|
| 3 |
+
This dataset is licensed under a Creative Commons Attribution-NonCommercial 4.0
|
| 4 |
+
International License.
|
| 5 |
+
|
| 6 |
+
To view a summary of this license, visit:
|
| 7 |
+
https://creativecommons.org/licenses/by-nc/4.0/
|
| 8 |
+
|
| 9 |
+
To view the full legal code, visit:
|
| 10 |
+
https://creativecommons.org/licenses/by-nc/4.0/legalcode.txt
|
| 11 |
+
|
| 12 |
+
You are free to:
|
| 13 |
+
- Share -- copy and redistribute the material in any medium or format
|
| 14 |
+
- Adapt -- remix, transform, and build upon the material
|
| 15 |
+
|
| 16 |
+
Under the following terms:
|
| 17 |
+
- Attribution -- You must give appropriate credit, provide a link to the
|
| 18 |
+
license, and indicate if changes were made. You may do so in any reasonable
|
| 19 |
+
manner, but not in any way that suggests the licensor endorses you or your
|
| 20 |
+
use.
|
| 21 |
+
- NonCommercial -- You may not use the material for commercial purposes.
|
| 22 |
+
- No additional restrictions -- You may not apply legal terms or technological
|
| 23 |
+
measures that legally restrict others from doing anything the license permits.
|
README.md
CHANGED
|
@@ -1,3 +1,82 @@
|
|
| 1 |
---
|
| 2 |
license: cc-by-nc-4.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: cc-by-nc-4.0
|
| 3 |
+
language:
|
| 4 |
+
- zh
|
| 5 |
+
pretty_name: OceanCoder-Benchmark
|
| 6 |
+
task_categories:
|
| 7 |
+
- text-generation
|
| 8 |
+
size_categories:
|
| 9 |
+
- n<1K
|
| 10 |
+
tags:
|
| 11 |
+
- orcaflex
|
| 12 |
+
- ocean-engineering
|
| 13 |
+
- code-generation
|
| 14 |
+
- benchmark
|
| 15 |
+
configs:
|
| 16 |
+
- config_name: default
|
| 17 |
+
data_files:
|
| 18 |
+
- split: test
|
| 19 |
+
path: test.jsonl
|
| 20 |
---
|
| 21 |
+
|
| 22 |
+
# OceanCoder-Benchmark
|
| 23 |
+
|
| 24 |
+
**OceanCoder-Benchmark** is an evaluation benchmark of **665 Chinese ocean-engineering modelling tasks** for Python (`OrcFxAPI`) code generation targeting **OrcaFlex 11.6**.
|
| 25 |
+
|
| 26 |
+
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.
|
| 27 |
+
|
| 28 |
+
## Dataset Structure
|
| 29 |
+
|
| 30 |
+
- **File:** `test.jsonl` (665 UTF-8 JSON Lines records, `test` split)
|
| 31 |
+
- **Fields:**
|
| 32 |
+
- `id` (`string`): Unique task identifier (e.g., `A1-B01`, `B3-B01`, `C4-FC1000-seed_02-026`, `RE2-001`)
|
| 33 |
+
- `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)
|
| 34 |
+
|
| 35 |
+
### Example
|
| 36 |
+
|
| 37 |
+
```json
|
| 38 |
+
{
|
| 39 |
+
"id": "RE2-001",
|
| 40 |
+
"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。"
|
| 41 |
+
}
|
| 42 |
+
```
|
| 43 |
+
|
| 44 |
+
## Task Composition
|
| 45 |
+
|
| 46 |
+
| Prefix | Count | Engineering Domain |
|
| 47 |
+
| :--- | ---: | :--- |
|
| 48 |
+
| `A1` | 48 | Single mooring line static analysis |
|
| 49 |
+
| `A2` | 50 | Multi-point mooring static restoring force and stiffness |
|
| 50 |
+
| `A3` | 50 | Steel catenary riser (SCR) static analysis |
|
| 51 |
+
| `A4` | 47 | Subsea pipeline on-bottom stability |
|
| 52 |
+
| `B1` | 50 | Mooring line dynamic wave response |
|
| 53 |
+
| `B2` | 49 | Coupled floating-structure and mooring dynamics |
|
| 54 |
+
| `B3` | 50 | SCR dynamic response under vessel motion, waves, and currents |
|
| 55 |
+
| `B4` | 50 | Free-spanning subsea pipeline dynamic response |
|
| 56 |
+
| `C1` | 48 | S-lay static pipelay analysis with stinger and rollers |
|
| 57 |
+
| `C2` | 50 | Dynamic subsea cable laying |
|
| 58 |
+
| `C3` | 47 | Splash-zone lowering and water-entry transient analysis |
|
| 59 |
+
| `C4` | 50 | Subsea equipment seabed landing and touchdown dynamics |
|
| 60 |
+
| `RE2` | 76 | Cross-scenario extended engineering tasks |
|
| 61 |
+
| **Total** | **665** | |
|
| 62 |
+
|
| 63 |
+
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.
|
| 64 |
+
|
| 65 |
+
## Usage
|
| 66 |
+
|
| 67 |
+
```python
|
| 68 |
+
from datasets import load_dataset
|
| 69 |
+
|
| 70 |
+
dataset = load_dataset("json", data_files={"test": "test.jsonl"}, split="test")
|
| 71 |
+
print(len(dataset), dataset[0]["id"])
|
| 72 |
+
```
|
| 73 |
+
|
| 74 |
+
## Related Model
|
| 75 |
+
|
| 76 |
+
The companion LoRA adapter **OceanCoder** (built on `Qwen/Qwen3-8B`) is released as a separate Hugging Face model repository.
|
| 77 |
+
|
| 78 |
+
## License
|
| 79 |
+
|
| 80 |
+
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.
|
| 81 |
+
|
| 82 |
+
OrcaFlex and OrcFxAPI are trademarks of Orcina Ltd.
|
test.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|