{"id":20941732,"url":"https://github.com/fynydd/fynydd.benford","last_synced_at":"2026-04-27T09:01:49.801Z","repository":{"id":239926763,"uuid":"801256010","full_name":"fynydd/Fynydd.Benford","owner":"fynydd","description":"Experiment with Benford's Law to find data anomalies in number lists and images (Windows, macOS, Linux, .NET 8.0, x64, Arm64, Apple Silicon)","archived":false,"fork":false,"pushed_at":"2025-11-13T22:04:33.000Z","size":2818,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-27T19:20:36.644Z","etag":null,"topics":["analytics","anomalous-numbers","benfords-law","dotnet","fake","fraud","normal-distribution","numbers","patterns","statistics"],"latest_commit_sha":null,"homepage":"https://fynydd.com/blog/open-source-benford/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fynydd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-05-15T22:05:04.000Z","updated_at":"2025-11-13T22:04:37.000Z","dependencies_parsed_at":"2024-05-16T02:15:32.657Z","dependency_job_id":null,"html_url":"https://github.com/fynydd/Fynydd.Benford","commit_stats":null,"previous_names":["fynydd/fynydd.benford"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fynydd/Fynydd.Benford","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fynydd%2FFynydd.Benford","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fynydd%2FFynydd.Benford/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fynydd%2FFynydd.Benford/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fynydd%2FFynydd.Benford/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fynydd","download_url":"https://codeload.github.com/fynydd/Fynydd.Benford/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fynydd%2FFynydd.Benford/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32329466,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["analytics","anomalous-numbers","benfords-law","dotnet","fake","fraud","normal-distribution","numbers","patterns","statistics"],"created_at":"2024-11-18T23:17:45.634Z","updated_at":"2026-04-27T09:01:49.796Z","avatar_url":"https://github.com/fynydd.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# What is Benford’s Law?\n\nWe all know about the [Normal distribution](https://en.wikipedia.org/wiki/Normal_distribution) and its ubiquity in all kind of natural phenomena or observations. But there is another law of numbers which does not get much attention but pops up everywhere — from nations’ population to stock market volumes to the domain of universal physical constants.\n\n**Benford’s Law**, also known as the **Law of First Digits**, the **Phenomenon of Significant Digits**, or the **Law of Anomalous Numbers** is the finding that the first digits (or numerals to be exact) of the numbers found in series of records of the most varied sources do not display a uniform distribution, but rather are arranged in such a way that the digit “1” is the most frequent, followed by “2”, “3”, and so in a successively decreasing manner down to “9”.\n\nThe distribution of first digits should follow the pattern in the image below:\n\n![Benford's Law Chart](https://upload.wikimedia.org/wikipedia/commons/thumb/4/46/Rozklad_benforda.svg/500px-Rozklad_benforda.svg.png)\n\nThis distribution is specifically:\n\n```\nDigit   Benford [%]\n=====   ===========\n1       30.10\n2       17.61\n3       12.49\n4       09.69\n5       07.92\n6       06.69\n7       05.80\n8       05.12\n9       04.58\n```\n\n## Project\n\nThis project is a .NET console app project to play with Benford's Law using 2020 and 2024 U.S. election data. You can also fill a text file with a large, random data set from most any source to see if the data follows this law and determine if the data has been artificially altered.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffynydd%2Ffynydd.benford","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffynydd%2Ffynydd.benford","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffynydd%2Ffynydd.benford/lists"}