{"adoption": {"forks": 239, "observed_at": "2026-08-28T04:05:34.225364+00:00", "stars": 1772}, "canonical_url": "https://ross.abutalabs.com/products/spire", "card": {"archived": false, "artifact_type": "library", "description": "Powerful new number types and numeric abstractions for Scala.", "domain": ["programming-languages", "mathematics"], "enriched": true, "function": ["math", "serialization"], "health_score": 77, "homepage": "http://typelevel.org/spire/", "language": "Scala", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["typelevel/spire"], "name": "typelevel/spire", "platform": ["jvm", "jvm-scripting"], "pushed_at": "2026-07-27T16:55:37+00:00", "repo": "typelevel/spire", "stars": 1772, "tags": ["numeric-types", "typeclasses", "scala", "specialization", "rational-numbers", "complex-numbers", "algorithms"], "topics": [], "urls": [], "use_cases": ["perform exact arithmetic with rational numbers in Scala", "write generic numeric algorithms without baking in a numeric type", "use complex numbers, intervals, and other number types in Scala", "avoid boxing overhead in generic numeric code", "implement math-heavy libraries with type class abstractions"], "what_it_is": "Spire is a numeric library for Scala providing powerful new number types (like Rational, Complex, and more) and generic numeric abstractions via type classes. It aims to be fast and precise, using specialization and macros so generic code performs like hand-written numeric code.", "when_to_avoid": ["you're not working in Scala", "you only need simple built-in Int/Double arithmetic", "you need GPU or vectorized numeric computing"], "when_to_choose": ["you need precise or arbitrary-precision numeric types on the JVM or Scala.js", "you want generic numeric code with performance comparable to direct implementations", "you're in the Typelevel/Scala ecosystem and want algebraic type classes"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/spire", "repo": "typelevel/spire", "role": "main", "score": 65}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:34.225364+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:25:58.540634+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "58ef3e24d57bbcbf258d5c39a2feced6446230c551a777694e242b89090734e4", "fetched_at": "2026-08-28T04:05:34.225364+00:00", "kind": "readme", "missing": false, "url": "https://github.com/typelevel/spire"}, {"content_hash": "72263392f3f95c6918fee1da8bfe241a592298e46ac823f50b8071d6ffc36c3a", "fetched_at": "2026-08-29T11:04:07.992377+00:00", "kind": "homepage", "missing": false, "url": "http://typelevel.org/spire/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:34.225364+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:25:58.540634+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "58ef3e24d57bbcbf258d5c39a2feced6446230c551a777694e242b89090734e4", "fetched_at": "2026-08-28T04:05:34.225364+00:00", "kind": "readme", "missing": false, "url": "https://github.com/typelevel/spire"}, {"content_hash": "72263392f3f95c6918fee1da8bfe241a592298e46ac823f50b8071d6ffc36c3a", "fetched_at": "2026-08-29T11:04:07.992377+00:00", "kind": "homepage", "missing": false, "url": "http://typelevel.org/spire/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:25:58.540634+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "58ef3e24d57bbcbf258d5c39a2feced6446230c551a777694e242b89090734e4", "fetched_at": "2026-08-28T04:05:34.225364+00:00", "kind": "readme", "missing": false, "url": "https://github.com/typelevel/spire"}, {"content_hash": "72263392f3f95c6918fee1da8bfe241a592298e46ac823f50b8071d6ffc36c3a", "fetched_at": "2026-08-29T11:04:07.992377+00:00", "kind": "homepage", "missing": false, "url": "http://typelevel.org/spire/"}], "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:05:34.225364+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:34.225364+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:34.225364+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:25:58.540634+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "58ef3e24d57bbcbf258d5c39a2feced6446230c551a777694e242b89090734e4", "fetched_at": "2026-08-28T04:05:34.225364+00:00", "kind": "readme", "missing": false, "url": "https://github.com/typelevel/spire"}, {"content_hash": "72263392f3f95c6918fee1da8bfe241a592298e46ac823f50b8071d6ffc36c3a", "fetched_at": "2026-08-29T11:04:07.992377+00:00", "kind": "homepage", "missing": false, "url": "http://typelevel.org/spire/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:34.225364+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:34.225364+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:25:58.540634+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "58ef3e24d57bbcbf258d5c39a2feced6446230c551a777694e242b89090734e4", "fetched_at": "2026-08-28T04:05:34.225364+00:00", "kind": "readme", "missing": false, "url": "https://github.com/typelevel/spire"}, {"content_hash": "72263392f3f95c6918fee1da8bfe241a592298e46ac823f50b8071d6ffc36c3a", "fetched_at": "2026-08-29T11:04:07.992377+00:00", "kind": "homepage", "missing": false, "url": "http://typelevel.org/spire/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:34.225364+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:34.225364+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:34.225364+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:25:58.540634+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "58ef3e24d57bbcbf258d5c39a2feced6446230c551a777694e242b89090734e4", "fetched_at": "2026-08-28T04:05:34.225364+00:00", "kind": "readme", "missing": false, "url": "https://github.com/typelevel/spire"}, {"content_hash": "72263392f3f95c6918fee1da8bfe241a592298e46ac823f50b8071d6ffc36c3a", "fetched_at": "2026-08-29T11:04:07.992377+00:00", "kind": "homepage", "missing": false, "url": "http://typelevel.org/spire/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:34.225364+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:34.225364+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:25:58.540634+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "58ef3e24d57bbcbf258d5c39a2feced6446230c551a777694e242b89090734e4", "fetched_at": "2026-08-28T04:05:34.225364+00:00", "kind": "readme", "missing": false, "url": "https://github.com/typelevel/spire"}, {"content_hash": "72263392f3f95c6918fee1da8bfe241a592298e46ac823f50b8071d6ffc36c3a", "fetched_at": "2026-08-29T11:04:07.992377+00:00", "kind": "homepage", "missing": false, "url": "http://typelevel.org/spire/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:25:58.540634+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "58ef3e24d57bbcbf258d5c39a2feced6446230c551a777694e242b89090734e4", "fetched_at": "2026-08-28T04:05:34.225364+00:00", "kind": "readme", "missing": false, "url": "https://github.com/typelevel/spire"}, {"content_hash": "72263392f3f95c6918fee1da8bfe241a592298e46ac823f50b8071d6ffc36c3a", "fetched_at": "2026-08-29T11:04:07.992377+00:00", "kind": "homepage", "missing": false, "url": "http://typelevel.org/spire/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:25:58.540634+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "58ef3e24d57bbcbf258d5c39a2feced6446230c551a777694e242b89090734e4", "fetched_at": "2026-08-28T04:05:34.225364+00:00", "kind": "readme", "missing": false, "url": "https://github.com/typelevel/spire"}, {"content_hash": "72263392f3f95c6918fee1da8bfe241a592298e46ac823f50b8071d6ffc36c3a", "fetched_at": "2026-08-29T11:04:07.992377+00:00", "kind": "homepage", "missing": false, "url": "http://typelevel.org/spire/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:25:58.540634+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "58ef3e24d57bbcbf258d5c39a2feced6446230c551a777694e242b89090734e4", "fetched_at": "2026-08-28T04:05:34.225364+00:00", "kind": "readme", "missing": false, "url": "https://github.com/typelevel/spire"}, {"content_hash": "72263392f3f95c6918fee1da8bfe241a592298e46ac823f50b8071d6ffc36c3a", "fetched_at": "2026-08-29T11:04:07.992377+00:00", "kind": "homepage", "missing": false, "url": "http://typelevel.org/spire/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 94, "longevity": 100, "rhythm": 8}, "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": 5417, "days_push": 37, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 65, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}