CrystalCommunity::Seeders::FakeGithubStatGenerator
Constants
DEFAULT_COUNT = 30
TOPIC_POOL = ["crystal", "crystal-lang", "crystal-language", "cli", "kemal", "lucky", "web", "api", "database", "redis", "docker", "http", "json", "framework", "testing", "shards", "shard", "postgresql", "orm", "terminal", "parser", "discord", "linux", "security", "library", "bot", "markdown", "server"] of ::String
Instance methods
Inserts fake github_stats rows with collected_at stepped back one day per row
(newest first in DB order for charts). repos_scanned and total_stars rise monotonically
as collected_at moves forward (oldest day = smallest, today = largest).
Star buckets sum to repos_scanned; user + org repo counts equal repos_scanned.