Datasets:
task_id stringlengths 19 34 | subset stringclasses 1
value | case stringclasses 3
values | error_class stringclasses 6
values | variant int64 0 2 | prompt stringlengths 930 2.02k | perturbed_config stringlengths 684 1.77k | perturbation_location stringlengths 6 58 | perturbation_original stringlengths 1 18 | perturbation_corrupted stringlengths 3 23 | perturbation_description stringlengths 43 185 | alters_L0 bool 2
classes | reference_config_path stringclasses 3
values | reference_dir stringclasses 3
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
spheres__drop_required_section__s0 | ship | spheres | drop_required_section | 0 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Electrostatic",
"Verbose": 2,
"Output": ... | {
"Problem": {
"Type": "Electrostatic",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/spheres.msh",
"L0": 0.01
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permittivity": 1.0
}
],
"Postprocessing": {
... | Boundaries | "<section>" | null | required top-level section 'Boundaries' removed | false | cases/spheres/spheres.json | cases/spheres/ref |
spheres__drop_required_section__s1 | ship | spheres | drop_required_section | 1 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Electrostatic",
"Verbose": 2,
"Output": ... | {
"Problem": {
"Type": "Electrostatic",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/spheres.msh",
"L0": 0.01
},
"Boundaries": {
"Ground": {
"Attributes": [
2
]
},
"Terminal": [
{
"Index": 1,
"Attributes": [
3... | Domains | "<section>" | null | required top-level section 'Domains' removed | false | cases/spheres/spheres.json | cases/spheres/ref |
spheres__drop_required_section__s2 | ship | spheres | drop_required_section | 2 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Electrostatic",
"Verbose": 2,
"Output": ... | {
"Problem": {
"Type": "Electrostatic",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/spheres.msh",
"L0": 0.01
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permittivity": 1.0
}
],
"Postprocessing": {
... | Solver | "<section>" | null | required top-level section 'Solver' removed | false | cases/spheres/spheres.json | cases/spheres/ref |
spheres__wrong_type__s0 | ship | spheres | wrong_type | 0 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Electrostatic",
"Verbose": 2,
"Output": ... | {
"Problem": {
"Type": "Electrostatic",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/spheres.msh",
"L0": 0.01
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permittivity": 1.0
}
],
"Postprocessing": {
... | Solver/Order | 3 | "3" | Solver/Order changed from number 3 to string | false | cases/spheres/spheres.json | cases/spheres/ref |
spheres__wrong_type__s1 | ship | spheres | wrong_type | 1 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Electrostatic",
"Verbose": 2,
"Output": ... | {
"Problem": {
"Type": "Electrostatic",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/spheres.msh",
"L0": 0.01
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permittivity": 1.0
}
],
"Postprocessing": {
... | Solver/Linear/Tol | 1e-08 | "1e-08" | Solver/Linear/Tol changed from number 1e-08 to string | false | cases/spheres/spheres.json | cases/spheres/ref |
spheres__wrong_type__s2 | ship | spheres | wrong_type | 2 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Electrostatic",
"Verbose": 2,
"Output": ... | {
"Problem": {
"Type": "Electrostatic",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/spheres.msh",
"L0": 0.01
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permittivity": 1.0
}
],
"Postprocessing": {
... | Solver/Linear/MaxIts | 100 | "100" | Solver/Linear/MaxIts changed from number 100 to string | false | cases/spheres/spheres.json | cases/spheres/ref |
spheres__bad_enum__s0 | ship | spheres | bad_enum | 0 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Electrostatic",
"Verbose": 2,
"Output": ... | {
"Problem": {
"Type": "Electrostatic",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/spheres.msh",
"L0": 0.01
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permittivity": 1.0
}
],
"Postprocessing": {
... | Solver/Linear/KSPType | "CG" | "CGX" | Solver/Linear/KSPType set to invalid enum 'CGX' (was 'CG') | false | cases/spheres/spheres.json | cases/spheres/ref |
spheres__bad_enum__s1 | ship | spheres | bad_enum | 1 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Electrostatic",
"Verbose": 2,
"Output": ... | {
"Problem": {
"Type": "Electrostatic",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/spheres.msh",
"L0": 0.01
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permittivity": 1.0
}
],
"Postprocessing": {
... | Solver/Linear/Type | "BoomerAMG" | "BoomerAMGX" | Solver/Linear/Type set to invalid enum 'BoomerAMGX' (was 'BoomerAMG') | false | cases/spheres/spheres.json | cases/spheres/ref |
spheres__bad_enum__s2 | ship | spheres | bad_enum | 2 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "ElectrostaticX",
"Verbose": 2,
"Output":... | {
"Problem": {
"Type": "ElectrostaticX",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/spheres.msh",
"L0": 0.01
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permittivity": 1.0
}
],
"Postprocessing": {
... | Problem/Type | "Electrostatic" | "ElectrostaticX" | Problem/Type set to invalid enum 'ElectrostaticX' (was 'Electrostatic') | false | cases/spheres/spheres.json | cases/spheres/ref |
spheres__unit_slip__s0 | ship | spheres | unit_slip | 0 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Electrostatic",
"Verbose": 2,
"Output": ... | {
"Problem": {
"Type": "Electrostatic",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/spheres.msh",
"L0": 10.0
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permittivity": 1.0
}
],
"Postprocessing": {
... | Model/L0 | 0.01 | 10.0 | Model/L0 scaled by 1000 (0.01 -> 10); schema-valid but wrong geometry scale | true | cases/spheres/spheres.json | cases/spheres/ref |
spheres__unit_slip__s1 | ship | spheres | unit_slip | 1 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Electrostatic",
"Verbose": 2,
"Output": ... | {
"Problem": {
"Type": "Electrostatic",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/spheres.msh",
"L0": 1e-05
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permittivity": 1.0
}
],
"Postprocessing": {
... | Model/L0 | 0.01 | 1e-05 | Model/L0 scaled by 0.001 (0.01 -> 1e-05); schema-valid but wrong geometry scale | true | cases/spheres/spheres.json | cases/spheres/ref |
spheres__unit_slip__s2 | ship | spheres | unit_slip | 2 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Electrostatic",
"Verbose": 2,
"Output": ... | {
"Problem": {
"Type": "Electrostatic",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/spheres.msh",
"L0": 10000.0
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permittivity": 1.0
}
],
"Postprocessing": {
... | Model/L0 | 0.01 | 10000.0 | Model/L0 scaled by 1e+06 (0.01 -> 10000); schema-valid but wrong geometry scale | true | cases/spheres/spheres.json | cases/spheres/ref |
spheres__dangling_ref__s0 | ship | spheres | dangling_ref | 0 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Electrostatic",
"Verbose": 2,
"Output": ... | {
"Problem": {
"Type": "Electrostatic",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/spheres.msh",
"L0": 0.01
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permittivity": 1.0
}
],
"Postprocessing": {
... | Boundaries/Ground/Attributes | [2] | [99999] | Boundaries/Ground/Attributes points at undefined mesh attribute 99999 (was [2]) | false | cases/spheres/spheres.json | cases/spheres/ref |
spheres__dangling_ref__s1 | ship | spheres | dangling_ref | 1 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Electrostatic",
"Verbose": 2,
"Output": ... | {
"Problem": {
"Type": "Electrostatic",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/spheres.msh",
"L0": 0.01
},
"Domains": {
"Materials": [
{
"Attributes": [
99999
],
"Permittivity": 1.0
}
],
"Postprocessing": {
... | Domains/Materials/0/Attributes | [1] | [99999] | Domains/Materials/0/Attributes points at undefined mesh attribute 99999 (was [1]) | false | cases/spheres/spheres.json | cases/spheres/ref |
spheres__dangling_ref__s2 | ship | spheres | dangling_ref | 2 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Electrostatic",
"Verbose": 2,
"Output": ... | {
"Problem": {
"Type": "Electrostatic",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/spheres.msh",
"L0": 0.01
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permittivity": 1.0
}
],
"Postprocessing": {
... | Boundaries/Terminal/0/Attributes | [3] | [88888] | Boundaries/Terminal/0/Attributes points at undefined mesh attribute 88888 (was [3]) | false | cases/spheres/spheres.json | cases/spheres/ref |
spheres__multi_error__s0 | ship | spheres | multi_error | 0 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Electrostatic",
"Verbose": 2,
"Output": ... | {
"Problem": {
"Type": "Electrostatic",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/spheres.msh",
"L0": 0.01
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permittivity": 1.0
}
],
"Postprocessing": {
... | Solver/Order; Solver/Linear/KSPType | [3, "CG"] | ["3", "CGX"] | two independent errors: Solver/Order changed from number 3 to string + Solver/Linear/KSPType set to invalid enum 'CGX' (was 'CG') | false | cases/spheres/spheres.json | cases/spheres/ref |
spheres__multi_error__s1 | ship | spheres | multi_error | 1 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Electrostatic",
"Verbose": 2,
"Output": ... | {
"Problem": {
"Type": "Electrostatic",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/spheres.msh",
"L0": 10.0
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permittivity": 1.0
}
],
"Postprocessing": {
... | Model/L0; Boundaries/Ground/Attributes | [0.01, [2]] | [10.0, [99999]] | two independent errors: Model/L0 scaled by 1000 (0.01 -> 10); schema-valid but wrong geometry scale + Boundaries/Ground/Attributes points at undefined mesh attribute 99999 (was [2]) | true | cases/spheres/spheres.json | cases/spheres/ref |
spheres__multi_error__s2 | ship | spheres | multi_error | 2 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Electrostatic",
"Verbose": 2,
"Output": ... | {
"Problem": {
"Type": "Electrostatic",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/spheres.msh",
"L0": 0.01
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permittivity": 1.0
}
],
"Postprocessing": {
... | Solver/Linear/Type; Boundaries/Terminal/0/Attributes | ["BoomerAMG", [3]] | ["BoomerAMGX", [88888]] | two independent errors: Solver/Linear/Type set to invalid enum 'BoomerAMGX' (was 'BoomerAMG') + Boundaries/Terminal/0/Attributes points at undefined mesh attribute 88888 (was [3]) | false | cases/spheres/spheres.json | cases/spheres/ref |
rings__drop_required_section__s0 | ship | rings | drop_required_section | 0 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Magnetostatic",
"Verbose": 2,
"Output": ... | {
"Problem": {
"Type": "Magnetostatic",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/rings.msh",
"L0": 1e-06
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permeability": 1.0
}
],
"Postprocessing": {
"... | Boundaries | "<section>" | null | required top-level section 'Boundaries' removed | false | cases/rings/rings.json | cases/rings/ref |
rings__drop_required_section__s1 | ship | rings | drop_required_section | 1 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Magnetostatic",
"Verbose": 2,
"Output": ... | {
"Problem": {
"Type": "Magnetostatic",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/rings.msh",
"L0": 1e-06
},
"Boundaries": {
"PEC": {
"Attributes": [
2,
3
]
},
"SurfaceCurrent": [
{
"Index": 1,
"Attributes": ... | Domains | "<section>" | null | required top-level section 'Domains' removed | false | cases/rings/rings.json | cases/rings/ref |
rings__drop_required_section__s2 | ship | rings | drop_required_section | 2 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Magnetostatic",
"Verbose": 2,
"Output": ... | {
"Problem": {
"Type": "Magnetostatic",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/rings.msh",
"L0": 1e-06
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permeability": 1.0
}
],
"Postprocessing": {
"... | Solver | "<section>" | null | required top-level section 'Solver' removed | false | cases/rings/rings.json | cases/rings/ref |
rings__wrong_type__s0 | ship | rings | wrong_type | 0 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Magnetostatic",
"Verbose": 2,
"Output": ... | {
"Problem": {
"Type": "Magnetostatic",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/rings.msh",
"L0": 1e-06
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permeability": 1.0
}
],
"Postprocessing": {
"... | Solver/Order | 2 | "2" | Solver/Order changed from number 2 to string | false | cases/rings/rings.json | cases/rings/ref |
rings__wrong_type__s1 | ship | rings | wrong_type | 1 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Magnetostatic",
"Verbose": 2,
"Output": ... | {
"Problem": {
"Type": "Magnetostatic",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/rings.msh",
"L0": 1e-06
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permeability": 1.0
}
],
"Postprocessing": {
"... | Solver/Linear/Tol | 1e-08 | "1e-08" | Solver/Linear/Tol changed from number 1e-08 to string | false | cases/rings/rings.json | cases/rings/ref |
rings__wrong_type__s2 | ship | rings | wrong_type | 2 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Magnetostatic",
"Verbose": 2,
"Output": ... | {
"Problem": {
"Type": "Magnetostatic",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/rings.msh",
"L0": 1e-06
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permeability": 1.0
}
],
"Postprocessing": {
"... | Solver/Linear/MaxIts | 100 | "100" | Solver/Linear/MaxIts changed from number 100 to string | false | cases/rings/rings.json | cases/rings/ref |
rings__bad_enum__s0 | ship | rings | bad_enum | 0 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Magnetostatic",
"Verbose": 2,
"Output": ... | {
"Problem": {
"Type": "Magnetostatic",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/rings.msh",
"L0": 1e-06
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permeability": 1.0
}
],
"Postprocessing": {
"... | Solver/Linear/KSPType | "CG" | "CGX" | Solver/Linear/KSPType set to invalid enum 'CGX' (was 'CG') | false | cases/rings/rings.json | cases/rings/ref |
rings__bad_enum__s1 | ship | rings | bad_enum | 1 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Magnetostatic",
"Verbose": 2,
"Output": ... | {
"Problem": {
"Type": "Magnetostatic",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/rings.msh",
"L0": 1e-06
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permeability": 1.0
}
],
"Postprocessing": {
"... | Solver/Linear/Type | "AMS" | "AMSX" | Solver/Linear/Type set to invalid enum 'AMSX' (was 'AMS') | false | cases/rings/rings.json | cases/rings/ref |
rings__bad_enum__s2 | ship | rings | bad_enum | 2 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "MagnetostaticX",
"Verbose": 2,
"Output":... | {
"Problem": {
"Type": "MagnetostaticX",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/rings.msh",
"L0": 1e-06
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permeability": 1.0
}
],
"Postprocessing": {
... | Problem/Type | "Magnetostatic" | "MagnetostaticX" | Problem/Type set to invalid enum 'MagnetostaticX' (was 'Magnetostatic') | false | cases/rings/rings.json | cases/rings/ref |
rings__unit_slip__s0 | ship | rings | unit_slip | 0 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Magnetostatic",
"Verbose": 2,
"Output": ... | {
"Problem": {
"Type": "Magnetostatic",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/rings.msh",
"L0": 0.001
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permeability": 1.0
}
],
"Postprocessing": {
"... | Model/L0 | 1e-06 | 0.001 | Model/L0 scaled by 1000 (1e-06 -> 0.001); schema-valid but wrong geometry scale | true | cases/rings/rings.json | cases/rings/ref |
rings__unit_slip__s1 | ship | rings | unit_slip | 1 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Magnetostatic",
"Verbose": 2,
"Output": ... | {
"Problem": {
"Type": "Magnetostatic",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/rings.msh",
"L0": 1e-09
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permeability": 1.0
}
],
"Postprocessing": {
"... | Model/L0 | 1e-06 | 1e-09 | Model/L0 scaled by 0.001 (1e-06 -> 1e-09); schema-valid but wrong geometry scale | true | cases/rings/rings.json | cases/rings/ref |
rings__unit_slip__s2 | ship | rings | unit_slip | 2 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Magnetostatic",
"Verbose": 2,
"Output": ... | {
"Problem": {
"Type": "Magnetostatic",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/rings.msh",
"L0": 1.0
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permeability": 1.0
}
],
"Postprocessing": {
"Pr... | Model/L0 | 1e-06 | 1.0 | Model/L0 scaled by 1e+06 (1e-06 -> 1); schema-valid but wrong geometry scale | true | cases/rings/rings.json | cases/rings/ref |
rings__dangling_ref__s0 | ship | rings | dangling_ref | 0 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Magnetostatic",
"Verbose": 2,
"Output": ... | {
"Problem": {
"Type": "Magnetostatic",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/rings.msh",
"L0": 1e-06
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permeability": 1.0
}
],
"Postprocessing": {
"... | Boundaries/PEC/Attributes | [2, 3] | [99999] | Boundaries/PEC/Attributes points at undefined mesh attribute 99999 (was [2, 3]) | false | cases/rings/rings.json | cases/rings/ref |
rings__dangling_ref__s1 | ship | rings | dangling_ref | 1 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Magnetostatic",
"Verbose": 2,
"Output": ... | {
"Problem": {
"Type": "Magnetostatic",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/rings.msh",
"L0": 1e-06
},
"Domains": {
"Materials": [
{
"Attributes": [
99999
],
"Permeability": 1.0
}
],
"Postprocessing": {
... | Domains/Materials/0/Attributes | [1] | [99999] | Domains/Materials/0/Attributes points at undefined mesh attribute 99999 (was [1]) | false | cases/rings/rings.json | cases/rings/ref |
rings__dangling_ref__s2 | ship | rings | dangling_ref | 2 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Magnetostatic",
"Verbose": 2,
"Output": ... | {
"Problem": {
"Type": "Magnetostatic",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/rings.msh",
"L0": 1e-06
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permeability": 1.0
}
],
"Postprocessing": {
"... | Boundaries/SurfaceCurrent/0/Attributes | [4] | [88888] | Boundaries/SurfaceCurrent/0/Attributes points at undefined mesh attribute 88888 (was [4]) | false | cases/rings/rings.json | cases/rings/ref |
rings__multi_error__s0 | ship | rings | multi_error | 0 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Magnetostatic",
"Verbose": 2,
"Output": ... | {
"Problem": {
"Type": "Magnetostatic",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/rings.msh",
"L0": 1e-06
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permeability": 1.0
}
],
"Postprocessing": {
"... | Solver/Order; Solver/Linear/KSPType | [2, "CG"] | ["2", "CGX"] | two independent errors: Solver/Order changed from number 2 to string + Solver/Linear/KSPType set to invalid enum 'CGX' (was 'CG') | false | cases/rings/rings.json | cases/rings/ref |
rings__multi_error__s1 | ship | rings | multi_error | 1 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Magnetostatic",
"Verbose": 2,
"Output": ... | {
"Problem": {
"Type": "Magnetostatic",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/rings.msh",
"L0": 0.001
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permeability": 1.0
}
],
"Postprocessing": {
"... | Model/L0; Boundaries/PEC/Attributes | [1e-06, [2, 3]] | [0.001, [99999]] | two independent errors: Model/L0 scaled by 1000 (1e-06 -> 0.001); schema-valid but wrong geometry scale + Boundaries/PEC/Attributes points at undefined mesh attribute 99999 (was [2, 3]) | true | cases/rings/rings.json | cases/rings/ref |
rings__multi_error__s2 | ship | rings | multi_error | 2 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Magnetostatic",
"Verbose": 2,
"Output": ... | {
"Problem": {
"Type": "Magnetostatic",
"Verbose": 2,
"Output": "postpro"
},
"Model": {
"Mesh": "mesh/rings.msh",
"L0": 1e-06
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permeability": 1.0
}
],
"Postprocessing": {
"... | Solver/Linear/Type; Boundaries/SurfaceCurrent/0/Attributes | ["AMS", [4]] | ["AMSX", [88888]] | two independent errors: Solver/Linear/Type set to invalid enum 'AMSX' (was 'AMS') + Boundaries/SurfaceCurrent/0/Attributes points at undefined mesh attribute 88888 (was [4]) | false | cases/rings/rings.json | cases/rings/ref |
coaxial__drop_required_section__s0 | ship | coaxial | drop_required_section | 0 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Transient",
"Verbose": 2,
"Output": "pos... | {
"Problem": {
"Type": "Transient",
"Verbose": 2,
"Output": "postpro/open"
},
"Model": {
"Mesh": "mesh/coaxial.msh",
"L0": 0.001
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permeability": 1.0,
"Permittivity": 2.08,
"Con... | Boundaries | "<section>" | null | required top-level section 'Boundaries' removed | false | cases/coaxial/coaxial_open.json | cases/coaxial/ref |
coaxial__drop_required_section__s1 | ship | coaxial | drop_required_section | 1 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Transient",
"Verbose": 2,
"Output": "pos... | {
"Problem": {
"Type": "Transient",
"Verbose": 2,
"Output": "postpro/open"
},
"Model": {
"Mesh": "mesh/coaxial.msh",
"L0": 0.001
},
"Boundaries": {
"PEC": {
"Attributes": [
2
]
},
"PMC": {
"Attributes": [
4
]
},
"LumpedPort": [
... | Domains | "<section>" | null | required top-level section 'Domains' removed | false | cases/coaxial/coaxial_open.json | cases/coaxial/ref |
coaxial__drop_required_section__s2 | ship | coaxial | drop_required_section | 2 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Transient",
"Verbose": 2,
"Output": "pos... | {
"Problem": {
"Type": "Transient",
"Verbose": 2,
"Output": "postpro/open"
},
"Model": {
"Mesh": "mesh/coaxial.msh",
"L0": 0.001
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permeability": 1.0,
"Permittivity": 2.08,
"Con... | Solver | "<section>" | null | required top-level section 'Solver' removed | false | cases/coaxial/coaxial_open.json | cases/coaxial/ref |
coaxial__wrong_type__s0 | ship | coaxial | wrong_type | 0 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Transient",
"Verbose": 2,
"Output": "pos... | {
"Problem": {
"Type": "Transient",
"Verbose": 2,
"Output": "postpro/open"
},
"Model": {
"Mesh": "mesh/coaxial.msh",
"L0": 0.001
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permeability": 1.0,
"Permittivity": 2.08,
"Con... | Solver/Order | 3 | "3" | Solver/Order changed from number 3 to string | false | cases/coaxial/coaxial_open.json | cases/coaxial/ref |
coaxial__wrong_type__s1 | ship | coaxial | wrong_type | 1 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Transient",
"Verbose": 2,
"Output": "pos... | {
"Problem": {
"Type": "Transient",
"Verbose": 2,
"Output": "postpro/open"
},
"Model": {
"Mesh": "mesh/coaxial.msh",
"L0": 0.001
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permeability": 1.0,
"Permittivity": 2.08,
"Con... | Solver/Linear/Tol | 1e-08 | "1e-08" | Solver/Linear/Tol changed from number 1e-08 to string | false | cases/coaxial/coaxial_open.json | cases/coaxial/ref |
coaxial__wrong_type__s2 | ship | coaxial | wrong_type | 2 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Transient",
"Verbose": 2,
"Output": "pos... | {
"Problem": {
"Type": "Transient",
"Verbose": 2,
"Output": "postpro/open"
},
"Model": {
"Mesh": "mesh/coaxial.msh",
"L0": 0.001
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permeability": 1.0,
"Permittivity": 2.08,
"Con... | Solver/Linear/MaxIts | 100 | "100" | Solver/Linear/MaxIts changed from number 100 to string | false | cases/coaxial/coaxial_open.json | cases/coaxial/ref |
coaxial__bad_enum__s0 | ship | coaxial | bad_enum | 0 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Transient",
"Verbose": 2,
"Output": "pos... | {
"Problem": {
"Type": "Transient",
"Verbose": 2,
"Output": "postpro/open"
},
"Model": {
"Mesh": "mesh/coaxial.msh",
"L0": 0.001
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permeability": 1.0,
"Permittivity": 2.08,
"Con... | Solver/Linear/KSPType | "CG" | "CGX" | Solver/Linear/KSPType set to invalid enum 'CGX' (was 'CG') | false | cases/coaxial/coaxial_open.json | cases/coaxial/ref |
coaxial__bad_enum__s1 | ship | coaxial | bad_enum | 1 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Transient",
"Verbose": 2,
"Output": "pos... | {
"Problem": {
"Type": "Transient",
"Verbose": 2,
"Output": "postpro/open"
},
"Model": {
"Mesh": "mesh/coaxial.msh",
"L0": 0.001
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permeability": 1.0,
"Permittivity": 2.08,
"Con... | Solver/Linear/Type | "AMS" | "AMSX" | Solver/Linear/Type set to invalid enum 'AMSX' (was 'AMS') | false | cases/coaxial/coaxial_open.json | cases/coaxial/ref |
coaxial__bad_enum__s2 | ship | coaxial | bad_enum | 2 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "TransientX",
"Verbose": 2,
"Output": "po... | {
"Problem": {
"Type": "TransientX",
"Verbose": 2,
"Output": "postpro/open"
},
"Model": {
"Mesh": "mesh/coaxial.msh",
"L0": 0.001
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permeability": 1.0,
"Permittivity": 2.08,
"Co... | Problem/Type | "Transient" | "TransientX" | Problem/Type set to invalid enum 'TransientX' (was 'Transient') | false | cases/coaxial/coaxial_open.json | cases/coaxial/ref |
coaxial__unit_slip__s0 | ship | coaxial | unit_slip | 0 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Transient",
"Verbose": 2,
"Output": "pos... | {
"Problem": {
"Type": "Transient",
"Verbose": 2,
"Output": "postpro/open"
},
"Model": {
"Mesh": "mesh/coaxial.msh",
"L0": 1.0
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permeability": 1.0,
"Permittivity": 2.08,
"Condu... | Model/L0 | 0.001 | 1.0 | Model/L0 scaled by 1000 (0.001 -> 1); schema-valid but wrong geometry scale | true | cases/coaxial/coaxial_open.json | cases/coaxial/ref |
coaxial__unit_slip__s1 | ship | coaxial | unit_slip | 1 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Transient",
"Verbose": 2,
"Output": "pos... | {
"Problem": {
"Type": "Transient",
"Verbose": 2,
"Output": "postpro/open"
},
"Model": {
"Mesh": "mesh/coaxial.msh",
"L0": 1e-06
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permeability": 1.0,
"Permittivity": 2.08,
"Con... | Model/L0 | 0.001 | 1e-06 | Model/L0 scaled by 0.001 (0.001 -> 1e-06); schema-valid but wrong geometry scale | true | cases/coaxial/coaxial_open.json | cases/coaxial/ref |
coaxial__unit_slip__s2 | ship | coaxial | unit_slip | 2 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Transient",
"Verbose": 2,
"Output": "pos... | {
"Problem": {
"Type": "Transient",
"Verbose": 2,
"Output": "postpro/open"
},
"Model": {
"Mesh": "mesh/coaxial.msh",
"L0": 1000.0
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permeability": 1.0,
"Permittivity": 2.08,
"Co... | Model/L0 | 0.001 | 1000.0 | Model/L0 scaled by 1e+06 (0.001 -> 1000); schema-valid but wrong geometry scale | true | cases/coaxial/coaxial_open.json | cases/coaxial/ref |
coaxial__dangling_ref__s0 | ship | coaxial | dangling_ref | 0 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Transient",
"Verbose": 2,
"Output": "pos... | {
"Problem": {
"Type": "Transient",
"Verbose": 2,
"Output": "postpro/open"
},
"Model": {
"Mesh": "mesh/coaxial.msh",
"L0": 0.001
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permeability": 1.0,
"Permittivity": 2.08,
"Con... | Boundaries/PEC/Attributes | [2] | [99999] | Boundaries/PEC/Attributes points at undefined mesh attribute 99999 (was [2]) | false | cases/coaxial/coaxial_open.json | cases/coaxial/ref |
coaxial__dangling_ref__s1 | ship | coaxial | dangling_ref | 1 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Transient",
"Verbose": 2,
"Output": "pos... | {
"Problem": {
"Type": "Transient",
"Verbose": 2,
"Output": "postpro/open"
},
"Model": {
"Mesh": "mesh/coaxial.msh",
"L0": 0.001
},
"Domains": {
"Materials": [
{
"Attributes": [
99999
],
"Permeability": 1.0,
"Permittivity": 2.08,
... | Domains/Materials/0/Attributes | [1] | [99999] | Domains/Materials/0/Attributes points at undefined mesh attribute 99999 (was [1]) | false | cases/coaxial/coaxial_open.json | cases/coaxial/ref |
coaxial__dangling_ref__s2 | ship | coaxial | dangling_ref | 2 | The following Palace configuration file is broken: it either fails validation, is rejected by the solver, or produces physically incorrect results. Return a single corrected Palace configuration as JSON. Output only the JSON config.
```json
{
"Problem": {
"Type": "Transient",
"Verbose": 2,
"Output": "pos... | {
"Problem": {
"Type": "Transient",
"Verbose": 2,
"Output": "postpro/open"
},
"Model": {
"Mesh": "mesh/coaxial.msh",
"L0": 0.001
},
"Domains": {
"Materials": [
{
"Attributes": [
1
],
"Permeability": 1.0,
"Permittivity": 2.08,
"Con... | Boundaries/LumpedPort/0/Attributes | [3] | [88888] | Boundaries/LumpedPort/0/Attributes points at undefined mesh attribute 88888 (was [3]) | false | cases/coaxial/coaxial_open.json | cases/coaxial/ref |
Palace Configuration Repair Benchmark
Execution-graded repair tasks for configuration files of Palace, an open-source finite-element solver for computational electromagnetics. Each task gives a model a perturbed Palace JSON configuration and asks it to return a corrected one. A repair counts as correct only if it conforms to the schema, is accepted by the solver, and reproduces the reference outputs of the original case when Palace v0.14.0 runs it. A configuration that is valid and runs but simulates a different physical system fails.
Released with Beyond Schema Conformance with Executable Verification for Scientific Configuration Repair (Masood and Noor, NeurIPS 2026 Workshop on AI for Verifiable Coding, VeriCodeGen). The QLoRA adapter evaluated in the paper is empirischtech/Qwen2.5-Coder-32B-Palace-LoRA. It was fine-tuned on a separate corpus of 3,296 training conversations (plus 199 for validation) synthesized from Palace's documentation, schema options, and example configurations, not on these repair tasks. That corpus contains the three shipped reference configurations underlying πship and none of those underlying πnew.
Structure
Subset (config_name) |
Split | Rows | Contents |
|---|---|---|---|
reference (πref) |
ship |
3 | Reference configurations shipped with Palace v0.14.0 and represented in the fine-tuning corpus (case-exposed) |
reference (πref) |
new |
3 | Newly authored reference configurations, created after the model and retrieval index were frozen (case-held-out) |
perturbed (πpert) |
ship (πship) |
54 | 3 cases Γ 6 perturbation classes Γ 3 variants |
perturbed (πpert) |
new (πnew) |
54 | 3 cases Γ 6 perturbation classes Γ 3 variants |
Perturbed means altered relative to the benchmark target. A perturbed configuration is not necessarily schema-invalid or rejected by the solver.
from datasets import load_dataset
tasks = load_dataset("empirischtech/Palace-Config-Repair", "perturbed") # splits: ship, new
refs = load_dataset("empirischtech/Palace-Config-Repair", "reference") # splits: ship, new
Configurations are stored as JSON strings (json.loads them), because some perturbations
deliberately change field types. Meshes and reference outputs are plain files under cases/:
cases/<case>/
<config>.json unperturbed reference configuration
mesh/*.msh mesh referenced by Model.Mesh
ref/*.csv Palace v0.14.0 reference outputs of that configuration (used for T2)
gen_mesh.py (new cases) gmsh script that generated the mesh
verify.py (new cases) closed-form capacitance check of ref/terminal-C.csv
Cases
| Case | Split | Problem type | Model.L0 |
Reference CSVs |
|---|---|---|---|---|
spheres |
ship | Electrostatic | 1e-2 | 8 |
rings |
ship | Magnetostatic | 1e-6 | 8 |
coaxial (coaxial_open.json) |
ship | Transient | 1e-3 | 4 |
parallel_plate |
new | Electrostatic | 1 | 7 |
layered_capacitor |
new | Electrostatic | 1 | 7 |
concentric_sphere |
new | Electrostatic | 1 | 7 |
The newly authored cases have closed-form capacitances. The flat cases match theirs to 5.4e-10
relative error and the faceted sphere to 0.51%. These are sanity checks only: grading always uses
the Palace-generated CSVs in ref/.
Perturbation classes
Each perturbation is a deterministic edit of a reference configuration, applied by the same code
to both splits. variant (0β2) indexes three fixed variants per (case, class); they are not
random seeds.
error_class |
Change made to the configuration | First failed outcome |
|---|---|---|
drop_required_section |
remove a required section | H0 |
wrong_type |
replace a number with a string | H0 |
bad_enum |
replace an allowed value with an invalid value | H0 or H1 |
unit_slip |
multiply Model.L0 by 10Β³, 10β»Β³, or 10βΆ (variants 0, 1, 2) |
H2 |
dangling_ref |
reference an identifier absent from the mesh | H2 |
multi_error |
combine two perturbations | varies |
All 6 reference configurations pass H0, H1, and H2, and all 108 perturbed configurations fail H2 before repair. Two perturbed configurations in πnew pass raw T2 while failing T0, which is why the outcomes are cumulative (see Grading).
Fields
reference
| Field | Type | Description |
|---|---|---|
case |
string | case name; joins to perturbed.case |
subset |
string | ship or new |
problem_type |
string | Palace Problem.Type |
description |
string | one-line physical description |
source |
string | where the reference configuration comes from |
in_training_corpus |
bool | whether the configuration occurs in the paper's fine-tuning corpus (true for ship) |
length_unit_L0 |
float | Model.L0, the mesh length unit in metres |
config |
string | reference configuration, JSON |
config_path, mesh_path, reference_dir |
string | paths into cases/ |
reference_files |
list[string] | reference CSV filenames that grading compares |
perturbed
| Field | Type | Description |
|---|---|---|
task_id |
string | <case>__<error_class>__s<variant> |
subset |
string | ship or new |
case, error_class, variant |
string, string, int | task coordinates |
prompt |
string | exact model-facing repair request: a generic instruction plus the perturbed configuration. It does not reveal the perturbation class, the fix, or the target outputs. |
perturbed_config |
string | perturbed configuration, JSON (same content as in prompt) |
perturbation_location |
string | edited path(s) in the configuration |
perturbation_original, perturbation_corrupted |
string | JSON-encoded value before/after the edit |
perturbation_description |
string | human-readable ground truth for the edit. Do not show it to the model. |
alters_L0 |
bool | true for the 12 tasks per split that modify Model.L0; these are specification-insufficient (see Caveats) |
reference_config_path, reference_dir |
string | reference configuration and reference outputs for grading |
Grading
Grading uses Palace v0.14.0. Later releases changed the schema and the location of the
regression references, so do not grade against them. Write the candidate configuration into a
copy of cases/<case>/, under the reference configuration's filename, so that Model.Mesh
resolves. Then record three raw indicators:
- T0: the configuration validates against Palace v0.14.0's JSON schema (
scripts/schema/). - T1:
palace --dry-run <config>succeeds. - T2:
palace -np 1 <config>completes and its CSV outputs conform toref/. Every reference CSV must be present, with matching header sets and row counts, unique header names, and finite numeric cells. Every value must satisfy |y β y*| β€ 1e-12 + 1e-3Β·|y*|.error-indicators.csv, an adaptive-mesh-refinement heuristic, must be present and well-formed, but its values are not graded.
Report the cumulative outcomes H0 = T0 (structural conformance), H1 = T0 β§ T1 (operational acceptance), and H2 = T0 β§ T1 β§ T2 (reference conformance). A repair is correct iff it reaches H2. H2 is an instance-level check of the selected outputs, not a formal proof of correctness.
Caveats
- Specification-insufficient tasks.
alters_L0marks 12 tasks per split that modifyModel.L0: the 9unit_sliptasks and the 3multi_errorvariant-1 tasks, which combine a length-scale change with another perturbation. The prompt neither states the correctL0nor gives enough information to determine it, so several physical scales are compatible with what the model sees (Suff(Ο) = 0 in the paper). An H2 failure on these tasks does not by itself indicate weak repair. As in the paper, report H2 on all 54 tasks per split and on the 42 filtered tasks that do not modifyModel.L0. - Case exposure. πship is derived from Palace's public example configurations,
which occur in the paper's fine-tuning corpus and may also appear in the pretraining data of
general-purpose models. The corpus also contains repair exercises built from the same shipped
configurations: 19 training and 6 validation conversations from
spheres,rings, andcoaxial_open, plus 19 training conversations from sibling coaxial configurations. They cover similar kinds of error, such as invalid enum values and missing sections. No benchmark task appears verbatim in the training or validation data. The reference configurations underlying πnew were authored after the model and retrieval index were frozen and have no exact configuration or case-identifier matches in the training, validation, or retrieval data. That check cannot rule out generic conceptual overlap. The paper's retrieval index contains only documentation and schema records, so no reference configuration from either split is retrievable at inference time. - Few underlying cases. Each split derives its 54 tasks from only three cases, so results are evidence from this benchmark rather than population-level estimates. All three newly authored cases are electrostatic, while the shipped cases cover electrostatic, magnetostatic, and transient problems.
License
Apache-2.0. The shipped-case configurations, meshes, mesh scripts, and reference CSVs are
redistributed from Palace v0.14.0, Β© Amazon.com, Inc. or its affiliates, under Apache-2.0; see
cases/LICENSE-palace and cases/NOTICE-palace. The perturbed configurations in
πship are modified versions of those files, with each change recorded in the
perturbation_* fields.
Citation
@inproceedings{masood2026beyond,
title = {Beyond Schema Conformance with Executable Verification for Scientific Configuration Repair},
author = {Masood, Wasif and Noor, Shoaib},
booktitle = {NeurIPS 2026 Workshop on AI for Verifiable Coding (VeriCodeGen)},
year = {2026}
}
- Downloads last month
- -
