The notebooks are developed to be used within VSCode. Set up a python environment for this project using pyenv or another environment manager.
After installing pyenv, set up an environment and configure it to be used by default in the project:
# From the repo root
pyenv install 3.10.5
pyenv virtualenv 3.10.5 maple-3.10.5
pyenv activate maple-3.10.5
echo "maple-3.10.5" > .python-version
pip install -r analysis/requirements.txtTo set up the downloader (optional):
# From the repo root
yarn install
cd analysis/downloader
yarn install- Display the first and last X number of actions for each bill.
- Order bill ID in numerical order rather than alphabetical order.
cd analysis/downloader
yarn analyze downloadHistoriesEdit the rules in analysis/downloader/rules.ts to update the classifier, and see the results in the matched-actions.txt, overmatched-actions.txt, and unmatched-actions.txt files.
cd analysis/download
yarn analyze classify --watch