practicalli / practicalli/learn-clojure
small project - competition winner
Open
@practicalli-johnny is already working on this.
Since Sep 3, 2023.
- Dominant language
- Makefile
- Stars
- 6
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Walk-through of a project to calculate the winner of a competition which involves points awarded for multiple sequential events
Create a practicalli/minimal Clojure project
clojure -T:practicalli/create :name practicalli/competition-predictor
Example competitions
- Formula1 driver championship
- Formula1 constructors championship
- Formula E drivers championship
- American Football
- Austrailian Rules football
- Rubgy Union
- Soccer, e.g. UK Premiership
- esports ?
- other tournaments ??
Each type of competition has its own point scoring scheme and number of events
- consider a data definition to codify the rules of each competition
- then make the code abstract enough to process the rules of each competition by processing the rules data and data from the result of each event.
Interesting feedback
- competition data - number of events, dates, points available for a specific event (i.e. Formula 1 has a sprint race with points at some events, but not all)
- unassailable lead / winder before the end of the competition
- points remaining for leader to win the competition (extend to top 3-5 in competition)
- Prediction of winner based on history of events (limit to current year or small set of years)
- Prediction of number of events remaining before likely winner
Related
- Present lap times of forumula1 https://github.com/practicalli-john/formula1-lap-charts
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.