Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

CosmoSim Regression Tests

Regression Tests

This is a test suite which can be run out of the box, using recursive makefiles. It can also be run automatically using github actions. To run locally (Unix), run

cd RegressionTest
make clean
make all

The scripts generate images for the most important models and compare them to previously generated images. It will output a list of bad results to the terminal.

Each subdirectory considers one simulation model and contains a dataset debug.csv from which images are generated. In the montage subdirectory, there are composite images combining the generated image, the baseline, abd the difference image.

Caveat The exactpm tests give negligible regression errors on Windows. This is probably numerical approximations, but it has not yet been investigated.