semantic-graph
Find duplicate and related tests with embeddings and clustering
...It scans Playwright-style test files written with test() and test.describe(), embeds each test, groups similar tests with DBSCAN clustering and names each cluster with an LLM. The results open in a local web UI with a folder tree and a 2D similarity graph laid out with UMAP, so overlapping tests are easy to spot.
It is for developers and QA engineers who want to keep a growing suite lean and find tests that cover the same ground. Run it with npx @testchimp/semantic-graph visualize --tests-dir ./tests and an OpenAI API key, or use Anthropic Claude together with Voyage embeddings. ...