drumih/turbo-fieldfare
68.8
Adequate · 14 November 2026
54.8k
lines of production code
Swift
primary language
5
measurements over time
What this system is
Features
Add vision model support with GPU-accelerated Metal kernels
The app now supports optional Gemma 4 image processing. This change introduces a new vision inference pipeline built on Metal, including GPU-based bicubic image resizing, attention mechanisms, linear layers, and shared-expert MoE kernels, alongside a new secure model directory reader for loading vision assets.
Sources · high confidence
Behavioural changes
New repository validation and build-check scripts
Added three new Ruby scripts to enforce build integrity and repository hygiene: \check\_app\_version.rb\ verifies that the app's internal version string is not more than one release behind the latest GitHub tag, allowing for the standard tag-to-bump window; \check\_swiftui\_macros.rb\ scans source files to ensure no production code uses \@State\ or \\#Preview\ macros, which require Xcode platform plugins and are incompatible with Command Line Tools builds; and \check\_tracked\_symlinks.rb\ fails the build if any symlinks are tracked in Git, preventing data-loss issues where symlinks might overwrite local directories. A corresponding test script, \swift\_macro\_probe\_test.rb\, validates the macro detection logic and ensures the build system correctly handles platform plugin removal.
Scripts · high confidence
Test coverage
Add server test fixtures and HTTP server tests; Added comprehensive test coverage for Mac presentation layer components; Added test coverage for vision image processing and multimodal prefill logic; Added test infrastructure for transcript rendering validation; Added tests for CLI argument parsing and image handling logic; Added tests for Gemma 4 tokenization, chat templates, and decoder configuration; Added tests for Mac app configuration, history, and image handling; Added tests for Metal command buffer diagnostics, conversation lineage validation, and generation loop controls; Added tests for TurboFieldfareDecodeService conversation and load safety; Added tests for TurboFieldfareRepack CLI, format parsing, and remote installation; Added tests for context admission and updated runtime configuration assertions; Added tests for prefill chunking, replay coercion, and cancellation behavior; Added tests for the .gturbo v1 format contract and vision companion support; Expanded test coverage for TurboFieldfare core kernels; Expanded test coverage for model loading, Metal context, and IO security; Updated KVCacheManager tests for rewind semantics and context limits.
Dependencies
Add local server runtime and update Swift dependencies
The project now includes a new local server executable (TurboFieldfareServer) built on SwiftNIO, allowing users to run the application as a network service. This change updates the SwiftNIO dependency to version 2.101.3 and introduces the SwiftMath library to support mathematical rendering in the Mac presentation layer. Additionally, a new TurboFieldfareFormat target and associated test suites have been added to handle format validation and compatibility.
(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 64 → 69 (+5.3)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 61 → 75 (+14.5)
- Architecture 88 → 96 (+8.1)
- Maturity 76 → 78 (+1.7)
- Readiness 54 → 53 (-0.4)
- Security 100 → 100 (+0.0)
- Performance 83 → 100 (+16.6)
Resolved (23)
- Duplicated block (11 lines × 2) (Sources/TurboFieldfare/Infrastructure/ModelIO/ModelTypes.swift)
- Duplicated block (12 lines × 17) (Sources/TurboFieldfare/Infrastructure/ModelIO/ModelTypes.swift)
- Duplicated block (12 lines × 2) (Sources/TurboFieldfare/Infrastructure/ModelIO/ModelTypes.swift)
- Duplicated block (12–14 lines × 2) (Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillGroupedRoutedMoE.swift)
- Duplicated block (16–17 lines × 2) (Sources/TurboFieldfareRepack/Core/Remote/RemoteStreamingRepacker.swift)
- Duplicated block (5 lines × 2) (Sources/TurboFieldfare/Runtime/Inference/RealForwardRunner.swift)
- Duplicated block (5 lines × 2) (Sources/TurboFieldfareServer/Core/HTTPServer.swift)
- Duplicated block (5 lines × 4) (Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillMoEGrouping.swift)
- Duplicated block (6 lines × 2) (Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillMoEGrouping.swift)
- Duplicated block (6 lines × 2) (Sources/TurboFieldfare/Kernels/Vision/VisionLinearBF16.swift)
- Duplicated block (7 lines × 2) (Sources/TurboFieldfareApp/Core/Installation/RepackModelInstallerClient.swift)
- Duplicated block (7 lines × 2) (Sources/TurboFieldfareRepack/Core/Verification/VerifiedInstallTool.swift)
- Duplicated block (8 lines × 2) (Sources/TurboFieldfare/Runtime/Inference/RealForwardRunner.swift)
- Duplicated block (8 lines × 2) (Sources/TurboFieldfareFormat/GTurboManifestV1.swift)
- Hotspot: Sources/TurboFieldfareApp/Core/Inference/AppInferenceError.swift (Sources/TurboFieldfareApp/Core/Inference/AppInferenceError.swift)
- Hotspot: Sources/TurboFieldfareRepack/Core/System/GTurboDirectoryAccess.swift (Sources/TurboFieldfareRepack/Core/System/GTurboDirectoryAccess.swift)
- LocalMacApp.package (cognitive 17) (Scripts/build_app.rb)
- Members sharing a duplicated core (18 members, 50+ identical tokens) (Sources/TurboFieldfare/Infrastructure/ModelIO/ModelTypes.swift)
- No ADRs found
- Projects may be oversized for their cohesion
- …and 3 more
New (91)
- Duplicated block (17 lines × 2) (Sources/TurboFieldfare/Infrastructure/ModelIO/ModelTypes.swift)
- Duplicated block (5 lines × 2) (Sources/TurboFieldfare/Runtime/Inference/RealForwardRunner.swift)
- Duplicated block (5 lines × 2) (Sources/TurboFieldfareServer/Core/HTTPServer.swift)
- Duplicated block (7 lines × 2) (Sources/TurboFieldfareApp/Core/Installation/RepackModelInstallerClient.swift)
- Duplicated block (8 lines × 2) (Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillGroupedRoutedMoE.swift)
- Duplicated block (8 lines × 2) (Sources/TurboFieldfare/Runtime/Inference/RealForwardRunner.swift)
- Duplicated block (8 lines × 2) (Sources/TurboFieldfareFormat/GTurboManifestV1.swift)
- Duplicated block (8 lines × 2) (Sources/TurboFieldfareRepack/Core/Remote/RemoteStreamingRepacker.swift)
- Edited copies of one member (3 members, 20+ corresponding lines) (Sources/TurboFieldfare/Kernels/Vision/VisionAttention.swift)
- Edited copies of one member (3 members, 23+ corresponding lines) (Sources/TurboFieldfare/Kernels/Prefill/MoE/PrefillMoE.swift)
- Edited copies of one member (3 members, 34+ corresponding lines) (Sources/TurboFieldfare/Kernels/MoE/MoE.swift)
- Edited copies of one member (3 members, 4+ corresponding lines) (Sources/TurboFieldfareFormat/GTurboResidentIndexV1.swift)
- Edited copies of one member (3 members, 8+ corresponding lines) (Sources/TurboFieldfareCLI/Run.swift)
- Edited copies of one member (4 members, 10+ corresponding lines) (Sources/TurboFieldfare/Kernels/Vision/VisionPrimitives.swift)
- Edited copies of one member (4 members, 16+ corresponding lines) (Sources/TurboFieldfare/Kernels/Fusions/FusedQKVEpilogue.swift)
- Edited copies of one member (4 members, 16+ corresponding lines) (Sources/TurboFieldfare/Kernels/Vision/VisionAttention.swift)
- Edited copies of one member (4 members, 34+ corresponding lines) (Sources/TurboFieldfare/Kernels/Prefill/Primitives/PrefillPerHeadNorm.swift)
- Edited copy of a member (10 corresponding lines) (Sources/TurboFieldfare/Runtime/Inference/ModelExpertIO.swift)
- Edited copy of a member (10 corresponding lines) (Sources/TurboFieldfareApp/Core/Installation/AppModelInstallState.swift)
- Edited copy of a member (10 corresponding lines) (Sources/TurboFieldfareRepack/Core/Remote/RemoteDownloadSession.swift)
- …and 71 more
Changes since last survey
- 2 commits — 2 feature/other, 0 fixes
By area
- (root) — 1 commit
- Sources/TurboFieldfare — 1 commit
Notable commits
- change: Improve run-report settings layout and refresh app screenshot (#201)
- change: Read the next layer's likeliest expert while storage is idle (#187)
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
drumih/turbo-fieldfare 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 de9d1b4d195a17c76a952d32c54c0b91d2605697 — 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.