File size: 10,080 Bytes
031cf82 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 | ---
license: cc-by-4.0
language:
- en
pretty_name: DEPosit
configs:
- config_name: repositories
data_files:
- split: train
path: Data/filtered_DE_repositories.csv
- config_name: commits
data_files:
- split: train
path: Data/DE_all_commits_details.csv
- config_name: pull_requests
data_files:
- split: train
path: Data/DE_all_pr_details.csv
- config_name: issues
data_files:
- split: train
path: Data/DE_all_issue_details.csv
- config_name: issue_closers
data_files:
- split: train
path: Data/DE_all_issue_closers.csv
- config_name: pr_reviews
data_files:
- split: train
path: Data/DE_all_pr_reviews_graphql.csv
- config_name: ci_services
data_files:
- split: train
path: Data/DE_ci_services.csv
- config_name: ci_file_commits
data_files:
- split: train
path: Data/DE_commits_per_ci_files.csv
- config_name: github_actions_runs
data_files:
- split: train
path: Data/DE_repo_gha_runs_counts.csv
- config_name: repo_interactions
data_files:
- split: train
path: Data/DE_repo_interactions.csv
- config_name: repo_metrics
data_files:
- split: train
path: Data/DE_repo_metrics.csv
- config_name: user_autonomy
data_files:
- split: train
path: Data/DE_user_autonomy.csv
- config_name: pipeline_airflow
data_files:
- split: train
path: Data/pipeline_artifacts/DE_pipeline_airflow_dag_features.csv
- config_name: pipeline_beam
data_files:
- split: train
path: Data/pipeline_artifacts/DE_pipeline_beam_pipeline_features.csv
- config_name: pipeline_dagster
data_files:
- split: train
path: Data/pipeline_artifacts/DE_pipeline_dagster_features.csv
- config_name: pipeline_dbt_model
data_files:
- split: train
path: Data/pipeline_artifacts/DE_pipeline_dbt_model_features.csv
- config_name: pipeline_dbt_project_summary
data_files:
- split: train
path: Data/pipeline_artifacts/DE_pipeline_dbt_project_summary.csv
- config_name: pipeline_dlt
data_files:
- split: train
path: Data/pipeline_artifacts/DE_pipeline_dlt_features.csv
- config_name: pipeline_files
data_files:
- split: train
path: Data/pipeline_artifacts/DE_pipeline_files.csv
- config_name: pipeline_kedro
data_files:
- split: train
path: Data/pipeline_artifacts/DE_pipeline_kedro_pipeline_features.csv
- config_name: pipeline_luigi
data_files:
- split: train
path: Data/pipeline_artifacts/DE_pipeline_luigi_task_features.csv
- config_name: pipeline_prefect
data_files:
- split: train
path: Data/pipeline_artifacts/DE_pipeline_prefect_flow_features.csv
---
# DEPosit — Replication Package
**DEPosit** (Data Engineering Pipeline Repositories) is a dataset of open-source GitHub repositories in the data-engineering pipeline ecosystem.
The dataset contains a master cohort of **1,952 repositories** together with repository activity, commits, pull requests, issues, CI-service information, contributor metrics, and pipeline discovery and feature data.
## Dataset (`Data/`)
The Hugging Face Hub exposes each heterogeneous CSV table as a separate **configuration**. This prevents tables with different schemas from being incorrectly concatenated by the Dataset Viewer.
| Configuration | File | Description |
|---------------|------|-------------|
| `repositories` | `filtered_DE_repositories.csv` | Master cohort (**1,952** repos) |
| `commits` | `DE_all_commits_details.csv` | Commits per repository |
| `pull_requests` | `DE_all_pr_details.csv` | Pull requests |
| `issues` | `DE_all_issue_details.csv` | Issues |
| `issue_closers` | `DE_all_issue_closers.csv` | Issue closer logins |
| `pr_reviews` | `DE_all_pr_reviews_graphql.csv` | PR review / merge metadata (GraphQL) |
| `ci_services` | `DE_ci_services.csv` | Detected CI services per repo |
| `ci_file_commits` | `DE_commits_per_ci_files.csv` | Commits touching CI config paths |
| `github_actions_runs` | `DE_repo_gha_runs_counts.csv` | GitHub Actions run counts |
| `repo_interactions` | `DE_repo_interactions.csv` | Precomputed interaction-type metrics |
| `repo_metrics` | `DE_repo_metrics.csv` | Repo-level activity aggregates |
| `user_autonomy` | `DE_user_autonomy.csv` | Contributor autonomy per repo |
| `pipeline_airflow` | `pipeline_artifacts/DE_pipeline_airflow_dag_features.csv` | Airflow pipeline features |
| `pipeline_beam` | `pipeline_artifacts/DE_pipeline_beam_pipeline_features.csv` | Apache Beam pipeline features |
| `pipeline_dagster` | `pipeline_artifacts/DE_pipeline_dagster_features.csv` | Dagster pipeline features |
| `pipeline_dbt_model` | `pipeline_artifacts/DE_pipeline_dbt_model_features.csv` | dbt model features |
| `pipeline_dbt_project_summary` | `pipeline_artifacts/DE_pipeline_dbt_project_summary.csv` | dbt project-level features |
| `pipeline_dlt` | `pipeline_artifacts/DE_pipeline_dlt_features.csv` | dlt pipeline features |
| `pipeline_files` | `pipeline_artifacts/DE_pipeline_files.csv` | Discovered pipeline files |
| `pipeline_kedro` | `pipeline_artifacts/DE_pipeline_kedro_pipeline_features.csv` | Kedro pipeline features |
| `pipeline_luigi` | `pipeline_artifacts/DE_pipeline_luigi_task_features.csv` | Luigi task features |
| `pipeline_prefect` | `pipeline_artifacts/DE_pipeline_prefect_flow_features.csv` | Prefect flow features |
The SQLite file `DE_pipeline_artifacts.db` is retained as a downloadable replication artifact and is not used by the Hugging Face Dataset Viewer.
## Join Keys
- `full_name` or `repo_name` (`owner/repo`) for repository-level and process tables.
- `repo_full_name` for tables in `pipeline_artifacts/`.
- `(repo_full_name, file_path)` links `DE_pipeline_files.csv` to the pipeline feature tables.
## Loading Data from Hugging Face
Each table can be loaded independently using its configuration name:
```python
from datasets import load_dataset
repos = load_dataset("taher-ghaleb/DEPosit", "repositories")
commits = load_dataset("taher-ghaleb/DEPosit", "commits")
issues = load_dataset("taher-ghaleb/DEPosit", "issues")
ci = load_dataset("taher-ghaleb/DEPosit", "ci_services")
```
To load pipeline feature tables:
```python
from datasets import load_dataset
airflow = load_dataset("taher-ghaleb/DEPosit", "pipeline_airflow")
dbt = load_dataset("taher-ghaleb/DEPosit", "pipeline_dbt_model")
prefect = load_dataset("taher-ghaleb/DEPosit", "pipeline_prefect")
```
Each configuration represents one logical table with a consistent schema. The tables are intended to be joined for analysis using the keys described above.
## Scripts (`Scripts/`)
| Script | Role |
|--------|------|
| `collect_github_repos_for_SE4DE_topics.py` | Topic-based repo discovery → `Data/all_DE_repositories.csv` |
| `get_repo_commits_pr_issues_contributors_for_SE4DE_repos.py` | Commits, PRs, issues, contributors |
| `get_issue_closers_for_SE4DE_repos.py` | Issue closer events |
| `get_pr_reviews_graphql_for_SE4DE_repos.py` | PR reviews / merges (GraphQL) |
| `get_pr_reviews_rest_for_SE4DE_repos.py` | PR reviews (REST alternative) |
| `collect_github_repos_commits_per_ci_files.py` | Commits on CI-related paths |
| `get_gha_workflow_runs_for_SE4DE_repos.py` | GitHub Actions run counts |
| `compute_interactions_for_SE4DE_repos.py` | `DE_repo_interactions.csv` |
| `compute_user_autonomy_for_SE4DE_repos.py` | `DE_user_autonomy.csv` |
| `collect_pipeline_artifacts.py` | Discover and parse pipeline files |
| `backfill_ci_gha_from_runs.py` | Add GitHub Actions to `DE_ci_services.csv` when runs exist but path detection missed them |
| `github_api.py`, `github_tokens.py` | Shared API session and token loading |
| `pipeline_parsers/` | Framework-specific parsers |
| `pipeline_schema.sql` | SQLite schema for pipeline collection |
## Quick start (analyze the shipped data)
```powershell
py -m pip install -r requirements.txt
```
Open `Data/filtered_DE_repositories.csv` and join to other `Data/DE_*.csv` files on `full_name` / `repo_name`.
## GitHub authentication (re-collection only)
**Do not commit personal access tokens.** Scripts load credentials from (in order):
1. `--token` / `--tokens` CLI flags (where supported)
2. Environment variables: `GITHUB_TOKEN_SE4DE` (preferred) or `GITHUB_TOKEN`
3. Optional local `.env` file — copy `.env.example` to `.env` and set your PAT
```powershell
copy .env.example .env
# Edit .env and set GITHUB_TOKEN_SE4DE=<your-pat>
# Or set for the current shell only:
$env:GITHUB_TOKEN_SE4DE = "<your-pat>"
```
For heavy REST collection, rotate rate limits with comma-separated PATs:
```powershell
$env:GITHUB_TOKENS = "<pat1>,<pat2>"
```
Example:
```powershell
py Scripts/collect_pipeline_artifacts.py --token $env:GITHUB_TOKEN_SE4DE
py Scripts/get_gha_workflow_runs_for_SE4DE_repos.py --token $env:GITHUB_TOKEN_SE4DE
```
Typical collection order: topic discovery → development history → derived metrics → pipeline artifacts → optional `backfill_ci_gha_from_runs.py`.
Historical commit/PR text in `Data/*.csv` may contain third-party leaked tokens from upstream repos; these were redacted where detected. Re-run `Scripts/redact_leaked_tokens_in_data.py` after adding new CSV exports.
## Layout
```text
ReplicationPackage/
├── README.md
├── LICENSE
├── DATA_LICENSE
├── .env.example
├── requirements.txt
├── Data/
│ ├── filtered_DE_repositories.csv
│ ├── DE_*.csv
│ ├── DE_pipeline_artifacts.db
│ └── pipeline_artifacts/
└── Scripts/
├── collect_*.py, get_*.py, compute_*.py
├── collect_pipeline_artifacts.py
├── backfill_ci_gha_from_runs.py
├── github_api.py, github_tokens.py
└── pipeline_parsers/
```
## Citation
If you use DEPosit, please cite:
```bibtex
@inproceedings{deposit2026,
title = {DEPosit: A Dataset of Open-Source Repositories for Data Engineering Pipelines},
author = {Gorjala, Bhavyalatha and Taher A. Ghaleb},
booktitle = {Proceedings of the 42nd IEEE International Conference on Software Maintenance and Evolution (ICSME)},
year = {2026},
organization={IEEE}
}
``` |