oceanbigone / majorityjudgment Goto Github PK
View Code? Open in Web Editor NEWPhp class for Majority Judgment
License: MIT License
Php class for Majority Judgment
License: MIT License
Doublon de candidat ou de mentions, vérification du nombres de votes par rapport au participations, etc...
Au lieu du tableau associatif, il serait préférable que la method un objet (plus facil à manipuler)
Voir quelle est la bonne License à utiliser sur ce projet. (pour moi la plus permissive possible)
L'ordre dans le quel sont proposés les choix influence les choix :
Si l'on inverse l'ordre de ces 3 questions, celle du milieu n'aura pas le même résultat.
Une façon efficace (avec suffisamment de votant) pour lisser ce biais est d'afficher les propositions dans un ordre aléatoire.
Il me semble donc utile de proposer cette option, idéalement par défaut, désactivable (ou activable en formulant : conserver l'ordre d'origine) pour les cas ou l'ordre serait utile.
Ce système ne semble pas filtrer la possibilité de revenir plusieurs fois sur la page pour voter à nouveau. Le résultat a donc toutes les chances d'être complètement faux.
//
This system does not seem to filter the possibility of returning several times to the page to vote again. The result is therefore likely to be completely wrong.
Vérifier si l'algo donne le bon resultat
The result is not correct in some particular case (near perfect equality)
You can see problem here (The candidat Mr. B should win instead of A)
https://github.com/oceanBigOne/MajorityJudgment/blob/master/demo/fixture02-bug.php
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.