Browse documentation

Coldbox detection accuracy

Detector build b3f847aead9a. Rerun from the repository root with

python3 scripts/measure-detection.py

Use the Coldbox guest toolchain and network access. See the script for prerequisites.

Tool versions for this run were Python 3.14.4, pytest 9.0.2, node v22.22.1, npm 9.2.0, go version go1.26.8 linux/amd64, rustc 1.93.1 (01f6ddf75 2026-02-11) (built from a source tarball), rustfmt 1.8.0, clippy 0.1.93.

A fixture is correct when the generated checks match the expected plan, all checks exit successfully, and Coldbox counts the expected number of executed tests. The counts describe this synthetic corpus.

LanguageCorrect plansAttempted plans
Python22
JavaScript33
TypeScript11
Go22
Rust11
Total99
FixtureDetected checks (abridged)ExitExpected testsDiscoveredCounted as executedResult
pytest with requirementssetup: python3 -m venv --system-site-packages "${TMPDIR:-/tmp}/coldbox-py" && . "${TMPDIR:-/tmp}/coldbox-py/bin/activate" && python3 -m pip install -r requirements.txt, lint: python3 -m compileall -q -x '/[.]\|node_modules' ., test: python3 -m pytest -q0111Correct
empty pytest filelint: python3 -m compileall -q -x '/[.]\|node_modules' .0000Correct
npm test with a Node suitesetup: npm install, test: npm test0111Correct
npm test with a top-level Node testsetup: npm install, test: npm test0111Correct
npm no-op test scriptsetup: npm install0000Correct
project references and Vitestsetup: npm install, lint: npx --yes -p typescript tsc --build, test: npx --yes vitest run0111Correct
Go test packagelint: test -z "$(gofmt -l .)" && go vet ./..., test: go test -v ./...0111Correct
Go package without testslint: test -z "$(gofmt -l .)" && go vet ./...0000Correct
Cargo unit testslint: cargo fmt --check && cargo clippy --all-targets -- -D warnings, test: cargo test0222Correct

A public repo is correct when the detected plan matches the expected plan, all checks pass, and Coldbox counts at least one executed test. Each checkout uses the named commit.

Public repos with correct plans: 4/4

LanguageRepo and commitDetected checks (abridged)ExitDiscoveredCounted as executedResult
Pythonbenjaminp/sixlint: python3 -m compileall -q -x '/[.]\|node_modules' ., test: python3 -m pytest -q0198182Correct
JS/TSremcohaszing/remark-mdx-frontmattersetup: npm ci, lint: npx --yes eslint ., lint: npx --yes -p typescript tsc --noEmit, test: npm test099Correct
Gogolang/timelint: test -z "$(gofmt -l .)" && go vet ./..., test: go test -v ./...03737Correct
Rustrust-lang/semverlint: cargo fmt --check && cargo clippy --all-targets -- -D warnings, test: cargo test03838Correct
On this pageOverview