DiffProwl

How DiffProwl decides which tests to run

It fingerprints the code, asks three questions about each test, then checks its own answer against a full run. Nothing is skipped on its say-so, and no LLM is involved.

1

Fingerprint the tree

Python adapter

Listed target files

Every function body gets its own hash.

Everything else

Folded into one shared hash: module structure and signatures, all other Python files, pytest config, installed packages, Python and platform, the engine and adapter themselves.

one hash

Targets are listed in a scope file. Anything not listed is shared, so a change there runs every test.

2

Plan each test

Rust planner, diffprowl shadow-plan

Baseline from the last full run: the hashes from step 1, and for each test whether it passed and which target functions it called.
Is there no baseline, or did the shared hash or the list of functions change?asked once for the whole run
yes
EXPANDrun every test
Did this test not pass last time, or does it have no recorded calls?
yes
RUNevidence unusable
Did the hash of any function it called change?
yes
RUNcalled function changed
Otherwise
REUSEkeep last verdict
3

Run both, compare

Python adapter, shadow and qualify modes

tests run, passing✕ failing
Selected
118 run · 42 fail
Full suite
449 run · the same 42 fail
  • same failing tests
  • same setup, call and teardown outcomes
  • same test inventory, no collection errors

Match: 0 missed failures.

One trial from the v0.2.0-rc.1 qualification record: a single function body changed in a 449-test scope. One trial is not a general safety or speed claim.

A complete full run becomes the next baseline for step 2.

Describes the pytest selection path of DiffProwl v0.2.0-rc.1. There is no test-skipping switch: shadow and qualify modes always execute the full scoped suite as the comparison. DiffProwl's bounded simulation of a job-cancellation world is a separate part of the project and is not shown here.