Skip to content
CAI
Software that uses CAICheck a score

samhenrigold/LidAngleSensor

40.9

Weak · 14 November 2026

981

lines of production code

Swift

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Behavioural changes

LidAngleSensor app refactored to SwiftUI with audio modes and menu bar integration

The LidAngleSensor application has been completely rewritten in SwiftUI, replacing the previous Objective-C/AppKit implementation. This change introduces a new main window that displays the laptop lid angle and velocity, along with an inspector panel for fine-tuning audio parameters. The app now features two distinct audio modes—'Creak' and 'Theremin'—allowing users to hear the lid's movement as sound, with adjustable settings for gain, rate, frequency, and vibrato. Additionally, a menu bar extra has been added, providing quick access to the audio mode selection and play/stop controls directly from the macOS menu bar, alongside the main window view.

LidAngleSensor · high confidence

LidAngleSensor macOS deployment target lowered to macOS 14

The LidAngleSensor application now requires macOS 14 (Sonoma) or later, down from the previous macOS 26.0 target. This change updates the project's build configuration to ensure compatibility with current macOS versions and includes a switch to a new Apple Developer Team ID for code signing.

LidAngleSensor.xcodeproj · high confidence

Refactor audio engines and remove custom mode

The audio engine subsystem has been refactored to use a common \AudioEngineProtocol\ and shared helper utilities for parameter ramping. The 'Custom' audio mode has been removed from the \AudioMode\ enum, and the corresponding \CustomAudioEngine\ implementation and \CustomEngineMode\ enum have been deleted. The \CreakAudioEngine\ and \ThereminAudioEngine\ implementations have been updated to conform to the new protocol, with the latter now exposing frequency and volume state and the former simplifying its lifecycle management.

LidAngleSensor/AudioEngines · 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 40 → 41 (+1.2)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 100 → 100 (+0.0)
  • Architecture 69 → 69 (+0.0)
  • Maturity 46 → 50 (+4.6)
  • Readiness 12 → 12 (+0.0)
  • Security 100 → 100 (+0.0)

Resolved (2)

  • No ADRs found
  • No tests found

New (1)

  • No ADRs found (LidAngleSensor.xcodeproj/project.pbxproj)

Changes since last survey

  • 1 commits — 1 feature/other, 0 fixes

By area

  • .github/FUNDING.yml — 1 commit

Notable commits

  • change: Add FUNDING.yml

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

Survey your own repository

samhenrigold/LidAngleSensor 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 8e023cefd1b707c008b876e203c6d3b540110915 — 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.