Skip to content
CAI
Software that uses CAICheck a score

moeyensj/thor

49.5

Weak · 17 November 2026

12.9k

lines of production code

Python

primary language

1

measurement over time

CAI band scale
CAI lens gauges

What this system is

Behavioural changes

1 commit (0 fixes) modifying src/thor

A change to existing behaviour in src/thor — 1 commit, 32 files: “Experimental phase space coverage, covariance-aware clustering, and pipeline improvements (\#168)” (refs \#168).

src/thor · low confidence · unverified

1 commit (0 fixes) modifying thor\_profiling

A change to existing behaviour in thor\_profiling — 1 commit, 4 files: “Ak/memory changes (\#146)” (refs \#146).

_thor\profiling · medium confidence · unverified

5 commits (0 fixes) modifying infra/workers

A change to existing behaviour in infra/workers — 5 commits, 7 files: “Add a separate packer config for building a worker image”; “Pass through idle shutdown option”; “Add packer configuration for a base image for workers”; and 2 more.

infra/workers · medium confidence · unverified

5 commits (1 fix) modifying infra/autoscaler

A change to existing behaviour in infra/autoscaler — 5 commits (1 fix), 5 files: “Restart autoscaler process if it crashes”; “Add first pass at autoscaler VM setup”; “Don't do numba JIT on autoscaler VM”; and 2 more.

infra/autoscaler · medium confidence · unverified

61 commits (4 fixes) modifying (repo-wide)

A change to existing behaviour in (repo-wide) — 61 commits (4 fixs), 8 files: “Improve peak memory by pushing sorting of large tables upstream of functions (\#148)”; “Reduce number of layers in Dockerfile, update installation instructions”; “Clarify references for equations in chi.py, stumpff.py, and lagrange.py”; and 58 more (refs \#148, \#130, \#166, \#168, \#167, …).

(repo-wide) · low confidence · unverified

Dependencies

10 commits updating dependencies (1 manifest)

A dependency / build maintenance change in (dependencies) — 10 commits (1 fix), 1 file: “Add setuptools\_scm”; “Add testOrbits and testEphemeris”; “Swap to pdm (\#166)”; and 7 more (refs \#166, \#168, \#167, \#146).

(dependencies) · medium confidence · unverified

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

Baseline

  • First survey — no prior run to compare against. CAI 49.5.

Lenses

  • Code Health 59.5
  • Architecture 99.6
  • Maturity 48.8
  • Readiness 36.4
  • Security 72.5
  • Performance 95.0

Changes since last survey

  • 300 commits — 274 feature/other, 26 fixes

By area

  • thor/orbits — 49 commits
  • (repo) — 40 commits
  • (root) — 39 commits
  • thor/observations — 18 commits
  • .github/workflows — 16 commits
  • thor/utils — 15 commits
  • thor/main_2.py — 13 commits
  • thor/orbit.py — 12 commits
  • thor/backend — 10 commits
  • thor/tests — 9 commits
  • thor/init.py — 8 commits
  • thor/clusters.py — 8 commits
  • thor/main.py — 6 commits
  • thor/projections — 6 commits
  • infra/autoscaler — 5 commits
  • thor/config.py — 5 commits
  • thor/taskqueue — 5 commits
  • src/thor — 4 commits
  • thor/orbit_determination — 4 commits
  • thor/orbit_selection.py — 4 commits

Notable commits

  • fix: Add temporary vector normal to orbit fix
  • fix: Bug fix: Convert test orbit ID from pyarrow StringScalar to a python string when creating a test orbit directory path
  • fix: Bug fix: Correctly select orbit IDs in attribution_worker
  • fix: Bug fix: Correctly select the coincident attribution with the lowest distance
  • fix: Bug fix: Return empty Clusters and ClusterMembers when TransformedDetections are empty
  • fix: Bug fix: Use pyarrow groupby on joined strings of observation IDs to correctly deduplicate clusters (#136)
  • fix: Fix calculation of the unit normal vector to the plane of an orbit
  • fix: Fix case where there are no known labels in associations in filterOrbits
  • fix: Fix checkpoint typing
  • fix: Fix default logging level in runTHOR
  • fix: Fix epoch not being converted to mjd_tdb in empty orbit instances
  • fix: Fix infinite loop in worker shutdown path
  • fix: Fix logger.critical call in backend.py
  • fix: Fix missing epoch column runTHOROrbit.py
  • fix: Fix name of autoscale queue env var
  • fix: Fix null case when no orbits are found in a patch
  • fix: Fix orbit_id bug in FindOrb wrapper
  • fix: Fix shutdown metadata lookup
  • fix: Fix typing for list of dataframes findTestOrbits_worker
  • fix: Implement fixed radius observation source
  • …and 280 more

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

Survey your own repository

moeyensj/thor 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 17 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 7d74c0bf0140b1ba99a99074d011a158b1dd2336 — 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.85+preprod-eba6548ac50f.