Skip to content
CAI
Software that uses CAICheck a score

scala/scala-parallel-collections

57.9

Adequate · 7 November 2026

10k

lines of production code

Scala

primary language

4

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Added ShouldNotTypecheck macro for verifying code does not compile

A new \ShouldNotTypecheck\ utility has been added to the \testmacros\ module, providing Scala 2 and Scala 3 implementations to assert that specific code snippets fail to typecheck. This allows tests to explicitly verify that invalid code produces expected compilation errors, enhancing the robustness of compile-time testing.

testmacros · high confidence

Initial implementation of parallel collections framework

Adds the core infrastructure for parallel collections, including the \Parallel\ and \Parallelizable\ traits to mark and convert collections, and the \Combiner\ mechanism for parallel construction. Introduces generic templates (\GenericParCompanion\, \GenericParTemplate\) and factory classes (\ParFactory\, \ParMapFactory\, \ParSetFactory\) to support parallel collection types. Also includes internal support for parallel execution signaling (\Signalling\) and debug utilities, alongside legacy hash collection implementations (\OldHashMap\, \OldHashSet\) that serve as the basis for the new parallel structures.

core · high confidence

Initial release of Scala parallel collections as a separate module

This change introduces the initial version of the \scala-parallel-collections\ module, extracting parallel collections that were previously part of the Scala standard library (Scala 2.10–2.12) into a separate JAR. For users of Scala 2.13 and Scala 3, this allows omitting parallel collections if not needed, while providing a \CollectionConverters\ import to enable the \.par\ method. The release also establishes the project's legal and community framework by adding Apache 2.0 licensing, a Code of Conduct, and documentation for cross-building and usage.

(repo-wide) · high confidence

Test coverage

Added serialization stability tests for Scala 3; Added test coverage for collection conversions, parallel collect, and concurrent TrieMap; Added tests for parallel collections and serialization stability; Initial property-based tests for parallel collections.

Dependencies

Build infrastructure updated to sbt 1.13.0 with Scala Native and Project Matrix support

The build system has been upgraded to sbt version 1.13.0, as defined in project/build.properties. The project/plugins.sbt file now includes the sbt-scala-module plugin (version 3.4.1), sbt-projectmatrix (version 0.11.0) for multi-project matrix builds, and sbt-scala-native (version 0.5.12) to enable Scala Native compilation. Additionally, a new build tool script, project/GetScala3Next.scala, was added to automatically fetch the latest Scala 3 'next' version from the GitHub API, facilitating cross-building against the latest Scala 3 snapshots.

project · high confidence

Upgrade to Scala 2.13.18 and 3.3.8 with updated test dependencies

The build configuration now targets Scala 2.13.18 and 3.3.8 as the primary cross-compilation versions. Test dependencies have been updated to JUnit 4.13.2, junit-interface 0.13.3, and ScalaCheck 1.20.0, with JAXB API 2.3.1 added for serialization tests. The project matrix structure is refined to avoid duplicate subprojects for Scala 2 and 3, and specific compiler flags like \-Yfuture-lazy-vals\ are enabled for Scala 3.3.

(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 58 → 58 (+0.4)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

Lenses

  • Code Health 73 → 73 (+0.0)
  • Architecture 93 → 92 (-1.3)
  • Maturity 48 → 47 (-0.4)
  • Readiness 56 → 56 (+0.0)
  • Security 70 → 70 (+0.0)
  • Performance 82 → 100 (+17.7)

Resolved (3)

  • Most significant orphaned file (core/src/main/scala/scala/collection/immutable/OldHashMap.scala)
  • Most significant orphaned file (core/src/main/scala/scala/collection/parallel/RemainsIterator.scala)
  • Off-boarding risk: anonymized user #1

New (9)

  • Most significant orphaned file (core/src/main/scala/scala/collection/parallel/ParIterableLike.scala)
  • Most significant orphaned file (core/src/main/scala/scala/collection/parallel/ParSeqLike.scala)
  • Off-boarding risk: anonymized user #1
  • Orphaned file (core/src/main/scala/scala/collection/generic/ParFactory.scala)
  • Orphaned file (core/src/main/scala/scala/collection/immutable/OldHashMap.scala)
  • Orphaned file (core/src/main/scala/scala/collection/parallel/ParMapLike.scala)
  • Orphaned file (core/src/main/scala/scala/collection/parallel/ParSetLike.scala)
  • Orphaned file (core/src/main/scala/scala/collection/parallel/RemainsIterator.scala)
  • Orphaned file (core/src/main/scala/scala/collection/parallel/immutable/ParMap.scala)

Changes since last survey

  • 6 commits — 6 feature/other, 0 fixes

By area

  • (repo) — 2 commits
  • (root) — 1 commit
  • .github/workflows — 1 commit
  • project/build.properties — 1 commit
  • project/plugins.sbt — 1 commit

Notable commits

  • change: Bump coursier/cache-action from 8 to 9
  • change: Merge pull request #374 from eed3si9n/wip/salad-days
  • change: Merge pull request #378 from scala/dependabot/github_actions/coursier/cache-action-9
  • change: Update sbt, scripted-plugin to 1.13.1
  • change: Update scala3-library to 3.3.9
  • change: ci: sbt-salad-days 0.2.0

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

Survey your own repository

scala/scala-parallel-collections 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 7 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 2d2d97bc1896791d387156db90113bf97f602bd2 — the exact code this score is about.
  • Scored under rubric-2026.11.2 — 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.3+preprod-5f8314471808.