Rust corpus at 200 repositories
Selection for the 122 repositories added on 2026-11-07 (benchmarks/public-repositories/rust/0557 to 0678) was fixed before Evergreen ran on them, following decision 0030.
- Discovery:
gh search codeon 2026-11-07 for the root filesCargo.toml,rust-toolchain.toml, andrust-toolchain, with the version-neutral termsdependencies,workspace,serde,tokio,clap,edition,name,version,license,repository,package,channel,components, andstable; 100 results per query. 596 distinct repositories were returned, 288 of them with a Rust input file at the repository root. The code-search API rejectsfork:false, so forks and other ineligible repositories were filtered from repository metadata instead. - Eligibility: public, not archived or a mirror, GitHub size at most 50,000 KB, a default-branch commit on or after 2024-11-07, a complete tree, an OSI-approved SPDX license with a license file in the tree, and the input file at the root. 195 passed. The rest failed on repository metadata (134), activity (114), a missing root input (60), or a missing or non-OSI license (93).
- Order: strata are the first matching input form in profile order (
Cargo.toml,rust-toolchain.toml,rust-toolchain) by size band (at most 5,000 KB, then larger), sorted by lowercaseowner/name, walked round-robin; the first 122 eligible were kept (63 at most 5,000 KB, 59 larger; 115Cargo.toml-first and 7 toolchain-first). Each is pinned to its default-branch commit on that date, and none was chosen or dropped because of its score. - Provenance limits: license files were identified by name and GitHub’s SPDX guess, not read for coverage of the input files. The search returns at most 100 hits per query, so the pool is limited by the queries, not by what exists. The saved source responses were kept with the batch and not committed, as for the Python batch.
- Ground truth: every one of the 900 findings Evergreen reported on the 122 repositories had its cited line read in the pinned checkout and checked against the registry rule it was filed under; no label needed correction. An independent pass over the pinned text (not Evergreen’s output) for old GitHub Action majors, Rust toolchain channels, unmaintained crate declarations, Go
go/toolchaindirectives, pinned container base images,requires-pythonfloors,TargetFramework,targetSdk,#Requires -Version, and AzurevmImagelabels found one additional miss (below). Precision 1.0 (900/900); recall 900/902 = 0.9978 on this sample. - Result on the 200-repository Rust bucket:
npm run validate:public-repos -- --ecosystem rustreports 1,241 true positives, 0 false positives, and 0 false negatives, precision 1.0000. - Problem found, repository kept: the container detector declares
Dockerfile*as an input, but its walker accepts onlyDockerfileandDockerfile.<suffix>;cnosdb/docker/Dockerfile_meta(legacyENVlines 6 and 8) is not read and those two findings are missing. Filed as #2569; the pins were not changed or replaced. Not misses, because the detector documents the boundary: a Cargo dependency written asworkspace = trueis not read (the[workspace.dependencies]declaration is), and.nvmrcor.node-versionfiles outside an npm project directory are not read.