Closed poelstra closed 6 years ago
Test (npm test) and through the frond-end. (win 10, node 8.6.0). Works okay. Questions though is what to do with scores with incorrect team-numbers, should they disappear from ranking like when the round-number is correct? I.e. prohibit publishing of scores if there is an error? Or should we not force it? However will make an issue for this, for now the current functionality is fine.
Part of #245: Move Ranking computation to common code (used by ng-scores or a new ng-ranking service)
All tests pass for each commit.
The first few commits are only refactors, no functional changes. The last 2 fix two small bugs.
To test: