{"adoption": {"forks": 224, "observed_at": "2026-08-28T04:06:16.411313+00:00", "stars": 2118}, "canonical_url": "https://ross.abutalabs.com/products/counter_culture", "card": {"archived": false, "artifact_type": "library", "description": "Turbo-charged counter caches for your Rails app.", "domain": ["databases", "web-development", "developer-tools"], "enriched": true, "function": ["database", "caching", "orm"], "health_score": 75, "homepage": null, "language": "Ruby", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["magnusvk/counter_culture"], "name": "magnusvk/counter_culture", "platform": ["ruby"], "pushed_at": "2026-07-08T20:25:19+00:00", "repo": "magnusvk/counter_culture", "stars": 2118, "tags": ["counter-cache", "activerecord", "rails-gem", "denormalization", "rails"], "topics": ["counter-cache", "rails", "ruby", "gem", "utility-library", "activerecord", "database"], "urls": [], "use_cases": ["keep a count of associated records up to date in a parent table", "maintain running totals of child record values in Rails", "avoid expensive COUNT queries on large Rails associations", "track counts through multi-level ActiveRecord relations", "split counters by record type with dynamic column names"], "what_it_is": "counter_culture is a Ruby gem that provides enhanced counter caches for Rails ActiveRecord applications. It keeps denormalized count and sum columns up to date on value changes, across multi-level relations, with dynamic column names.", "when_to_avoid": ["you are not using Ruby on Rails or ActiveRecord", "you expect .size on associations to use the cache - this gem does not change .size behavior", "you only need simple create/destroy counters and Rails' built-in counter_cache suffices"], "when_to_choose": ["you use Rails/ActiveRecord and need accurate, automatically maintained counter caches", "you need counters or sums that update when attribute values change, not just on create/destroy", "you need counters across has_many :through or nested relations"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/counter_culture", "repo": "magnusvk/counter_culture", "role": "main", "score": 73}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.411313+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:53:03.266308+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "94caae76266d233d116f00b744e6b4dbf1a35650738fa446f82015ca839a2c45", "fetched_at": "2026-08-28T04:06:16.411313+00:00", "kind": "readme", "missing": false, "url": "https://github.com/magnusvk/counter_culture"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.411313+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:53:03.266308+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "94caae76266d233d116f00b744e6b4dbf1a35650738fa446f82015ca839a2c45", "fetched_at": "2026-08-28T04:06:16.411313+00:00", "kind": "readme", "missing": false, "url": "https://github.com/magnusvk/counter_culture"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:53:03.266308+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "94caae76266d233d116f00b744e6b4dbf1a35650738fa446f82015ca839a2c45", "fetched_at": "2026-08-28T04:06:16.411313+00:00", "kind": "readme", "missing": false, "url": "https://github.com/magnusvk/counter_culture"}], "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:16.411313+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.411313+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.411313+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:53:03.266308+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "94caae76266d233d116f00b744e6b4dbf1a35650738fa446f82015ca839a2c45", "fetched_at": "2026-08-28T04:06:16.411313+00:00", "kind": "readme", "missing": false, "url": "https://github.com/magnusvk/counter_culture"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.411313+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.411313+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:53:03.266308+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "94caae76266d233d116f00b744e6b4dbf1a35650738fa446f82015ca839a2c45", "fetched_at": "2026-08-28T04:06:16.411313+00:00", "kind": "readme", "missing": false, "url": "https://github.com/magnusvk/counter_culture"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.411313+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.411313+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.411313+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:53:03.266308+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "94caae76266d233d116f00b744e6b4dbf1a35650738fa446f82015ca839a2c45", "fetched_at": "2026-08-28T04:06:16.411313+00:00", "kind": "readme", "missing": false, "url": "https://github.com/magnusvk/counter_culture"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.411313+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.411313+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:53:03.266308+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "94caae76266d233d116f00b744e6b4dbf1a35650738fa446f82015ca839a2c45", "fetched_at": "2026-08-28T04:06:16.411313+00:00", "kind": "readme", "missing": false, "url": "https://github.com/magnusvk/counter_culture"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:53:03.266308+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "94caae76266d233d116f00b744e6b4dbf1a35650738fa446f82015ca839a2c45", "fetched_at": "2026-08-28T04:06:16.411313+00:00", "kind": "readme", "missing": false, "url": "https://github.com/magnusvk/counter_culture"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:53:03.266308+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "94caae76266d233d116f00b744e6b4dbf1a35650738fa446f82015ca839a2c45", "fetched_at": "2026-08-28T04:06:16.411313+00:00", "kind": "readme", "missing": false, "url": "https://github.com/magnusvk/counter_culture"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:53:03.266308+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "94caae76266d233d116f00b744e6b4dbf1a35650738fa446f82015ca839a2c45", "fetched_at": "2026-08-28T04:06:16.411313+00:00", "kind": "readme", "missing": false, "url": "https://github.com/magnusvk/counter_culture"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 91, "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": 5214, "days_push": 56, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 73, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}