# Changelog

## Score

- CAI 42 → 43 (+0.5)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

## Lenses

- Code Health 47 → 51 (+4.2)
- Architecture 87 → 99 (+12.0)
- Maturity 53 → 53 (-0.2)
- Readiness 28 → 28 (+0.2)
- Security 80 → 61 (-19.8)
- Performance 60 → 60 (+0.0)

## Resolved (105)

- FileTooLong: scripts/benchmarks-trace-browser.mjs (scripts/benchmarks-trace-browser.mjs)
- FunctionTooLong: analyze-benchmarks-trace.createTraceAnalyzer (scripts/analyze-benchmarks-trace.mjs)
- FunctionTooLong: bench-instrument.main (scripts/bench-instrument.mjs)
- FunctionTooLong: bench-legend.benchmark (scripts/bench-legend.mjs)
- FunctionTooLong: bench-webgl.createWebGLCapture (scripts/bench-webgl.mjs)
- FunctionTooLong: benchmarks-paths-browser.runCase (scripts/benchmarks-paths-browser.mjs)
- FunctionTooLong: benchmarks-samples.captureBenchmarkSamples (scripts/benchmarks-samples.mjs)
- FunctionTooLong: benchmarks-trace-browser.reportMetadata (scripts/benchmarks-trace-browser.mjs)
- FunctionTooLong: benchmarks-trace.captureBenchmarkTrace (scripts/benchmarks-trace.mjs)
- FunctionTooLong: investigate-g2-webgl-fill.sample (scripts/investigate-g2-webgl-fill.mjs)
- FunctionTooLong: probe-worker.createProbeWorker (scripts/probe-worker.mjs)
- Hotspot: bench/demo-fixture.mjs (bench/demo-fixture.mjs)
- Projects may be oversized for their cohesion
- Tokens.write (cognitive 26) (scripts/bench-trace-stream.mjs)
- Tokens.write (cyclomatic 18) (scripts/bench-trace-stream.mjs)
- TraceJSON.token (cognitive 49) (scripts/bench-trace-stream.mjs)
- TraceJSON.token (cyclomatic 39) (scripts/bench-trace-stream.mjs)
- analyze-benchmarks-process-memory.summarizeAdjustedProcessMemory (cognitive 33) (scripts/analyze-benchmarks-process-memory.mjs)
- analyze-benchmarks-process-memory.summarizeAdjustedProcessMemory (cyclomatic 25) (scripts/analyze-benchmarks-process-memory.mjs)
- analyze-benchmarks-process-memory.summarizeProcessMemory (cognitive 20) (scripts/analyze-benchmarks-process-memory.mjs)
- …and 85 more

## New (22)

- FunctionTooLong: bars.bars.<returned closure> (src/paths/bars.js)
- FunctionTooLong: points.points.<returned closure> (src/paths/points.js)
- Hotspot: scripts/test.mjs (scripts/test.mjs)
- Hotspot: test/integration/scichart-reduction-browser.mjs (test/integration/scichart-reduction-browser.mjs)
- Hotspot: test/legend-layout.mjs (test/legend-layout.mjs)
- Hotspot: test/legend-selection.mjs (test/legend-selection.mjs)
- Hotspot: test/tooltip.mjs (test/tooltip.mjs)
- bars.bars.<returned closure> (cognitive 54) (src/paths/bars.js)
- bars.bars.<returned closure> (cyclomatic 43) (src/paths/bars.js)
- linear.linear.<returned closure> (cognitive 83) (src/paths/linear.js)
- linear.linear.<returned closure> (cyclomatic 36) (src/paths/linear.js)
- points.points.<returned closure> (cognitive 75) (src/paths/points.js)
- points.points.<returned closure> (cyclomatic 63) (src/paths/points.js)
- redundant comment (test/master-lifecycle-bugs.mjs)
- spline.splineInterp.<returned closure> (cognitive 17) (src/paths/spline.js)
- spline.splineInterp.<returned closure> (cyclomatic 16) (src/paths/spline.js)
- stepped.stepped.<returned closure> (cognitive 32) (src/paths/stepped.js)
- stepped.stepped.<returned closure> (cyclomatic 26) (src/paths/stepped.js)
- uPlot.uPlot::setLegend (cyclomatic 18) (src/uPlot.js)
- uPlot::_commit (cognitive 34) (src/uPlot.js)
- …and 2 more

## Changes since last survey

- 16 commits — 15 feature/other, 1 fixes

## By area

- test/demos — 5 commits
- dist/uPlot.cjs.js — 2 commits
- (root) — 1 commit
- demos/axis-label-rotation.html — 1 commit
- demos/cursor-tooltip.html — 1 commit
- demos/scatter.html — 1 commit
- demos/y-scale-drag.html — 1 commit
- scripts/test.mjs — 1 commit
- test/integration — 1 commit
- test/plugins — 1 commit
- test/tooling — 1 commit

## Notable commits

- fix: fix tests
- change: add option to run tests in parallel
- change: add tooltip, adjust benchmarks, some pocs of interaction canvas layer
- change: build
- change: build
- change: for tests, use 1, 2, or 4 workers depending on availableParallelism
- change: legend & tooltip improvements
- change: make shift+drag demo anchor at start point rather than center
- change: more tooltip demos cleanup
- change: remove legend-as-tooltip plugin, use native tooltip
- change: rewrite candlestick renderer & demo
- change: tooltip refinements / cleanup
- change: transposable legend & tooltip
- change: update deps, switch to use inf constant
- change: use latest chrome, don't pin
- change: when legend.live: false, require explicit valueSrc to render values
