{"adoption": {"forks": 72, "observed_at": "2026-08-28T04:03:22.258250+00:00", "stars": 1047}, "canonical_url": "https://ross.abutalabs.com/products/by_star", "card": {"archived": false, "artifact_type": "library", "description": "Lets you find ActiveRecord + Mongoid objects by year, month, fortnight, week and more!", "domain": ["databases", "web-development", "developer-tools"], "enriched": true, "function": ["orm", "database", "date-time"], "health_score": 20, "homepage": "http://ryanbigg.com", "language": "Ruby", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["radar/by_star"], "name": "radar/by_star", "platform": ["ruby", "jvm"], "pushed_at": "2023-01-18T06:30:34+00:00", "repo": "radar/by_star", "stars": 1047, "tags": ["activerecord", "mongoid", "time-based-queries", "rails", "gem"], "topics": [], "urls": [], "use_cases": ["query posts created in a given year or month", "find records between two dates or times", "get all records from yesterday or last week", "find the next or previous record relative to a given record", "query records by calendar month, weekend, or fortnight", "filter ActiveRecord or Mongoid models by time ranges"], "what_it_is": "ByStar is a Ruby gem that adds time-based query scopes to ActiveRecord and Mongoid models, letting you find records by year, month, fortnight, week, day, or arbitrary time ranges. It provides convenient finder methods like by_year, by_month, between_times, before, and after for time-oriented data queries.", "when_to_avoid": ["you don't use ActiveRecord or Mongoid (e.g. Sequel, ROM, or non-Ruby stacks)", "your time queries are too complex or custom for the provided scopes", "you need a non-Ruby ORM time-querying solution"], "when_to_choose": ["you use Rails ActiveRecord or Mongoid and frequently query by time periods", "you want reliable, tested scopes for year/month/week/fortnight queries instead of hand-writing date math", "you need calendar-aware queries like calendar months or weekends"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/by_star", "repo": "radar/by_star", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:22.258250+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:01:08.819208+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f5ca879255d2438fced649a0f931fb00e08a04335babec9c926708c0673b9862", "fetched_at": "2026-08-28T04:03:22.258250+00:00", "kind": "readme", "missing": false, "url": "https://github.com/radar/by_star"}, {"content_hash": "7de34b15c7376a444cc82767588918b7191a96230d33b13d1c217ed3d0e448ef", "fetched_at": "2026-08-29T13:02:27.392763+00:00", "kind": "homepage", "missing": false, "url": "http://ryanbigg.com"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:22.258250+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:01:08.819208+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f5ca879255d2438fced649a0f931fb00e08a04335babec9c926708c0673b9862", "fetched_at": "2026-08-28T04:03:22.258250+00:00", "kind": "readme", "missing": false, "url": "https://github.com/radar/by_star"}, {"content_hash": "7de34b15c7376a444cc82767588918b7191a96230d33b13d1c217ed3d0e448ef", "fetched_at": "2026-08-29T13:02:27.392763+00:00", "kind": "homepage", "missing": false, "url": "http://ryanbigg.com"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:01:08.819208+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f5ca879255d2438fced649a0f931fb00e08a04335babec9c926708c0673b9862", "fetched_at": "2026-08-28T04:03:22.258250+00:00", "kind": "readme", "missing": false, "url": "https://github.com/radar/by_star"}, {"content_hash": "7de34b15c7376a444cc82767588918b7191a96230d33b13d1c217ed3d0e448ef", "fetched_at": "2026-08-29T13:02:27.392763+00:00", "kind": "homepage", "missing": false, "url": "http://ryanbigg.com"}], "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:03:22.258250+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:22.258250+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:22.258250+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:01:08.819208+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f5ca879255d2438fced649a0f931fb00e08a04335babec9c926708c0673b9862", "fetched_at": "2026-08-28T04:03:22.258250+00:00", "kind": "readme", "missing": false, "url": "https://github.com/radar/by_star"}, {"content_hash": "7de34b15c7376a444cc82767588918b7191a96230d33b13d1c217ed3d0e448ef", "fetched_at": "2026-08-29T13:02:27.392763+00:00", "kind": "homepage", "missing": false, "url": "http://ryanbigg.com"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:22.258250+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:22.258250+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:01:08.819208+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f5ca879255d2438fced649a0f931fb00e08a04335babec9c926708c0673b9862", "fetched_at": "2026-08-28T04:03:22.258250+00:00", "kind": "readme", "missing": false, "url": "https://github.com/radar/by_star"}, {"content_hash": "7de34b15c7376a444cc82767588918b7191a96230d33b13d1c217ed3d0e448ef", "fetched_at": "2026-08-29T13:02:27.392763+00:00", "kind": "homepage", "missing": false, "url": "http://ryanbigg.com"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:22.258250+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:22.258250+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:22.258250+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:01:08.819208+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f5ca879255d2438fced649a0f931fb00e08a04335babec9c926708c0673b9862", "fetched_at": "2026-08-28T04:03:22.258250+00:00", "kind": "readme", "missing": false, "url": "https://github.com/radar/by_star"}, {"content_hash": "7de34b15c7376a444cc82767588918b7191a96230d33b13d1c217ed3d0e448ef", "fetched_at": "2026-08-29T13:02:27.392763+00:00", "kind": "homepage", "missing": false, "url": "http://ryanbigg.com"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:22.258250+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:22.258250+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:01:08.819208+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f5ca879255d2438fced649a0f931fb00e08a04335babec9c926708c0673b9862", "fetched_at": "2026-08-28T04:03:22.258250+00:00", "kind": "readme", "missing": false, "url": "https://github.com/radar/by_star"}, {"content_hash": "7de34b15c7376a444cc82767588918b7191a96230d33b13d1c217ed3d0e448ef", "fetched_at": "2026-08-29T13:02:27.392763+00:00", "kind": "homepage", "missing": false, "url": "http://ryanbigg.com"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:01:08.819208+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f5ca879255d2438fced649a0f931fb00e08a04335babec9c926708c0673b9862", "fetched_at": "2026-08-28T04:03:22.258250+00:00", "kind": "readme", "missing": false, "url": "https://github.com/radar/by_star"}, {"content_hash": "7de34b15c7376a444cc82767588918b7191a96230d33b13d1c217ed3d0e448ef", "fetched_at": "2026-08-29T13:02:27.392763+00:00", "kind": "homepage", "missing": false, "url": "http://ryanbigg.com"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:01:08.819208+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f5ca879255d2438fced649a0f931fb00e08a04335babec9c926708c0673b9862", "fetched_at": "2026-08-28T04:03:22.258250+00:00", "kind": "readme", "missing": false, "url": "https://github.com/radar/by_star"}, {"content_hash": "7de34b15c7376a444cc82767588918b7191a96230d33b13d1c217ed3d0e448ef", "fetched_at": "2026-08-29T13:02:27.392763+00:00", "kind": "homepage", "missing": false, "url": "http://ryanbigg.com"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:01:08.819208+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f5ca879255d2438fced649a0f931fb00e08a04335babec9c926708c0673b9862", "fetched_at": "2026-08-28T04:03:22.258250+00:00", "kind": "readme", "missing": false, "url": "https://github.com/radar/by_star"}, {"content_hash": "7de34b15c7376a444cc82767588918b7191a96230d33b13d1c217ed3d0e448ef", "fetched_at": "2026-08-29T13:02:27.392763+00:00", "kind": "homepage", "missing": false, "url": "http://ryanbigg.com"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "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": 6492, "days_push": 1323, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}