{"adoption": {"forks": 578, "observed_at": "2026-08-28T04:05:36.271481+00:00", "stars": 1787}, "canonical_url": "https://ross.abutalabs.com/products/snake", "card": {"archived": false, "artifact_type": "application", "description": "Playing the game of snake with AI.", "domain": ["artificial-intelligence", "reinforcement-learning"], "enriched": true, "function": ["game", "reinforcement-learning", "machine-learning", "simulation"], "health_score": 67, "homepage": null, "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["chynl/snake"], "name": "chynl/snake", "platform": ["python", "cross-platform", "cli"], "pushed_at": "2026-04-19T20:37:04+00:00", "repo": "chynl/snake", "stars": 1787, "tags": ["snake-game", "graph-search", "hamiltonian-path", "deep-reinforcement-learning", "pytorch", "ai-agent", "game-development", "algorithms"], "topics": ["snake", "game", "artificial-intelligence", "graph-theory", "algorithm", "python", "deep-reinforcement-learning", "reinforcement-learning", "ai", "snake-ai"], "urls": [], "use_cases": ["play snake with an AI agent", "train a reinforcement learning model to play snake", "learn graph search algorithms for games", "compare rule-based AI vs reinforcement learning", "study Hamiltonian path strategies in snake", "experiment with deep RL in a simple game environment"], "what_it_is": "A Python application that plays the game of Snake using two AI approaches: a graph-search algorithm based on Hamiltonian paths and shortest paths, and a deep reinforcement learning model trained with PyTorch. It includes a pre-trained model and training scripts, running on CPU or GPU.", "when_to_avoid": ["you need a production game or a general-purpose RL framework", "you want a graphical game engine beyond the snake demo", "you need environments other than snake"], "when_to_choose": ["you want a well-documented, benchmarked snake AI with both graph search and RL approaches", "you want a simple environment to learn or teach reinforcement learning", "you want a ready-to-run demo with a pre-trained model"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/snake", "repo": "chynl/snake", "role": "main", "score": 67}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:36.271481+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:23:28.637686+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6e80c84947a6897c6f0087952afdf7a77bade9f516d02857b6238a997680f67e", "fetched_at": "2026-08-28T04:05:36.271481+00:00", "kind": "readme", "missing": false, "url": "https://github.com/chynl/snake"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:36.271481+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:23:28.637686+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6e80c84947a6897c6f0087952afdf7a77bade9f516d02857b6238a997680f67e", "fetched_at": "2026-08-28T04:05:36.271481+00:00", "kind": "readme", "missing": false, "url": "https://github.com/chynl/snake"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:23:28.637686+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6e80c84947a6897c6f0087952afdf7a77bade9f516d02857b6238a997680f67e", "fetched_at": "2026-08-28T04:05:36.271481+00:00", "kind": "readme", "missing": false, "url": "https://github.com/chynl/snake"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:36.271481+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:36.271481+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:36.271481+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:23:28.637686+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6e80c84947a6897c6f0087952afdf7a77bade9f516d02857b6238a997680f67e", "fetched_at": "2026-08-28T04:05:36.271481+00:00", "kind": "readme", "missing": false, "url": "https://github.com/chynl/snake"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:36.271481+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:36.271481+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:23:28.637686+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6e80c84947a6897c6f0087952afdf7a77bade9f516d02857b6238a997680f67e", "fetched_at": "2026-08-28T04:05:36.271481+00:00", "kind": "readme", "missing": false, "url": "https://github.com/chynl/snake"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:36.271481+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:36.271481+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:36.271481+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:23:28.637686+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6e80c84947a6897c6f0087952afdf7a77bade9f516d02857b6238a997680f67e", "fetched_at": "2026-08-28T04:05:36.271481+00:00", "kind": "readme", "missing": false, "url": "https://github.com/chynl/snake"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:36.271481+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:36.271481+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:23:28.637686+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6e80c84947a6897c6f0087952afdf7a77bade9f516d02857b6238a997680f67e", "fetched_at": "2026-08-28T04:05:36.271481+00:00", "kind": "readme", "missing": false, "url": "https://github.com/chynl/snake"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:23:28.637686+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6e80c84947a6897c6f0087952afdf7a77bade9f516d02857b6238a997680f67e", "fetched_at": "2026-08-28T04:05:36.271481+00:00", "kind": "readme", "missing": false, "url": "https://github.com/chynl/snake"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:23:28.637686+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6e80c84947a6897c6f0087952afdf7a77bade9f516d02857b6238a997680f67e", "fetched_at": "2026-08-28T04:05:36.271481+00:00", "kind": "readme", "missing": false, "url": "https://github.com/chynl/snake"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:23:28.637686+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6e80c84947a6897c6f0087952afdf7a77bade9f516d02857b6238a997680f67e", "fetched_at": "2026-08-28T04:05:36.271481+00:00", "kind": "readme", "missing": false, "url": "https://github.com/chynl/snake"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 78, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3721, "days_push": 136, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 67, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}