Datasets:
content stringlengths 51 499k | file_path stringlengths 6 120 | file_name stringlengths 5 83 | category stringclasses 16
values | config_type stringclasses 48
values | repo_name stringclasses 814
values | repo_stars int64 179 387k | repo_language stringclasses 43
values | license stringclasses 15
values | quality_score float32 0.24 0.97 | is_generated bool 2
classes |
|---|---|---|---|---|---|---|---|---|---|---|
name: check code snippets
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
check-code-snippets:
name: check-code-snippets
runs-on:
- ubuntu-22.04
steps:... | .github/workflows/check-code-snippets.yaml | check-code-snippets.yaml | github_actions | github-actions-workflow | 0xAX/linux-insides | 25,863 | Python | noassertion | 0.567 | false |
name: Generate e-books
on:
pull_request:
branches:
- master
workflow_dispatch: {} # For manual runs.
jobs:
build-for-pr:
# For every PR, build the same artifacts and make them accessible from the PR.
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
permissions:
co... | .github/workflows/generate-e-books.yaml | generate-e-books.yaml | github_actions | github-actions-workflow | 0xAX/linux-insides | 25,863 | Python | noassertion | 0.6157 | false |
name: Release e-books
on:
push:
tags:
- 'v*.*' # Create a release only when a new tag matching v*.* is pushed.
# To also create a release for each push to the main branch, uncomment the following 2 lines:
# branches:
# - master
workflow_dispatch: {} # For manual runs.
jobs:
release-eboo... | .github/workflows/release-e-books.yaml | release-e-books.yaml | github_actions | github-actions-workflow | 0xAX/linux-insides | 25,863 | Python | noassertion | 0.6257 | false |
FROM kyselejsyrecek/gitbook:3.2.3
COPY ./ /srv/gitbook/
EXPOSE 4000
WORKDIR /srv/gitbook
CMD ["sh", "-c", "/usr/local/bin/gitbook serve"]
# Examples:
#RUN gitbook pdf
#RUN gitbook epub
| Dockerfile | Dockerfile | dockerfile | dockerfile | 0xAX/linux-insides | 25,863 | Python | noassertion | 0.6812 | false |
### HELP
.PHONY: help
help: ## Print help
@egrep "(^### |^\S+:.*##\s)" Makefile | sed 's/^###\s*//' | sed 's/^\(\S*\)\:.*##\s*\(.*\)/ \1 - \2/'
### DOCKER
.PHONY: run
run: image ## docker run ...
(docker stop linux-insides-book 2>&1) > /dev/null || true
docker run --detach -p 4000:4000 --name linux-insides-book ... | Makefile | Makefile | makefile | makefile | 0xAX/linux-insides | 25,863 | Python | noassertion | 0.6094 | false |
from utils import prompt_constructor, llm_write_file
from config import HIERARCHY, GUIDELINES, WRITE_CODE, CREATE_DOCKER, SINGLEFILE
def create_environment(globals):
''' Create Dockerfile '''
docker_prompt_template = prompt_constructor(HIERARCHY, GUIDELINES, WRITE_CODE, CREATE_DOCKER, SINGLEFILE)
pr... | gpt_migrate/steps/setup.py | setup.py | config_python | setup-py | 0xpayne/gpt-migrate | 5,449 | Python | mit | 0.4509 | false |
[tool.poetry]
name = "gpt-migrate"
version = "0.1.0"
description = "Easily migrate your codebase from one framework or language to another."
authors = ["0xpayne"]
[tool.poetry.dependencies]
python = "^3.9"
typer = "^0.9.0"
langchain = "^0.0.238"
yaspin = "^2.3.0"
openai = "^0.27.8"
tree-sitter = "^0.20.1"
[build-syst... | pyproject.toml | pyproject.toml | config_python | pyproject | 0xpayne/gpt-migrate | 5,449 | Python | mit | 0.4793 | false |
name: 提交项目(每 24 小时运行一次,晚上 00:00)
on:
schedule:
- cron: '0 16 * * *' # 每天 UTC 16:00 运行(北京时间 00:00)
workflow_dispatch: # 支持手动触发
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6.0.1
- name: Setup Python
uses: actions/setup-pyth... | .github/workflows/process_list.yml | process_list.yml | github_actions | github-actions-workflow | 1c7/chinese-independent-developer | 34,002 | 0.5835 | false | ||
[project]
name = "chinese-independent-developer"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"httpx[socks]>=0.28.1",
"openai>=2.14.0",
"pygithub>=2.8.1",
]
| pyproject.toml | pyproject.toml | config_python | pyproject | 1c7/chinese-independent-developer | 34,002 | 0.5347 | false | ||
name: Links validator
on: [push, pull_request]
jobs:
links_validation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Ruby 2.6
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
- name: Check links
run: |
gem install awesome_bot
... | .github/workflows/links-validator.yml | links-validator.yml | github_actions | github-actions-workflow | 255kb/stack-on-a-budget | 9,891 | mit | 0.4821 | false | |
name: docs
on:
push:
paths:
- 'docs/**'
pull_request:
paths:
- 'docs/**'
jobs:
docs:
runs-on: ubuntu-latest
name: build up document and deploy
steps:
- name: Checkout
uses: actions/checkout@master
- name: Install sphinx and manim env
run: |
pip3... | .github/workflows/docs.yml | docs.yml | github_actions | github-actions-workflow | 3b1b/manim | 73,304 | Python | mit | 0.5997 | false |
name: Upload Python Package
on:
release:
types: [created]
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python: ["py37", "py38", "py39", "py310"]
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
... | .github/workflows/publish.yml | publish.yml | github_actions | github-actions-workflow | 3b1b/manim | 73,304 | Python | mit | 0.58 | false |
# Minimal makefile for Sphinx documentation
#
# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = source
BUILDDIR = build
# Put it first so that "make" without argument is like "make help".
help:
@... | docs/Makefile | Makefile | makefile | makefile | 3b1b/manim | 73,304 | Python | mit | 0.778 | false |
[metadata]
name = manimgl
version = 1.7.2
author = Grant Sanderson
author_email= grant@3blue1brown.com
description = Animation engine for explanatory math videos
long_description = file: README.md
long_description_content_type = text/markdown; charset=UTF-8
home_page = https://github.com/3b1b/manim
project_urls =
B... | setup.cfg | setup.cfg | config_python | setup-cfg | 3b1b/manim | 73,304 | Python | mit | 0.6497 | false |
# CircleCI configuration to build GDevelop app running
# on the Electron runtime (newIDE/electron-app) for macOS and Linux.
# For Windows, see the appveyor.yml file.
# This also builds GDevelop.js and store it on a S3 so it can be used to run
# GDevelop without building it from scratch.
# Note that these CircleCI bui... | .circleci/config.yml | config.yml | ci | ci | 4ian/GDevelop | 10,154 | JavaScript | noassertion | 0.7028 | false |
# GitHub Action to build the Storybook of the editor and publish it for testing.
#
# Note that only the Storybook is built and GDevelop.js is not rebuilt (for speed concerns),
# so changes in the C++ source could not be reflected if the CI run by Travis-CI
# did not upload a freshly built GDevelop.js.
name: Build Stor... | .github/workflows/build-storybook.yml | build-storybook.yml | github_actions | github-actions-workflow | 4ian/GDevelop | 10,154 | JavaScript | noassertion | 0.638 | false |
# GitHub Action to extract translations and (later) upload them to Crowdin.
name: Extract translations
on:
# Execute for all commits (to ensure translations extraction works)
push:
branches:
- "**"
tags-ignore:
- "**" # Don't run on new tags
# Allows to run this workflow manually from the Act... | .github/workflows/extract-translations.yml | extract-translations.yml | github_actions | github-actions-workflow | 4ian/GDevelop | 10,154 | JavaScript | noassertion | 0.5875 | false |
# This worflow notifies arthuro555's gdcore-tools repository when a new release is published.
#
# This is used to allow gdcore-tools, a library to use GDCore outside of GDevelop,
# to attempt to automatically build, test, and publish a release for the new
# GDevelop version.
name: Trigger gdcore-tools pipeline
on:
r... | .github/workflows/gdcore-tools-hook.yml | gdcore-tools-hook.yml | github_actions | github-actions-workflow | 4ian/GDevelop | 10,154 | JavaScript | noassertion | 0.6609 | false |
name: GDevelop Issues automatic workflow
on:
issues:
types: [opened]
jobs:
autocomment:
runs-on: ubuntu-latest
if: contains(github.event.issue.body, 'The node to be removed is not a child of this node')
steps:
- name: Autocomment indications on bug if it looks like #3453
uses: peter-ev... | .github/workflows/issues.yml | issues.yml | github_actions | github-actions-workflow | 4ian/GDevelop | 10,154 | JavaScript | noassertion | 0.5225 | false |
name: GDevelop Issues automatic workflow
on:
pull_request:
types:
- opened
- reopened
- synchronize
jobs:
read-locales-metadata:
if: github.event.pull_request.title == '[Auto PR] Update translations'
runs-on: ubuntu-latest
env:
COMMENT_TITLE: "Translation ratio changes"
... | .github/workflows/pull-requests.yml | pull-requests.yml | github_actions | github-actions-workflow | 4ian/GDevelop | 10,154 | JavaScript | noassertion | 0.5769 | false |
# GitHub Action to update extension translations.
# It copies the latest messages.js files from the GDevelop-extensions repository
# and opens a Pull Request with the changes on GDevelop's repository.
name: Update extension translations
on:
push:
branches:
- master
tags-ignore:
- "**" # Don't run... | .github/workflows/update-extension-translations.yml | update-extension-translations.yml | github_actions | github-actions-workflow | 4ian/GDevelop | 10,154 | JavaScript | noassertion | 0.5801 | false |
# GitHub Action to update translations by downloading them from Crowdin,
# and open a Pull Request with the changes.
name: Update translations
on:
# Execute only on master
push:
branches:
- master
tags-ignore:
- "**" # Don't run on new tags
# Allows to run this workflow manually from the Acti... | .github/workflows/update-translations.yml | update-translations.yml | github_actions | github-actions-workflow | 4ian/GDevelop | 10,154 | JavaScript | noassertion | 0.6471 | false |
# Travis CI configuration to build and run all tests
# (and typing/formatting) for the Core, newIDE, GDJS.
#
# See also Semaphore CI for quick tests (not building GDevelop.js, so
# faster but not always reliable).
dist: noble # Ubuntu 24.04 LTS
language: cpp
sudo: false
compiler:
- clang
# Cache .npm folder for fas... | .travis.yml | .travis.yml | ci | travis | 4ian/GDevelop | 10,154 | JavaScript | noassertion | 0.7768 | false |
# This is the CMake file used to build GDevelop.
# For more information, see the README.md file.
cmake_minimum_required(VERSION 3.5)
# Add utility functions
include(scripts/CMakeClangUtils.txt) # To add clang-format and clang-tidy support to a target
# Macro for defining an option
macro(gd_set_option var default typ... | CMakeLists.txt | CMakeLists.txt | makefile | cmake | 4ian/GDevelop | 10,154 | JavaScript | noassertion | 0.6661 | false |
cmake_minimum_required(VERSION 3.5)
project(GDCore)
set(CMAKE_C_USE_RESPONSE_FILE_FOR_OBJECTS 1) # Force use response file: useful for Ninja build system on Windows.
set(CMAKE_CXX_USE_RESPONSE_FILE_FOR_OBJECTS 1)
set(CMAKE_C_USE_RESPONSE_FILE_FOR_INCLUDES 1)
set(CMAKE_CXX_USE_RESPONSE_FILE_FOR_INCLUDES 1)
#... | Core/CMakeLists.txt | CMakeLists.txt | makefile | cmake | 4ian/GDevelop | 10,154 | JavaScript | noassertion | 0.6413 | false |
cmake_minimum_required(VERSION 3.5)
project(Scene3D)
gd_add_extension_includes()
# Defines
#
gd_add_extension_definitions(Scene3D)
# The targets
#
include_directories(.)
file(
GLOB
source_files
*.cpp
*.h)
gd_add_clang_utils(Scene3D "${source_files}")
gd_add_extension_target(Scene3D "${source_files}")
# Linker f... | Extensions/3D/CMakeLists.txt | CMakeLists.txt | makefile | cmake | 4ian/GDevelop | 10,154 | JavaScript | noassertion | 0.6629 | false |
cmake_minimum_required(VERSION 3.5)
project(AnchorBehavior)
gd_add_extension_includes()
# Defines
#
gd_add_extension_definitions(AnchorBehavior)
# The targets
#
include_directories(.)
file(
GLOB
source_files
*.cpp
*.h)
gd_add_clang_utils(AnchorBehavior "${source_files}")
gd_add_extension_target(AnchorBehavior "$... | Extensions/AnchorBehavior/CMakeLists.txt | CMakeLists.txt | makefile | cmake | 4ian/GDevelop | 10,154 | JavaScript | noassertion | 0.6629 | false |
# This is the CMake file used to build the C++ extensions.
# For more information, see the README.md file.
cmake_minimum_required(VERSION 3.5)
project(GD-Extensions)
include(CMakeUtils.txt) # Functions to factor common tasks done in CMakeLists.txt of extensions
# List of non pure JS extensions
set(
GD_EXTENSIONS
... | Extensions/CMakeLists.txt | CMakeLists.txt | makefile | cmake | 4ian/GDevelop | 10,154 | JavaScript | noassertion | 0.6031 | false |
cmake_minimum_required(VERSION 3.5)
project(DestroyOutsideBehavior)
gd_add_extension_includes()
# Defines
#
gd_add_extension_definitions(DestroyOutsideBehavior)
# The targets
#
include_directories(.)
file(
GLOB
source_files
*.cpp
*.h)
gd_add_clang_utils(DestroyOutsideBehavior "${source_files}")
gd_add_extension_... | Extensions/DestroyOutsideBehavior/CMakeLists.txt | CMakeLists.txt | makefile | cmake | 4ian/GDevelop | 10,154 | JavaScript | noassertion | 0.6629 | false |
cmake_minimum_required(VERSION 3.5)
project(DraggableBehavior)
gd_add_extension_includes()
# Defines
#
gd_add_extension_definitions(DraggableBehavior)
# The targets
#
include_directories(.)
file(
GLOB
source_files
*.cpp
*.h)
gd_add_clang_utils(DraggableBehavior "${source_files}")
gd_add_extension_target(Draggabl... | Extensions/DraggableBehavior/CMakeLists.txt | CMakeLists.txt | makefile | cmake | 4ian/GDevelop | 10,154 | JavaScript | noassertion | 0.6629 | false |
cmake_minimum_required(VERSION 3.5)
project(Inventory)
gd_add_extension_includes()
# Defines
#
gd_add_extension_definitions(Inventory)
# The targets
#
include_directories(.)
file(
GLOB
source_files
*.cpp
*.h)
gd_add_clang_utils(Inventory "${source_files}")
gd_add_extension_target(Inventory "${source_files}")
# ... | Extensions/Inventory/CMakeLists.txt | CMakeLists.txt | makefile | cmake | 4ian/GDevelop | 10,154 | JavaScript | noassertion | 0.6629 | false |
cmake_minimum_required(VERSION 3.5)
project(LinkedObjects)
gd_add_extension_includes()
# Defines
#
gd_add_extension_definitions(LinkedObjects)
# The targets
#
include_directories(.)
file(
GLOB
source_files
*.cpp
*.h)
gd_add_clang_utils(LinkedObjects "${source_files}")
gd_add_extension_target(LinkedObjects "${sou... | Extensions/LinkedObjects/CMakeLists.txt | CMakeLists.txt | makefile | cmake | 4ian/GDevelop | 10,154 | JavaScript | noassertion | 0.6629 | false |
cmake_minimum_required(VERSION 3.5)
project(PanelSpriteObject)
gd_add_extension_includes()
# Defines
#
gd_add_extension_definitions(PanelSpriteObject)
# The targets
#
include_directories(.)
file(
GLOB
source_files
*.cpp
*.h)
gd_add_clang_utils(PanelSpriteObject "${source_files}")
gd_add_extension_target(PanelSpr... | Extensions/PanelSpriteObject/CMakeLists.txt | CMakeLists.txt | makefile | cmake | 4ian/GDevelop | 10,154 | JavaScript | noassertion | 0.6629 | false |
cmake_minimum_required(VERSION 3.5)
project(ParticleSystem)
gd_add_extension_includes()
# Defines
#
gd_add_extension_definitions(ParticleSystem)
# The targets
#
include_directories(.)
file(
GLOB
source_files
*.cpp
*.h)
gd_add_clang_utils(ParticleSystem "${source_files}")
gd_add_extension_target(ParticleSystem "$... | Extensions/ParticleSystem/CMakeLists.txt | CMakeLists.txt | makefile | cmake | 4ian/GDevelop | 10,154 | JavaScript | noassertion | 0.6629 | false |
cmake_minimum_required(VERSION 3.5)
project(PathfindingBehavior)
gd_add_extension_includes()
# Defines
#
gd_add_extension_definitions(PathfindingBehavior)
# The targets
#
include_directories(.)
file(
GLOB
source_files
*.cpp
*.h)
gd_add_clang_utils(PathfindingBehavior "${source_files}")
gd_add_extension_target(Pa... | Extensions/PathfindingBehavior/CMakeLists.txt | CMakeLists.txt | makefile | cmake | 4ian/GDevelop | 10,154 | JavaScript | noassertion | 0.6629 | false |
cmake_minimum_required(VERSION 3.5)
project(PhysicsBehavior)
gd_add_extension_includes()
# Defines
#
gd_add_extension_definitions(PhysicsBehavior)
# The targets
#
include_directories(.)
file(
GLOB
source_files
*.cpp
*.h)
gd_add_clang_utils(PhysicsBehavior "${source_files}")
gd_add_extension_target(PhysicsBehavio... | Extensions/PhysicsBehavior/CMakeLists.txt | CMakeLists.txt | makefile | cmake | 4ian/GDevelop | 10,154 | JavaScript | noassertion | 0.6629 | false |
cmake_minimum_required(VERSION 3.5)
project(PlatformBehavior)
gd_add_extension_includes()
# Defines
#
gd_add_extension_definitions(PlatformBehavior)
# The targets
#
include_directories(.)
file(
GLOB
source_files
*.cpp
*.h)
gd_add_clang_utils(PlatformBehavior "${source_files}")
gd_add_extension_target(PlatformBeh... | Extensions/PlatformBehavior/CMakeLists.txt | CMakeLists.txt | makefile | cmake | 4ian/GDevelop | 10,154 | JavaScript | noassertion | 0.6629 | false |
cmake_minimum_required(VERSION 3.5)
project(PrimitiveDrawing)
gd_add_extension_includes()
# Defines
#
gd_add_extension_definitions(PrimitiveDrawing)
# The targets
#
include_directories(.)
file(
GLOB
source_files
*.cpp
*.h)
gd_add_clang_utils(PrimitiveDrawing "${source_files}")
gd_add_extension_target(PrimitiveDr... | Extensions/PrimitiveDrawing/CMakeLists.txt | CMakeLists.txt | makefile | cmake | 4ian/GDevelop | 10,154 | JavaScript | noassertion | 0.6629 | false |
cmake_minimum_required(VERSION 3.5)
project(Shopify)
gd_add_extension_includes()
# Defines
#
gd_add_extension_definitions(Shopify)
# The targets
#
include_directories(.)
file(
GLOB
source_files
*.cpp
*.h)
gd_add_extension_target(
Shopify
"${source_files}"
"JsPlatform")
gd_add_clang_utils(Shopify "${source_fil... | Extensions/Shopify/CMakeLists.txt | CMakeLists.txt | makefile | cmake | 4ian/GDevelop | 10,154 | JavaScript | noassertion | 0.6541 | false |
cmake_minimum_required(VERSION 3.5)
project(SpineObject)
gd_add_extension_includes()
# Defines
#
gd_add_extension_definitions(SpineObject)
# The targets
#
include_directories(.)
file(
GLOB
source_files
*.cpp
*.h)
gd_add_clang_utils(SpineObject "${source_files}")
gd_add_extension_target(SpineObject "${source_... | Extensions/Spine/CMakeLists.txt | CMakeLists.txt | makefile | cmake | 4ian/GDevelop | 10,154 | JavaScript | noassertion | 0.6629 | false |
cmake_minimum_required(VERSION 3.5)
project(SystemInfo)
gd_add_extension_includes()
# Defines
#
gd_add_extension_definitions(SystemInfo)
# The targets
#
include_directories(.)
file(
GLOB
source_files
*.cpp
*.h)
gd_add_clang_utils(SystemInfo "${source_files}")
gd_add_extension_target(SystemInfo "${source_files}")... | Extensions/SystemInfo/CMakeLists.txt | CMakeLists.txt | makefile | cmake | 4ian/GDevelop | 10,154 | JavaScript | noassertion | 0.6629 | false |
cmake_minimum_required(VERSION 3.5)
project(TextEntryObject)
gd_add_extension_includes()
# Defines
#
gd_add_extension_definitions(TextEntryObject)
# The targets
#
include_directories(.)
file(
GLOB
source_files
*.cpp
*.h)
gd_add_clang_utils(TextEntryObject "${source_files}")
gd_add_extension_target(TextEntryObjec... | Extensions/TextEntryObject/CMakeLists.txt | CMakeLists.txt | makefile | cmake | 4ian/GDevelop | 10,154 | JavaScript | noassertion | 0.6629 | false |
cmake_minimum_required(VERSION 3.5)
project(TextObject)
gd_add_extension_includes()
# Defines
#
gd_add_extension_definitions(TextObject)
# The targets
#
include_directories(.)
file(
GLOB
source_files
*.cpp
*.h)
gd_add_clang_utils(TextObject "${source_files}")
gd_add_extension_target(TextObject "${source_files}")... | Extensions/TextObject/CMakeLists.txt | CMakeLists.txt | makefile | cmake | 4ian/GDevelop | 10,154 | JavaScript | noassertion | 0.6629 | false |
cmake_minimum_required(VERSION 3.5)
project(TiledSpriteObject)
gd_add_extension_includes()
# Defines
#
gd_add_extension_definitions(TiledSpriteObject)
# The targets
#
include_directories(.)
file(
GLOB
source_files
*.cpp
*.h)
gd_add_clang_utils(TiledSpriteObject "${source_files}")
gd_add_extension_target(TiledSpr... | Extensions/TiledSpriteObject/CMakeLists.txt | CMakeLists.txt | makefile | cmake | 4ian/GDevelop | 10,154 | JavaScript | noassertion | 0.6629 | false |
cmake_minimum_required(VERSION 3.5)
project(TopDownMovementBehavior)
gd_add_extension_includes()
# Defines
#
gd_add_extension_definitions(TopDownMovementBehavior)
# The targets
#
include_directories(.)
file(
GLOB
source_files
*.cpp
*.h)
gd_add_clang_utils(TopDownMovementBehavior "${source_files}")
gd_add_extensi... | Extensions/TopDownMovementBehavior/CMakeLists.txt | CMakeLists.txt | makefile | cmake | 4ian/GDevelop | 10,154 | JavaScript | noassertion | 0.6629 | false |
cmake_minimum_required(VERSION 3.5)
project(GDJS)
# Dependencies on external libraries:
#
include_directories(${GDCORE_include_dir})
# Defines
#
add_definitions(-DGD_IDE_ONLY)
if(EMSCRIPTEN)
add_definitions(-DEMSCRIPTEN)
endif()
if("${CMAKE_BUILD_TYPE}" MATCHES "Debug")
add_definitions(-DDEBUG)
else()
add_definiti... | GDJS/CMakeLists.txt | CMakeLists.txt | makefile | cmake | 4ian/GDevelop | 10,154 | JavaScript | noassertion | 0.6414 | false |
Build/CI Configuration Corpus
A curated dataset of build, CI/CD, and project configuration files from top GitHub repositories.
Repositories are sourced from ronantakizawa/github-top-projects, which tracks GitHub's top repositories from 2013–2025.
Use Cases
- Fine-tuning LLMs for DevOps/infrastructure code generation
- Training code completion models for configuration files
- Benchmarking LLM performance on build/CI tasks
Schema
| Field | Type | Description |
|---|---|---|
content |
string | Full file content |
file_path |
string | Path within repository |
file_name |
string | Filename only |
category |
string | High-level category (see above) |
config_type |
string | Specific config type (e.g., "docker-compose", "tsconfig") |
repo_name |
string | Repository (owner/name) |
repo_stars |
int64 | Star count |
repo_language |
string | Primary language of repository |
license |
string | SPDX license identifier |
quality_score |
float32 | Quality score (0.0–1.0), see below |
is_generated |
bool | Whether file appears auto-generated (lower signal for training) |
Quality Filtering
The dataset undergoes three quality filtering stages:
Minimum size: Files with fewer than 5 lines or 50 characters are removed (trivial configs like 2-line
.nvmrcfiles add no training signal).Near-deduplication: MinHash LSH (128 permutations, Jaccard threshold 0.85) removes near-duplicate files. Within each duplicate cluster, the version from the highest-starred repository is kept. This eliminates hundreds of copies of common starter templates (e.g., default
tsconfig.json, boilerplateDockerfile).Makefile scoping: Makefiles are restricted to root-level and 1 directory deep, preventing large C/C++ repos from flooding the dataset with subdirectory Makefiles.
Quality Score
Each file receives a quality score (0.0–1.0) based on four equally-weighted factors:
- Comment density (0–0.25): Files with comments/annotations teach intent, not just syntax
- Content length (0–0.25): Longer files are more substantive (log-scaled, capped at 500 lines)
- Repository quality (0–0.25): Higher-starred repos signal better engineering practices (log-scaled)
- Non-trivial ratio (0–0.25): Ratio of meaningful lines vs blank/bracket-only lines
Use quality_score to filter for higher-quality examples during training:
high_quality = ds["train"].filter(lambda x: x["quality_score"] >= 0.5)
Splits
- train (90%): For training
- test (10%): For evaluation
Splits are deterministic by repository (all files from a repo go to the same split).
Usage
from datasets import load_dataset
ds = load_dataset("ronantakizawa/codeconfig")
# Filter by category
dockerfiles = ds["train"].filter(lambda x: x["category"] == "dockerfile")
github_actions = ds["train"].filter(lambda x: x["category"] == "github_actions")
# Filter by specific config type
tsconfigs = ds["train"].filter(lambda x: x["config_type"] == "tsconfig")
- Downloads last month
- 48
