{"adoption": {"forks": 164, "observed_at": "2026-08-28T04:08:33.896753+00:00", "stars": 4054}, "canonical_url": "https://ross.abutalabs.com/products/oneof", "card": {"archived": false, "artifact_type": "library", "description": "Easy to use F#-like ~discriminated~ unions for C# with exhaustive compile time matching", "domain": ["programming-languages", "developer-tools"], "enriched": true, "function": ["type-system", "error-handling"], "health_score": 72, "homepage": null, "language": "C#", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["mcintyre321/OneOf"], "name": "mcintyre321/OneOf", "platform": ["dotnet", "cross-platform"], "pushed_at": "2026-06-11T20:22:18+00:00", "repo": "mcintyre321/OneOf", "stars": 4054, "tags": ["discriminated-unions", "csharp", "result-types", "pattern-matching", "functional-programming"], "topics": ["discriminated-unions", "c-sharp", "f-sharp", "dotnetcore"], "urls": [], "use_cases": ["return multiple typed results from a c# method", "avoid exceptions for control flow", "implement option/maybe types in c#", "exhaustive compile-time checked switch handling", "model success or error outcomes with strong types"], "what_it_is": "OneOf is a C# library providing F#-style discriminated unions via a generic OneOf<T0,...,Tn> type with exhaustive compile-time matching. It lets methods return strongly typed alternative outcomes without exceptions or base-class hierarchies.", "when_to_avoid": ["you work outside the .NET ecosystem", "your team prefers traditional polymorphism or exception handling", "you need runtime-open unions with dynamically extensible cases"], "when_to_choose": ["you write C# and want F#-like discriminated unions", "you want method signatures that force callers to handle every outcome", "you want to replace exception-based control flow with typed error values"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/oneof", "repo": "mcintyre321/OneOf", "role": "main", "score": 71}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:33.896753+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:23:38.257866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d02ea4fba6ea2d56b785d34da5104421622db57918e91e28fa9ec90df50f69d", "fetched_at": "2026-08-28T04:08:33.896753+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mcintyre321/OneOf"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:33.896753+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:23:38.257866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d02ea4fba6ea2d56b785d34da5104421622db57918e91e28fa9ec90df50f69d", "fetched_at": "2026-08-28T04:08:33.896753+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mcintyre321/OneOf"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:23:38.257866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d02ea4fba6ea2d56b785d34da5104421622db57918e91e28fa9ec90df50f69d", "fetched_at": "2026-08-28T04:08:33.896753+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mcintyre321/OneOf"}], "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:33.896753+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:33.896753+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:33.896753+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:23:38.257866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d02ea4fba6ea2d56b785d34da5104421622db57918e91e28fa9ec90df50f69d", "fetched_at": "2026-08-28T04:08:33.896753+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mcintyre321/OneOf"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:33.896753+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:33.896753+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:23:38.257866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d02ea4fba6ea2d56b785d34da5104421622db57918e91e28fa9ec90df50f69d", "fetched_at": "2026-08-28T04:08:33.896753+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mcintyre321/OneOf"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:33.896753+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:33.896753+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:33.896753+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:23:38.257866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d02ea4fba6ea2d56b785d34da5104421622db57918e91e28fa9ec90df50f69d", "fetched_at": "2026-08-28T04:08:33.896753+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mcintyre321/OneOf"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:33.896753+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:33.896753+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:23:38.257866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d02ea4fba6ea2d56b785d34da5104421622db57918e91e28fa9ec90df50f69d", "fetched_at": "2026-08-28T04:08:33.896753+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mcintyre321/OneOf"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:23:38.257866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d02ea4fba6ea2d56b785d34da5104421622db57918e91e28fa9ec90df50f69d", "fetched_at": "2026-08-28T04:08:33.896753+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mcintyre321/OneOf"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:23:38.257866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d02ea4fba6ea2d56b785d34da5104421622db57918e91e28fa9ec90df50f69d", "fetched_at": "2026-08-28T04:08:33.896753+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mcintyre321/OneOf"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:23:38.257866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6d02ea4fba6ea2d56b785d34da5104421622db57918e91e28fa9ec90df50f69d", "fetched_at": "2026-08-28T04:08:33.896753+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mcintyre321/OneOf"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 87, "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": 3886, "days_push": 83, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 71, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}