Skip to content
CAI
Software that uses CAICheck a score

mxgmn/MarkovJunior

39.8

Weak · 12 November 2026

3.8k

lines of production code

C#

primary language

7

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

MarkovJunior is a probabilistic programming language and engine designed for rule-based procedural generation and inference, primarily targeting game content creation. It utilizes a grid-based model with configurable rules and adjacency constraints to generate structures like mazes and dungeons, supported by a modern .NET 10 backend for image processing and simulation.

Features

Initial release of MarkovJunior documentation and model definitions

This change introduces the core documentation and configuration files for the MarkovJunior probabilistic programming language. It adds a comprehensive README explaining the language's rewrite-rule-based approach to procedural generation and inference, a syntax guide detailing grid, rule, and node structures, and a models.xml file defining parameters for numerous procedural generation examples (such as mazes, dungeons, and growth patterns). Additionally, standard repository files like .gitignore and CITATION.cff are added to support the project's initial public release.

(repo-wide) · high confidence

Initial release of game configuration and tileset resources

This change introduces the foundational resource files for the game, including a color palette (\palette.xml\) defining visual symbols, application settings (\settings.xml\) for layout and display, and a comprehensive suite of tileset definitions (\tilesets/\*.xml\). These tilesets—such as Dungeon, Escher, Knots, and Paths—specify the available map tiles, their generation weights, and the valid adjacency rules that govern how tiles connect to one another, effectively establishing the core visual and structural logic for the game's procedural generation.

resources · high confidence

New cellular automata and image-processing nodes with modern graphics backend

The source now includes new node types for rule-based simulation and image analysis: ConvolutionNode applies 2D/3D convolution rules (Von Neumann, Moore, NoCorners neighborhoods) to grid states; ConvChainNode performs probabilistic pattern matching on a substrate using weighted symmetries; AllNode executes rule matching with optional heuristic-based ordering; and MapNode scales and maps input grids to new resolutions. The GUI and rendering pipeline have been updated to use SixLabors.ImageSharp (Bgra32) for loading and saving bitmaps, replacing the previous byte-order inversion approach, and the interpreter now supports an 'origin' boolean to initialize the grid state at the center.

source · high confidence

Dependencies

Add .NET 10 project with ImageSharp dependency

The MarkovJunior project now targets .NET 10.0 and includes the SixLabors.ImageSharp library (version 3.1.12) for image processing. Additionally, model and resource files are configured to be copied to the output directory upon build.

(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 42 → 40 (-1.9)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.3) — scores are not directly comparable.

Lenses

  • Code Health 66 → 60 (-5.6)
  • Architecture 100 → 70 (-29.5)
  • Maturity 55 → 60 (+4.6)
  • Readiness 12 → 12 (+0.0)
  • Security 100 → 100 (+0.0)

Resolved (4)

  • Duplicated block (6 lines × 8) (source/SymmetryHelper.cs)
  • IL efficiency: 19 authored method(s) exceed the IL budget (source/TileModel.cs)
  • No tests found
  • XML-doc coverage: MarkovJunior (MarkovJunior.csproj)

New (5)

  • Edited copies of one member (3 members, 11+ corresponding lines) (source/Rule.cs)
  • Edited copy of a member (15 corresponding lines) (source/Grid.cs)
  • Edited copy of a member (15 corresponding lines) (source/Map.cs)
  • Edited copy of a member (5 corresponding lines) (source/ArrayHelper.cs)
  • Edited copy of a member (6 corresponding lines) (source/AllNode.cs)

Architecture

  • Unchanged — 1 containers · 0 contexts · 0 edges

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

Survey your own repository

mxgmn/MarkovJunior 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 12 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 42aaf24bcf54ae164fba49c0a59348297904a676 — the exact code this score is about.
  • Scored under rubric-2026.11.3 — 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.42+preprod-6bc2a431cb25.