record stringlengths 40 171 | source stringclasses 740
values | program stringclasses 273
values | args listlengths 0 17 | cwd stringclasses 157
values | checks listlengths 1 1.3k | masked listlengths 0 36 | tolerances unknown | seconds float64 0.15 116 |
|---|---|---|---|---|---|---|---|---|
records/_generated/cli/allPrograms/001-DPMDyMFoam.json | _generated/cli/allPrograms | DPMDyMFoam | [
"-help"
] | . | [
"stdout"
] | [] | {} | 0.238 |
records/_generated/cli/allPrograms/002-DPMDyMFoam.json | _generated/cli/allPrograms | DPMDyMFoam | [
"-help-full"
] | . | [
"stdout"
] | [] | {} | 0.232 |
records/_generated/cli/allPrograms/003-DPMDyMFoam.json | _generated/cli/allPrograms | DPMDyMFoam | [
"-notAnOption"
] | . | [
"exit",
"stdout"
] | [] | {} | 0.228 |
records/_generated/cli/allPrograms/004-DPMDyMFoam.json | _generated/cli/allPrograms | DPMDyMFoam | [] | emptyCase | [
"exit",
"stdout",
"stderr"
] | [] | {} | 0.234 |
records/_generated/cli/allPrograms/005-DPMFoam.json | _generated/cli/allPrograms | DPMFoam | [
"-help"
] | . | [
"stdout"
] | [] | {} | 0.23 |
records/_generated/cli/allPrograms/006-DPMFoam.json | _generated/cli/allPrograms | DPMFoam | [
"-help-full"
] | . | [
"stdout"
] | [] | {} | 0.222 |
records/_generated/cli/allPrograms/007-DPMFoam.json | _generated/cli/allPrograms | DPMFoam | [
"-notAnOption"
] | . | [
"exit",
"stdout"
] | [] | {} | 0.223 |
records/_generated/cli/allPrograms/008-DPMFoam.json | _generated/cli/allPrograms | DPMFoam | [] | emptyCase | [
"exit",
"stdout",
"stderr"
] | [] | {} | 0.222 |
records/_generated/cli/allPrograms/009-MPPICDyMFoam.json | _generated/cli/allPrograms | MPPICDyMFoam | [
"-help"
] | . | [
"stdout"
] | [] | {} | 0.226 |
records/_generated/cli/allPrograms/010-MPPICDyMFoam.json | _generated/cli/allPrograms | MPPICDyMFoam | [
"-help-full"
] | . | [
"stdout"
] | [] | {} | 0.226 |
records/_generated/cli/allPrograms/011-MPPICDyMFoam.json | _generated/cli/allPrograms | MPPICDyMFoam | [
"-notAnOption"
] | . | [
"exit",
"stdout"
] | [] | {} | 0.228 |
records/_generated/cli/allPrograms/012-MPPICDyMFoam.json | _generated/cli/allPrograms | MPPICDyMFoam | [] | emptyCase | [
"exit",
"stdout",
"stderr"
] | [] | {} | 0.227 |
records/_generated/cli/allPrograms/013-MPPICFoam.json | _generated/cli/allPrograms | MPPICFoam | [
"-help"
] | . | [
"stdout"
] | [] | {} | 0.226 |
records/_generated/cli/allPrograms/014-MPPICFoam.json | _generated/cli/allPrograms | MPPICFoam | [
"-help-full"
] | . | [
"stdout"
] | [] | {} | 0.224 |
records/_generated/cli/allPrograms/015-MPPICFoam.json | _generated/cli/allPrograms | MPPICFoam | [
"-notAnOption"
] | . | [
"exit",
"stdout"
] | [] | {} | 0.23 |
records/_generated/cli/allPrograms/016-MPPICFoam.json | _generated/cli/allPrograms | MPPICFoam | [] | emptyCase | [
"exit",
"stdout",
"stderr"
] | [] | {} | 0.228 |
records/_generated/cli/allPrograms/017-MPPICInterFoam.json | _generated/cli/allPrograms | MPPICInterFoam | [
"-help"
] | . | [
"stdout"
] | [] | {} | 0.224 |
records/_generated/cli/allPrograms/018-MPPICInterFoam.json | _generated/cli/allPrograms | MPPICInterFoam | [
"-help-full"
] | . | [
"stdout"
] | [] | {} | 0.225 |
records/_generated/cli/allPrograms/019-MPPICInterFoam.json | _generated/cli/allPrograms | MPPICInterFoam | [
"-notAnOption"
] | . | [
"exit",
"stdout"
] | [] | {} | 0.224 |
records/_generated/cli/allPrograms/020-MPPICInterFoam.json | _generated/cli/allPrograms | MPPICInterFoam | [] | emptyCase | [
"exit",
"stdout",
"stderr"
] | [] | {} | 0.225 |
records/_generated/cli/allPrograms/021-PDRFoam.json | _generated/cli/allPrograms | PDRFoam | [
"-help"
] | . | [
"stdout"
] | [] | {} | 0.214 |
records/_generated/cli/allPrograms/022-PDRFoam.json | _generated/cli/allPrograms | PDRFoam | [
"-help-full"
] | . | [
"stdout"
] | [] | {} | 0.207 |
records/_generated/cli/allPrograms/023-PDRFoam.json | _generated/cli/allPrograms | PDRFoam | [
"-notAnOption"
] | . | [
"exit",
"stdout"
] | [] | {} | 0.208 |
records/_generated/cli/allPrograms/024-PDRFoam.json | _generated/cli/allPrograms | PDRFoam | [] | emptyCase | [
"exit",
"stdout",
"stderr"
] | [] | {} | 0.208 |
records/_generated/cli/allPrograms/025-PDRMesh.json | _generated/cli/allPrograms | PDRMesh | [
"-help"
] | . | [
"stdout"
] | [] | {} | 0.206 |
records/_generated/cli/allPrograms/026-PDRMesh.json | _generated/cli/allPrograms | PDRMesh | [
"-help-full"
] | . | [
"stdout"
] | [] | {} | 0.206 |
records/_generated/cli/allPrograms/027-PDRMesh.json | _generated/cli/allPrograms | PDRMesh | [
"-notAnOption"
] | . | [
"exit",
"stdout"
] | [] | {} | 0.206 |
records/_generated/cli/allPrograms/028-PDRMesh.json | _generated/cli/allPrograms | PDRMesh | [] | emptyCase | [
"exit",
"stdout",
"stderr"
] | [] | {} | 0.206 |
records/_generated/cli/allPrograms/029-PDRblockMesh.json | _generated/cli/allPrograms | PDRblockMesh | [
"-help"
] | . | [
"stdout"
] | [] | {} | 0.154 |
records/_generated/cli/allPrograms/030-PDRblockMesh.json | _generated/cli/allPrograms | PDRblockMesh | [
"-help-full"
] | . | [
"stdout"
] | [] | {} | 0.15 |
records/_generated/cli/allPrograms/031-PDRblockMesh.json | _generated/cli/allPrograms | PDRblockMesh | [
"-notAnOption"
] | . | [
"exit",
"stdout"
] | [] | {} | 0.151 |
records/_generated/cli/allPrograms/032-PDRblockMesh.json | _generated/cli/allPrograms | PDRblockMesh | [] | emptyCase | [
"exit",
"stdout",
"stderr"
] | [] | {} | 0.153 |
records/_generated/cli/allPrograms/033-PDRsetFields.json | _generated/cli/allPrograms | PDRsetFields | [
"-help"
] | . | [
"stdout"
] | [] | {} | 0.162 |
records/_generated/cli/allPrograms/034-PDRsetFields.json | _generated/cli/allPrograms | PDRsetFields | [
"-help-full"
] | . | [
"stdout"
] | [] | {} | 0.16 |
records/_generated/cli/allPrograms/035-PDRsetFields.json | _generated/cli/allPrograms | PDRsetFields | [
"-notAnOption"
] | . | [
"exit",
"stdout"
] | [] | {} | 0.167 |
records/_generated/cli/allPrograms/036-PDRsetFields.json | _generated/cli/allPrograms | PDRsetFields | [] | emptyCase | [
"exit",
"stdout",
"stderr"
] | [] | {} | 0.166 |
records/_generated/cli/allPrograms/037-SRFPimpleFoam.json | _generated/cli/allPrograms | SRFPimpleFoam | [
"-help"
] | . | [
"stdout"
] | [] | {} | 0.193 |
records/_generated/cli/allPrograms/038-SRFPimpleFoam.json | _generated/cli/allPrograms | SRFPimpleFoam | [
"-help-full"
] | . | [
"stdout"
] | [] | {} | 0.193 |
records/_generated/cli/allPrograms/039-SRFPimpleFoam.json | _generated/cli/allPrograms | SRFPimpleFoam | [
"-notAnOption"
] | . | [
"exit",
"stdout"
] | [] | {} | 0.191 |
records/_generated/cli/allPrograms/040-SRFPimpleFoam.json | _generated/cli/allPrograms | SRFPimpleFoam | [] | emptyCase | [
"exit",
"stdout",
"stderr"
] | [] | {} | 0.192 |
records/_generated/cli/allPrograms/041-SRFSimpleFoam.json | _generated/cli/allPrograms | SRFSimpleFoam | [
"-help"
] | . | [
"stdout"
] | [] | {} | 0.191 |
records/_generated/cli/allPrograms/042-SRFSimpleFoam.json | _generated/cli/allPrograms | SRFSimpleFoam | [
"-help-full"
] | . | [
"stdout"
] | [] | {} | 0.191 |
records/_generated/cli/allPrograms/043-SRFSimpleFoam.json | _generated/cli/allPrograms | SRFSimpleFoam | [
"-notAnOption"
] | . | [
"exit",
"stdout"
] | [] | {} | 0.193 |
records/_generated/cli/allPrograms/044-SRFSimpleFoam.json | _generated/cli/allPrograms | SRFSimpleFoam | [] | emptyCase | [
"exit",
"stdout",
"stderr"
] | [] | {} | 0.192 |
records/_generated/cli/allPrograms/045-XiDyMFoam.json | _generated/cli/allPrograms | XiDyMFoam | [
"-help"
] | . | [
"stdout"
] | [] | {} | 0.215 |
records/_generated/cli/allPrograms/046-XiDyMFoam.json | _generated/cli/allPrograms | XiDyMFoam | [
"-help-full"
] | . | [
"stdout"
] | [] | {} | 0.216 |
records/_generated/cli/allPrograms/047-XiDyMFoam.json | _generated/cli/allPrograms | XiDyMFoam | [
"-notAnOption"
] | . | [
"exit",
"stdout"
] | [] | {} | 0.222 |
records/_generated/cli/allPrograms/048-XiDyMFoam.json | _generated/cli/allPrograms | XiDyMFoam | [] | emptyCase | [
"exit",
"stdout",
"stderr"
] | [] | {} | 0.224 |
records/_generated/cli/allPrograms/049-XiEngineFoam.json | _generated/cli/allPrograms | XiEngineFoam | [
"-help"
] | . | [
"stdout"
] | [] | {} | 0.211 |
records/_generated/cli/allPrograms/050-XiEngineFoam.json | _generated/cli/allPrograms | XiEngineFoam | [
"-help-full"
] | . | [
"stdout"
] | [] | {} | 0.213 |
records/_generated/cli/allPrograms/051-XiEngineFoam.json | _generated/cli/allPrograms | XiEngineFoam | [
"-notAnOption"
] | . | [
"exit",
"stdout"
] | [] | {} | 0.208 |
records/_generated/cli/allPrograms/052-XiEngineFoam.json | _generated/cli/allPrograms | XiEngineFoam | [] | emptyCase | [
"exit",
"stdout",
"stderr"
] | [] | {} | 0.208 |
records/_generated/cli/allPrograms/053-XiFoam.json | _generated/cli/allPrograms | XiFoam | [
"-help"
] | . | [
"stdout"
] | [] | {} | 0.206 |
records/_generated/cli/allPrograms/054-XiFoam.json | _generated/cli/allPrograms | XiFoam | [
"-help-full"
] | . | [
"stdout"
] | [] | {} | 0.207 |
records/_generated/cli/allPrograms/055-XiFoam.json | _generated/cli/allPrograms | XiFoam | [
"-notAnOption"
] | . | [
"exit",
"stdout"
] | [] | {} | 0.208 |
records/_generated/cli/allPrograms/056-XiFoam.json | _generated/cli/allPrograms | XiFoam | [] | emptyCase | [
"exit",
"stdout",
"stderr"
] | [] | {} | 0.207 |
records/_generated/cli/allPrograms/057-acousticFoam.json | _generated/cli/allPrograms | acousticFoam | [
"-help"
] | . | [
"stdout"
] | [] | {} | 0.211 |
records/_generated/cli/allPrograms/058-acousticFoam.json | _generated/cli/allPrograms | acousticFoam | [
"-help-full"
] | . | [
"stdout"
] | [] | {} | 0.211 |
records/_generated/cli/allPrograms/059-acousticFoam.json | _generated/cli/allPrograms | acousticFoam | [
"-notAnOption"
] | . | [
"exit",
"stdout"
] | [] | {} | 0.223 |
records/_generated/cli/allPrograms/060-acousticFoam.json | _generated/cli/allPrograms | acousticFoam | [] | emptyCase | [
"exit",
"stdout",
"stderr"
] | [] | {} | 0.222 |
records/_generated/cli/allPrograms/061-adiabaticFlameT.json | _generated/cli/allPrograms | adiabaticFlameT | [
"-help"
] | . | [
"stdout"
] | [] | {} | 0.154 |
records/_generated/cli/allPrograms/062-adiabaticFlameT.json | _generated/cli/allPrograms | adiabaticFlameT | [
"-help-full"
] | . | [
"stdout"
] | [] | {} | 0.153 |
records/_generated/cli/allPrograms/063-adiabaticFlameT.json | _generated/cli/allPrograms | adiabaticFlameT | [
"-notAnOption"
] | . | [
"exit",
"stdout"
] | [] | {} | 0.153 |
records/_generated/cli/allPrograms/064-adiabaticFlameT.json | _generated/cli/allPrograms | adiabaticFlameT | [] | emptyCase | [
"exit",
"stdout"
] | [] | {} | 0.152 |
records/_generated/cli/allPrograms/065-adjointOptimisationFoam.json | _generated/cli/allPrograms | adjointOptimisationFoam | [
"-help"
] | . | [
"stdout"
] | [] | {} | 0.205 |
records/_generated/cli/allPrograms/066-adjointOptimisationFoam.json | _generated/cli/allPrograms | adjointOptimisationFoam | [
"-help-full"
] | . | [
"stdout"
] | [] | {} | 0.202 |
records/_generated/cli/allPrograms/067-adjointOptimisationFoam.json | _generated/cli/allPrograms | adjointOptimisationFoam | [
"-notAnOption"
] | . | [
"exit",
"stdout"
] | [] | {} | 0.202 |
records/_generated/cli/allPrograms/068-adjointOptimisationFoam.json | _generated/cli/allPrograms | adjointOptimisationFoam | [] | emptyCase | [
"exit",
"stdout",
"stderr"
] | [] | {} | 0.201 |
records/_generated/cli/allPrograms/069-adjointShapeOptimizationFoam.json | _generated/cli/allPrograms | adjointShapeOptimizationFoam | [
"-help"
] | . | [
"stdout"
] | [] | {} | 0.191 |
records/_generated/cli/allPrograms/070-adjointShapeOptimizationFoam.json | _generated/cli/allPrograms | adjointShapeOptimizationFoam | [
"-help-full"
] | . | [
"stdout"
] | [] | {} | 0.195 |
records/_generated/cli/allPrograms/071-adjointShapeOptimizationFoam.json | _generated/cli/allPrograms | adjointShapeOptimizationFoam | [
"-notAnOption"
] | . | [
"exit",
"stdout"
] | [] | {} | 0.196 |
records/_generated/cli/allPrograms/072-adjointShapeOptimizationFoam.json | _generated/cli/allPrograms | adjointShapeOptimizationFoam | [] | emptyCase | [
"exit",
"stdout",
"stderr"
] | [] | {} | 0.193 |
records/_generated/cli/allPrograms/073-ansysToFoam.json | _generated/cli/allPrograms | ansysToFoam | [
"-help"
] | . | [
"stdout"
] | [] | {} | 0.149 |
records/_generated/cli/allPrograms/074-ansysToFoam.json | _generated/cli/allPrograms | ansysToFoam | [
"-help-full"
] | . | [
"stdout"
] | [] | {} | 0.147 |
records/_generated/cli/allPrograms/075-ansysToFoam.json | _generated/cli/allPrograms | ansysToFoam | [
"-notAnOption"
] | . | [
"exit",
"stdout"
] | [] | {} | 0.148 |
records/_generated/cli/allPrograms/076-ansysToFoam.json | _generated/cli/allPrograms | ansysToFoam | [] | emptyCase | [
"exit",
"stdout"
] | [] | {} | 0.147 |
records/_generated/cli/allPrograms/077-applyBoundaryLayer.json | _generated/cli/allPrograms | applyBoundaryLayer | [
"-help"
] | . | [
"stdout"
] | [] | {} | 0.215 |
records/_generated/cli/allPrograms/078-applyBoundaryLayer.json | _generated/cli/allPrograms | applyBoundaryLayer | [
"-help-full"
] | . | [
"stdout"
] | [] | {} | 0.212 |
records/_generated/cli/allPrograms/079-applyBoundaryLayer.json | _generated/cli/allPrograms | applyBoundaryLayer | [
"-notAnOption"
] | . | [
"exit",
"stdout"
] | [] | {} | 0.21 |
records/_generated/cli/allPrograms/080-applyBoundaryLayer.json | _generated/cli/allPrograms | applyBoundaryLayer | [] | emptyCase | [
"exit",
"stdout",
"stderr"
] | [] | {} | 0.21 |
records/_generated/cli/allPrograms/081-attachMesh.json | _generated/cli/allPrograms | attachMesh | [
"-help"
] | . | [
"stdout"
] | [] | {} | 0.164 |
records/_generated/cli/allPrograms/082-attachMesh.json | _generated/cli/allPrograms | attachMesh | [
"-help-full"
] | . | [
"stdout"
] | [] | {} | 0.16 |
records/_generated/cli/allPrograms/083-attachMesh.json | _generated/cli/allPrograms | attachMesh | [
"-notAnOption"
] | . | [
"exit",
"stdout"
] | [] | {} | 0.16 |
records/_generated/cli/allPrograms/084-attachMesh.json | _generated/cli/allPrograms | attachMesh | [] | emptyCase | [
"exit",
"stdout",
"stderr"
] | [] | {} | 0.161 |
records/_generated/cli/allPrograms/085-autoPatch.json | _generated/cli/allPrograms | autoPatch | [
"-help"
] | . | [
"stdout"
] | [] | {} | 0.162 |
records/_generated/cli/allPrograms/086-autoPatch.json | _generated/cli/allPrograms | autoPatch | [
"-help-full"
] | . | [
"stdout"
] | [] | {} | 0.16 |
records/_generated/cli/allPrograms/087-autoPatch.json | _generated/cli/allPrograms | autoPatch | [
"-notAnOption"
] | . | [
"exit",
"stdout"
] | [] | {} | 0.16 |
records/_generated/cli/allPrograms/088-autoPatch.json | _generated/cli/allPrograms | autoPatch | [] | emptyCase | [
"exit",
"stdout"
] | [] | {} | 0.16 |
records/_generated/cli/allPrograms/089-blockMesh.json | _generated/cli/allPrograms | blockMesh | [
"-help"
] | . | [
"stdout"
] | [] | {} | 0.161 |
records/_generated/cli/allPrograms/090-blockMesh.json | _generated/cli/allPrograms | blockMesh | [
"-help-full"
] | . | [
"stdout"
] | [] | {} | 0.16 |
records/_generated/cli/allPrograms/091-blockMesh.json | _generated/cli/allPrograms | blockMesh | [
"-notAnOption"
] | . | [
"exit",
"stdout"
] | [] | {} | 0.16 |
records/_generated/cli/allPrograms/092-blockMesh.json | _generated/cli/allPrograms | blockMesh | [] | emptyCase | [
"exit",
"stdout",
"stderr"
] | [] | {} | 0.16 |
records/_generated/cli/allPrograms/093-boundaryFoam.json | _generated/cli/allPrograms | boundaryFoam | [
"-help"
] | . | [
"stdout"
] | [] | {} | 0.189 |
records/_generated/cli/allPrograms/094-boundaryFoam.json | _generated/cli/allPrograms | boundaryFoam | [
"-help-full"
] | . | [
"stdout"
] | [] | {} | 0.187 |
records/_generated/cli/allPrograms/095-boundaryFoam.json | _generated/cli/allPrograms | boundaryFoam | [
"-notAnOption"
] | . | [
"exit",
"stdout"
] | [] | {} | 0.189 |
records/_generated/cli/allPrograms/096-boundaryFoam.json | _generated/cli/allPrograms | boundaryFoam | [] | emptyCase | [
"exit",
"stdout",
"stderr"
] | [] | {} | 0.188 |
records/_generated/cli/allPrograms/097-boxTurb.json | _generated/cli/allPrograms | boxTurb | [
"-help"
] | . | [
"stdout"
] | [] | {} | 0.167 |
records/_generated/cli/allPrograms/098-boxTurb.json | _generated/cli/allPrograms | boxTurb | [
"-help-full"
] | . | [
"stdout"
] | [] | {} | 0.164 |
records/_generated/cli/allPrograms/099-boxTurb.json | _generated/cli/allPrograms | boxTurb | [
"-notAnOption"
] | . | [
"exit",
"stdout"
] | [] | {} | 0.16 |
records/_generated/cli/allPrograms/100-boxTurb.json | _generated/cli/allPrograms | boxTurb | [] | emptyCase | [
"exit",
"stdout",
"stderr"
] | [] | {} | 0.16 |
OpenFOAM Rebuild Tests
Behavioural tests for rebuilding the command-line programs of
OpenFOAM v2606 (commit 481094fdf34f11ed6d0d603ee59a858a0124236d) from scratch.
Each test is one recorded run of a real OpenFOAM program: the folder it ran in,
the command, and everything the program printed, wrote, changed or removed.
A rebuilt program passes a test when, run with the same command on the same folder,
it produces the same result.
Overview
| Recorded program runs | 8,885 |
| Checks | 96,333 |
| Programs | 272 |
| Sources | 476 OpenFOAM tutorials and 264 generated cases |
Structure
tests.jsonl one line per recorded run (shown in the viewer)
records/<tutorial path>/<NNN-program>.json one file per recorded run
records/_generated/<group>/<case>/... runs from generated cases
files/<h[:2]>/<h> file contents, named by their sha256
A record file holds:
command: the program, its arguments, and the folder it ran in (cwd, relative to the case root).rootandhostare the recording machine's case path and host name, which the comparison replaces.input: every file in the case before the run, as path -> sha256 of its content infiles/. A path ending in/is an empty folder; a valuelink:<target>is a symbolic link.output: every file the program created or changed, in the same form.removed: files the program deleted.exit,stdout,stderr: exit code and printed output.
Checks
One run gives up to these checks, each counted as a test:
exit: the exit code.files: no expected file missing, and no other file written, changed or removed.stdout,stderr: the printed output, line by line.file <path>: one expected output file.
Printed output is compared after removing what changes between identical runs: the banner, date, time, host, process id, case paths and run times. Words must match exactly. A number may differ by one unit in its last printed digit, or by the listed tolerance. OpenFOAM data files are compared by structure, with the same rule for numbers; numbers stored in binary may differ by a relative 1e-12. Other files must be identical.
How the tests were made
Every OpenFOAM tutorial, and 264 small cases written to exercise features no tutorial uses, were run with every OpenFOAM program wrapped by a recorder. Solvers were limited to a few time steps. Each recorded run was then replayed:
- three times with OpenFOAM: anything that varies is masked or given a tolerance, and runs whose structure or whole numbers vary are dropped;
- once with a program that does nothing and exits successfully: checks it passes are dropped;
- once more with OpenFOAM: checks it fails are dropped.
Runs that compile code while running (coded boundary conditions, #codeStream) are not
included. Identical runs (same program, arguments, folder and input) are kept once.
License
The case files come from OpenFOAM, which is Copyright (C) OpenCFD Ltd. and licensed
under the GNU General Public License v3; see ATTRIBUTION.md and LICENSE.
- Downloads last month
- 48