{"adoption": {"forks": 402, "observed_at": "2026-08-28T04:08:52.820856+00:00", "stars": 4523}, "canonical_url": "https://ross.abutalabs.com/products/torchcode", "card": {"archived": false, "artifact_type": "learning-resource", "description": "🔥 LeetCode for PyTorch — practice implementing softmax, attention, GPT-2 and more from scratch with instant auto-grading. Jupyter-based, self-hosted or try online.", "domain": ["deep-learning", "education", "tutorials", "machine-learning"], "enriched": true, "function": ["machine-learning", "developer-tools", "testing"], "health_score": 77, "homepage": "https://huggingface.co/spaces/duoan/TorchCode", "language": "Jupyter Notebook", "license": null, "license_family": "other", "maturity": "active", "member_repos": ["duoan/TorchCode"], "name": "duoan/TorchCode", "platform": ["python", "cross-platform"], "pushed_at": "2026-07-31T02:30:18+00:00", "repo": "duoan/TorchCode", "stars": 4523, "tags": ["pytorch", "interview-preparation", "leetcode-style", "jupyter", "auto-grading", "transformers", "self-hosted", "practice-problems", "docker", "web-server"], "topics": ["interview", "leetcode", "pytorch"], "urls": [], "use_cases": ["practice implementing softmax and attention from scratch in pytorch", "prepare for machine learning engineer interview coding questions", "learn to implement transformer blocks like gpt-2 from scratch", "find leetcode-style exercises for pytorch with auto-grading", "self-host a jupyter-based pytorch practice environment", "test my understanding of layer norm and multi-head attention implementations", "get hands-on pytorch exercises with instant feedback"], "what_it_is": "TorchCode is a LeetCode-style interactive practice platform for PyTorch, offering 41 curated problems (softmax, LayerNorm, MultiHeadAttention, GPT-2, etc.) with instant automated grading, hints, and reference solutions. It is Jupyter-based, self-hostable via Docker, and also runnable online or in Google Colab with no GPU required.", "when_to_avoid": ["you need a general-purpose PyTorch library or production training framework rather than practice exercises", "you want a broad algorithm/data-structures LeetCode alternative unrelated to tensors", "you require a formally licensed project - the repository lists no license"], "when_to_choose": ["you are preparing for ML/PyTorch interviews that test from-scratch operator and architecture implementations", "you want structured, auto-graded practice with hints and reference solutions", "you prefer a zero-setup, Jupyter/Colab-based workflow without needing a GPU"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/torchcode", "repo": "duoan/TorchCode", "role": "main", "score": 58}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:52.820856+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:20:15.897312+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4806d023d27846a845ba85edb75abd5d1f29df23d3969c8d9c89a05edbdd08d4", "fetched_at": "2026-08-28T04:08:52.820856+00:00", "kind": "readme", "missing": false, "url": "https://github.com/duoan/TorchCode"}, {"content_hash": "0527f2e5018877ec4a8b95cdfa2e29d5d8549810306604bfcfd0931245cc7640", "fetched_at": "2026-08-29T09:06:01.179591+00:00", "kind": "homepage", "missing": false, "url": "https://huggingface.co/spaces/duoan/TorchCode"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:52.820856+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:20:15.897312+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4806d023d27846a845ba85edb75abd5d1f29df23d3969c8d9c89a05edbdd08d4", "fetched_at": "2026-08-28T04:08:52.820856+00:00", "kind": "readme", "missing": false, "url": "https://github.com/duoan/TorchCode"}, {"content_hash": "0527f2e5018877ec4a8b95cdfa2e29d5d8549810306604bfcfd0931245cc7640", "fetched_at": "2026-08-29T09:06:01.179591+00:00", "kind": "homepage", "missing": false, "url": "https://huggingface.co/spaces/duoan/TorchCode"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:20:15.897312+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4806d023d27846a845ba85edb75abd5d1f29df23d3969c8d9c89a05edbdd08d4", "fetched_at": "2026-08-28T04:08:52.820856+00:00", "kind": "readme", "missing": false, "url": "https://github.com/duoan/TorchCode"}, {"content_hash": "0527f2e5018877ec4a8b95cdfa2e29d5d8549810306604bfcfd0931245cc7640", "fetched_at": "2026-08-29T09:06:01.179591+00:00", "kind": "homepage", "missing": false, "url": "https://huggingface.co/spaces/duoan/TorchCode"}], "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:08:52.820856+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:52.820856+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:52.820856+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:20:15.897312+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4806d023d27846a845ba85edb75abd5d1f29df23d3969c8d9c89a05edbdd08d4", "fetched_at": "2026-08-28T04:08:52.820856+00:00", "kind": "readme", "missing": false, "url": "https://github.com/duoan/TorchCode"}, {"content_hash": "0527f2e5018877ec4a8b95cdfa2e29d5d8549810306604bfcfd0931245cc7640", "fetched_at": "2026-08-29T09:06:01.179591+00:00", "kind": "homepage", "missing": false, "url": "https://huggingface.co/spaces/duoan/TorchCode"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:52.820856+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:52.820856+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:20:15.897312+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4806d023d27846a845ba85edb75abd5d1f29df23d3969c8d9c89a05edbdd08d4", "fetched_at": "2026-08-28T04:08:52.820856+00:00", "kind": "readme", "missing": false, "url": "https://github.com/duoan/TorchCode"}, {"content_hash": "0527f2e5018877ec4a8b95cdfa2e29d5d8549810306604bfcfd0931245cc7640", "fetched_at": "2026-08-29T09:06:01.179591+00:00", "kind": "homepage", "missing": false, "url": "https://huggingface.co/spaces/duoan/TorchCode"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:52.820856+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:52.820856+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:52.820856+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:20:15.897312+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4806d023d27846a845ba85edb75abd5d1f29df23d3969c8d9c89a05edbdd08d4", "fetched_at": "2026-08-28T04:08:52.820856+00:00", "kind": "readme", "missing": false, "url": "https://github.com/duoan/TorchCode"}, {"content_hash": "0527f2e5018877ec4a8b95cdfa2e29d5d8549810306604bfcfd0931245cc7640", "fetched_at": "2026-08-29T09:06:01.179591+00:00", "kind": "homepage", "missing": false, "url": "https://huggingface.co/spaces/duoan/TorchCode"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:52.820856+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:52.820856+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:20:15.897312+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4806d023d27846a845ba85edb75abd5d1f29df23d3969c8d9c89a05edbdd08d4", "fetched_at": "2026-08-28T04:08:52.820856+00:00", "kind": "readme", "missing": false, "url": "https://github.com/duoan/TorchCode"}, {"content_hash": "0527f2e5018877ec4a8b95cdfa2e29d5d8549810306604bfcfd0931245cc7640", "fetched_at": "2026-08-29T09:06:01.179591+00:00", "kind": "homepage", "missing": false, "url": "https://huggingface.co/spaces/duoan/TorchCode"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:20:15.897312+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4806d023d27846a845ba85edb75abd5d1f29df23d3969c8d9c89a05edbdd08d4", "fetched_at": "2026-08-28T04:08:52.820856+00:00", "kind": "readme", "missing": false, "url": "https://github.com/duoan/TorchCode"}, {"content_hash": "0527f2e5018877ec4a8b95cdfa2e29d5d8549810306604bfcfd0931245cc7640", "fetched_at": "2026-08-29T09:06:01.179591+00:00", "kind": "homepage", "missing": false, "url": "https://huggingface.co/spaces/duoan/TorchCode"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:20:15.897312+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4806d023d27846a845ba85edb75abd5d1f29df23d3969c8d9c89a05edbdd08d4", "fetched_at": "2026-08-28T04:08:52.820856+00:00", "kind": "readme", "missing": false, "url": "https://github.com/duoan/TorchCode"}, {"content_hash": "0527f2e5018877ec4a8b95cdfa2e29d5d8549810306604bfcfd0931245cc7640", "fetched_at": "2026-08-29T09:06:01.179591+00:00", "kind": "homepage", "missing": false, "url": "https://huggingface.co/spaces/duoan/TorchCode"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:20:15.897312+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4806d023d27846a845ba85edb75abd5d1f29df23d3969c8d9c89a05edbdd08d4", "fetched_at": "2026-08-28T04:08:52.820856+00:00", "kind": "readme", "missing": false, "url": "https://github.com/duoan/TorchCode"}, {"content_hash": "0527f2e5018877ec4a8b95cdfa2e29d5d8549810306604bfcfd0931245cc7640", "fetched_at": "2026-08-29T09:06:01.179591+00:00", "kind": "homepage", "missing": false, "url": "https://huggingface.co/spaces/duoan/TorchCode"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 95, "longevity": 13, "rhythm": 35}, "computed_at": "2026-09-03T02:39:23.370411+00:00", "flags": ["no_releases", "no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 182, "days_push": 34, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 58, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}