Joshua de Freitas
Software · Developer tool

Engineering Workbench

Shows how a codebase is put together and how it changed: the architecture, the dependencies that came and went, and the evidence behind each claim.

Prototype · not yet releasedPython first; Rust and JavaScript experimentalMaintained by me
src/_pytesttesting
Fig. 1  The 852 import dependencies an early version recorded between 206 files in pytest, November 2026. Blue arcs join files in different packages (437); grey arcs stay within one (415).Drawn from the tool’s own model
What it needs
Python 3.11 or later and Git. No other packages.
What it never does
Run the code it is reading.
Every claim has
A file and a line, and a commit where history allows.
Output
One HTML file that works offline.
01

What changed between two releases, and where?

Pick two snapshots and it ranks where the change concentrates: the packages that gained or lost dependencies, then each dependency with the line that created it.

Every view has a link, so the answer can be sent to someone else.

Engineering Workbench comparing two pytest snapshots: a graph of packages with added dependencies in green, and a ranked list of where the change concentrates
pytest, 2019 against 2026, in an early version
02

What depends on this, and what would break?

Select a module and the picture reduces to its neighbourhood: dependents in green, dependencies in blue, and the evidence for each edge underneath.

The Workbench focused on one pytest module, showing what depends on it and what it depends on
pytest’s fixtures module, with its dependents and dependencies, in an early version
03

Is the architecture still what we meant?

It finds the places where one part of a system reaches into another it shouldn’t, and shows when that import appeared and in which commit.

A domain module importing storage, in the built-in demonstration repository
A domain module importing storage, in the built-in demonstration repository
04

Has anything tangled?

Dependency cycles are flagged when they appear, and again when they are repaired, with the added and removed imports listed by file and line.

A dependency cycle introduced and later repaired, in the built-in demonstration repository
A cycle introduced and later repaired, in the built-in demonstration repository

How it was checked

Accuracy figures from an earlier version have been withdrawn. The first release concentrates on Python imports and Git history, and its checks will be published with it.

The dependency figures and pytest screenshots on this page come from the earlier version.

Limits, stated plainly

  • Static reading onlyIt reads source without running it. It can’t follow imports computed at run time, import hooks or generated code.
  • History is sampledEight snapshots, with the most recent 1,200 commits. “When did this dependency appear?” is a bound, not an exact date.
  • Moves are git’s callRenames come from git, with a similarity score. A file moved and heavily edited at once can still look like a deletion and a new file.
  • Python firstRust and JavaScript scanning is experimental and known to miss or misread some forms. Other languages are counted but not analyzed.