arXiv Computation and Language

CodeGraph: Open-Taxonomy Knowledge Graph for Source Code with Wikidata Grounding

The paper introduces CodeGraph, an open‑taxonomy knowledge graph that semantically annotates source code by extracting entities such as algorithms, paradigms, design patterns, and application domains from millions of files. Using a specialized large language model and a three‑stage Wikidata linking process, the authors ground these entities in Wikidata and construct a graph with about 158 million nodes and 1 billion typed edges across 14 programming languages. A quality‑assurance protocol combining human evaluation and an LLM‑as‑a‑judge filter quantifies annotation precision.

arXiv AI
Sep 21

From Code Archival to Knowledge Graph: Bridging Software Heritage, COAR Notify and Wikidata

The paper introduces an end‑to‑end pipeline that harvests, validates, and models links between scholarly articles and their source code from journals such as JOSS, SoftwareX, and IPOL, as well as SIGMOD ARI reproducibility reports. It produces a curated set of 4,397 DOI‑repository pairs and defines two Wikidata‑based application profiles—one for articles and one for software—aligned with schema.org and CodeMeta. Using these profiles, the authors created 4,182 new Wikidata software items linked to their papers, while only 82 repositories were previously represented, and they demonstrate compatibility with the COAR Notify protocol for future live enrichment.

By Camillo Carlo Pellizzari di San Girolamo, Francesco Tosoni
arXiv Machine Learning
Oct 22

Code Comprehensor: Hierarchical Documentation and Cross-Modal Retrieval for Large Repositories

Code Comprehensor is a hybrid retrieval‑reasoning framework designed to aid understanding of large codebases. It combines a code dependency callgraph, CodeScribe—which generates hierarchical documentation using code‑aware LLMs—and CodeContrast, a CLIP‑style dual‑encoder that learns aligned text‑code embeddings for fast, semantically precise retrieval. Experiments on OpenCV and a 5M‑LOC proprietary repository show that CodeScribe‑derived supervision improves cross‑modal retrieval accuracy, and LLM‑based evaluation reports over 90% faithfulness.

By Sujoy Roychowdhury, Joseph H. R. Isaac, Jiangning Gao, Martin Klitte, Diarmuid Corcoran
arXiv AI
Sep 3

SpecMine: A Large-Scale Corpus of Spec-Driven Development Artifacts

SpecMine is a large-scale corpus that documents Spec-Driven Development (SDD) artifacts in public GitHub repositories. It includes a broad census of 470,795 spec files from 73,030 repositories linked to 17 tools, a focused census of 98,574 Kiro layout files from 12,910 repositories, and a sweep of 5,992 pull requests across 581 repositories that modify specs. The dataset provides enriched metadata, full commit histories, parsed document structures, and over 2.4 million typed references connecting specs to code, sibling documents, PRs, branches, and issues.

By Shyam Agarwal, Anmol Singhal, Travis Breaux, Bogdan Vasilescu
arXiv Machine Learning
Sep 11

Enabling Knowledge Graph Understanding at Scale with the EXplore Your Graphs ENgine (EXYGEN)

The paper introduces EXYGEN, a framework that enables conversational access to large knowledge graphs by combining VoID descriptions, ShEx schemas, retrieved triples, and example question‑query pairs in a retrieval‑augmented generation pipeline. On the SciQA benchmark, this approach achieves an exact‑match score of 0.419 without fine‑tuning any large language model, and shows that larger general‑purpose LLMs can outperform smaller code‑specialized ones when provided sufficient context. To scale metadata generation for very large KGs, the authors propose a predicate‑coverage‑aware parallel graph sampling strategy that preserves structural diversity, reduces runtime by over 80× on OpenCitations Meta and GESIS, and is the only tractable method for obtaining complete metadata on ORKG.

By Harshdeep Singh, Yurui Zhu, Giovanni Colavizza, Matteo Romanello
arXiv AI
Oct 27

ComBeautify: Leveraging Code Change Summaries for Conventional Commit Generation

ComBeautify is a tool that automatically generates Conventional Commits Specification (CCS)-compliant commit messages by combining context-preserving summarization of Git diffs with large language models. It learns commit categories from historical data rather than relying on manually curated definitions, and also produces the CCS description component. Evaluation on 13 languages, 6,500 repositories, and over 20 million commits shows that project-specific training can outperform generic baselines by up to three times, with summarization accuracy reaching 95.25% on a manually curated dataset.

By Rishi Raj, Aashray Tandon, Nikolay Matyunin, Jibesh Patra
arXiv AI
Jul 8

Scientific Code Search at Scale: A Multi-Domain Dataset and Benchmark

arXiv:2607. 05443v1 Announce Type: cross Abstract: Scientists increasingly rely on open-source tools to support their research workflows, yet discovering relevant software among over 600 million GitHub repositories remains challenging.

By Nishan Pantha, Pranath Reddy Kumbam, Sajil Awale, Pushwitha Krishnappa, Muthukumaran Ramasubramanian, Nidhi Jha, Emily Foshee, Ankur Kumar, Rachel Slank, Ashkbiz Danehkar, Rahul Ramachandran
arXiv AI
Sep 18

WiCleanData: Guaranteeing the Type Consistency of Wikidata by Taxonomy Refinement and Constraint Enforcement

WiCleanData is a refined version of Wikidata that eliminates type inconsistencies and constraint violations. The authors built an automated pipeline that cleans the taxonomy with language‑model assistance, aggregates type constraints hierarchically, and filters facts to ensure no type violations remain. The resulting knowledge graph is publicly available through a web interface for easy exploration and downstream use.

By Yiwen Peng (IP Paris), Marc Jeanmougin (IP Paris), Thomas Bonald (IP Paris)
arXiv AI
Nov 14

AutoOntic: Automatic Ontology Induction from Text for Knowledge Graph Construction

AutoOntic is a pipeline that automatically constructs an ontology from text by canonicalizing entity types and relations, inducing a hierarchy over these types, and mining relation-level domain and range constraints. It uses corpus-derived relation-argument profiles to prioritize types and employs local, LLM-adjudicated parent/child checks to refine the hierarchy, allowing dynamic reassignment of parent-child links. In intrinsic evaluation on the Wikidata‑TekGen and DBpedia‑WebNLG subsets of Text2KGBench, over 90% of the induced endpoint types align semantically with reference classes, and knowledge graphs organized with AutoOntic achieve 88% retrieval accuracy on MINE.

By Alla Chepurova, Aydar Bulatov, Mikhail Burtsev, Yuri Kuratov
arXiv Computation and Language
Sep 17

A Taxonomy of Programming Languages for Code Generation

The paper introduces the first reproducible taxonomy for programming languages based on resource availability, categorizing 646 languages into four tiers. It finds that a small fraction (1.9%) of high-resource languages (Tier 3) generate the majority (74.6%) of tokens in major corpora, while the majority of languages (71.7%) are scarce and contribute only 1.0% of tokens. Statistical analysis confirms the extreme and systematic imbalance across tiers.

By Nishat Raihan, Christian Newman, Marcos Zampieri
arXiv AI
Oct 28

LLM Code Smells: A Taxonomy and Detection Approach

The paper "LLM Code Smells: A Taxonomy and Detection Approach" presents a refined taxonomy of nine LLM code smells and introduces SpecDetect4LLM, a static analysis tool for detecting them. Extensive empirical evaluation across 692 open‑source projects shows that 73.5% of systems contain LLM code smells, with the tool achieving 91.3% precision and 71.8% recall.

By Zacharie Chenail-Larcher, Brahim Mahmoudi, Naouel Moha, Quentin Sti\'evenart, Florent Avellaneda