--- license: apache-2.0 language: - en size_categories: - n<1K tags: - reinforcement-learning - code - llm - swe-rl - harbor - pr_diff --- [![View tasks in Harbor Visualiser](https://img.shields.io/badge/🤗%20Harbor%20Visualiser-View%20tasks-FFD21F?style=for-the-badge)](https://huggingface.co/spaces/HuggingFaceH4/harbor-visualiser?dataset=scalingX/github-trending-environments-10k) # github-trending-environments-10k Generated by [**Repo2RLEnv**](https://github.com/huggingface/Repo2RLEnv) — turning real GitHub repositories into verifiable RL environments. > 💡 **Browse this dataset in your browser** — click the badge above or open > [`HuggingFaceH4/harbor-visualiser`](https://huggingface.co/spaces/HuggingFaceH4/harbor-visualiser?dataset=scalingX/github-trending-environments-10k) > to inspect every task's spec, instruction, oracle patch, test script, and Dockerfile. - **Source repos** (217): - [`1sdv/TripStar`](https://github.com/1sdv/TripStar) - [`233boy/sing-box`](https://github.com/233boy/sing-box) - [`666ghj/MiroFish`](https://github.com/666ghj/MiroFish) - [`AeneasVerif/aeneas`](https://github.com/AeneasVerif/aeneas) - [`AgriciDaniel/claude-seo`](https://github.com/AgriciDaniel/claude-seo) - [`AhmadIbrahiim/Website-downloader`](https://github.com/AhmadIbrahiim/Website-downloader) - [`Aidoku/Aidoku`](https://github.com/Aidoku/Aidoku) - [`Alinto/sogo`](https://github.com/Alinto/sogo) - [`Anil-matcha/Open-Generative-AI`](https://github.com/Anil-matcha/Open-Generative-AI) - [`Anxcye/anx-reader`](https://github.com/Anxcye/anx-reader) - [`AppFlowy-IO/AppFlowy`](https://github.com/AppFlowy-IO/AppFlowy) - [`AstrBotDevs/AstrBot`](https://github.com/AstrBotDevs/AstrBot) - [`Atlas-OS/Atlas`](https://github.com/Atlas-OS/Atlas) - [`BLAKE3-team/BLAKE3`](https://github.com/BLAKE3-team/BLAKE3) - [`BetterCrypto/Applied-Crypto-Hardening`](https://github.com/BetterCrypto/Applied-Crypto-Hardening) - [`CapSoftware/Cap`](https://github.com/CapSoftware/Cap) - [`ChrisTitusTech/winutil`](https://github.com/ChrisTitusTech/winutil) - [`CorentinTh/it-tools`](https://github.com/CorentinTh/it-tools) - [`CorsixTH/CorsixTH`](https://github.com/CorsixTH/CorsixTH) - [`Cpasjuste/pemu`](https://github.com/Cpasjuste/pemu) - [`CyrilPeng/Venera-Next`](https://github.com/CyrilPeng/Venera-Next) - [`D4Vinci/Scrapling`](https://github.com/D4Vinci/Scrapling) - [`DarkFlippers/unleashed-firmware`](https://github.com/DarkFlippers/unleashed-firmware) - [`DeanChensj/jiangshan-map`](https://github.com/DeanChensj/jiangshan-map) - [`DependencyTrack/dependency-track`](https://github.com/DependencyTrack/dependency-track) - [`Difegue/LANraragi`](https://github.com/Difegue/LANraragi) - [`Dolibarr/dolibarr`](https://github.com/Dolibarr/dolibarr) - [`DrKLO/Telegram`](https://github.com/DrKLO/Telegram) - [`E3SM-Project/E3SM`](https://github.com/E3SM-Project/E3SM) - [`EC-CUBE/ec-cube`](https://github.com/EC-CUBE/ec-cube) - [`ESCOMP/CTSM`](https://github.com/ESCOMP/CTSM) - [`Ebullioscopic/Atoll`](https://github.com/Ebullioscopic/Atoll) - [`ElemeFE/element`](https://github.com/ElemeFE/element) - [`EllesmereGaming/EllesmereUI`](https://github.com/EllesmereGaming/EllesmereUI) - [`ElmerCSC/elmerfem`](https://github.com/ElmerCSC/elmerfem) - [`Euro-Office/DesktopEditors`](https://github.com/Euro-Office/DesktopEditors) - [`Fincept-Corporation/FinceptTerminal`](https://github.com/Fincept-Corporation/FinceptTerminal) - [`FreeCAD/FreeCAD`](https://github.com/FreeCAD/FreeCAD) - [`Freika/dawarich`](https://github.com/Freika/dawarich) - [`GTFOBins/GTFOBins.github.io`](https://github.com/GTFOBins/GTFOBins.github.io) - [`Genymobile/scrcpy`](https://github.com/Genymobile/scrcpy) - [`GokuMohandas/Made-With-ML`](https://github.com/GokuMohandas/Made-With-ML) - [`GoogleChrome/modern-web-guidance-src`](https://github.com/GoogleChrome/modern-web-guidance-src) - [`HD838A/remote-mic-app`](https://github.com/HD838A/remote-mic-app) - [`HKUDS/DeepTutor`](https://github.com/HKUDS/DeepTutor) - [`HKUDS/Vibe-Trading`](https://github.com/HKUDS/Vibe-Trading) - [`HMCL-dev/HMCL`](https://github.com/HMCL-dev/HMCL) - [`HapeLee/legado-with-MD3`](https://github.com/HapeLee/legado-with-MD3) - [`HarbourMasters/Shipwright`](https://github.com/HarbourMasters/Shipwright) - [`Helldez/BigMoeOnEdge`](https://github.com/Helldez/BigMoeOnEdge) - [`Homebrew/brew`](https://github.com/Homebrew/brew) - [`HuskerMinion/techo5`](https://github.com/HuskerMinion/techo5) - [`ImranR98/Obtainium`](https://github.com/ImranR98/Obtainium) - [`IntersectMBO/cardano-node`](https://github.com/IntersectMBO/cardano-node) - [`InvoiceShelf/InvoiceShelf`](https://github.com/InvoiceShelf/InvoiceShelf) - [`JetBrains/thinkrail`](https://github.com/JetBrains/thinkrail) - [`JuliusBrussee/caveman`](https://github.com/JuliusBrussee/caveman) - [`JustVugg/colibri`](https://github.com/JustVugg/colibri) - [`KiCad/kicad-footprints`](https://github.com/KiCad/kicad-footprints) - [`LSPosed/LSPosed`](https://github.com/LSPosed/LSPosed) - [`LawnchairLauncher/lawnchair`](https://github.com/LawnchairLauncher/lawnchair) - [`LazyVim/LazyVim`](https://github.com/LazyVim/LazyVim) - [`Leantime/leantime`](https://github.com/Leantime/leantime) - [`Leonxlnx/taste-skill`](https://github.com/Leonxlnx/taste-skill) - [`LibreELEC/LibreELEC.tv`](https://github.com/LibreELEC/LibreELEC.tv) - [`Loongphy/codex-auth`](https://github.com/Loongphy/codex-auth) - [`MPAS-Dev/MPAS-Model`](https://github.com/MPAS-Dev/MPAS-Model) - [`Manavarya09/design-extract`](https://github.com/Manavarya09/design-extract) - [`MeanderingProgrammer/render-markdown.nvim`](https://github.com/MeanderingProgrammer/render-markdown.nvim) - [`Mesh-LLM/mesh-llm`](https://github.com/Mesh-LLM/mesh-llm) - [`MetOffice/jules`](https://github.com/MetOffice/jules) - [`MetOffice/lfric_apps`](https://github.com/MetOffice/lfric_apps) - [`MetOffice/lfric_core`](https://github.com/MetOffice/lfric_core) - [`NVIDIA/SkillSpector`](https://github.com/NVIDIA/SkillSpector) - [`NVIDIA/accelerated-computing-hub`](https://github.com/NVIDIA/accelerated-computing-hub) - [`NVIDIA/cudf-spark`](https://github.com/NVIDIA/cudf-spark) - [`NationalSecurityAgency/ghidra`](https://github.com/NationalSecurityAgency/ghidra) - [`NirDiamant/RAG_Techniques`](https://github.com/NirDiamant/RAG_Techniques) - [`OAI/OpenAPI-Specification`](https://github.com/OAI/OpenAPI-Specification) - [`OpenKore/openkore`](https://github.com/OpenKore/openkore) - [`OpenXiangShan/XiangShan`](https://github.com/OpenXiangShan/XiangShan) - [`OpenZeppelin/openzeppelin-contracts`](https://github.com/OpenZeppelin/openzeppelin-contracts) - [`Owl-Listener/designer-skills`](https://github.com/Owl-Listener/designer-skills) - [`PHPMailer/PHPMailer`](https://github.com/PHPMailer/PHPMailer) - [`PartialVolume/shredos.x86_64`](https://github.com/PartialVolume/shredos.x86_64) - [`PathOfBuildingCommunity/PathOfBuilding`](https://github.com/PathOfBuildingCommunity/PathOfBuilding) - [`PathOfBuildingCommunity/PathOfBuilding-PoE2`](https://github.com/PathOfBuildingCommunity/PathOfBuilding-PoE2) - [`Perl/perl5`](https://github.com/Perl/perl5) - [`PimpinPumpkin/Vela`](https://github.com/PimpinPumpkin/Vela) - [`PostgREST/postgrest`](https://github.com/PostgREST/postgrest) - [`Predidit/Kazumi`](https://github.com/Predidit/Kazumi) - [`Predidit/KazumiRules`](https://github.com/Predidit/KazumiRules) - [`PrestaShop/PrestaShop`](https://github.com/PrestaShop/PrestaShop) - [`Questie/Questie`](https://github.com/Questie/Questie) - [`QwenLM/qwen-code`](https://github.com/QwenLM/qwen-code) - [`ROCKNIX/distribution`](https://github.com/ROCKNIX/distribution) - [`ROCm/rocm-libraries`](https://github.com/ROCm/rocm-libraries) - [`Rangi42/polishedcrystal`](https://github.com/Rangi42/polishedcrystal) - [`Raphire/Win11Debloat`](https://github.com/Raphire/Win11Debloat) - [`Rdatatable/data.table`](https://github.com/Rdatatable/data.table) - [`RestedXP/RXPGuides`](https://github.com/RestedXP/RXPGuides) - [`Rhizomatica/mercury`](https://github.com/Rhizomatica/mercury) - [`RikkaApps/Shizuku`](https://github.com/RikkaApps/Shizuku) - [`RotherOSS/otobo`](https://github.com/RotherOSS/otobo) - [`SDWebImage/SDWebImage`](https://github.com/SDWebImage/SDWebImage) - [`SDWebImage/SDWebImageSVGCoder`](https://github.com/SDWebImage/SDWebImageSVGCoder) - [`SDWebImage/SDWebImageWebPCoder`](https://github.com/SDWebImage/SDWebImageWebPCoder) - [`Seafoam-Labs/Shelly-ALPM`](https://github.com/Seafoam-Labs/Shelly-ALPM) - [`Sketchware-Pro/Sketchware-Pro`](https://github.com/Sketchware-Pro/Sketchware-Pro) - [`Smaug6739/Alexandrie`](https://github.com/Smaug6739/Alexandrie) - [`Spectral-Finance/lux`](https://github.com/Spectral-Finance/lux) - [`SukiSU-Nova/SukiSU-Nova`](https://github.com/SukiSU-Nova/SukiSU-Nova) - [`SunshineStream/Sunshine`](https://github.com/SunshineStream/Sunshine) - [`TNT-Likely/BeeCount`](https://github.com/TNT-Likely/BeeCount) - [`The-PR-Agent/pr-agent`](https://github.com/The-PR-Agent/pr-agent) - [`TheHive-Project/TheHive`](https://github.com/TheHive-Project/TheHive) - [`TimOliver/TOCropViewController`](https://github.com/TimOliver/TOCropViewController) - [`UnboundTechCo/defyxVPN`](https://github.com/UnboundTechCo/defyxVPN) - [`Unstructured-IO/unstructured`](https://github.com/Unstructured-IO/unstructured) - [`VSCodium/vscodium`](https://github.com/VSCodium/vscodium) - [`Vectorized/solady`](https://github.com/Vectorized/solady) - [`VictoriaMetrics/VictoriaMetrics`](https://github.com/VictoriaMetrics/VictoriaMetrics) - [`Vincentwei1021/video-shotcraft`](https://github.com/Vincentwei1021/video-shotcraft) - [`VueTorrent/VueTorrent`](https://github.com/VueTorrent/VueTorrent) - [`ZhuLinsen/daily_stock_analysis`](https://github.com/ZhuLinsen/daily_stock_analysis) - [`aardappel/goose`](https://github.com/aardappel/goose) - [`abue-ammar/tinycast`](https://github.com/abue-ammar/tinycast) - [`actions/runner-images`](https://github.com/actions/runner-images) - [`addyosmani/agent-skills`](https://github.com/addyosmani/agent-skills) - [`adrienverge/openfortivpn`](https://github.com/adrienverge/openfortivpn) - [`affaan-m/ECC`](https://github.com/affaan-m/ECC) - [`ag-ui-protocol/ag-ui`](https://github.com/ag-ui-protocol/ag-ui) - [`aistra0528/Hail`](https://github.com/aistra0528/Hail) - [`akitaonrails/ai-memory`](https://github.com/akitaonrails/ai-memory) - [`algerkong/AlgerMusicPlayer`](https://github.com/algerkong/AlgerMusicPlayer) - [`altic-dev/FluidVoice`](https://github.com/altic-dev/FluidVoice) - [`amir1376/ab-download-manager`](https://github.com/amir1376/ab-download-manager) - [`andreknieriem/open-headunit`](https://github.com/andreknieriem/open-headunit) - [`angular/angular`](https://github.com/angular/angular) - [`animate-css/animate.css`](https://github.com/animate-css/animate.css) - [`aniyomiorg/aniyomi-website`](https://github.com/aniyomiorg/aniyomi-website) - [`anomalyco/opencode`](https://github.com/anomalyco/opencode) - [`anthropics/knowledge-work-plugins`](https://github.com/anthropics/knowledge-work-plugins) - [`anthropics/sandbox-runtime`](https://github.com/anthropics/sandbox-runtime) - [`apache/arrow-go`](https://github.com/apache/arrow-go) - [`apache/texera`](https://github.com/apache/texera) - [`appdevforall/CodeOnTheGo`](https://github.com/appdevforall/CodeOnTheGo) - [`argoproj/argo-cd`](https://github.com/argoproj/argo-cd) - [`ash-project/ash`](https://github.com/ash-project/ash) - [`ashhart/TensorFold`](https://github.com/ashhart/TensorFold) - [`astral-sh/ruff`](https://github.com/astral-sh/ruff) - [`astral-sh/uv`](https://github.com/astral-sh/uv) - [`autowarefoundation/autoware`](https://github.com/autowarefoundation/autoware) - [`aws/aws-lc`](https://github.com/aws/aws-lc) - [`axios/axios`](https://github.com/axios/axios) - [`azahar-emu/azahar`](https://github.com/azahar-emu/azahar) - [`bcpierce00/unison`](https://github.com/bcpierce00/unison) - [`bggRGjQaUbCoE/PiliPlus`](https://github.com/bggRGjQaUbCoE/PiliPlus) - [`biomejs/biome`](https://github.com/biomejs/biome) - [`blackboardsh/electrobun`](https://github.com/blackboardsh/electrobun) - [`block/buzz`](https://github.com/block/buzz) - [`chipsalliance/rocket-chip`](https://github.com/chipsalliance/rocket-chip) - [`cmderdev/cmder`](https://github.com/cmderdev/cmder) - [`composer/composer`](https://github.com/composer/composer) - [`corrosion-rs/corrosion`](https://github.com/corrosion-rs/corrosion) - [`ed-donner/agents`](https://github.com/ed-donner/agents) - [`expressjs/express`](https://github.com/expressjs/express) - [`fatih/vim-go`](https://github.com/fatih/vim-go) - [`folke/snacks.nvim`](https://github.com/folke/snacks.nvim) - [`freqtrade/frequi`](https://github.com/freqtrade/frequi) - [`ghostty-org/ghostty`](https://github.com/ghostty-org/ghostty) - [`gitleaks/gitleaks`](https://github.com/gitleaks/gitleaks) - [`gitroomhq/postiz-app`](https://github.com/gitroomhq/postiz-app) - [`gnacho/netpulse`](https://github.com/gnacho/netpulse) - [`google/gtm-session-fetcher`](https://github.com/google/gtm-session-fetcher) - [`grimme-lab/xtb`](https://github.com/grimme-lab/xtb) - [`hadolint/hadolint`](https://github.com/hadolint/hadolint) - [`henrygd/beszel`](https://github.com/henrygd/beszel) - [`huginn/huginn`](https://github.com/huginn/huginn) - [`iBotPeaches/Apktool`](https://github.com/iBotPeaches/Apktool) - [`ibhagwan/fzf-lua`](https://github.com/ibhagwan/fzf-lua) - [`jenkinsci/jenkins`](https://github.com/jenkinsci/jenkins) - [`junegunn/vim-plug`](https://github.com/junegunn/vim-plug) - [`laravel/framework`](https://github.com/laravel/framework) - [`lite-xl/lite-xl`](https://github.com/lite-xl/lite-xl) - [`livewire/livewire`](https://github.com/livewire/livewire) - [`mailcow/mailcow-dockerized`](https://github.com/mailcow/mailcow-dockerized) - [`mason-org/mason-lspconfig.nvim`](https://github.com/mason-org/mason-lspconfig.nvim) - [`mdn/browser-compat-data`](https://github.com/mdn/browser-compat-data) - [`monicahq/monica`](https://github.com/monicahq/monica) - [`neovim/nvim-lspconfig`](https://github.com/neovim/nvim-lspconfig) - [`netdisco/netdisco`](https://github.com/netdisco/netdisco) - [`nextcloud/all-in-one`](https://github.com/nextcloud/all-in-one) - [`nothings/stb`](https://github.com/nothings/stb) - [`nvim-neo-tree/neo-tree.nvim`](https://github.com/nvim-neo-tree/neo-tree.nvim) - [`ohmyzsh/ohmyzsh`](https://github.com/ohmyzsh/ohmyzsh) - [`open-telemetry/opentelemetry-proto`](https://github.com/open-telemetry/opentelemetry-proto) - [`openai/tart`](https://github.com/openai/tart) - [`openwrt/packages`](https://github.com/openwrt/packages) - [`orbeon/orbeon-forms`](https://github.com/orbeon/orbeon-forms) - [`phoenixframework/phoenix`](https://github.com/phoenixframework/phoenix) - [`phoenixframework/phoenix_live_view`](https://github.com/phoenixframework/phoenix_live_view) - [`pi-hole/pi-hole`](https://github.com/pi-hole/pi-hole) - [`playframework/playframework`](https://github.com/playframework/playframework) - [`preservim/nerdtree`](https://github.com/preservim/nerdtree) - [`primefaces/primevue`](https://github.com/primefaces/primevue) - [`pterodactyl/panel`](https://github.com/pterodactyl/panel) - [`riscv-software-src/riscv-tests`](https://github.com/riscv-software-src/riscv-tests) - [`rustdesk/rustdesk`](https://github.com/rustdesk/rustdesk) - [`sherlock-project/sherlock`](https://github.com/sherlock-project/sherlock) - [`sp00nznet/ps3recomp`](https://github.com/sp00nznet/ps3recomp) - [`spring-projects/spring-boot`](https://github.com/spring-projects/spring-boot) - [`stashapp/CommunityScrapers`](https://github.com/stashapp/CommunityScrapers) - [`termux/termux-x11`](https://github.com/termux/termux-x11) - [`traccar/traccar`](https://github.com/traccar/traccar) - [`ublue-os/bazzite`](https://github.com/ublue-os/bazzite) - [`vim-airline/vim-airline`](https://github.com/vim-airline/vim-airline) - **Pipeline**: [`pr_diff`](https://github.com/huggingface/Repo2RLEnv/blob/main/docs/pipelines/pr_diff.md) - **Tasks**: 10000 - **Visibility**: public - **Spec**: Harbor task format with the `[metadata.repo2env]` extension ## How it was generated Each task in this dataset was produced by the [`pr_diff` pipeline](https://github.com/huggingface/Repo2RLEnv/blob/main/docs/pipelines/pr_diff.md). The pipeline mines real merged pull requests / commits from the source repo(s), applies quality filters, strips information-leakage from the instruction text, and emits a [Harbor](https://github.com/harbor-framework/harbor)-shaped task directory with the gold patch as the oracle. Reproduce locally: ```bash pip install repo2rlenv repo2rlenv generate \ --repo / \ --pipeline pr_diff \ --pipeline-opt limit=10 \ --out ./datasets/my-pr_diff ``` See the [pipeline docs](https://github.com/huggingface/Repo2RLEnv/blob/main/docs/pipelines/pr_diff.md) for the full option list + reward design. ## Run with Harbor Each task ships a `environment/Dockerfile` and `tests/test.sh`, so you can score patches end-to-end: ```bash # Pull the dataset locally repo2rlenv pull scalingX/github-trending-environments-10k /tmp/github-trending-environments-10k # Confirm structural soundness — oracle adapter applies the gold patch # and must score reward = 1.000 harbor run -p /tmp/github-trending-environments-10k -a oracle --env docker # Score an agent (claude-code + Sonnet 4.6) harbor run \ -p /tmp/github-trending-environments-10k \ -a claude-code -m anthropic/claude-sonnet-4-6 \ --ak max_budget_usd=2.00 \ --ae ANTHROPIC_API_KEY=$ANTHROPIC_API_KEY \ --env docker ``` The reward is a **6-component diff-similarity** score (format / size / file-targeting / region-overlap / changes-only similarity / LLM-judge). The `--ve ANTHROPIC_API_KEY=...` verifier-env pass enables the LLM-judge component (or `--ve R2E_JUDGE_ENDPOINT=...` plus `--ve R2E_JUDGE_MODEL=...` to use a self-hosted judge); without either, the current verifier marks the run `ungraded`, writes no reward file (Harbor reports `VERIFIER_FAILED`, so RL consumers drop it) and keeps `diagnostic_similarity` for inspection. Older task bundles may still renormalize weights; inspect their embedded verifier. Full breakdown in `/logs/verifier/reward-details.json`. ## Reward signal The reward function is part of the task itself (`tests/test.sh` + the verifier code baked into the image). The full per-task breakdown is written to `/logs/verifier/reward-details.json` at run time — useful for slicing training data by component. See the [pipeline doc](https://github.com/huggingface/Repo2RLEnv/blob/main/docs/pipelines/pr_diff.md#multi-component-reward) for the component-by-component design. ## Layout ``` tasks/ └── / ├── task.toml # Harbor task with [metadata.repo2env] ├── instruction.md # natural-language prompt ├── solution/ │ ├── patch.diff # oracle (gold) diff │ └── solve.sh # oracle adapter applies patch.diff ├── environment/ │ └── Dockerfile # builds the task's container └── tests/ └── test.sh # verifier — writes /logs/verifier/reward.txt ``` ## License Apache-2.0 — same as Repo2RLEnv itself. The original PR contents remain under their respective source-repo licenses; this dataset redistributes public commits under fair-use for ML research / training-data purposes.