Pixilab
Home › Companies › Show HN launch › Reducing a 66-node dependency cycle to 13 in Scrapy

Reducing a 66-node dependency cycle to 13 in Scrapy

Show HN: Reducing a 66-node dependency cycle to 13 in Scrapy

Reducing a 66-node dependency cycle to 13 in Scrapy is active in the show hn launch space.

Profile

I built PViz to help developers understand the structural shape of large codebases — surfacing module coupling, strongly connected components, and the edges driving them.To put it through its paces, I ran it on Scrapy with a concrete goal: reduce SCCs without changing runtime behavior.Starting point → Final result: - Largest conceptual (TYPE_CHECKING-masked) SCC: 66 → 15 nodes - Runtime SCC: 23 → 2 nodesGoing in with no prior knowledge of the codebase, the refactor took 68 iterations and surfaced some non-obvious structural behaviors:- Runtime coupling collapsed early (23 → 4 by iteration 17) while the conceptual graph stayed largely intact — suggesting runtime and conceptual coupling respon

Within the show hn launch space, the company focuses on its core offering rather than a broad product line.

Directory data places it at the Show HN launch stage.

SectorShow HN launch
StageShow HN launch

Website: pvizgenerator.com/showcase/2026-04-scrapy-scc-refactor

Browse related

Full contact details are available to registered Pixilab members.
Create a free account