Skip to content

Calculates the mathematical chances of each team qualifying for playoffs in Indian Premier League ๐Ÿ๐Ÿ

License

Notifications You must be signed in to change notification settings

adi-g15/ipl_pred

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

82 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

IPL Qualification Calculator

CodeFactor Netlify Status deepcode

Calculates the mathematical chances of each team qualifying for playoffs in Indian Premier League (Vivo IPL bhi bol sakte hai ๐Ÿ™‚)

The compute intensive algorithm is implemented in Rust, and interfaced to Javascript through WebAssembly.

It also gives many interesting insights into how the chances change, and affect each other, some observations can be found in data/graph_data.json. And i am planning to use it to show the graph of how the chances varies match by match.

Screenshot

Tech Stack

Note: Jaan bujh kar complex banaya gaya, taaki jyada se jyada naya try kar paye, jaha kuchh aur simple ho sakta tha, lekin main code ko hamesha simple rkhne ki koshish karta hu

Rust Javascript WebAssembly AirTable Serverless lambda functions

If thinking simply, we can remove... Rust, WebAssembly, and Serverless ๐Ÿ™‚

More instructions to README will be added after the graph feature is added

Future Tasks

  • [] readme เคนเคฟเค‚เคฆเฅ€ เคฎเฅ‡เค‚

  • [] In case of ties, use the binary condition: Either NRR is less or greater (ignore equals condition, will rarely even occur)

  • [] Implement a 'minimum chances' algorithm, that is if the selected team loses all of its future matches

  • Graph of deviations in chances for each team, after each match

  • [] Computing default case in background, and asynchronously request for complete chances from that point on, if available return it, if not return null in data, AND start a task to compute the chances then

3rd one only makes sense to me if on a dedicated backend DROPPED: API endpoint to return already computed chances

Ek CSK fan dwara aapke liye, Aditya Gupta... Create your fork, it's under the Unlicense license ๐Ÿฅณ

About

Calculates the mathematical chances of each team qualifying for playoffs in Indian Premier League ๐Ÿ๐Ÿ

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published