This is the repository for the Value Aggregation project. It is chiefly maintained by Jared Moore ([email protected]).
env-aggregation- Run
make initto set up.
- Run
external_data- Run
make datato set up
- Run
experimentsintuition: Files and data to run experiments on humans (mturk) and llms. See the README.prevalence: Testing for the prevalence of different models in natural data sets.nlp_positionality.ipynb: An example of processing the NLPositionality data and comparing formal models.moral_machines.ipynb: An example of processing the Moral Machines data and comparing formal models.taylor_data.ipynb: An example of processing the processed Common Sense Normbank data from Taylor's Value Kaleidoscope project.
src: The files for thevalue_aggregationpython packagedemos.ipynb: Various examples of moral uncertainty between different models.Makefilemake test: runs the test suitemake init: initializes the virtual environment and installs dependenciesmake data: downloads external data into./external_data
pyproject.toml: For setting up the model as a package.README.mdrequirements.txt: Python dependenciessetup.py: For setting up the module as a package.
value_aggregation: The implementation of the formal models__init__.pyGame.py: Lays out the various formal models and their parameters.GameState.py: Constructors for various kinds of game states, used in different game set ups. For example: MEC, NBS, MFT, MFO, and the (discarded) expecti-max and equilibria selection.utils.py: Utility functions for the package.
tests: Various tests of the functionality inparliament__init__.pycontext.pyTestGameNodes.pyTestGameState.pyTestOtherTheories.pyTestRunParliament.pyTestUtils.py
Run source env-parliament/bin/activate; jupyter notebook and open any .ipynb file.