Skip to content
CAI
Software that uses CAICheck a score

red-data-tools/YouPlot

65.1

Adequate · 14 November 2026

1.2k

lines of production code

Ruby

primary language

7

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

YouPlot is a Ruby library and command-line tool that generates text-based visualizations in the terminal using Unicode characters. It supports a variety of chart types, including bar, line, scatter, histogram, density, and boxplots, and features progressive real-time updates for streaming data. The system handles data parsing and aggregation, allowing users to configure plots via command-line arguments or persistent configuration files.

Features

Initial Steep type-checking configuration and signature for Aggregation module

The project now includes a Steepfile to configure static type checking for the lib directory using the sig folder, and introduces the first RBS signature file defining the type contract for the YouPlot::Aggregation module, specifically the count\_values method.

sig · high confidence

Introduce UnicodePlot backend for text-based visualizations

Adds a new \lib/youplot/backends/unicode\_plot.rb\ backend that renders plots using Unicode characters via the \unicode\_plot\ gem. This backend supports barplots (including count mode with optional reverse sorting and integer formatting for labels), histograms, line plots, scatter plots, density plots, boxplots, and multi-series line/scatter plots (xyy/xyxy formats). It also includes a patch to handle invalid numeric color specifications in line plots by displaying an error message and exiting or raising an error, ensuring robustness when interacting with the underlying library.

lib/youplot/backends · high confidence

YouPlot v0.5.0: progressive terminal plotting and configuration support

YouPlot v0.5.0 introduces progressive mode, allowing plots to update in real-time as data is streamed to the terminal, with proper cleanup of cursor and screen artifacts on exit. The release adds support for configuration files (via \.youplot.yml\ or \.youplotrc\), enabling persistent settings that can be overridden by command-line arguments. It also includes a new \count\_values\ aggregation function with natural sorting for labels, improved error handling, and compatibility with Ruby 2.4+.

lib/youplot · high confidence

Removals

Removal of development convenience scripts

The \bin/console\ and \bin/setup\ scripts have been removed from the project. Users will no longer be able to use these specific commands to launch an interactive Ruby console with the library pre-loaded or to run the automated setup routine that installs dependencies via Bundler.

bin · high confidence

Removed version constant file

The \lib/uplot/version.rb\ file, which previously defined the \Uplot::VERSION\ constant as "0.1.0", has been deleted. This removes the explicit version string from the library's codebase.

lib/uplot · high confidence

Behavioural changes

Library renamed from Uplot to YouPlot

The library has been renamed from Uplot to YouPlot. The main entry point has moved from lib/uplot.rb to lib/youplot.rb, and the module namespace is now YouPlot. The new entry point requires the DSV reader, Parameters, and Command modules, and exposes a run\_as\_executable flag to control error handling behavior when used as a library versus a command-line tool.

lib · high confidence

Rename executable from uplot to youplot

The command-line entry point has been renamed from 'uplot' to 'youplot'. The new executable script requires the 'youplot' library and invokes the command runner, replacing the previous 'uplot' binary which is no longer present.

exe · high confidence

YouPlot rebranding and documentation overhaul

The project has been renamed from 'Uplot' to 'YouPlot', reflected in the gem name, installation commands (e.g., \gem install youplot\), and the new \logo.svg\ asset. The \README.md\ has been completely rewritten to provide a comprehensive user guide, including installation instructions for multiple package managers (Homebrew, Nix, Guix, Conda), quick-start examples for various plot types (bar, histogram, line, scatter, density, boxplot, count), and links to the new \YouPlot2\ portable version. Additionally, the \Steepfile\ has been added to configure static type checking for the library, and the \LICENSE.txt\ has been updated to include Red Data Tools as a copyright holder.

(repo-wide) · high confidence

Test coverage

Add test fixtures for visualization and data processing; Added test coverage for aggregation, DSV parsing, and command execution; Added tests for YouPlot and UnicodePlot constants.

Dependencies

Renamed gem to youplot and updated dependencies

The gem has been renamed from 'uplot' to 'youplot', with the old gemspec removed and a new one created that specifies a minimum Ruby version of 2.5.0 and adds explicit dependencies on 'csv' and 'unicode\_plot' (\>= 0.0.5). The Gemfile has been updated to reflect the new gem name and reorganized development and test dependencies, including the addition of 'steep' and 'typeprof' for Ruby 3.0+, and 'simplecov' and 'test-unit' for testing.

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

Lenses

  • Code Health 75 → 72 (-3.2)
  • Architecture 69 → 69 (+0.0)
  • Maturity 60 → 60 (+0.0)
  • Readiness 67 → 67 (+0.0)
  • Security 92 → 87 (-5.4)

New (3)

  • Edited copy of a member (16 corresponding lines) (lib/youplot/command.rb)
  • Edited copy of a member (19 corresponding lines) (lib/youplot/command.rb)
  • No ADRs found (youplot.gemspec)

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

Survey your own repository

red-data-tools/YouPlot 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 492d8864c22dbe2c50b089f5c79e840f07d49658 — 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-36d4cd83012f.