Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

small project - competition winner #4

Open
practicalli-johnny opened this issue Sep 3, 2023 · 0 comments
Open

small project - competition winner #4

practicalli-johnny opened this issue Sep 3, 2023 · 0 comments
Assignees

Comments

@practicalli-johnny
Copy link
Contributor

practicalli-johnny commented Sep 3, 2023

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

@practicalli-johnny practicalli-johnny self-assigned this Sep 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

1 participant