SWHForest: A Structural Curation and Search Layer for Large-Scale Code Corpora
8 Nov · Federico Pennino, Andrea Gurioli, Maurizio Gabbrielli +1 · arXiv:2611.11439
Pre-training code language models relies on massive code corpora usually streamed over the internet. However, researchers rarely need a multi-terabyte archive in its entirety; instead, their workflow centers on curated subsets: selecting well-documented files, filtering out repetitive boilerplate, auditing for benchmark contamination, or retrieving specific code patterns. Yet, because modern corpora are typically…