I’ve just been importing the output CSVs into a database, and taking the average for each of the columns in SQL.
GROUP BY method,chooser
ORDER BY method,chooser desc
Lemme just explain what (I understand of) what you see on line 24 of README.md
The first argument for CsvBatch() is the type of model used for the Electorate. My understanding is that PolyaModel is purely random gaussian, KSModel is gaussian clusters. I’m sure if you take a look at voterModels.py, you’ll be able to follow better than I can explain.
The second argument is a list of two element lists, corresponding to [VotingMethod, StrategyTypes]. Methods are described in the eponymous module, and Strategy Types are found in stratFunctions.py
- This is where you’d add in Rp or Mj, as for example, changing that argument to, eg,
[[Score(), baseRuns], [Mav(), medianRuns], [Mj(), medianRuns], [Rp(), medianRuns]]
The module vse.py has prebuilt lists of Strategy Sets starting around line 103, and lists of Methods starting at 128.
In my local copy I’ve added “currentMovements” to include Srv(5) (STAR 0-5, EqualVote), Score(5) (Score 0-5, Counted), Approval (CES/Reform Fargo), IRV (FairVote), and Plurality (baseline).
The last three arguments are the number of Voters (nvot), Candidates (ncand), and election simulations (niter) run using that Electorate Model, for each of the elements in list of lists.