1This tool is used for determining who is qualified for voting in a TOF election,
2based on the [requirements](https://github.com/openbmc/docs/blob/master/tof/membership-and-voting.md#metrics)
3set out by the TOF.
4
5The tool will query Gerrit for commits and reviews, process them, and generate a
6report of qualified individuals.
7
8The typical use of the tool is something like this:
9```sh
10./voters dump-gerrit --after=2021-06-30
11./voters analyze-commits --before "2022-01-01" --after "2021-06-30"
12./voters analyze-reviews --before "2022-01-01" --after "2021-06-30"
13./voters report
14cat data/report.json | \
15    jq "with_entries(select(.value.qualified) | .value = .value.points)"
16```
17
18The above will yield a JSON dictionary of "users:points" where 'qualified' is
19set in the users' dictionary from `report.json` like:
20```json
21{
22    "user1": 16,
23    "user2": 19,
24    ...
25}
26```
27