Loading...
Loading...
Contributors:
Dataset URI:
34328394# CS480A7 Project Group 2This repository contains our project work for CS480A7. For Delivery 1, we built and tested a small pilot pipeline using pull requests from the Zephyr repository. The purpose of the pilot is to make sure that we can collect the data we need and define the review and post-review events correctly before running the study on a larger dataset.## Delivery 1 - Pilot StudyThe current pilot dataset contains 30 pull requests.We collect information about pull requests, commits, changed files, issue comments, reviews, inline review comments, labels, and selected GitHub timeline events.The main scripts are:- "src/pilot_mine.py": mines the main pilot data from GitHub.- "src/mine_timeline_pilot.py": mines timeline events for the PRs that need closer chronology checking.- "src/validate_pilot.py": validates the pilot data and derives review-start and post-review development information.The generated pilot files are stored in:"data/raw/pilot/"The current files are:- "pull_requests.csv"- "commits.csv"- "commit_files.csv"- "issue_comments.csv"- "reviews.csv"- "review_comments.csv"- "pr_labels.csv"- "timeline_events.csv"- "pilot_validation.csv"## How to RunRun the commands from the project root directory.First, run the pilot miner: python .\src\pilot_mine.pyThen mine the timeline events: python .\src\mine_timeline_pilot.pyFinally, run the pilot validation: python .\src\validate_pilot.pyThe validation result is written into: "data/raw/pilot/pilot_validation.csv"## Review StartFor this project, "review_start" means the first qualifying human review activity on a pull request.We consider both formal GitHub reviews and inline review comments. Reviews made by the PR author are excluded, and bot reviews are also excluded.In the current pilot, all 30 PRs have a qualifying human review. The first qualifying event for all 30 PRs comes from a formal review.During validation, we checked PR #120856 in more detail because a Copilot review appeared before the first human review. Copilot could not actually perform the review because its quota was exhausted, so this event should not count as the beginning of human review. The first qualifying human review for this PR is from "pdgendt" at "2026-09-30 15:08:32 UTC".## Post-Review DevelopmentAt first, we compared Git commit timestamps with "review_start" to look for commits made after review. We found that this is not reliable enough because a Git commit timestamp does not necessarily tell us when that commit entered the pull request.For the pilot validation, we therefore use GitHub timeline chronology. In particular, "head_ref_force_pushed" events give us a GitHub-side timestamp that can show whether development activity happened after review started.The pilot currently identifies post-review development activity for PR #120862 and PR #120856.This does not automatically mean that the changes were caused by reviewer feedback. A force push after review only tells us that development happened after the review started. We keep this distinction because we do not want to classify something as reviewer-induced rework without enough evidence.## Important CheckpointsCurrent Delivery 1 pilot checkpoints:- Pilot PRs retrieved: 30- PRs with qualifying human review: 30- PRs without qualifying human review: 0- Review-start source: 30 formal reviews- Excluded self formal-review events: 2- Excluded bot formal-review events: 7- Excluded self inline-comment events: 2- Excluded bot inline-comment events: 4- PRs with timeline-confirmed post-review development in the checked timeline sample: 2These numbers are pilot validation results and should not be treated as the final results of the full study.## Current StatusDelivery 1 focuses on making the mining and validation process reproducible and checking our definitions on a small sample before scaling up.The pilot pipeline can currently mine the required GitHub data, identify qualifying human review starts, collect timeline chronology, and identify post-review development activity without relying only on Git commit timestamps.
Keyword(s):
Data mining and knowledge discovery; Zephyr.
MeSH Term(s):
Grants and Funding:
No Grants or Funding Data Available
Associated Publication(s):
No Associated Publication Data Available
Supplementary Data:
No Supplementary Data Available
Related Dataset(s):
No Related Dataset Data Available
The National Library of Medicine (NLM) provides information about biomedical datasets. Inclusion on an NLM Web page does not imply endorsement of, or agreement with, the contents by NLM or the National Institutes of Health. Learn more: NLM Web Policies (nih.gov)