jialuoyang commited on
Commit
28f3a79
·
verified ·
1 Parent(s): ec658a5

Publish initial Reddit sample: 43,913 posts and 59,874 comments

Browse files
README.md CHANGED
@@ -1,5 +1,7 @@
1
  ---
2
  license: cc-by-nc-4.0
 
 
3
  language:
4
  - en
5
  task_categories:
@@ -11,7 +13,7 @@ tags:
11
  - comments
12
  - conversation
13
  - conversational-tree
14
- pretty_name: Reddit Comment Trees Sample — Release in preparation
15
  configs:
16
  - config_name: posts
17
  data_files:
@@ -23,17 +25,17 @@ configs:
23
  path: data/comments/**/*.parquet
24
  ---
25
 
26
- # Reddit Comment Trees Sample — Release in preparation
27
 
28
- > **Preparing the first release. No Reddit records have been uploaded yet.**
29
- > The table schemas and loading examples are ready; Dataset Viewer previews become available after real Parquet files are published.
30
 
31
  ## Overview
32
 
33
- A sample of posts and comment trees from **r/LocalLLaMA, r/wallstreetbets, and r/SkincareAddiction**.
34
- The sample is designed for one agreed three-month release window. Its exact UTC boundaries are **pending confirmation** before the first data upload.
35
- Actual coverage, post and comment counts, and tree completeness are pending validation of the first release.
36
- Comment relationships are preserved through `link_id`, `parent_id`, and `depth`.
37
 
38
  ## Why this dataset exists
39
 
@@ -44,22 +46,22 @@ The release will report observed gaps instead of treating unavailable records as
44
 
45
  ## Coverage
46
 
47
- | Subreddit | Posts | Comments | Actual post coverage (UTC) | Maximum comment depth |
48
  |---|---:|---:|---|---:|
49
- | LocalLLaMA | Pending | Pending | Pending | Pending |
50
- | wallstreetbets | Pending | Pending | Pending | Pending |
51
- | SkincareAddiction | Pending | Pending | Pending | Pending |
52
 
53
- The planned window selects **posts**. Available comments on those posts form a collection-time snapshot and may be newer than the selected post window.
54
- Exact comment timestamp ranges and tree completeness will be reported separately after validation.
55
- Unknown statistics in [stats/summary.json](stats/summary.json) are `null`, not zero.
56
- No estimated size category is advertised before the record counts are known.
57
 
58
  ## Schema
59
 
60
  Both tables use **Parquet with Zstandard compression**. Text is not truncated; timestamps are Unix seconds in UTC.
61
  Media files are not included. Preserve source text, except any documented anonymization.
62
- Record any anonymization policy in the first release's collection notes before uploading the data.
63
 
64
  ### Posts
65
 
@@ -106,14 +108,19 @@ Subreddit folders group files; they do not automatically become separate HF conf
106
 
107
  ## Collection method and known gaps
108
 
109
- The exact collection entry point, pagination coverage, comment expansion method, and crawl interval are **pending verification with the running collection batch**.
110
- No claim of complete comment trees is made until parent links, depth consistency, and comment-expansion results are checked.
111
- Scores and `num_comments` are snapshots, not lifetime totals; edits, removals, unavailable replies, timing differences, and incomplete expansion can change the counts.
112
- `[deleted]` and `[removed]` markers remain visible. Missing data and unresolved parents will be reported rather than silently counted as empty results.
 
 
 
 
 
113
 
114
  ## Load the data
115
 
116
- These examples work **after the first real data upload**. There are no placeholder Parquet rows.
117
  Choose a config explicitly because posts and comments have different schemas.
118
  See [examples/load.py](examples/load.py) for separate `datasets`, pandas, and DuckDB examples.
119
 
@@ -139,9 +146,7 @@ con.sql("""
139
  ## Full dataset and custom delivery
140
 
141
  **Need more communities, a longer time range, or specific fields? [Contact Mashu Data](https://mashudata.com/contact.html).**
142
- The full-dataset offering is being prepared for **20+ communities, a rolling 12-month window, and weekly incremental updates**.
143
- These are target coverage and delivery terms, not a statement that all data or scheduled updates are already available.
144
- Ask about verified batch availability and custom subreddit, date-range, or field selection before ordering.
145
  Website: [mashudata.com](https://mashudata.com).
146
 
147
  ## License and use
 
1
  ---
2
  license: cc-by-nc-4.0
3
+ size_categories:
4
+ - 100K<n<1M
5
  language:
6
  - en
7
  task_categories:
 
13
  - comments
14
  - conversation
15
  - conversational-tree
16
+ pretty_name: Reddit Comment Trees Sample — Initial snapshot
17
  configs:
18
  - config_name: posts
19
  data_files:
 
25
  path: data/comments/**/*.parquet
26
  ---
27
 
28
+ # Reddit Comment Trees Sample — Initial snapshot
29
 
30
+ > **Initial sample: 43,913 posts and 59,874 comments across three communities.**
31
+ > This is a selected, structurally checked snapshot, with incomplete subreddit coverage. It is not a complete three-month archive.
32
 
33
  ## Overview
34
 
35
+ Posts and associated comments from **r/LocalLLaMA, r/wallstreetbets, and r/SkincareAddiction**.
36
+ The requested post window is **June 1–August 31, 2026 in Asia/Shanghai**, with UTC bounds **2026-05-31 16:00:00 inclusive to 2026-08-31 16:00:00 exclusive**. This window is not calendar Q2 or Q3.
37
+ Only candidates with resolved stored relationships, no outstanding pagination or review flags, and counts matching the collector's expected count are included. These checks do not prove upstream recall.
38
+ `link_id`, `parent_id`, and recomputed `depth` preserve the relationships in the selected records.
39
 
40
  ## Why this dataset exists
41
 
 
46
 
47
  ## Coverage
48
 
49
+ | Subreddit | Posts | Comments | Observed post timestamps (UTC, inclusive endpoints) | Maximum depth |
50
  |---|---:|---:|---|---:|
51
+ | LocalLLaMA | 3,778 | 21,850 | 2026-05-31T16:13:21+00:00 to 2026-08-31T15:31:52+00:00 | 15 |
52
+ | wallstreetbets | 10,310 | 12,500 | 2026-05-31T16:17:43+00:00 to 2026-08-31T15:53:36+00:00 | 10 |
53
+ | SkincareAddiction | 29,825 | 25,524 | 2026-05-31T16:04:12+00:00 to 2026-08-31T15:58:30+00:00 | 9 |
54
 
55
+ Observed endpoints do not establish gap-free coverage. Historical post discovery remains incomplete.
56
+ The sample includes zero-comment posts and disproportionately small comment trees; it is **not a representative or balanced sample** of these communities.
57
+ The date window selects posts. Associated comments retain their collection-time snapshot, including comments newer than the post window.
58
+ Per-community comment dates, depth distributions, deletion/removal ratios, null counts and file checksums are measured in [stats/summary.json](stats/summary.json).
59
 
60
  ## Schema
61
 
62
  Both tables use **Parquet with Zstandard compression**. Text is not truncated; timestamps are Unix seconds in UTC.
63
  Media files are not included. Preserve source text, except any documented anonymization.
64
+ No additional anonymization is applied. Missing or unsupported scalar fields remain null, including unknown authors; null is not converted to `[deleted]`. Community names are normalized against each linked post. All non-key scalar fields may be null.
65
 
66
  ### Posts
67
 
 
108
 
109
  ## Collection method and known gaps
110
 
111
+ Collected through an existing Reddit business API using multiple third-party providers. Initial and continuation results were merged by post/comment ID. The exported snapshot was prepared at **2026-09-12T14:48:06+00:00**.
112
+
113
+ All selected records pass post-scope, unique-ID, parent-resolution, cycle, derived-depth and stored-comment-count checks. Comment text was compared with the source database without truncation. At least 24 randomly selected comments were manually inspected across the three communities. Local Parquet loading was checked with datasets, pandas and DuckDB.
114
+
115
+ Full tree completeness and complete subreddit recall are **not asserted**: unavailable posts, source-side omissions, historical search gaps and all unresolved review records are outside this sample. Placeholder comment IDs such as `deleted` are excluded by excluding affected threads; valid IDs with `[deleted]` or `[removed]` text are retained.
116
+
117
+ Source usernames and public text are retained when provided. Moderator and bot replies, removed-content notices, informal language and potentially offensive text may be present; this is not a filtered human-only conversation dataset. Media, credentials, private messages and raw API responses are not included.
118
+
119
+ Scores, displayed post comment counts and comment rows come from different collection snapshots. The displayed `num_comments` field is not a lifetime total or a completeness guarantee.
120
 
121
  ## Load the data
122
 
123
+ Choose one of the two real Parquet configurations. The files contain source records, not placeholder rows.
124
  Choose a config explicitly because posts and comments have different schemas.
125
  See [examples/load.py](examples/load.py) for separate `datasets`, pandas, and DuckDB examples.
126
 
 
146
  ## Full dataset and custom delivery
147
 
148
  **Need more communities, a longer time range, or specific fields? [Contact Mashu Data](https://mashudata.com/contact.html).**
149
+ Ask about verified batch availability and custom subreddit, date-range or field selection before ordering. This sample does not establish availability of 20 communities, a complete 12-month archive or scheduled weekly updates.
 
 
150
  Website: [mashudata.com](https://mashudata.com).
151
 
152
  ## License and use
data/comments/subreddit=LocalLLaMA/part-0.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1fb31e91c3ab84f14a2dd5695f6516683c2d4754b55ca6996843062552938fee
3
+ size 2762857
data/comments/subreddit=SkincareAddiction/part-0.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:424f01f75ced169aa33fd8768a9fa9b88533832ee20cfdb70df64155a320576a
3
+ size 2639867
data/comments/subreddit=SkincareAddiction/part-1.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba69ba52b30d78c19b986a17a7a174c4a545cbdb9576cacfa6008800a4b3b3bb
3
+ size 64675
data/comments/subreddit=wallstreetbets/part-0.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b17bbc52d645777d276de66b939f8e2fc8ecfd353a098b2b7624ec410c37a52a
3
+ size 928742
data/posts/subreddit=LocalLLaMA/part-0.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57643e425aad8816c1c566c224db96ff5cd777d40ad8ed28624e8aa00de59146
3
+ size 1528552
data/posts/subreddit=SkincareAddiction/part-0.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:392f4a312b430f5021a5426473d0f3e5114060e08379ca7fa57b5d38349eae40
3
+ size 3166071
data/posts/subreddit=SkincareAddiction/part-1.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a907b6a8c0f96467768b400bff9c5df517c862cb090b8fcf6e8fa0b28911eac
3
+ size 655524
data/posts/subreddit=wallstreetbets/part-0.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6603175820b186d7d21c6a57a43a3100475b858c8b3907fb14a2eeffd314b24b
3
+ size 1641302
stats/summary.json CHANGED
@@ -1,82 +1,209 @@
1
  {
2
- "status": "awaiting_data",
3
  "repo_id": "mashu-data/reddit-comments-sample",
4
- "generated_at": null,
 
5
  "planned_post_date_range_utc": [
6
- null,
7
- null
8
  ],
9
  "post_window_end_exclusive": true,
10
  "date_range_utc": [
11
- null,
12
- null
13
  ],
14
  "comment_date_range_utc": [
15
- null,
16
- null
17
  ],
18
- "date_range_convention": "actual ranges are observed minimum and maximum created_utc; planned post range is half-open",
19
- "comment_scope": "available comment trees for selected posts at crawl time; comments may be outside the post window",
20
- "crawl_method": null,
21
- "anonymization_policy": null,
22
- "tree_completeness_verified": false,
 
23
  "subreddits": {
24
  "LocalLLaMA": {
25
- "posts": null,
26
- "comments": null,
 
27
  "post_date_range_utc": [
28
- null,
29
- null
30
  ],
31
  "comment_date_range_utc": [
32
- null,
33
- null
34
  ],
35
- "max_depth": null,
36
- "depth_distribution": null,
37
- "deleted_ratio": null,
38
- "removed_ratio": null,
39
- "missing_parent_count": null
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  },
41
  "wallstreetbets": {
42
- "posts": null,
43
- "comments": null,
 
44
  "post_date_range_utc": [
45
- null,
46
- null
47
  ],
48
  "comment_date_range_utc": [
49
- null,
50
- null
51
  ],
52
- "max_depth": null,
53
- "depth_distribution": null,
54
- "deleted_ratio": null,
55
- "removed_ratio": null,
56
- "missing_parent_count": null
 
 
 
 
 
 
 
 
 
 
 
 
57
  },
58
  "SkincareAddiction": {
59
- "posts": null,
60
- "comments": null,
 
61
  "post_date_range_utc": [
62
- null,
63
- null
64
  ],
65
  "comment_date_range_utc": [
66
- null,
67
- null
68
  ],
69
- "max_depth": null,
70
- "depth_distribution": null,
71
- "deleted_ratio": null,
72
- "removed_ratio": null,
73
- "missing_parent_count": null
 
 
 
 
 
 
 
 
 
 
 
74
  }
75
  },
76
- "statistic_definitions": {
77
- "deleted_ratio": "comments whose body is exactly [deleted] / total comments; null if not measured or denominator is zero",
78
- "removed_ratio": "comments whose body is exactly [removed] / total comments; null if not measured or denominator is zero",
79
- "depth_distribution": "mapping from depth to comment count",
80
- "unknown_values": "null means not measured; it is not an empty or successfully collected batch"
81
- }
82
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  {
2
+ "status": "validated_snapshot",
3
  "repo_id": "mashu-data/reddit-comments-sample",
4
+ "generated_at": "2026-09-12T14:48:06+00:00",
5
+ "snapshot_at": 1789224486,
6
  "planned_post_date_range_utc": [
7
+ "2026-05-31T16:00:00+00:00",
8
+ "2026-08-31T16:00:00+00:00"
9
  ],
10
  "post_window_end_exclusive": true,
11
  "date_range_utc": [
12
+ "2026-05-31T16:04:12+00:00",
13
+ "2026-08-31T15:58:30+00:00"
14
  ],
15
  "comment_date_range_utc": [
16
+ "2026-05-31T16:14:46+00:00",
17
+ "2026-09-12T03:02:24+00:00"
18
  ],
19
+ "crawl_interval_utc": [
20
+ "2026-09-12T05:59:45+00:00",
21
+ "2026-09-12T11:57:26+00:00"
22
+ ],
23
+ "posts": 43913,
24
+ "comments": 59874,
25
  "subreddits": {
26
  "LocalLLaMA": {
27
+ "posts": 3778,
28
+ "comments": 21850,
29
+ "zero_comment_posts": 695,
30
  "post_date_range_utc": [
31
+ "2026-05-31T16:13:21+00:00",
32
+ "2026-08-31T15:31:52+00:00"
33
  ],
34
  "comment_date_range_utc": [
35
+ "2026-05-31T16:50:33+00:00",
36
+ "2026-09-12T03:02:24+00:00"
37
  ],
38
+ "max_depth": 15,
39
+ "depth_distribution": {
40
+ "0": 10535,
41
+ "1": 5686,
42
+ "2": 2708,
43
+ "3": 1470,
44
+ "4": 712,
45
+ "5": 386,
46
+ "6": 197,
47
+ "7": 101,
48
+ "8": 35,
49
+ "9": 14,
50
+ "10": 1,
51
+ "11": 1,
52
+ "12": 1,
53
+ "13": 1,
54
+ "14": 1,
55
+ "15": 1
56
+ },
57
+ "deleted_ratio": 0.009565217391304347,
58
+ "removed_ratio": 0.007643020594965675,
59
+ "missing_parent_count": 0
60
  },
61
  "wallstreetbets": {
62
+ "posts": 10310,
63
+ "comments": 12500,
64
+ "zero_comment_posts": 8419,
65
  "post_date_range_utc": [
66
+ "2026-05-31T16:17:43+00:00",
67
+ "2026-08-31T15:53:36+00:00"
68
  ],
69
  "comment_date_range_utc": [
70
+ "2026-05-31T17:37:52+00:00",
71
+ "2026-09-07T22:41:38+00:00"
72
  ],
73
+ "max_depth": 10,
74
+ "depth_distribution": {
75
+ "0": 7857,
76
+ "1": 2884,
77
+ "2": 1014,
78
+ "3": 426,
79
+ "4": 154,
80
+ "5": 89,
81
+ "6": 41,
82
+ "7": 19,
83
+ "8": 10,
84
+ "9": 5,
85
+ "10": 1
86
+ },
87
+ "deleted_ratio": 0.0068,
88
+ "removed_ratio": 0.00416,
89
+ "missing_parent_count": 0
90
  },
91
  "SkincareAddiction": {
92
+ "posts": 29825,
93
+ "comments": 25524,
94
+ "zero_comment_posts": 23157,
95
  "post_date_range_utc": [
96
+ "2026-05-31T16:04:12+00:00",
97
+ "2026-08-31T15:58:30+00:00"
98
  ],
99
  "comment_date_range_utc": [
100
+ "2026-05-31T16:14:46+00:00",
101
+ "2026-09-11T20:22:05+00:00"
102
  ],
103
+ "max_depth": 9,
104
+ "depth_distribution": {
105
+ "0": 18843,
106
+ "1": 4203,
107
+ "2": 1446,
108
+ "3": 587,
109
+ "4": 265,
110
+ "5": 108,
111
+ "6": 44,
112
+ "7": 20,
113
+ "8": 7,
114
+ "9": 1
115
+ },
116
+ "deleted_ratio": 0.003957060021940135,
117
+ "removed_ratio": 0.0036436295251527973,
118
+ "missing_parent_count": 0
119
  }
120
  },
121
+ "selection_method": "All active-batch posts marked done after excluding placeholder comment IDs. All their stored comments are retained. This favors small and zero-comment threads and is not a representative subreddit sample.",
122
+ "crawl_method": "Existing local Reddit business API backed by multiple third-party providers; stored initial and continuation responses merged by post/comment ID.",
123
+ "anonymization_policy": "No additional anonymization. Public source usernames and text are retained when supplied; missing or unsupported scalar fields are null. No credentials, private messages, raw responses or media files are included.",
124
+ "tree_completeness_verified": false,
125
+ "structural_checks_passed": true,
126
+ "validation": {
127
+ "post_scope": true,
128
+ "unique_comment_ids": true,
129
+ "resolved_parents": true,
130
+ "acyclic": true,
131
+ "depth_recomputed_from_parents": true,
132
+ "unresolved_expansion_count": 0,
133
+ "collected_counts_match_candidate_expected": true,
134
+ "limitation": "Checks apply to selected stored records; they do not prove upstream recall or complete subreddit coverage."
135
+ },
136
+ "known_gaps": [
137
+ "Historical discovery is incomplete and currently paused because its provider restricted access.",
138
+ "Review posts and their comments are excluded. Dates are observed endpoints, not proof of gap-free coverage.",
139
+ "Deleted/removed content and moderator or bot replies may be present. Text is not filtered or truncated.",
140
+ "Comments may be newer than the selected post interval. Displayed post counts and collection timestamps are different snapshots."
141
+ ],
142
+ "null_counts": {
143
+ "posts": {
144
+ "url": 472,
145
+ "flair": 9513
146
+ },
147
+ "comments": {
148
+ "is_submitter": 32282,
149
+ "permalink": 8094,
150
+ "author": 67
151
+ }
152
+ },
153
+ "files": [
154
+ {
155
+ "path": "data/posts/subreddit=LocalLLaMA/part-0.parquet",
156
+ "rows": 3778,
157
+ "bytes": 1528552,
158
+ "sha256": "57643e425aad8816c1c566c224db96ff5cd777d40ad8ed28624e8aa00de59146"
159
+ },
160
+ {
161
+ "path": "data/comments/subreddit=LocalLLaMA/part-0.parquet",
162
+ "rows": 21850,
163
+ "bytes": 2762857,
164
+ "sha256": "1fb31e91c3ab84f14a2dd5695f6516683c2d4754b55ca6996843062552938fee"
165
+ },
166
+ {
167
+ "path": "data/posts/subreddit=wallstreetbets/part-0.parquet",
168
+ "rows": 10310,
169
+ "bytes": 1641302,
170
+ "sha256": "6603175820b186d7d21c6a57a43a3100475b858c8b3907fb14a2eeffd314b24b"
171
+ },
172
+ {
173
+ "path": "data/comments/subreddit=wallstreetbets/part-0.parquet",
174
+ "rows": 12500,
175
+ "bytes": 928742,
176
+ "sha256": "b17bbc52d645777d276de66b939f8e2fc8ecfd353a098b2b7624ec410c37a52a"
177
+ },
178
+ {
179
+ "path": "data/posts/subreddit=SkincareAddiction/part-0.parquet",
180
+ "rows": 25000,
181
+ "bytes": 3166071,
182
+ "sha256": "392f4a312b430f5021a5426473d0f3e5114060e08379ca7fa57b5d38349eae40"
183
+ },
184
+ {
185
+ "path": "data/posts/subreddit=SkincareAddiction/part-1.parquet",
186
+ "rows": 4825,
187
+ "bytes": 655524,
188
+ "sha256": "4a907b6a8c0f96467768b400bff9c5df517c862cb090b8fcf6e8fa0b28911eac"
189
+ },
190
+ {
191
+ "path": "data/comments/subreddit=SkincareAddiction/part-0.parquet",
192
+ "rows": 25000,
193
+ "bytes": 2639867,
194
+ "sha256": "424f01f75ced169aa33fd8768a9fa9b88533832ee20cfdb70df64155a320576a"
195
+ },
196
+ {
197
+ "path": "data/comments/subreddit=SkincareAddiction/part-1.parquet",
198
+ "rows": 524,
199
+ "bytes": 64675,
200
+ "sha256": "ba69ba52b30d78c19b986a17a7a174c4a545cbdb9576cacfa6008800a4b3b3bb"
201
+ }
202
+ ],
203
+ "local_readers_verified": [
204
+ "datasets",
205
+ "pandas",
206
+ "duckdb"
207
+ ],
208
+ "manual_comment_sample_count": 24
209
+ }