遇见数据集

RuboCop Dataset: Fine-Grained Code Changes (Diff-Level) Linked to Issue Descriptions for Software Traceability Analysis

收藏
Zenodo2026-04-07 更新2026-05-26 收录
官方服务:

资源简介:

Dataset: RuboCop Commit–Task TraceabilityProject: rubocop/rubocop | Organization: rubocop | Language: Ruby (.rb) 1. CONTEXT AND MOTIVATIONThis dataset supports research into traceability between task descriptions and code changes inopen-source Ruby tooling. RuboCop is a widely-used static code analysis and linter tool for Ruby,making its issue history particularly valuable: tasks predominantly describe new lint rules, ruleconfiguration, and false-positive fixes — a domain-specific task profile distinct from generalapplication development. The dataset was collected to study commit–issue linking patterns in theRuby community ecosystem. 2. COLLECTION METHODOLOGYSource: GitHub repository — https://github.com/rubocop/rubocopCommits: Extracted via the GitHub API (all branches, full history)Task linking: Issue numbers extracted from commit messages using a numeric pattern (#NNNN or plain integers referencing GitHub Issues); each resolved reference was verified against the GitHub Issues APIIssue content: Title, description body, and comment thread fetched via GitHub Issues API (https://github.com/rubocop/rubocop/issues) for each linked issue numberTime range: 2012-04-21 to 2026-04-02Anonymization: Author names and e-mail addresses replaced with sequential pseudonyms (User1, User2, …) prior to publication 3. DATASET STRUCTURETable COMMITS — one row per commit ID INTEGER Primary key SHA TEXT Full commit hash AUTHOR_NAME TEXT Anonymized author pseudonym (e.g. User42) AUTHOR_EMAIL TEXT Anonymized e-mail (e.g. user42@anon.local) CMT_DATE TEXT Commit timestamp (ISO-8601 with timezone) MESSAGE BLOB Full commit message text PATH BLOB List of file paths changed in this commit DIFF BLOB Unified diff of the commit TASK_NAME TEXT Linked GitHub issue number (NULL if no link detected) Table TASK — one row per unique linked issue ID INTEGER Primary key (autoincrement) NAME TEXT Issue number (matches TASK_NAME in COMMITS) TITLE TEXT Issue title as fetched from GitHub DESCRIPTION TEXT Issue body text COMMENTS TEXT Serialized comment thread 4. BASIC STATISTICSTotal commits: 79,731Commits with linked task: 35,523 (44.6 %)Commits without linked task: 44,208 (55.4 %)Unique linked issues: 6,990Issues with description text: 6,756 (96.7 %)Unique authors (anonymized): 1,157Date range: 2012-04-21 — 2026-04-02

提供机构:
Zenodo
创建时间:
2026-04-06
二维码
社区交流群
二维码
科研交流群
商业服务