Urgent.News

What's breaking now, across thousands of outlets.

Culture

I seal every NBA prediction before tip-off with SHA-256 and a public Git repo

Every sports prediction account has a great record. That's the problem. Once the final score is in, anyone can say they called it, and the easy ways to fake a track record don't need a single lie you can point to: post the calls that came in, quietly delete the ones that didn't, nudge a number after the injury news, or write the "prediction" up after the game. I build Clutch , an NBA app that…

To ensure transparency and verifiability in NBA predictions, the author has developed a system where each pregame prediction is sealed with a SHA-256 fingerprint before tip-off. This fingerprint remains constant until the game ends, even if the underlying probabilities change. The seal is pushed to a public GitHub repository, with commit timestamps provided by GitHub rather than the individual.

Each file includes a reference to the previous file's fingerprint, creating a chain of hashes that links every entry in chronological order. This structure allows anyone to verify the integrity of the prediction data by checking the hashes and ensuring the chain remains unbroken. Additionally, sensitive data is protected using a commit-reveal scheme, where the actual probabilities are hidden until after the game, revealed through a separate file that includes the original data, a secret salt, and the final game results.

This system allows the prediction's credibility to be independently verified without trusting the author, using only standard Python libraries and publicly accessible resources.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Culture

More from Sunday 25 October →