{"adoption": {"forks": 403, "observed_at": "2026-08-28T04:08:51.145352+00:00", "stars": 4481}, "canonical_url": "https://ross.abutalabs.com/products/swift-collections", "card": {"archived": false, "artifact_type": "library", "description": "Commonly used data structures for Swift", "domain": ["developer-tools", "programming-languages"], "enriched": true, "function": ["developer-tools"], "health_score": 99, "homepage": null, "language": "Swift", "license": "Apache-2.0", "license_family": "permissive", "maturity": "stable", "member_repos": ["apple/swift-collections"], "name": "apple/swift-collections", "platform": ["cross-platform"], "pushed_at": "2026-08-25T21:03:00+00:00", "repo": "apple/swift-collections", "stars": 4481, "tags": ["data-structures", "collections", "deque", "ordered-dictionary", "ordered-set", "heap", "bitset", "swift-package", "algorithms", "swift"], "topics": ["collection", "container", "deque", "dequeue", "hash", "ordered-dictionary", "ordered-set", "sequence", "queue"], "urls": [], "use_cases": ["need a deque or double-ended queue in Swift", "want an ordered set or ordered dictionary preserving insertion order", "need a priority queue or heap implementation", "require a fixed-capacity or uniquely-owned array type", "looking for a sorted or tree-backed dictionary in Swift", "need efficient bit set collections"], "what_it_is": "An open-source Swift package from Apple providing implementations of commonly used data structures such as deques, ordered sets, ordered dictionaries, heaps, bit collections, and hash-based tree collections. It extends the Swift standard library with production-quality, generic container types organized into thematic modules.", "when_to_avoid": ["your project is not in Swift", "the standard library's Array, Set, and Dictionary already meet your needs", "you need highly specialized structures not offered by the package"], "when_to_choose": ["you are writing Swift and need data structures missing from the standard library", "you want Apple-maintained, well-tested collection implementations", "you need performance-optimized generic containers via Swift Package Manager"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/swift-collections", "repo": "apple/swift-collections", "role": "main", "score": 91}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.145352+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:20:32.952024+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ae5a65ed6496fd78ffa0a68e03962e2d2ac77535a190b86757224266d14c183f", "fetched_at": "2026-08-28T04:08:51.145352+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-collections"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.145352+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:20:32.952024+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ae5a65ed6496fd78ffa0a68e03962e2d2ac77535a190b86757224266d14c183f", "fetched_at": "2026-08-28T04:08:51.145352+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-collections"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:20:32.952024+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ae5a65ed6496fd78ffa0a68e03962e2d2ac77535a190b86757224266d14c183f", "fetched_at": "2026-08-28T04:08:51.145352+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-collections"}], "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:51.145352+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.145352+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.145352+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:20:32.952024+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ae5a65ed6496fd78ffa0a68e03962e2d2ac77535a190b86757224266d14c183f", "fetched_at": "2026-08-28T04:08:51.145352+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-collections"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.145352+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.145352+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:20:32.952024+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ae5a65ed6496fd78ffa0a68e03962e2d2ac77535a190b86757224266d14c183f", "fetched_at": "2026-08-28T04:08:51.145352+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-collections"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.145352+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.145352+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.145352+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:20:32.952024+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ae5a65ed6496fd78ffa0a68e03962e2d2ac77535a190b86757224266d14c183f", "fetched_at": "2026-08-28T04:08:51.145352+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-collections"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.145352+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:51.145352+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:20:32.952024+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ae5a65ed6496fd78ffa0a68e03962e2d2ac77535a190b86757224266d14c183f", "fetched_at": "2026-08-28T04:08:51.145352+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-collections"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:20:32.952024+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ae5a65ed6496fd78ffa0a68e03962e2d2ac77535a190b86757224266d14c183f", "fetched_at": "2026-08-28T04:08:51.145352+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-collections"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:20:32.952024+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ae5a65ed6496fd78ffa0a68e03962e2d2ac77535a190b86757224266d14c183f", "fetched_at": "2026-08-28T04:08:51.145352+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-collections"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:20:32.952024+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ae5a65ed6496fd78ffa0a68e03962e2d2ac77535a190b86757224266d14c183f", "fetched_at": "2026-08-28T04:08:51.145352+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-collections"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 75}, "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": 2025, "days_push": 8, "days_rel": 86, "gap_med": 33.5, "n_releases_24m": 11}, "score": 91, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}