phlippe lhardy 0760d99a30 changement du listen temporaire
non documente /a faire : necessite de changer le config.php
pour trusted
2025-07-04 15:11:55 +02:00
2025-07-03 13:00:00 +02:00
2025-07-03 16:52:17 +02:00
2025-07-03 13:00:00 +02:00
2025-07-03 14:41:53 +02:00

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

Languages
Shell 69.6%
Python 15.3%
PHP 11.5%
Makefile 3%
Awk 0.6%