{"adoption": {"forks": 184, "observed_at": "2026-08-28T04:06:52.331085+00:00", "stars": 2440}, "canonical_url": "https://ross.abutalabs.com/products/smartenum", "card": {"archived": false, "artifact_type": "library", "description": "A base class for quickly and easily creating strongly typed enum replacements in C#.", "domain": ["developer-tools", "programming-languages", "backend"], "enriched": true, "function": ["serialization", "type-system", "orm"], "health_score": 78, "homepage": null, "language": "C#", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["ardalis/SmartEnum"], "name": "ardalis/SmartEnum", "platform": ["dotnet", "c"], "pushed_at": "2026-04-29T05:51:57+00:00", "repo": "ardalis/SmartEnum", "stars": 2440, "tags": ["smart-enum", "enum-alternative", "domain-driven-design", "ddd", "value-object", "efcore", "dapper", "system-text-json", "jsonnet", "nuget"], "topics": ["clean", "csharp", "ddd", "design-patterns", "domain-driven-design", "dotnet", "dotnet-core", "enum", "hacktoberfest"], "urls": [], "use_cases": ["replace C# enums with strongly typed classes", "persist smart enums with EF Core", "serialize enums as names with System.Text.Json or Json.NET", "map smart enums with Dapper", "implement value objects in domain-driven design", "look up enum instances by name or value"], "what_it_is": "A C# base class library for creating strongly-typed enum alternatives with behavior, lookup by name or value, and rich integration support. It ships companion packages for EF Core, Dapper, System.Text.Json, Json.NET, and AutoFixture.", "when_to_avoid": ["you only need simple flags or constants with no behavior", "your project is not on .NET/C#", "you want to avoid extra dependencies for trivial enum use cases"], "when_to_choose": ["you need enums with behavior or additional properties in .NET", "you follow DDD and want type-safe value objects instead of primitive enums", "you need enum persistence and JSON serialization integrations out of the box"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/smartenum", "repo": "ardalis/SmartEnum", "role": "main", "score": 65}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:52.331085+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:30:44.115089+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "76c23be632b24a4a96090f190b5671040fee8b7a1007d3cfd55a486be2bb3ce6", "fetched_at": "2026-08-28T04:06:52.331085+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ardalis/SmartEnum"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:52.331085+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:30:44.115089+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "76c23be632b24a4a96090f190b5671040fee8b7a1007d3cfd55a486be2bb3ce6", "fetched_at": "2026-08-28T04:06:52.331085+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ardalis/SmartEnum"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:30:44.115089+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "76c23be632b24a4a96090f190b5671040fee8b7a1007d3cfd55a486be2bb3ce6", "fetched_at": "2026-08-28T04:06:52.331085+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ardalis/SmartEnum"}], "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:06:52.331085+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:52.331085+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:52.331085+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:30:44.115089+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "76c23be632b24a4a96090f190b5671040fee8b7a1007d3cfd55a486be2bb3ce6", "fetched_at": "2026-08-28T04:06:52.331085+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ardalis/SmartEnum"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:52.331085+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:52.331085+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:30:44.115089+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "76c23be632b24a4a96090f190b5671040fee8b7a1007d3cfd55a486be2bb3ce6", "fetched_at": "2026-08-28T04:06:52.331085+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ardalis/SmartEnum"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:52.331085+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:52.331085+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:52.331085+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:30:44.115089+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "76c23be632b24a4a96090f190b5671040fee8b7a1007d3cfd55a486be2bb3ce6", "fetched_at": "2026-08-28T04:06:52.331085+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ardalis/SmartEnum"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:52.331085+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:52.331085+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:30:44.115089+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "76c23be632b24a4a96090f190b5671040fee8b7a1007d3cfd55a486be2bb3ce6", "fetched_at": "2026-08-28T04:06:52.331085+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ardalis/SmartEnum"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:30:44.115089+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "76c23be632b24a4a96090f190b5671040fee8b7a1007d3cfd55a486be2bb3ce6", "fetched_at": "2026-08-28T04:06:52.331085+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ardalis/SmartEnum"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:30:44.115089+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "76c23be632b24a4a96090f190b5671040fee8b7a1007d3cfd55a486be2bb3ce6", "fetched_at": "2026-08-28T04:06:52.331085+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ardalis/SmartEnum"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:30:44.115089+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "76c23be632b24a4a96090f190b5671040fee8b7a1007d3cfd55a486be2bb3ce6", "fetched_at": "2026-08-28T04:06:52.331085+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ardalis/SmartEnum"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 79, "longevity": 100, "rhythm": 28}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3197, "days_push": 126, "days_rel": 652, "gap_med": 47, "n_releases_24m": 2}, "score": 65, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}