Tool
go-enry
Fast Go port of GitHub Linguist for programming language detection; used by The Stack v3 for language, vendor and generated-file flags.
How to use it
Use to assign languages and flag vendored/generated files at scale.
Caveats
Extension and heuristics based; ambiguous extensions (.h, .m) can misclassify.
Related
- Apptainer: HPC container runtime that runs without root; needed on clusters like Berzelius where Docker is unavailable....
- DCLM (DataComp-LM): Framework and baselines for data curation experiments including fastText quality classifier filtering of web...
- Data-Juicer: One-stop data processing system with 100+ operators for text, code and multimodal data, including code...
- Docker (Moby): Container runtime standard for SWE task images; shares the host kernel so isolation is weaker than microVMs....
- Dolma toolkit: Ai2 data toolkit: fast Rust tagger/mixer, Bloom filter dedup and mixing used for OLMo...
- E2B: Open-source cloud sandboxes for agents (isolation technology not verified...
