Datasets:
Tasks:
Time Series Forecasting
Languages:
English
Size:
< 1K
Tags:
temporal-point-process
event-sequences
github
software-engineering
developer-workflows
marked-temporal-point-process
License:
Restore correct README for github_user_events
Browse files
README.md
CHANGED
|
@@ -7,133 +7,105 @@ task_categories:
|
|
| 7 |
tags:
|
| 8 |
- temporal-point-process
|
| 9 |
- event-sequences
|
| 10 |
-
-
|
|
|
|
|
|
|
| 11 |
- marked-temporal-point-process
|
| 12 |
size_categories:
|
| 13 |
- n<1K
|
| 14 |
-
dataset_info:
|
| 15 |
-
features:
|
| 16 |
-
- name: seq_idx
|
| 17 |
-
dtype: int64
|
| 18 |
-
- name: seq_len
|
| 19 |
-
dtype: int64
|
| 20 |
-
- name: description
|
| 21 |
-
dtype: string
|
| 22 |
-
- name: metadata
|
| 23 |
-
dtype: string
|
| 24 |
-
- name: time_since_start
|
| 25 |
-
list: float64
|
| 26 |
-
- name: time_since_last_event
|
| 27 |
-
list: float64
|
| 28 |
-
- name: type_event
|
| 29 |
-
list: string
|
| 30 |
-
- name: type_text
|
| 31 |
-
list: string
|
| 32 |
-
splits:
|
| 33 |
-
- name: test
|
| 34 |
-
num_bytes: 16978233
|
| 35 |
-
num_examples: 382
|
| 36 |
-
download_size: 5759486
|
| 37 |
-
dataset_size: 16978233
|
| 38 |
-
configs:
|
| 39 |
-
- config_name: default
|
| 40 |
-
data_files:
|
| 41 |
-
- split: test
|
| 42 |
-
path: data/test-*
|
| 43 |
---
|
| 44 |
|
| 45 |
-
#
|
| 46 |
|
| 47 |
-
Curated
|
| 48 |
-
|
| 49 |
-
Sequences are aggressively filtered to prevent pattern exploitation — uninformative "other" events are removed, and sequences with dominant-type or consecutive-repeat shortcuts are dropped to ensure models must perform genuine reasoning.
|
| 50 |
|
| 51 |
## Dataset Description
|
| 52 |
|
| 53 |
-
- **Source:** [
|
| 54 |
-
- **
|
| 55 |
-
- **Grouping:** Events grouped by user
|
| 56 |
-
- **Sequences:**
|
| 57 |
-
- **Sequence length:** 80
|
| 58 |
-
- **
|
| 59 |
-
- **
|
| 60 |
|
| 61 |
## Schema
|
| 62 |
|
| 63 |
-
Each record is a dictionary with
|
| 64 |
|
| 65 |
| Field | Type | Description |
|
| 66 |
|---|---|---|
|
| 67 |
| `seq_idx` | int | Sequence index |
|
| 68 |
| `seq_len` | int | Number of events in the sequence |
|
| 69 |
-
| `
|
| 70 |
-
| `
|
| 71 |
-
| `
|
| 72 |
-
| `
|
| 73 |
-
| `
|
| 74 |
-
| `time_since_last_event` | list[float] | Time since the previous event (in days) |
|
| 75 |
-
| `type_event` | list[str] | Product sub-category slug (see below) |
|
| 76 |
| `type_text` | list[str] | Natural language description of each event |
|
| 77 |
|
| 78 |
-
## Event Types (
|
| 79 |
-
|
| 80 |
-
Event types are the 2nd-level product sub-categories, normalized to lowercase slugs. Rare sub-categories are mapped to `"other"` during initial curation, and all `"other"` events are then stripped from the final sequences. Examples:
|
| 81 |
|
| 82 |
-
|
|
| 83 |
|---|---|
|
| 84 |
-
|
|
| 85 |
-
|
|
| 86 |
-
|
|
| 87 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
|
| 89 |
## Curation Filters
|
| 90 |
|
| 91 |
-
Sequences are selected to represent moderately
|
| 92 |
|
| 93 |
| Filter | Value | Description |
|
| 94 |
|---|---|---|
|
| 95 |
-
| `min-events` |
|
| 96 |
-
| `max-events` |
|
| 97 |
-
| `min-
|
| 98 |
-
| `
|
| 99 |
-
| `
|
| 100 |
-
| `
|
| 101 |
-
| `
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 108 |
|---|---|---|
|
| 109 |
-
|
|
| 110 |
-
|
|
| 111 |
-
|
|
| 112 |
-
|
|
| 113 |
-
|
| 114 |
-
**Filtering pipeline:** 2,537 → remove "other" events → re-check length (−585) and type diversity (−11) → dominant ratio (−1,550) → repeat ratio (−105) → **286 sequences**.
|
| 115 |
|
| 116 |
## Example
|
| 117 |
|
| 118 |
```json
|
| 119 |
{
|
| 120 |
"seq_idx": 0,
|
| 121 |
-
"seq_len":
|
| 122 |
-
"
|
| 123 |
-
"
|
| 124 |
-
"
|
| 125 |
-
"
|
| 126 |
-
"
|
| 127 |
-
"
|
| 128 |
-
"type_event": ["camera_photo", "portable_audio_video", "video_projectors", ...],
|
| 129 |
-
"type_text": ["Product: \"Selfie Ring Light with Tripod Stand...\". 5/5 stars...", ...]
|
| 130 |
}
|
| 131 |
```
|
| 132 |
|
| 133 |
## Intended Use
|
| 134 |
|
| 135 |
- Training and evaluating temporal point process models
|
| 136 |
-
- Studying
|
| 137 |
- Benchmarking next-event prediction and event forecasting
|
| 138 |
- Modeling marked temporal point processes with rich text marks
|
| 139 |
|
|
@@ -142,11 +114,11 @@ These filters are applied after initial curation to prevent models from exploiti
|
|
| 142 |
If you use this dataset, please cite:
|
| 143 |
|
| 144 |
```bibtex
|
| 145 |
-
@dataset{
|
| 146 |
-
title={
|
| 147 |
author={XiaoBB},
|
| 148 |
year={2024},
|
| 149 |
-
url={https://huggingface.co/datasets/XiaoBB/
|
| 150 |
-
note={Curated from
|
| 151 |
}
|
| 152 |
```
|
|
|
|
| 7 |
tags:
|
| 8 |
- temporal-point-process
|
| 9 |
- event-sequences
|
| 10 |
+
- github
|
| 11 |
+
- software-engineering
|
| 12 |
+
- developer-workflows
|
| 13 |
- marked-temporal-point-process
|
| 14 |
size_categories:
|
| 15 |
- n<1K
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
---
|
| 17 |
|
| 18 |
+
# GitHub User Event Streams
|
| 19 |
|
| 20 |
+
Curated event sequences from individual GitHub developers, designed for temporal point process (TPP) and marked temporal point process (MTPP) modeling. Each sequence captures a single developer's activity across multiple repositories over a one-week window.
|
|
|
|
|
|
|
| 21 |
|
| 22 |
## Dataset Description
|
| 23 |
|
| 24 |
+
- **Source:** [GH Archive](https://www.gharchive.org/) raw JSON dumps
|
| 25 |
+
- **Time window:** June 1 - 7, 2024
|
| 26 |
+
- **Grouping:** Events grouped by user (actor)
|
| 27 |
+
- **Sequences:** ~382
|
| 28 |
+
- **Sequence length:** 80-100 events per sequence
|
| 29 |
+
- **Time unit:** hours
|
| 30 |
+
- **Language:** English only
|
| 31 |
|
| 32 |
## Schema
|
| 33 |
|
| 34 |
+
Each record is a dictionary with 8 fields:
|
| 35 |
|
| 36 |
| Field | Type | Description |
|
| 37 |
|---|---|---|
|
| 38 |
| `seq_idx` | int | Sequence index |
|
| 39 |
| `seq_len` | int | Number of events in the sequence |
|
| 40 |
+
| `description` | str | User name, active repos (with descriptions), and event window |
|
| 41 |
+
| `metadata` | str (JSON) | `actor_login`, `num_repos`, `top_repos`, `time_unit` |
|
| 42 |
+
| `time_since_start` | list[float] | Time since the first event (in `time_unit`, default hours) |
|
| 43 |
+
| `time_since_last_event` | list[float] | Time since the previous event (in `time_unit`, default hours) |
|
| 44 |
+
| `type_event` | list[str] | Event type labels (see below) |
|
|
|
|
|
|
|
| 45 |
| `type_text` | list[str] | Natural language description of each event |
|
| 46 |
|
| 47 |
+
## Event Types (8 categories)
|
|
|
|
|
|
|
| 48 |
|
| 49 |
+
| Label | Description |
|
| 50 |
|---|---|
|
| 51 |
+
| `issue_opened` | New issue filed |
|
| 52 |
+
| `issue_closed` | Issue resolved/closed |
|
| 53 |
+
| `pr_opened` | Pull request opened |
|
| 54 |
+
| `pr_merged` | Pull request merged |
|
| 55 |
+
| `push` | Code pushed (with commit messages) |
|
| 56 |
+
| `release` | Release published |
|
| 57 |
+
| `pr_reviewed` | PR approved or changes requested |
|
| 58 |
+
| `comment` | Comment on issue, PR, or review |
|
| 59 |
|
| 60 |
## Curation Filters
|
| 61 |
|
| 62 |
+
Sequences are selected to represent moderately active developers working across a focused set of repositories:
|
| 63 |
|
| 64 |
| Filter | Value | Description |
|
| 65 |
|---|---|---|
|
| 66 |
+
| `min-raw-events` | 50 | Min kept-type events in archive (pre-classification) |
|
| 67 |
+
| `max-raw-events` | 300 | Max kept-type events in archive (pre-classification) |
|
| 68 |
+
| `min-events` | 80 | Min classified events per sequence |
|
| 69 |
+
| `max-events` | 100 | Max classified events (skip, not truncate) |
|
| 70 |
+
| `min-unique-types` | 5 | At least 5 distinct event types |
|
| 71 |
+
| `min-repos` | 2 | Active in at least 2 repos |
|
| 72 |
+
| `max-repos` | 5 | Active in at most 5 repos |
|
| 73 |
+
| `min-avg-text-len` | 150 | Min average text length per event |
|
| 74 |
+
| `max-type-fraction` | 0.5 | No single event type >50% of events |
|
| 75 |
+
| `require-english` | true | All event texts must be in English (non-Latin script detection) |
|
| 76 |
+
|
| 77 |
+
Additional processing:
|
| 78 |
+
- Bot users are excluded (detected by name patterns like `[bot]`, `dependabot`, etc.)
|
| 79 |
+
- Consecutive duplicate events (same type + text) are deduplicated
|
| 80 |
+
|
| 81 |
+
## Key Difference from Repository Events
|
| 82 |
+
|
| 83 |
+
| | User Events | Repo Events |
|
| 84 |
|---|---|---|
|
| 85 |
+
| Grouping | By developer | By repository |
|
| 86 |
+
| Cross-repo | Yes (2-5 repos) | No (single repo) |
|
| 87 |
+
| Text perspective | Mentions repository name | Mentions actor name |
|
| 88 |
+
| Use case | Developer workflow modeling | Project activity modeling |
|
|
|
|
|
|
|
| 89 |
|
| 90 |
## Example
|
| 91 |
|
| 92 |
```json
|
| 93 |
{
|
| 94 |
"seq_idx": 0,
|
| 95 |
+
"seq_len": 90,
|
| 96 |
+
"description": "GitHub user alice: active in org/repo-a (A web framework for Rust), org/repo-b Event window: June 02 - 07, 2024.",
|
| 97 |
+
"metadata": "{\"actor_login\": \"alice\", \"num_repos\": 2, \"top_repos\": [\"org/repo-a\", \"org/repo-b\"], \"time_unit\": \"hours\"}",
|
| 98 |
+
"time_since_start": [0.0, 0.004, ...],
|
| 99 |
+
"time_since_last_event": [0.0, 0.004, ...],
|
| 100 |
+
"type_event": ["pr_reviewed", "pr_merged", "push", ...],
|
| 101 |
+
"type_text": ["PR approved in org/repo-a: Add new feature...", ...]
|
|
|
|
|
|
|
| 102 |
}
|
| 103 |
```
|
| 104 |
|
| 105 |
## Intended Use
|
| 106 |
|
| 107 |
- Training and evaluating temporal point process models
|
| 108 |
+
- Studying individual developer workflow patterns across repos
|
| 109 |
- Benchmarking next-event prediction and event forecasting
|
| 110 |
- Modeling marked temporal point processes with rich text marks
|
| 111 |
|
|
|
|
| 114 |
If you use this dataset, please cite:
|
| 115 |
|
| 116 |
```bibtex
|
| 117 |
+
@dataset{github_user_events_2024,
|
| 118 |
+
title={GitHub User Event Streams},
|
| 119 |
author={XiaoBB},
|
| 120 |
year={2024},
|
| 121 |
+
url={https://huggingface.co/datasets/XiaoBB/github_user_events},
|
| 122 |
+
note={Curated from GH Archive, June 2024}
|
| 123 |
}
|
| 124 |
```
|