CoolFace
Datasetpublic

inaesh-joshi/MOSAIC-Refactoring-copy

Post-Processed Pull Request Dataset Dataset Overview The dataset contains a total of 2393 Pull Requests from OpenHands. It also includes additional activity metadata such as repository state snapshots and modified-file records. A summary of the dataset is presented below. Cohort Number of PRs Number of Merged PRs Unique Repositories Sum of Additions Sum of Deletions OpenHands 2393 1737 667 14186956 1732609 Total 2393 1737 667 14186956 1732609… See the full description on the dataset page: https://huggingface.co/datasets/inaesh-joshi/MOSAIC-Refactoring-copy.

sourceHugging Faceupdated 4mo agoView on Hugging Face
1likes198downloads
Dataset Card

Post-Processed Pull Request Dataset

Dataset Overview

The dataset contains a total of 2393 Pull Requests from OpenHands. It also includes additional activity metadata such as repository state snapshots and modified-file records. A summary of the dataset is presented below.

CohortNumber of PRsNumber of Merged PRsUnique RepositoriesSum of AdditionsSum of Deletions
OpenHands23931737667141869561732609
Total23931737667141869561732609

Dataset Structure

  • PullRequestRecords: records the content, state, author metadata, repository references, timestamps, and summary activity counts for a pull request.
  • FileChangeRecords: captures one changed file per row, including its path, additions, deletions, content URLs, and patch-level metadata when available.
  • RepositoryRecords: stores repository ownership, visibility, status flags, popularity metrics, programming languages, topics, licensing, timestamps, and descriptive information for the base/head repository context of a pull request.

Entity Keys

  • PullRequestRecords.pull_request_key: primary key for pull request rows.
  • FileChangeRecords.file_key: primary key for changed-file rows; FileChangeRecords.pull_request_key joins to PullRequestRecords.pull_request_key.
  • RepositoryRecords.repository_snapshot_key: primary key for repository records; RepositoryRecords.pull_request_key joins to PullRequestRecords.pull_request_key.
  • PullRequestRecords.base_repository_snapshot_key and PullRequestRecords.head_repository_snapshot_key reference RepositoryRecords.repository_snapshot_key.

Dataset Usage

Example loading by configuration for OpenHands. The same applies for the other cohorts with configuration names derived from the cohort and entity names.

python
from datasets import load_dataset

openhands_pull_request_records = load_dataset('inaesh-joshi/MOSAIC-Refactoring-copy', 'openhands_pull_request_records_02-06-2026', split='train')
openhands_file_change_records = load_dataset('inaesh-joshi/MOSAIC-Refactoring-copy', 'openhands_file_change_records_02-06-2026', split='train')
openhands_repository_records = load_dataset('inaesh-joshi/MOSAIC-Refactoring-copy', 'openhands_repository_records_02-06-2026', split='train')

Example loading by data directory for OpenHands.

python
from datasets import load_dataset

openhands_pull_request_records = load_dataset('inaesh-joshi/MOSAIC-Refactoring-copy', data_dir='data/openhands/PullRequestRecords', split='train')
openhands_file_change_records = load_dataset('inaesh-joshi/MOSAIC-Refactoring-copy', data_dir='data/openhands/FileChangeRecords', split='train')
openhands_repository_records = load_dataset('inaesh-joshi/MOSAIC-Refactoring-copy', data_dir='data/openhands/RepositoryRecords', split='train')

Provenance

  • Generated at 2026-06-02T13:22:05.362571+00:00
  • Source type: local
  • Export schema manifest version: pull_request_standardized_v12
inaesh-joshi/MOSAIC-Refactoring-copy · CoolFace