This codebase is designed to implement various Quadratic Funding (QF) algorithms. It includes functions for data preparation, calculation of matching funds, and testing of different QF strategies.
- fundingutils.py: Contains utility functions for data preparation and QF calculations.
- qf_tester.py: Contains functions to run QF calculations on a given dataset and save the results.
- If you run 'python qf_tester.py' in the terminal, the code will run a QF calculation on the sample dataset provided. The results will be saved in a new file.
- You can also import the functions from qf_tester.py and use them in your own code.
- You can use any votes file as long as it has the following columns:
- voter
- amountUSD
- payoutAddress
- project_name
- score