Skip to content

Commit

Permalink
fixing merge conflicts, resolving jack comments
Browse files Browse the repository at this point in the history
  • Loading branch information
cdonnay committed Nov 14, 2023
1 parent 1db7590 commit d066dda
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions notebooks/pref_prof_generators.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -234,15 +234,15 @@
"\n",
"pl_profile = pl.generate_profile(number_of_ballots)\n",
"\n",
"print(pl_profile.num_ballots())\n",
"print(\"Number of ballots:\", pl_profile.num_ballots())\n",
"print(pl_profile)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Note that the number of ballots generated may not perfectly match the number we asked for. This is because the PL model tries to generate ballots in proportion with the blocs, and there is some rounding that occurs at this step."
"Notice that for the first time we have ties on the ballots! The notation `{'Q1', 'Q2'} (Tie)` means that these two candidates are tied for third place."
]
},
{
Expand Down Expand Up @@ -281,7 +281,7 @@
" candidates=candidates)\n",
"\n",
"bt_profile = bt.generate_profile(number_of_ballots)\n",
"print(bt_profile.num_ballots())\n",
"print(\"Number of ballots:\", bt_profile.num_ballots())\n",
"print(bt_profile)"
]
},
Expand Down

0 comments on commit d066dda

Please sign in to comment.