When Structure Hurts and Meaning Helps: Auditing the Gemma 4 Code Graph for Bug Localization
The Gemma 4 Developer Agent competition ships a code graph and 256-dimensional node embeddings for every task, together with three agent tools built on them. We ask: do these structures help find the functions a fix has to edit? On the 129 public tasks (117 with function-level labels), we compare nine localization methods that need no LLM calls: keyword search, issue-derived seeds, the released call graph, the released embeddings, and Personalized PageRank (PPR) over the released graph and over a richer AST graph we build. Keyword search over code identifiers puts a gold function in the top 5 for 48.7% of tasks. Every fixed PPR variant is worse, at 31.6% to 36.8% (paired exact test, p <= 0.003 in every comparison), even with richer edge types. 47% of tasks are written in plain language, and there the best structural or lexical method reaches only 29.1%. Across all 127 released graphs, connected nodes have near-identical embeddings (mean cosine 0.988) while vector similarity is uncorrelated with code text (r = 0.03), and the similarity tool cannot accept free text. In contrast, embedding the issue text with an off-the-shelf model (EmbeddingGemma-300m) puts a gold file in the top…
- arXiv
- 2612.04270
- Authors
- Ayesha Shahzad
- Categories
- cs.SE