{"adoption": {"forks": 342, "observed_at": "2026-08-28T04:07:11.245184+00:00", "stars": 2697}, "canonical_url": "https://ross.abutalabs.com/products/kanwei-algorithms", "card": {"archived": false, "artifact_type": "library", "description": "Ruby algorithms and data structures. C extensions", "domain": ["developer-tools"], "enriched": true, "function": ["developer-tools"], "health_score": 62, "homepage": "http://kanwei.github.io/algorithms/", "language": "Ruby", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["kanwei/algorithms"], "name": "kanwei/algorithms", "platform": ["ruby", "jvm", "cross-platform"], "pushed_at": "2026-02-28T19:30:25+00:00", "repo": "kanwei/algorithms", "stars": 2697, "tags": ["data-structures", "sorting", "searching", "c-extensions", "containers", "algorithms"], "topics": [], "urls": [], "use_cases": ["use a red-black tree or splay tree in Ruby", "sort collections with quicksort or mergesort in Ruby", "implement a priority queue in Ruby", "perform binary search or KMP string search in Ruby", "use heaps, deques, stacks, and queues in Ruby", "benchmark data structure performance in Ruby"], "what_it_is": "A Ruby library providing common algorithms and data structures such as heaps, red-black trees, tries, suffix arrays, sorting, and searching routines. Optional C extensions deliver significant performance improvements where available.", "when_to_avoid": ["you need algorithms in a language other than Ruby", "you only need structures already provided by Ruby's core library", "you need actively developed cutting-edge algorithm implementations"], "when_to_choose": ["you need efficient data structures not in Ruby's standard library", "you want documented guidance on which structure or algorithm to use", "you can use C extensions for performance-critical Ruby code"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/kanwei-algorithms", "repo": "kanwei/algorithms", "role": "main", "score": 63}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:11.245184+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:16:13.261158+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4b656d8b7f9de3d18a6d7eafa8289717d9f80b9ac3546294dca9982aa428e8a", "fetched_at": "2026-08-28T04:07:11.245184+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kanwei/algorithms"}, {"content_hash": "4f5f497817e327a14c22398b18428ea79b9694cbf6d2a6d9214479bd0c07fcee", "fetched_at": "2026-08-29T09:59:17.483442+00:00", "kind": "homepage", "missing": false, "url": "http://kanwei.github.io/algorithms/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:11.245184+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:16:13.261158+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4b656d8b7f9de3d18a6d7eafa8289717d9f80b9ac3546294dca9982aa428e8a", "fetched_at": "2026-08-28T04:07:11.245184+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kanwei/algorithms"}, {"content_hash": "4f5f497817e327a14c22398b18428ea79b9694cbf6d2a6d9214479bd0c07fcee", "fetched_at": "2026-08-29T09:59:17.483442+00:00", "kind": "homepage", "missing": false, "url": "http://kanwei.github.io/algorithms/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:16:13.261158+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4b656d8b7f9de3d18a6d7eafa8289717d9f80b9ac3546294dca9982aa428e8a", "fetched_at": "2026-08-28T04:07:11.245184+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kanwei/algorithms"}, {"content_hash": "4f5f497817e327a14c22398b18428ea79b9694cbf6d2a6d9214479bd0c07fcee", "fetched_at": "2026-08-29T09:59:17.483442+00:00", "kind": "homepage", "missing": false, "url": "http://kanwei.github.io/algorithms/"}], "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:11.245184+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:11.245184+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:11.245184+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:16:13.261158+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4b656d8b7f9de3d18a6d7eafa8289717d9f80b9ac3546294dca9982aa428e8a", "fetched_at": "2026-08-28T04:07:11.245184+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kanwei/algorithms"}, {"content_hash": "4f5f497817e327a14c22398b18428ea79b9694cbf6d2a6d9214479bd0c07fcee", "fetched_at": "2026-08-29T09:59:17.483442+00:00", "kind": "homepage", "missing": false, "url": "http://kanwei.github.io/algorithms/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:11.245184+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:11.245184+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:16:13.261158+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4b656d8b7f9de3d18a6d7eafa8289717d9f80b9ac3546294dca9982aa428e8a", "fetched_at": "2026-08-28T04:07:11.245184+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kanwei/algorithms"}, {"content_hash": "4f5f497817e327a14c22398b18428ea79b9694cbf6d2a6d9214479bd0c07fcee", "fetched_at": "2026-08-29T09:59:17.483442+00:00", "kind": "homepage", "missing": false, "url": "http://kanwei.github.io/algorithms/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:11.245184+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:11.245184+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:11.245184+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:16:13.261158+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4b656d8b7f9de3d18a6d7eafa8289717d9f80b9ac3546294dca9982aa428e8a", "fetched_at": "2026-08-28T04:07:11.245184+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kanwei/algorithms"}, {"content_hash": "4f5f497817e327a14c22398b18428ea79b9694cbf6d2a6d9214479bd0c07fcee", "fetched_at": "2026-08-29T09:59:17.483442+00:00", "kind": "homepage", "missing": false, "url": "http://kanwei.github.io/algorithms/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:11.245184+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:11.245184+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:16:13.261158+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4b656d8b7f9de3d18a6d7eafa8289717d9f80b9ac3546294dca9982aa428e8a", "fetched_at": "2026-08-28T04:07:11.245184+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kanwei/algorithms"}, {"content_hash": "4f5f497817e327a14c22398b18428ea79b9694cbf6d2a6d9214479bd0c07fcee", "fetched_at": "2026-08-29T09:59:17.483442+00:00", "kind": "homepage", "missing": false, "url": "http://kanwei.github.io/algorithms/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:16:13.261158+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4b656d8b7f9de3d18a6d7eafa8289717d9f80b9ac3546294dca9982aa428e8a", "fetched_at": "2026-08-28T04:07:11.245184+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kanwei/algorithms"}, {"content_hash": "4f5f497817e327a14c22398b18428ea79b9694cbf6d2a6d9214479bd0c07fcee", "fetched_at": "2026-08-29T09:59:17.483442+00:00", "kind": "homepage", "missing": false, "url": "http://kanwei.github.io/algorithms/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:16:13.261158+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4b656d8b7f9de3d18a6d7eafa8289717d9f80b9ac3546294dca9982aa428e8a", "fetched_at": "2026-08-28T04:07:11.245184+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kanwei/algorithms"}, {"content_hash": "4f5f497817e327a14c22398b18428ea79b9694cbf6d2a6d9214479bd0c07fcee", "fetched_at": "2026-08-29T09:59:17.483442+00:00", "kind": "homepage", "missing": false, "url": "http://kanwei.github.io/algorithms/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:16:13.261158+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4b656d8b7f9de3d18a6d7eafa8289717d9f80b9ac3546294dca9982aa428e8a", "fetched_at": "2026-08-28T04:07:11.245184+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kanwei/algorithms"}, {"content_hash": "4f5f497817e327a14c22398b18428ea79b9694cbf6d2a6d9214479bd0c07fcee", "fetched_at": "2026-08-29T09:59:17.483442+00:00", "kind": "homepage", "missing": false, "url": "http://kanwei.github.io/algorithms/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 69, "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": 6628, "days_push": 186, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 63, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}