Skip to content
CAI
Software that uses CAICheck a score

UQ-PAC/BASIL

55.9

Adequate · 17 November 2026

42k

lines of production code

Scala

primary language

1

measurement over time

CAI band scale
CAI lens gauges

What this system is

Behavioural changes

1 commit (0 fixes) modifying examples/chase\_lev\_deque, examples/cntlm-new

A change to existing behaviour in examples/chase\_lev\_deque, examples/cntlm-new — 1 commit, 7 files: “modifies analysis, better stack identification, make all registers globals, cntlm and chase\_lev\_deque examples”.

_examples/chase\_lev\deque, examples/cntlm-new · medium confidence · unverified

1 commit (0 fixes) modifying examples/conds

A change to existing behaviour in examples/conds — 1 commit, 5 files: “add example”.

examples/conds · medium confidence · unverified

1 commit (0 fixes) modifying examples/cset

A change to existing behaviour in examples/cset — 1 commit, 4 files: “Can now parse If-chain statements”.

examples/cset · medium confidence · unverified

1 commit (0 fixes) modifying examples/one\_function\_multi\_call

A change to existing behaviour in examples/one\_function\_multi\_call — 1 commit, 1 file: “Changes in MRA and made Reaching def interproc”.

_examples/one\_function\_multi\call · medium confidence · unverified

1 commit (0 fixes) modifying examples/pass\_stack\_ptr

A change to existing behaviour in examples/pass\_stack\_ptr — 1 commit, 4 files: “Added reassign and stack ptr examples”.

_examples/pass\_stack\ptr · medium confidence · unverified

1 commit (0 fixes) modifying examples/sync\_read, examples/sync\_write

A change to existing behaviour in examples/sync\_read, examples/sync\_write — 1 commit, 10 files: “Atomic instructions support (\#337)” (refs \#337).

_examples/sync\_read, examples/sync\write · medium confidence · unverified

1 commit (0 fixes) modifying src/main/protobuf

A change to existing behaviour in src/main/protobuf — 1 commit, 12 files: “Ported from gtirb directory, takes .gts file and spits out parse tree”.

src/main/protobuf · medium confidence · unverified

1 commit (0 fixes) modifying src/main/scala

A change to existing behaviour in src/main/scala — 1 commit, 1 file: “Upload API docs to Github Pages (\#439)” (refs \#439).

src/main/scala · low confidence · unverified

10 commits (0 fixes) modifying src/main/scala/boogie

A change to existing behaviour in src/main/scala/boogie — 10 commits, 2 files: “IR Changes from TV work (\#463)”; “use visitor to resolve specification variables”; “scalafmt source files”; and 7 more (refs \#463, \#408, \#383, \#478).

src/main/scala/boogie · medium confidence · unverified

10 commits (2 fixes) modifying src/main/scala/util/intrusive\_list

A change to existing behaviour in src/main/scala/util/intrusive\_list — 10 commits (2 fixs), 1 file: “fix intrusive list test”; “IR Changes from TV work (\#463)”; “scalafmt source files”; and 7 more (refs \#463, \#473, \#518, \#220).

_src/main/scala/util/intrusive\list · medium confidence · unverified

101 commits (8 fixes) modifying src/main/scala/ir/transforms

A change to existing behaviour in src/main/scala/ir/transforms — 101 commits (8 fixs), 26 files: “retrieve actual field offsets using region offsets for MemoryTransform”; “fixes”; “Split global intervals for dsa (\#428)”; and 92 more (refs \#428, \#466, \#463, \#589, \#400, …).

src/main/scala/ir/transforms · medium confidence · unverified

112 commits (16 fixes) modifying src/main/scala/analysis/solvers

A change to existing behaviour in src/main/scala/analysis/solvers — 112 commits (16 fixs), 6 files: “Revert "Speeding up pushdown solver"”; “tidy up SimpleMonotonicSolver and ListSetWorklist slightly”; “more cleanup”; and 86 more (refs \#269, \#409, \#518, \#478, \#230, …).

src/main/scala/analysis/solvers · medium confidence · unverified

12 commits (1 fix) modifying src/main/scala/ir/parsing

A change to existing behaviour in src/main/scala/ir/parsing — 12 commits (1 fix), 9 files: “BNFC grammar and visitor refactor (\#488)”; “IR Changes from TV work (\#463)”; “Add Basil IR parser using BNFC-generated visitor (\#441)”; and 9 more (refs \#488, \#463, \#441, \#449, \#558, …).

src/main/scala/ir/parsing · medium confidence · unverified

15 commits (1 fix) modifying src/main/scala/util/functional

A change to existing behaviour in src/main/scala/util/functional — 15 commits (1 fix), 4 files: “robustness and perf fixes (monad overflow)”; “scalafmt source files”; “Support parameters IR DSL (\#315)”; and 12 more (refs \#315, \#434, \#356, \#518, \#472, …).

src/main/scala/util/functional · medium confidence · unverified

150 commits (13 fixes) modifying (repo-wide)

A change to existing behaviour in (repo-wide) — 150 commits (13 fixs), 12 files: “mill: update token”; “update mill version”; “Cleanup (\#18)”; and 138 more (refs \#18, \#429, \#514, \#552, \#589, …).

(repo-wide) · low confidence · unverified

19 commits (3 fixes) modifying src/main/scala/ir/invariant

A change to existing behaviour in src/main/scala/ir/invariant — 19 commits (3 fixs), 9 files: “docs and cleanup”; “IR Changes from TV work (\#463)”; “scalafmt source files”; and 16 more (refs \#463, \#518, \#314, \#478, \#384, …).

src/main/scala/ir/invariant · medium confidence · unverified

19 commits (5 fixes) modifying src/main/antlr4

A change to existing behaviour in src/main/antlr4 — 19 commits (5 fixs), 4 files: “add specifying boogie helper functions required for direct specifications”; “update sbt version, improve specification format to support arrays somewhat”; “replace inits in specifications with requires & ensures per subroutine, make default rely not modify state, add updated secret\_write spec + example from asli lifter”; and 16 more (refs \#269, \#251, \#434, \#567).

src/main/antlr4 · medium confidence · unverified

193 commits (29 fixes) modifying src/main/scala/translating

A change to existing behaviour in src/main/scala/translating — 193 commits (29 fixs), 7 files: “add more sections to initialised memory”; “add specifying boogie helper functions required for direct specifications”; “update sbt version, improve specification format to support arrays somewhat”; and 178 more (refs \#463, \#520, \#326, \#419, \#105, …).

src/main/scala/translating · medium confidence · unverified

2 commits (0 fixes) modifying examples/cntlm-noduk

A change to existing behaviour in examples/cntlm-noduk — 2 commits, 10 files: “updated gts file for cntlm-noduk”; “commit cntlm example without duktape from https://github.com/UQ-PAC/cntlm/releases/tag/build-3-glibc”.

examples/cntlm-noduk · medium confidence · unverified

2 commits (0 fixes) modifying examples/memcpy-variants

A change to existing behaviour in examples/memcpy-variants — 2 commits, 7 files: “add example”; “clean up, mostly around organising files so filenames and packages correspond”.

examples/memcpy-variants · medium confidence · unverified

2 commits (1 fix) modifying examples/sync\_write\_spinlock

A change to existing behaviour in examples/sync\_write\_spinlock — 2 commits (1 fix), 6 files: “Atomic instructions support (\#337)”; “fix spinlock example (\#361)” (refs \#337, \#361).

_examples/sync\_write\spinlock · medium confidence · unverified

20 commits (2 fixes) modifying scripts

A change to existing behaviour in scripts — 20 commits (2 fixs), 10 files: “fix readme”; “ci: use scalatest runner directly (again) (\#447)”; “parallelise tests using testForkGrouping and post-processing the output (\#429)”; and 17 more (refs \#447, \#429, \#514, \#506, \#580, …).

scripts · medium confidence · unverified

20 commits (4 fixes) modifying basilmill

A change to existing behaviour in basilmill — 20 commits (4 fixs), 13 files: “mill: make \ctags\ a Task.Command to avoid sandbox issues (\#552)”; “mill: migrate bnfc module to use jflex+cup instead of antlr (\#442)”; “mill: update to 0.12.14 and fix some warnings (\#504)”; and 17 more (refs \#552, \#442, \#504, \#439, \#483, …).

basilmill · medium confidence · unverified

22 commits (2 fixes) modifying src/main/scala/ir/dsl

A change to existing behaviour in src/main/scala/ir/dsl — 22 commits (2 fixs), 5 files: “fix thingy”; “IRToDSL: touch up the NonCallStatement with comment”; “use .to(ArraySeq) instead of .toArray, fixing some deprecations (\#365)”; and 19 more (refs \#365, \#473, \#388, \#518, \#558, …).

src/main/scala/ir/dsl · medium confidence · unverified

23 commits (1 fix) modifying docker

A change to existing behaviour in docker — 23 commits (1 fix), 5 files: “Added Liveness Analysis”; “update readme”; “add todo”; and 16 more (refs \#294, \#214).

docker · medium confidence · unverified

268 commits (45 fixes) modifying src/main/scala/analysis

A change to existing behaviour in src/main/scala/analysis — 268 commits (45 fixs), 27 files: “fix issue with looking up cell from globalMapping”; “simplify Dependencies”; “added stack object mapping”; and 247 more (refs \#463, \#503, \#578, \#441, \#419, …).

src/main/scala/analysis · medium confidence · unverified

3 commits (0 fixes) modifying examples/cntlm

A change to existing behaviour in examples/cntlm — 3 commits, 6 files: “cntlm example”; “add ability to reference procedure parameters in specifications (must use same names that end up in boogie for now), update examples to be lifted using bap with asli, add new examples from james' examples-rg set”.

examples/cntlm · medium confidence · unverified

3 commits (0 fixes) modifying examples/paper\_example\_librg

A change to existing behaviour in examples/paper\_example\_librg — 3 commits, 6 files: “direct expr and locking example”; “comment”; “direct expr test”.

_examples/paper\_example\librg · medium confidence · unverified

3 commits (1 fix) modifying src/main/scala/translating/offlineLifter

A change to existing behaviour in src/main/scala/translating/offlineLifter — 3 commits (1 fix), 1 file: “Translation validator (\#518)”; “fix typing of some fp intrins in instruction builder”; “Offline lifter integration (\#469)” (refs \#518, \#469).

src/main/scala/translating/offlineLifter · medium confidence · unverified

31 commits (10 fixes) modifying src/main/scala/analysis/data\_structure\_analysis

A change to existing behaviour in src/main/scala/analysis/data\_structure\_analysis — 31 commits (10 fixs), 2 files: “rename Interval”; “Split global intervals for dsa (\#428)”; “minor fixes”; and 26 more (refs \#428, \#463, \#353, \#294, \#269, …).

_src/main/scala/analysis/data\_structure\analysis · medium confidence · unverified

4 commits (0 fixes) modifying examples/clz

A change to existing behaviour in examples/clz — 4 commits, 8 files: “Created example that produces multi-else if statement”; “removed .gts from examples folder, .gtirb from tests folder”; “re-add useful removed examples”; and 1 more.

examples/clz · medium confidence · unverified

4 commits (0 fixes) modifying src/main/scala/analysis/rely\_guarantee\_generation

A change to existing behaviour in src/main/scala/analysis/rely\_guarantee\_generation — 4 commits, 3 files: “Support for rely-guarantee generation (\#400)”; “remove duplicate eq ops (\#419)”; “Runner cleanup (\#449)”; and 1 more (refs \#400, \#419, \#449, \#478).

_src/main/scala/analysis/rely\_guarantee\generation · medium confidence · unverified

4 commits (1 fix) modifying src/main/scala/util/smt

A change to existing behaviour in src/main/scala/util/smt — 4 commits (1 fix), 2 files: “Java SMT interface (\#501)”; “Translation validator (\#518)”; “Fix panic in WpDual domain with FApplyExprs (\#545)”; and 1 more (refs \#501, \#518, \#545, \#555).

src/main/scala/util/smt · medium confidence · unverified

4 commits (2 fixes) modifying examples/basic\_assign\_pthread

A change to existing behaviour in examples/basic\_assign\_pthread — 4 commits (2 fixs), 19 files: “revert changes to examples”; “fiddled with some examples and did some small fixes”; “properly integrate test suite”; and 1 more.

_examples/basic\_assign\pthread · medium confidence · unverified

5 commits (0 fixes) modifying examples-rg

A change to existing behaviour in examples-rg — 5 commits, 83 files: “added 5 more benchmarks for concurrent-program analysis”; “Added some RG benchmarks”; “added blank lines at the end of c files”; and 1 more.

examples-rg · medium confidence · unverified

5 commits (1 fix) modifying src/main/scala/util/z3

A change to existing behaviour in src/main/scala/util/z3 — 5 commits (1 fix), 1 file: “docs and cleanup”; “IR Changes from TV work (\#463)”; “cleanup and autoformat new files”; and 2 more (refs \#463, \#478).

src/main/scala/util/z3 · medium confidence · unverified

583 commits (91 fixes) modifying src/main/scala/util

A change to existing behaviour in src/main/scala/util — 583 commits (91 fixs), 13 files: “rename Interval”; “remove unnecessary use of options in StaticAnalysisContext for DSA results”; “simplify Dependencies”; and 518 more (refs \#428, \#466, \#413, \#463, \#589, …).

src/main/scala/util · medium confidence · unverified

6 commits (2 fixes) modifying examples/secret\_write\_librg

A change to existing behaviour in examples/secret\_write\_librg — 6 commits (2 fixs), 6 files: “rely/guarantee for external library functions”; “update example”; “fix spec”; and 2 more.

_examples/secret\_write\librg · medium confidence · unverified

60 commits (9 fixes) modifying src/main/scala/ir/eval

A change to existing behaviour in src/main/scala/ir/eval — 60 commits (9 fixs), 5 files: “docs and cleanup”; “validate and improve expr lifting”; “cleanup init trace”; and 52 more (refs \#463, \#379, \#419, \#381, \#409, …).

src/main/scala/ir/eval · medium confidence · unverified

7 commits (1 fix) modifying src/main/scala/gtirb

A change to existing behaviour in src/main/scala/gtirb — 7 commits (1 fix), 2 files: “Conditionally compiled assertions (\#473)”; “migrate JSON to uJson, and small refactor of JSON parsing and Mill files (\#434)”; “new AuxDecoder for AuxData, and abolish ByteString (\#472)”; and 4 more (refs \#473, \#434, \#472, \#477, \#478, …).

src/main/scala/gtirb · medium confidence · unverified

8 commits (0 fixes) modifying src/main/bnfc

A change to existing behaviour in src/main/bnfc — 8 commits, 1 file: “BNFC grammar and visitor refactor (\#488)”; “add Mill modules for BNFC compilation (\#431)”; “Add Basil IR parser using BNFC-generated visitor (\#441)”; and 5 more (refs \#488, \#431, \#441, \#627, \#496, …).

src/main/bnfc · medium confidence · unverified

8 commits (1 fix) modifying python

A change to existing behaviour in python — 8 commits (1 fix), 1 file: “patch format\_adt.py for aslt format”; “extrace ADT terms from ANTLR grammar”; “fix handling of zero-argument terms. add logging”; and 5 more.

python · medium confidence · unverified

89 commits (10 fixes) modifying src/main/scala/ir

A change to existing behaviour in src/main/scala/ir — 89 commits (10 fixs), 4 files: “aftercall is a goto in block”; “Delete old java-style visitor (\#466)”; “add assertions with comments to IR”; and 80 more (refs \#466, \#463, \#578, \#441, \#326, …).

src/main/scala/ir · medium confidence · unverified

970 commits (171 fixes) modifying repository

A change to existing behaviour in repository — 970 commits (171 fixs), 68 files: “redo error handling”; “rename Interval”; “simplify Dependencies”; and 872 more (refs \#485, \#428, \#533, \#466, \#488, …).

repository · medium confidence · unverified

Fixes

1 commit (1 fix) fixing src/main/scala/util/assertion

A fix in src/main/scala/util/assertion — 1 commit (1 fix), 1 file: “fix --nodebug flag”.

src/main/scala/util/assertion · medium confidence · unverified

Test coverage

1 commit adding/updating tests in src/test/memory\_transform; 10 commits adding/updating tests in src/test/scala/util/intrusive\_list; 109 commits adding/updating tests in src/test/scala/ir; 15 commits adding/updating tests in src/test/make; 2 commits adding/updating tests in src/test/procedure\_summaries; 2 commits adding/updating tests in src/test/scala/util/functional; 275 commits adding/updating tests in src/test/scala; 3 commits adding/updating tests in src/test/indirect\_calls; 36 commits adding/updating tests in src/test/scala/test\_util; 38 commits adding/updating tests in src/test/incorrect; 5 commits adding/updating tests in src/test/extraspec\_correct, src/test/extraspec\_incorrect; 61 commits adding/updating tests in src/test/correct; 9 commits adding/updating tests in src/test/dsa.

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 55.9.

Lenses

  • Code Health 52.3
  • Architecture 96.3
  • Maturity 70.6
  • Readiness 45.8
  • Security 68.5
  • Performance 100.0

Changes since last survey

  • 300 commits — 242 feature/other, 58 fixes

By area

  • src/main — 155 commits
  • src/test — 46 commits
  • (repo) — 31 commits
  • (root) — 25 commits
  • .github/workflows — 23 commits
  • docs/src — 12 commits
  • docs/iflogic-encoding.pdf — 2 commits
  • basilmill/basildocs.mill — 1 commit
  • basilmill/jflexcup.mill — 1 commit
  • basilmill/platform.mill — 1 commit
  • docs/development — 1 commit
  • scripts/nix-cc.sh — 1 commit
  • scripts/scalatest.sh — 1 commit

Notable commits

  • fix: CalleePreservedParam bug fix (#632)
  • fix: Fix --help problem, to ensure it is not sorted
  • fix: Fix --transform-memory example
  • fix: Fix LoopInvariantTests by turning on transform irreducible loops
  • fix: Fix panic in WpDual domain with FApplyExprs (#545)
  • fix: GTIRB loader fixes (#630)
  • fix: Merge branch 'main' into dsa-ssc-fixes
  • fix: Merge branch 'main' into havoc-fix-nondet
  • fix: Merge branch 'main' into interval-dsa-recursion-fix
  • fix: Merge branch 'main' into non-returning-fix
  • fix: Merge pull request #446 from UQ-PAC/fix-computeDomain
  • fix: Merge pull request #495 from UQ-PAC/fix-nodebug
  • fix: Merge pull request #562 from UQ-PAC/fix-relfgtirb-magic
  • fix: Merge pull request #565 from UQ-PAC/non-returning-fix
  • fix: Merge pull request #586 from UQ-PAC/interval-dsa-recursion-fix
  • fix: Merge pull request #608 from UQ-PAC/havoc-fix-nondet
  • fix: Merge pull request #611 from UQ-PAC/copy-prop-fix
  • fix: Merge pull request #612 from UQ-PAC/interval-dsa-bounds-check-fix
  • fix: Merge pull request #613 from UQ-PAC/dsa-ssc-fixes
  • fix: Revert "runtime evaluation of Scala code (#404)" (#432)
  • …and 280 more

Architecture

  • 0 containers · 2 bounded contexts · 0 dependency edges (baseline)

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

Survey your own repository

UQ-PAC/BASIL 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 3beae995bb95c3ae7f68eb23a9b302fc69e94d94 — 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.