HRT has developed a toolkit called 'Tangle Tools' to analyze the dependency graph of its large Python codebase. This system helps identify and refactor tangled dependencies, which cause performance issues with runtime imports and static analysis. The tools leverage Python's ast library, networkx for graph algorithms, and libcst for code transformations. This enables more efficient development iteration loops and reduces CPU waste in their distributed compute environment.
All Hudson River Trading trails