Notable Indirections
This sections tries to document where and why the structure of certain parts of the repository may not be straightfoward.
- 
Tests for models are not automatically created in the
fact-modelslibrary. Model creators should create aTestmodule for their model, and add those tests to the mainTestmodule. - 
This repo uses
ormolufor Haskell formatting. Other repos such asasclepiasusebrittany, but as of 2022-04-22brittanyyields errors likely due to incompatability with template haskell. - 
The
build-fragmentsapplication (seeflake.nixin project root) creates a dhall file than be used to check the integrity of eachFact.dhall(orModel.dhall) file. This is checked by thecheck-fragments.shcheck (seeflake.nix) withdhall freeze $1 --check --all. This also serves to check that the fragments are up-to-date assuming that the fragments are only created bybuild-fragmentsand not edited otherwise.