Skip to content

Commit

Permalink
Merge pull request #126 from cdonnay/user_guide
Browse files Browse the repository at this point in the history
Update to read the docs
  • Loading branch information
cdonnay authored Jun 5, 2024
2 parents f9bc0f3 + 910bdba commit 2b9deb3
Show file tree
Hide file tree
Showing 118 changed files with 781,800 additions and 5,384 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ dist/
.idea
extra_data/
.venv
.docs_venv
docs/_build
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]
## Added
- Created a read the docs page.
- Add `scale` parameter to `ballot_graph.draw()` to allow for easier reading of text labels.

## Changed
- Dirichlet parameter tutorial notebook now uses slate-PlackettLuce.
- Updated tutorial notebooks; larger focus on slate models, updated notebooks to match current codebase.
- Removed the seq-RCV transfer rule since it is a dummy function, replaced with lambda function.
- Update plot MDS to have aspect ratio 1, remove axes labels since they are meaningless in MDS.

## Fixed
- fixed bug by which slate-PlackettLuce could not generate ballots when some candidate had 0 support.
- Fixed bug by which slate-PlackettLuce could not generate ballots when some candidate had 0 support.
- Updated various functions in the ballot generator module to only generate ballots for non-zero candidates.
- Fixed one bloc s-BT pdf, which was incorrectly giving 0 weight to all ballot types.

## [2.0.0] - 2024-03-04

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## VoteKit

`VoteKit` ia a Swiss army knife for computational social choice research.
`VoteKit` is a Swiss army knife for computational social choice research.

**Helpful links:** [Source Repository](https://github.com/mggg/VoteKit) | [Documentation](https://mggg.github.io/VoteKit/) | [Issues](https://github.com/mggg/VoteKit/issues) | [MGGG.org](https://mggg.org/)

Expand Down
20 changes: 20 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = _build

# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: help Makefile

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
73 changes: 0 additions & 73 deletions docs/SCR_ballot_generators.md

This file was deleted.

14 changes: 0 additions & 14 deletions docs/SCR_distances.md

This file was deleted.

43 changes: 0 additions & 43 deletions docs/SCR_elections.md

This file was deleted.

16 changes: 0 additions & 16 deletions docs/SCR_general_vocabulary.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/SCR_preference_intervals.md

This file was deleted.

Loading

0 comments on commit 2b9deb3

Please sign in to comment.