Skip to content
CAI
Software that uses CAICheck a score

ankane/groupdate

65.9

Adequate · 14 November 2026

827

lines of production code

Ruby

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Behavioural changes

Decoupled ActiveRecord dependency and added multi-adapter support

Groupdate no longer requires ActiveRecord to function, allowing it to be used in non-Rails environments or with other ORMs. The library now supports multiple database backends (MySQL, PostgreSQL, SQLite) via a pluggable adapter system, and integrates with ActiveRecord using Rails' \on\_load\ hook to ensure compatibility with lazy loading. Global configuration options for week start, day start, and time zone have been added, and the library now exposes a \process\_result\ API for integration with gems like ActiveMedian.

lib · high confidence

Rewritten database adapters with new base class and SQLite support

The adapter layer has been refactored to use a new BaseAdapter class that centralizes initialization and time-range filtering logic. MySQL and PostgreSQL adapters now implement specific SQL generation for grouping by various periods (minute, hour, day, week, month, quarter, year) and custom intervals, including handling day-start offsets and week-start days. A new SQLiteAdapter has been added, which uses a custom SQLite function (groupdate\_internal) to handle time zone conversions and date grouping, supporting day, week, month, quarter, and year periods as well as custom intervals. This change introduces support for SQLite and standardizes the adapter interface across all supported databases.

lib/groupdate/adapters · high confidence

Test coverage

Added ActiveRecord test support setup; Added comprehensive test suite for grouping functionality; Added test adapter configuration files for multiple database backends.

Dependencies

Added CI support for ActiveRecord 7.2, 8.0, and Redshift

New gemfiles have been added to the project to enable testing against ActiveRecord versions 7.2 and 8.0, as well as the Redshift adapter. These files define the specific gem dependencies required for continuous integration tests on these platforms, ensuring compatibility with the latest major releases of ActiveRecord and the Amazon Redshift database adapter.

gemfiles · high confidence

Groupdate library updated to version 6.8.0

The Groupdate gem has been upgraded to version 6.8.0. This update includes the core library files for ActiveRecord integration, enumerable support, and the underlying magic/series builder logic, ensuring the library is ready for use with the current application stack.

lib/groupdate · high confidence

Updated dependencies and dropped support for older Ruby and Rails versions

The gem now requires Ruby 3.3+ and Active Support 7.2+, dropping support for older versions. Development dependencies such as rake, minitest, and database adapters (pg, mysql2, trilogy, sqlite3) are now explicitly listed in the Gemfile rather than the gemspec, and the gemspec has been cleaned up with updated metadata and file globs.

(dependencies) · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 66 → 66 (-0.1)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 73 → 68 (-5.5)
  • Architecture 69 → 69 (+0.0)
  • Maturity 59 → 61 (+1.5)
  • Readiness 70 → 70 (+0.0)
  • Security 99 → 98 (-0.7)

Findings

  • No change — the same findings as the prior survey.

Changes since last survey

  • 2 commits — 2 feature/other, 0 fixes

By area

  • (root) — 2 commits

Notable commits

  • change: Updated readme [skip ci]
  • change: Updated readme [skip ci]

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

ankane/groupdate was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 14 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 9933b82405985420a31e7a71d90a1ea9d4bb4a3b — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-e1a3b69fc8ee.