Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
TypeScript antigravity-skillsbusiness-knowledgeclaude-codeclaude-skillscodebase-analysiscodexcodex-skillsdeveloper-tools-ai-agentgemini-cli-skillskarpathy-llm-wikiknowledge-baseknowledge-graphmemoryopencode-skillspi-agentunderstandcodevibe-coding
feat(core): add criterion bench_*.rs / *_bench.rs to Rust group
thejesh231f89a0d6e200
diff --git a/understand-anything-plugin/packages/core/src/__tests__/ignore-generator.test.ts b/understand-anything-plugin/packages/core/src/__tests__/ignore-generator.test.tsindex 479d9d66..155ae654 100644--- a/understand-anything-plugin/packages/core/src/__tests__/ignore-generator.test.ts+++ b/understand-anything-plugin/packages/core/src/__tests__/ignore-generator.test.ts@@ -249,6 +249,15 @@ describe("generateStarterIgnoreFile", () => {expect(content).toContain("# **/*_test.rs");});+ it("includes Rust criterion / test::Bencher file patterns", () => {+ const content = generateStarterIgnoreFile(testDir);+ // Defensive: most Cargo benches live under `benches/` (covered by+ // the dir rule) but a small fraction of workspaces name benchmark+ // files with these prefixes/suffixes outside that directory.+ expect(content).toContain("# **/bench_*.rs");+ expect(content).toContain("# **/*_bench.rs");+ });+it("groups patterns under the JS / TS sub-header", () => {const content = generateStarterIgnoreFile(testDir);expect(content).toContain("# JS / TS");diff --git a/understand-anything-plugin/packages/core/src/ignore-generator.ts b/understand-anything-plugin/packages/core/src/ignore-generator.tsindex 287ac7d1..8d28f04f 100644--- a/understand-anything-plugin/packages/core/src/ignore-generator.ts+++ b/understand-anything-plugin/packages/core/src/ignore-generator.ts@@ -125,6 +125,8 @@ const TEST_PATTERN_GROUPS: Array<{ label: string; patterns: string[] }> = ["**/tests.rs","**/test_*.rs","**/*_test.rs",+ "**/bench_*.rs",+ "**/*_bench.rs",],},];