Files
jugement_majoritaire/README.md

50 lines
984 B
Markdown

# Glue to use majortiy judgement algorithm in various polls applications
Intial trigger of this project is implementation of this in Nextcloud poll app https://github.com/nextcloud/polls/issues/3472, project pushed by https://www.astrolabe.coop/
## What is majortiy judgement algorithm ?
https://en.wikipedia.org/wiki/Majority_judgment
# Library to deliver a poll result with majority judgement algorithm
After some research most of implementation is done in https://github.com/MieuxVoter
Sorry for inconvenience but currently only french version is available.
LISEZMOI.md
## Testing
### Quick
make tests
## all tests
```
cd samples
./test.sh
```
tests should run wihtout errors, there is not special error checking wihtin test
## unitary tests
python venv **code** activated ( within sample tests.sh does it ).
```
source code/bin/activate
```
```
./check.sh 1
./check.sh 2
./check.sh 3
./check.sh 4
```
## ça marche chez moi (tm)
dev done on Ubuntu 24.04.2 LTS