Skip to content
CAI
Software that uses CAICheck a score

sgoguen/DenseCheck

57.9

Adequate · 15 November 2026

572

lines of production code

F#

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

DenseCheck is a property-based testing library for .NET that systematically enumerates all possible values of domain types rather than generating random data. It achieves this by mapping integers to instances of algebraic data types, allowing for exhaustive testing of small value spaces. The system provides core modules for counting primitives and reflecting complex F\# types, along with utilities for recursive function testing.

Features

Added core DenseCheck library modules for property-based testing

The DenseCheck library has been moved from the test project to the main source tree, introducing core modules that enable property-based testing. This includes \Countable.fs\ which defines the \Countable\ interface and provides generators for primitive types (integers, floats, strings, etc.), \Functions.fs\ which adds a \memoizeRec\ helper for efficient recursive function testing, and supporting modules (\Nat.fs\, \Pairing.fs\, \GodelianToolkit.fs\, \MetaFSharp.fs\) that implement natural number mappings, pairing functions, and F\# type reflection logic to automatically generate test data for complex types like records, unions, sets, and maps.

src/DenseCheck · high confidence

Initial release of DenseCheck for systematic domain model enumeration

DenseCheck is introduced as a companion tool for property-based testing frameworks like FsCheck, designed to systematically generate test data by treating domain types as denumerable sets. Unlike FsCheck's random generation, DenseCheck constructs functions that map integers to all possible instances of a type, allowing users to enumerate specific values or access randomly large instances for thorough testing of smaller value spaces. The release includes the core library, a test suite, and documentation explaining how to define domain models and use the instance catalog to explore all possible values.

(repo-wide) · high confidence

Test coverage

Initial test suite for DenseCheck library

Added a new test suite in \src/DenseCheck.Tests\ to verify the DenseCheck library's ability to index and enumerate algebraic data types. The tests cover distinctness guarantees for generated instances of role-based access control rules, arithmetic expressions, and programming language commands, including support for complex types like sets and maps.

src/DenseCheck.Tests · high confidence

Dependencies

Initial release of DenseCheck library and test project

This change introduces the DenseCheck property-based testing library for .NET (targeting net10.0) along with its associated test suite. The main library project includes NuGet packaging metadata, SourceLink configuration for GitHub, and references to Microsoft.SourceLink.GitHub. The test project is configured with xUnit, Microsoft.NET.Test.Sdk, and coverlet.collector to exercise the library's functionality.

(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 58 → 58 (-0.5)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 93 → 92 (-0.9)
  • Architecture 91 → 88 (-3.5)
  • Maturity 62 → 62 (+0.0)
  • Readiness 37 → 37 (+0.0)
  • Security 100 → 100 (+0.5)

Resolved (2)

  • IL efficiency: 2 authored method(s) exceed the IL budget (DenseCheck/MetaFSharp.fs)
  • Outdated: Microsoft.SourceLink.GitHub

New (1)

  • Outdated: Microsoft.SourceLink.GitHub (src/DenseCheck/DenseCheck.fsproj)

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

Survey your own repository

sgoguen/DenseCheck 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 15 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 92c24c6b6265ae91e4e8e3540b519eec94e18586 — 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-3c33c1882dc1.