Datasets:
Tasks:
Time Series Forecasting
Languages:
English
Size:
< 1K
Tags:
temporal-point-process
event-sequences
github
software-engineering
marked-temporal-point-process
License:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -23,8 +23,8 @@ Curated event sequences from GitHub repositories, designed for temporal point pr
|
|
| 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:**
|
| 27 |
-
- **Sequence length:**
|
| 28 |
- **Language:** English only
|
| 29 |
|
| 30 |
## Schema
|
|
@@ -36,7 +36,7 @@ Each record is a dictionary with 8 fields:
|
|
| 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`, `
|
| 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) |
|
|
@@ -63,25 +63,25 @@ Sequences are selected to represent moderately active, well-maintained repositor
|
|
| 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` |
|
| 67 |
-
| `max-events` |
|
| 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.
|
| 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":
|
| 83 |
-
"description": "GitHub repository
|
| 84 |
-
"metadata": "{\"repo_name\": \"
|
| 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", ...],
|
|
|
|
| 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:** ~373
|
| 27 |
+
- **Sequence length:** 60-80 events per sequence
|
| 28 |
- **Language:** English only
|
| 29 |
|
| 30 |
## Schema
|
|
|
|
| 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`, `actors` |
|
| 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) |
|
|
|
|
| 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` | 60 | Min classified events per sequence |
|
| 67 |
+
| `max-events` | 80 | 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.5 | No single event type >50% 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 (non-Latin script detection) |
|
| 76 |
|
| 77 |
## Example
|
| 78 |
|
| 79 |
```json
|
| 80 |
{
|
| 81 |
"seq_idx": 0,
|
| 82 |
+
"seq_len": 68,
|
| 83 |
+
"description": "GitHub repository example/repo: A web framework for building APIs (Python, 1,234 stars) Event window: June 01 - 07, 2024.",
|
| 84 |
+
"metadata": "{\"repo_name\": \"example/repo\", \"stars\": \"1234\", \"language\": \"Python\", \"actors\": [\"alice\", \"bob\", \"charlie\"]}",
|
| 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", ...],
|