A research library is the shared, versioned, tested code that research notebooks and pipelines import: calculations promoted out of notebooks once they are used more than once, with their choices as explicit arguments and their behaviour pinned by tests.
fig_envaudit.py.