Interactive Calculator for the economic incentives around the Filecoin Baseline Minting based on cadCAD + Streamlit.
- Option 1 (CLI): Just pass
python -m baseline_modelThis 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__.pyand use them as arguments to thecadCAD_tools.execution.easy_runmethod. Refer tobaseline_model/__main__.pyto 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/: Thestreamlitappbaseline_model/: thecadCADmodel as encapsulated by a Python Moduledata/: Simulation / Post-processed datasetsnotebooks/:scripts/:tests/: