This is a funny take on the collision of two totally different worlds: Superstition and Mathematical Statistics

Inspiration

I have always been attracted to the idea of fortune and luck. I have a unique take on this in which I think the universe is somewhat fair, meaning one would experience the similar amount of fortune and misfortune. This implies when unfortunate event happens, there will be a higher probability of fortunate event happening after.

What it does

This program allows user to log their everyday events to the app. Then an AI-based mechanism will score the event from -100, meaning extremely unlucky events, to 100, meaning extremely lucky events. Then the program can calculate an overall Luck Factor based on your recorded events. Since I assumed that the universe is fair, we would assume the sum of all Luck Factor would tend to 0 once more and more event is logged. Therefore, I can calculate the amount of fortune/misfortune that is currently "Overdue". I also included a line graph to show the change in Luck Factor over time. This highlights the pattern and trends hidden within. I have also included an average Luck Factor by category. Finally, I also added a Event History which stores all the user logged event alongside the Luck Factor of the event.

How we built it

Luck Diary is a Vite + React app

Challenges we ran into

I have run into multiple challenges throughout the project, especially the use of API keys, Prompt tuning, Data visualisation and Environment safety.

What we learned

I have learned a lot throughout, however, I think learning the use and management of API Keys and ensuring how to keep them safe in the repo

Accomplishments that we're proud of

I am very proud of myself for trying new things like using API Keys. I am also really proud of the fact that I turned what initially a joke into a hackathon project.

What's next for Luck Diary

I aim to continue updating Luck Diary and including more features in the future.

Built With

Share this project:

Updates