update project usage

This commit is contained in:
2025-08-18 09:43:55 +02:00
parent 204658df0c
commit 7408912bd5
2 changed files with 15 additions and 12 deletions

View File

@@ -1,6 +1,10 @@
# 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/
Initial 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 does this project :
It compares local implementation with https://github.com/MieuxVoter using tests samples some exported from nextcloud_poll in csv.
## What is majortiy judgement algorithm ?
@@ -17,25 +21,19 @@ 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
tests should run without errors, there is not special error checking within test
## unitary tests
python venv **code** activated ( within sample tests.sh does it ).
```
source code/bin/activate
make setup_dev
```
```
@@ -47,4 +45,9 @@ source code/bin/activate
## ça marche chez moi (tm)
dev done on Ubuntu 24.04.2 LTS
dev done on Ubuntu 24.04.2 LTS
```
cd code
./check_csv.sh ../samples/nextcloud_poll_export/poll1.csv
```