{"adoption": {"forks": 386, "observed_at": "2026-08-28T04:07:45.523771+00:00", "stars": 3131}, "canonical_url": "https://ross.abutalabs.com/products/trfl", "card": {"archived": false, "artifact_type": "library", "description": "TensorFlow Reinforcement Learning", "domain": ["reinforcement-learning", "machine-learning", "deep-learning"], "enriched": true, "function": ["machine-learning", "reinforcement-learning", "deep-learning"], "health_score": 20, "homepage": null, "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["google-deepmind/trfl"], "name": "google-deepmind/trfl", "platform": ["python"], "pushed_at": "2022-12-08T18:07:05+00:00", "repo": "google-deepmind/trfl", "stars": 3131, "tags": ["tensorflow", "reinforcement-learning", "q-learning", "loss-functions", "deepmind", "agents", "gpu"], "topics": [], "urls": [], "use_cases": ["implement q-learning agents in tensorflow", "compute td loss for rl training", "build custom reinforcement learning agents", "distributional rl loss functions", "implement sarsa and expected sarsa updates", "rl value function learning losses"], "what_it_is": "TRFL is a Python library built on TensorFlow that provides building-block loss operations (e.g., Q-learning, TD learning, distributional RL) for implementing reinforcement learning agents. It exposes differentiable loss tensors and auxiliary data via namedtuples that can be plugged into custom agent training loops.", "when_to_avoid": ["you use PyTorch or JAX instead of TensorFlow", "you want a full agent framework rather than loss building blocks", "you need actively maintained software, as development has stalled"], "when_to_choose": ["you are building RL agents on TensorFlow and want well-tested loss primitives", "you need specific RL update rules like Q-learning, Retrace, or V-trace as differentiable ops"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/trfl", "repo": "google-deepmind/trfl", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:45.523771+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:45:57.424296+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc1b207079e0ccc853da2c86bc61c704da2c59a8c4f5801d53f578995fd15cdf", "fetched_at": "2026-08-28T04:07:45.523771+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-deepmind/trfl"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:45.523771+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:45:57.424296+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc1b207079e0ccc853da2c86bc61c704da2c59a8c4f5801d53f578995fd15cdf", "fetched_at": "2026-08-28T04:07:45.523771+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-deepmind/trfl"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:45:57.424296+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc1b207079e0ccc853da2c86bc61c704da2c59a8c4f5801d53f578995fd15cdf", "fetched_at": "2026-08-28T04:07:45.523771+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-deepmind/trfl"}], "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:07:45.523771+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:45.523771+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:45.523771+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:45:57.424296+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc1b207079e0ccc853da2c86bc61c704da2c59a8c4f5801d53f578995fd15cdf", "fetched_at": "2026-08-28T04:07:45.523771+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-deepmind/trfl"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:45.523771+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:45.523771+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:45:57.424296+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc1b207079e0ccc853da2c86bc61c704da2c59a8c4f5801d53f578995fd15cdf", "fetched_at": "2026-08-28T04:07:45.523771+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-deepmind/trfl"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:45.523771+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:45.523771+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:45.523771+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:45:57.424296+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc1b207079e0ccc853da2c86bc61c704da2c59a8c4f5801d53f578995fd15cdf", "fetched_at": "2026-08-28T04:07:45.523771+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-deepmind/trfl"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:45.523771+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:45.523771+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:45:57.424296+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc1b207079e0ccc853da2c86bc61c704da2c59a8c4f5801d53f578995fd15cdf", "fetched_at": "2026-08-28T04:07:45.523771+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-deepmind/trfl"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:45:57.424296+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc1b207079e0ccc853da2c86bc61c704da2c59a8c4f5801d53f578995fd15cdf", "fetched_at": "2026-08-28T04:07:45.523771+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-deepmind/trfl"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:45:57.424296+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc1b207079e0ccc853da2c86bc61c704da2c59a8c4f5801d53f578995fd15cdf", "fetched_at": "2026-08-28T04:07:45.523771+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-deepmind/trfl"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:45:57.424296+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc1b207079e0ccc853da2c86bc61c704da2c59a8c4f5801d53f578995fd15cdf", "fetched_at": "2026-08-28T04:07:45.523771+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-deepmind/trfl"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "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": 2947, "days_push": 1364, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}