Pedant
This tool is funded by XXX. Sam has done much of the writing and example-generation for GiveWell models
Pedant is a math language designed to write CEAs in, written by Sam Nolan under an EA Infrastructure grant. The language is very much in it's early stages and is still under active development. Details about the language are best found in the EA Forum Post, the documentation and the examples folder in the GitHub repo.
(Type checking and code)Pedant is a minimal math DSL. It's originally designed for use in cost effectiveness analysis. However, it can be used for any important calculations.
The goal of pedant is to make sure that it's difficult or impossible to make math and stats errors, and also allow for the full enumeration of the assumptions used for a calculation. Currently, its only feature is dimensional analysis, but I'm planning to add stats and constraints on stats in the future.
Pedant replicates GiveWell's analysis, e.g., for AMF:
'units' are specified up top
unit usd people nets
Vectors are specified -- for alternative scenarios?
And lots of simple functions:
I guess these functions will be checked for whether the units agree? but I'm not sure where the units are connected to the variables
Last updated