# Changelog

## Score

- CAI 47.3 → 60.6 (+13.3)
- Rubric changed (rubric-2026.11.2 → rubric-2026.11.4) — scores are not directly comparable.

## Lenses

- Code Health 77.6 → 65.8 (-11.8)
- Architecture 88.2 → 97.7 (+9.5)
- Maturity 56.0 → 59.0 (+3.0)
- Readiness 35.8 → 56.7 (+20.9)
- Security 68.7 → 62.5 (-6.2)

## Resolved (45)

- Change coupling: __init__.py ↔ __init__.py (surya/layout/__init__.py)
- Change coupling: __init__.py ↔ __init__.py (surya/ocr_error/__init__.py)
- Change coupling: loader.py ↔ loader.py (surya/detection/loader.py)
- Critical CVE: [GHSA redacted] (uv.lock)
- DetectionPredictor.batch_detection (cognitive 27) (surya/detection/__init__.py)
- Duplicated block (11 lines × 2) (surya/inference/backends/llamacpp.py)
- Duplicated block (11 lines × 2) (surya/inference/backends/vllm.py)
- Duplicated block (13–14 lines × 2) (surya/detection/model/encoderdecoder.py)
- Duplicated block (5 lines × 2) (surya/common/rfdetr/models/lwdetr.py)
- Duplicated block (6 lines × 2) (surya/common/rfdetr/models/backbone/__init__.py)
- Duplicated block (6 lines × 2) (surya/scripts/detect_layout.py)
- Duplicated block (7 lines × 2) (surya/detection/config.py)
- Duplicated block (7–8 lines × 2) (surya/scripts/streamlit_app.py)
- Duplicated block (8 lines × 2) (surya/scripts/screenshot_app.py)
- Duplicated block (9 lines × 3) (surya/scripts/detect_layout.py)
- FileTooLong: model/encoderdecoder.py (surya/detection/model/encoderdecoder.py)
- High CVE: [GHSA redacted] (uv.lock)
- High CVE: [GHSA redacted] (uv.lock)
- High vulnerability: [GHSA redacted] (uv.lock)
- LWDETR.forward (cognitive 36) (surya/common/rfdetr/models/lwdetr.py)
- …and 25 more

## New (37)

- Dependency hygiene PARTLY measured — Python dependencies read, no exact pin to grade for currency
- Duplicated block (10 lines × 3) (surya/layout/__init__.py)
- Duplicated block (12 lines × 3) (surya/inference/backends/llamacpp.py)
- Duplicated block (14–20 lines × 2) (surya/layout/__init__.py)
- Duplicated block (15–17 lines × 2) (surya/inference/backends/llamacpp.py)
- Edited copy of a member (10 corresponding lines) (surya/inference/backends/mlx.py)
- Edited copy of a member (10 corresponding lines) (surya/inference/compact.py)
- Edited copy of a member (22 corresponding lines) (surya/inference/util.py)
- Edited copy of a member (34 corresponding lines) (surya/scripts/detect_layout.py)
- FileTooLong: scripts/viewer.py (surya/scripts/viewer.py)
- High CVE: [GHSA redacted] (uv.lock)
- Hotspot: surya/inference/backends/openai_client.py (surya/inference/backends/openai_client.py)
- Hotspot: surya/recognition/__init__.py (surya/recognition/__init__.py)
- LlamaCppBackend._generate_via_llama_cli (cognitive 24) (surya/inference/backends/llamacpp.py)
- LlamaCppBackend._generate_via_llama_cli (cyclomatic 19) (surya/inference/backends/llamacpp.py)
- Low coverage: surya/common/util.py (surya/common/util.py)
- Low coverage: surya/debug/draw.py (surya/debug/draw.py)
- Low coverage: surya/debug/fonts.py (surya/debug/fonts.py)
- Low coverage: surya/debug/text.py (surya/debug/text.py)
- Low coverage: surya/inference/backends/llamacpp.py (surya/inference/backends/llamacpp.py)
- …and 17 more

## Changes since last survey

- 2 commits — 1 feature/other, 1 fixes

## By area

- signatures/version1 — 1 commit
- surya/common — 1 commit

## Notable commits

- fix: Release v0.24.0: Surya 2.5 VLM cleanup, interactive viewer, CLI improvements, and bug fixes
- change: @theluckystrike has signed the CLA in datalab-to/surya#570

## Architecture

- Containers 0 added · 0 removed · contexts 0 added · 1 removed · edges 0 added · 0 removed

## Removed bounded contexts (1)

- surya-ocr
