XiaoBB commited on
Commit
ebd63d9
·
verified ·
1 Parent(s): 4a0e95f

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +109 -29
README.md CHANGED
@@ -1,31 +1,111 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: seq_idx
5
- dtype: int64
6
- - name: seq_len
7
- dtype: int64
8
- - name: description
9
- dtype: string
10
- - name: metadata
11
- dtype: string
12
- - name: time_since_start
13
- list: float64
14
- - name: time_since_last_event
15
- list: float64
16
- - name: type_event
17
- list: string
18
- - name: type_text
19
- list: string
20
- splits:
21
- - name: test
22
- num_bytes: 3766212
23
- num_examples: 104
24
- download_size: 1231640
25
- dataset_size: 3766212
26
- configs:
27
- - config_name: default
28
- data_files:
29
- - split: test
30
- path: data/test-*
31
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language:
3
+ - en
4
+ license: apache-2.0
5
+ task_categories:
6
+ - time-series-forecasting
7
+ tags:
8
+ - temporal-point-process
9
+ - event-sequences
10
+ - github
11
+ - software-engineering
12
+ - marked-temporal-point-process
13
+ size_categories:
14
+ - n<1K
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  ---
16
+
17
+ # GitHub Repository Event Streams
18
+
19
+ Curated event sequences from GitHub repositories, designed for temporal point process (TPP) and marked temporal point process (MTPP) modeling. Each sequence captures the development activity of a single repository over a one-week window.
20
+
21
+ ## Dataset Description
22
+
23
+ - **Source:** [GH Archive](https://www.gharchive.org/) raw JSON dumps
24
+ - **Time window:** June 1 - 7, 2024
25
+ - **Grouping:** Events grouped by repository
26
+ - **Sequences:** 200-400 (varies with filtering)
27
+ - **Sequence length:** 80-100 events per sequence
28
+ - **Language:** English only
29
+
30
+ ## Schema
31
+
32
+ Each record is a dictionary with 8 fields:
33
+
34
+ | Field | Type | Description |
35
+ |---|---|---|
36
+ | `seq_idx` | int | Sequence index |
37
+ | `seq_len` | int | Number of events in the sequence |
38
+ | `description` | str | Repository name, description, language, stars, and event window |
39
+ | `metadata` | str (JSON) | `repo_name`, `stars`, `language`, `num_events` |
40
+ | `time_since_start` | list[float] | Hours since the first event in the sequence |
41
+ | `time_since_last_event` | list[float] | Hours since the previous event |
42
+ | `type_event` | list[str] | Event type labels (see below) |
43
+ | `type_text` | list[str] | Natural language description of each event |
44
+
45
+ ## Event Types (8 categories)
46
+
47
+ | Label | Description |
48
+ |---|---|
49
+ | `issue_opened` | New issue filed |
50
+ | `issue_closed` | Issue resolved/closed |
51
+ | `pr_opened` | Pull request opened |
52
+ | `pr_merged` | Pull request merged |
53
+ | `push` | Code pushed (with commit messages) |
54
+ | `release` | Release published |
55
+ | `pr_reviewed` | PR approved or changes requested |
56
+ | `comment` | Comment on issue, PR, or review |
57
+
58
+ ## Curation Filters
59
+
60
+ Sequences are selected to represent moderately active, well-maintained repositories with balanced development activity:
61
+
62
+ | Filter | Value | Description |
63
+ |---|---|---|
64
+ | `min-raw-events` | 50 | Min kept-type events in archive (pre-classification) |
65
+ | `max-raw-events` | 300 | Max kept-type events in archive (pre-classification) |
66
+ | `min-events` | 80 | Min classified events per sequence |
67
+ | `max-events` | 100 | Max classified events (skip, not truncate) |
68
+ | `max-bot-fraction` | 0.2 | Skip repos where >20% events are from bots |
69
+ | `min-unique-types` | 5 | At least 5 distinct event types |
70
+ | `min-avg-text-len` | 150 | Min average text length per event |
71
+ | `max-type-fraction` | 0.4 | No single event type >40% of events |
72
+ | `min-actors` | 2 | At least 2 unique contributors |
73
+ | `max-actors` | 5 | At most 5 unique contributors |
74
+ | `require-description` | true | Repo must have a description |
75
+ | `require-english` | true | All event texts must be in English |
76
+
77
+ ## Example
78
+
79
+ ```json
80
+ {
81
+ "seq_idx": 0,
82
+ "seq_len": 90,
83
+ "description": "GitHub repository 0xPolygonMiden/miden-node: Reference implementation of the node for the Polygon Miden rollup (Rust, 47 stars) Event window: June 01 - 07, 2024.",
84
+ "metadata": "{\"repo_name\": \"0xPolygonMiden/miden-node\", \"stars\": null, \"language\": \"Rust\", \"num_events\": 90}",
85
+ "time_since_start": [0.0, 0.123, ...],
86
+ "time_since_last_event": [0.0, 0.123, ...],
87
+ "type_event": ["pr_opened", "comment", "pr_reviewed", ...],
88
+ "type_text": ["Pull request opened by alice: Add new RPC endpoint...", ...]
89
+ }
90
+ ```
91
+
92
+ ## Intended Use
93
+
94
+ - Training and evaluating temporal point process models
95
+ - Studying software development workflow patterns
96
+ - Benchmarking next-event prediction and event forecasting
97
+ - Modeling marked temporal point processes with rich text marks
98
+
99
+ ## Citation
100
+
101
+ If you use this dataset, please cite:
102
+
103
+ ```bibtex
104
+ @dataset{github_repo_events_2024,
105
+ title={GitHub Repository Event Streams},
106
+ author={XiaoBB},
107
+ year={2024},
108
+ url={https://huggingface.co/datasets/XiaoBB/github_repo_events},
109
+ note={Curated from GH Archive, June 2024}
110
+ }
111
+ ```