{"adoption": {"forks": 71, "observed_at": "2026-08-28T04:03:15.985531+00:00", "stars": 1022}, "canonical_url": "https://ross.abutalabs.com/products/google-deepmind-tree", "card": {"archived": false, "artifact_type": "library", "description": "tree is a library for working with nested data structures", "domain": ["machine-learning", "data-science", "developer-tools"], "enriched": true, "function": ["serialization", "data-science", "machine-learning"], "health_score": 96, "homepage": "https://tree.readthedocs.io", "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "stable", "member_repos": ["google-deepmind/tree"], "name": "google-deepmind/tree", "platform": ["python", "cpp", "cross-platform"], "pushed_at": "2026-08-10T20:04:40+00:00", "repo": "google-deepmind/tree", "stars": 1022, "tags": ["nested-structures", "pytree", "map-structure", "flatten", "deepmind"], "topics": [], "urls": [], "use_cases": ["flatten nested python structures into flat lists", "apply a function to every leaf of a nested structure", "manipulate model parameters stored in nested dicts and tuples", "process nested data in machine learning training pipelines", "compare or zip nested structures elementwise", "unflatten flat sequences back into nested structures"], "what_it_is": "tree (dm-tree) is a Python library for working with nested data structures, generalizing the builtin map function to apply functions to leaves while preserving structure. It is backed by an optimized C++ implementation suitable for demanding machine learning workloads.", "when_to_avoid": ["you only need simple flat list transformations with builtin map", "you need serialization to disk or network formats rather than in-memory structure ops", "your project is not Python-based"], "when_to_choose": ["you need fast, C++-backed manipulation of nested data structures", "you work with ML frameworks that represent parameters as nested trees", "you want a JAX-style pytree utility for TensorFlow or NumPy code"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/google-deepmind-tree", "repo": "google-deepmind/tree", "role": "main", "score": 79}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:15.985531+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:08:44.066078+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "318d70ec57942ea59458989cb539877719e59fd71d4eb9d834634e631d6ecac5", "fetched_at": "2026-08-28T04:03:15.985531+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-deepmind/tree"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:15.985531+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:08:44.066078+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "318d70ec57942ea59458989cb539877719e59fd71d4eb9d834634e631d6ecac5", "fetched_at": "2026-08-28T04:03:15.985531+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-deepmind/tree"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:08:44.066078+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "318d70ec57942ea59458989cb539877719e59fd71d4eb9d834634e631d6ecac5", "fetched_at": "2026-08-28T04:03:15.985531+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-deepmind/tree"}], "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:03:15.985531+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:15.985531+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:15.985531+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:08:44.066078+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "318d70ec57942ea59458989cb539877719e59fd71d4eb9d834634e631d6ecac5", "fetched_at": "2026-08-28T04:03:15.985531+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-deepmind/tree"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:15.985531+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:15.985531+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:08:44.066078+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "318d70ec57942ea59458989cb539877719e59fd71d4eb9d834634e631d6ecac5", "fetched_at": "2026-08-28T04:03:15.985531+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-deepmind/tree"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:15.985531+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:15.985531+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:15.985531+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:08:44.066078+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "318d70ec57942ea59458989cb539877719e59fd71d4eb9d834634e631d6ecac5", "fetched_at": "2026-08-28T04:03:15.985531+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-deepmind/tree"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:15.985531+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:15.985531+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:08:44.066078+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "318d70ec57942ea59458989cb539877719e59fd71d4eb9d834634e631d6ecac5", "fetched_at": "2026-08-28T04:03:15.985531+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-deepmind/tree"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:08:44.066078+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "318d70ec57942ea59458989cb539877719e59fd71d4eb9d834634e631d6ecac5", "fetched_at": "2026-08-28T04:03:15.985531+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-deepmind/tree"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:08:44.066078+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "318d70ec57942ea59458989cb539877719e59fd71d4eb9d834634e631d6ecac5", "fetched_at": "2026-08-28T04:03:15.985531+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-deepmind/tree"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:08:44.066078+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "318d70ec57942ea59458989cb539877719e59fd71d4eb9d834634e631d6ecac5", "fetched_at": "2026-08-28T04:03:15.985531+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-deepmind/tree"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 97, "longevity": 100, "rhythm": 45}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2521, "days_push": 23, "days_rel": 155, "gap_med": 424, "n_releases_24m": 2}, "score": 79, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}