kandimat-user-app/src
Christoph Lienhard f01d492d95 Fix calculation of scores
With this commit two calculation errors are fixed
 * the score in the case partyPosition = 'negative' while userPosition = 'neutral' shouldn't be MIN_POINTS but rather BASE_POINTS.
 * the totalScoredPoints (now "totalMaxPoints") should be independent of any party-positions which it wasn't.

To minimize errors in this area in the future tests are added
which are based on the official Rechenmodel of the bpb.
To that end the score calculation logic was refactored
 and moved from results.vue to scoring.js, too.

(cherry picked from commit 2d246fefbc4730ca5f7a4224325084a98f1c41f0)
2020-06-27 10:32:46 +02:00
..
app Fix calculation of scores 2020-06-27 10:32:46 +02:00
assets green logo added 2019-08-31 17:48:15 +02:00
components Remove Social Media and Google Relations 2020-05-03 12:32:43 +02:00
config Remove language support for all languages other than German 2020-05-03 12:51:20 +02:00
data more cleanup 2020-06-13 14:50:09 +02:00
helper Remove Social Media and Google Relations 2020-05-03 12:32:43 +02:00
i18n Put geo location fetch in try/catch 2019-05-09 17:20:59 +01:00
router 🐛 Fixes import issue with async methods 2019-05-09 15:52:03 +01:00
styles green commit 2019-08-31 17:23:59 +02:00
main.js Add vue-apollo to user-app 2020-06-14 03:00:19 +02:00
registerComponents.js ♻️ Swapped dependencies and updated some config 2019-04-08 10:16:16 +02:00
registerServiceWorker.js 🔧 Migrating to Vue CLI 3 2019-04-08 10:16:16 +02:00