Skip to content
CAI
Software that uses CAICheck a score

luoxiu/Schedule

61.9

Adequate · 15 November 2026

1.8k

lines of production code

Swift

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a Swift library designed for managing scheduled tasks and time-based operations. It provides core components for defining execution plans, handling intervals, and batching timed tasks with thread-safe state management. The library supports various scheduling triggers, including one-time delays, repeating intervals, and specific day or time constraints.

Features

Add Schedule playground demo

A new playground example has been added to demonstrate the Schedule library's scheduling capabilities, including one-time delays, repeating intervals, and specific day/time triggers.

Schedule.playground · high confidence

Initial release of the Schedule library for Swift

This change introduces the core scheduling engine for the Schedule library. It provides \Plan\ and \Interval\ types to define execution schedules, \Task\ and \TaskCenter\ for managing and batching timed operations, and specialized \RunLoopTask\ support for run-loop-based timers. The library also includes domain-specific types for time-based scheduling (\Time\, \Monthday\, \Weekday\) and date-based periods (\Period\), along with foundational utilities like \Atomic\ and \Bag\ for thread-safe state management.

Sources · high confidence

Architecture

Xcode project structure and build configuration added

The Schedule.xcodeproj directory now contains the full Xcode project file (project.pbxproj) along with associated workspace and scheme configurations. This includes the definition of the main Schedule framework target, a dedicated ScheduleTests target with its own Info.plist, and a Scheme for building and testing the package. The project structure organizes source files (such as Atomic, Bag, Interval, Plan, Task, and TaskCenter) and their corresponding test files, enabling direct development and testing within the Xcode IDE.

Schedule.xcodeproj · high confidence

Test coverage

Initial test suite for Schedule

Added a comprehensive XCTest suite for the Schedule library, covering core components such as Plan, Task, TaskCenter, Interval, Period, Time, Weekday, Monthday, and various utility types like Atomic and Bag. The tests verify scheduling logic, task lifecycle management, interval arithmetic, and date/time parsing to ensure reliability across supported platforms.

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

Lenses

  • Code Health 100 → 97 (-2.9)
  • Architecture 98 → 97 (-0.7)
  • Maturity 43 → 43 (+0.0)
  • Readiness 57 → 57 (-0.3)
  • Security 100 → 100 (+0.0)
  • Performance 100 → 100 (+0.0)

New (4)

  • Edited copy of a member (16 corresponding lines) (Sources/Schedule/TaskCenter.swift)
  • Edited copy of a member (18 corresponding lines) (Sources/Schedule/Plan.swift)
  • Edited copy of a member (8 corresponding lines) (Sources/Schedule/Period.swift)
  • Edited copy of a member (9 corresponding lines) (Sources/Schedule/Plan.swift)

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

Survey your own repository

luoxiu/Schedule 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 15 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 ca64940da38282f4ee7ec915a1c3a7e1a2ff02a0 — 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.