Interactive Calculator for the economic incentives around the Filecoin Baseline Minting based on cadCAD + Streamlit.
- Option 1 (CLI): Just pass
python -m baseline_model
This will generate an pickled file atdata/simulations/
using the default single run system parameters & initial state.- To perform a multiple run, pass
python -m baseline_model -e
- To perform a multiple run, pass
- Option 2 (cadCAD-tools easy run method): Import the objects at
baseline_model/__init__.py
and use them as arguments to thecadCAD_tools.execution.easy_run
method. Refer tobaseline_model/__main__.py
to an example. - Option 3 (Streamlit, local)
- Option 4 (Streamlit, cloud)
- Fork the repo
- Go to https://share.streamlit.io/ and log in
- Create an app for the repo pointing to
app/main.py
- Make sure to use Python 3.9 on the Advanced Settings!
- Wait a bit and done!
app/
: Thestreamlit
appbaseline_model/
: thecadCAD
model as encapsulated by a Python Moduledata/
: Simulation / Post-processed datasetsnotebooks/
:scripts/
:tests/
: