adhikasp commited on
Commit
923bfe8
·
verified ·
1 Parent(s): 4b6cc05

Initial upload: v1 annotations, 24 questions, judge pplx-decider-v1.3

Browse files
README.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: odc-by
3
+ language: [en]
4
+ pretty_name: Hacker News comment annotations (LLM judge, 24 questions)
5
+ size_categories: [100M<n<1B]
6
+ task_categories: [text-classification]
7
+ tags: [hacker-news, annotations, llm-as-judge, sentiment, stance, parquet]
8
+ configs:
9
+ - config_name: default
10
+ data_files:
11
+ - split: train
12
+ path: data/*/*.parquet
13
+ ---
14
+
15
+ # Hacker News comment annotations
16
+
17
+ LLM-judge annotations for Hacker News comments: **24 typed questions answered per comment** (rhetorical move, hostility, sarcasm, stance toward the thread subject, topic, blame target, tech outlook and more). The dataset holds **only the annotations, keyed by HN item `id`**. It contains no comment text and no usernames. Join it to a raw HN dump to get the text:
18
+
19
+ - `open-index/hacker-news` on Hugging Face (the complete archive), or
20
+ - the author's monthly parquet mirror: `https://hacker-news.adhikasp.id/year=YYYY/month=M/data.parquet` (`id`, `type`, `time`, `by`, `text`, ...).
21
+
22
+ ## Coverage
23
+
24
+ | Years | Comments annotated | Share of all HN comments |
25
+ |---|---|---|
26
+ | 2022 to 2026-11 | ~17.9M | ~95% per year (the rest: items the frame builder could not resolve to a root story, ~1%, and others) |
27
+ | 2007 to 2021 | ~0.65M | ~2.5% per year (2007: 14%, 2008: 4%) |
28
+
29
+ **The 2007-2021 part is a sample, not a census, and it is not random.** It is drawn from users with 40+ comments before 2024, stratified by year and reply vs top-level (about 3% per year, floor 10k per year), so it over-represents heavy commenters. It lives in `data/year=2007-2021/`. More coverage will be added in later versions as new files; existing files are never rewritten.
30
+
31
+ ## Schema (long format: one row per comment x question)
32
+
33
+ | column | type | meaning |
34
+ |---|---|---|
35
+ | `id` | int64 | HN item id (join key) |
36
+ | `qid` | string | question id (see `qset_v1.json`) |
37
+ | `kind` | string | `noul` (yes/no), `score` (ordinal scale), `choice` (categorical) |
38
+ | `num` | float32 | `noul`: probability the answer is yes (0..1). `score`: position on the ordinal scale, 0..N-1 (interpolated). `choice`: null |
39
+ | `label` | string | `choice`: the winning option key. Otherwise null |
40
+ | `probs` | list<float32> | `choice` and `score`: class probabilities, i-th value = i-th criterion in `qset_v1.json`. `noul`: null |
41
+ | `conf` | float32 | judge confidence where provided |
42
+ | `judge` | string | model that answered (`perplexity/pplx-decider-v1.3:free`, written `perplexity_pplx-decider-v1.3_free`) |
43
+ | `qset` | string | question set version (`v1`) |
44
+
45
+ Files are sorted by `id, qid`, zstd-compressed, partitioned by comment year (`data/year=YYYY/`). A new judge or question set will arrive as additional rows or files, so filter on `judge` and `qset`.
46
+
47
+ ```python
48
+ import duckdb
49
+ duckdb.sql("""
50
+ select qid, avg(num) from 'hf://datasets/adhikasp/hackernews-annotation/data/year=2025/*.parquet'
51
+ where qid = 'hostility' group by 1""")
52
+ ```
53
+
54
+ ## How it was made
55
+
56
+ Each comment was shown to the judge with its thread title, its parent comment (first 500 chars, "none" for top-level) and itself (first 1200 chars), and answered all 24 questions in one call through the OpenRouter Decisions API. The judge is the free `perplexity/pplx-decider-v1.3`.
57
+
58
+ ## Known limits
59
+
60
+ - **The judge was validated only on 2024-2026 comments** (multi-question vs single-question answers agree 88-100% on all 24 questions; hand checks on a small set). Labels on older comments are untested.
61
+ - Treat levels as relative, not absolute. `cites_concrete_fact` over-fires: use p > 0.9. `market_vs_regulation` and `tech_outlook` are only meaningful where `expresses_policy_view` is high; extremes were validated, mid-range was not. Details: `qset_v1.validation.json`.
62
+ - Stance judged against the story title. Hand check of stance on 30 comments: 28 correct. Small n; directional only.
63
+ - Annotations are model output, not human labels.
64
+
65
+ ## Source code
66
+
67
+ Pipeline (framing, sampling, annotation) is the `hn-annotate` project by the author; question set and validation notes are included here as `qset_v1.json` and `qset_v1.validation.json`.
68
+
69
+ ## License
70
+
71
+ ODC-By, matching the upstream archive. Hacker News content belongs to its authors and Y Combinator; this dataset contains only derived labels.
data/year=2007-2021/data_0.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b20098eedaf667a1b9b072070169e935cc88322f08a7a6a496a03f8c9c809b7
3
+ size 195436014
data/year=2022/data_0.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6134e05d854c8a4630875f2c96967ffb8777befdbcedb3d5d066bb034abcc779
3
+ size 615612614
data/year=2022/data_1.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:391e00b3d942969174517dbb153add5cfec76f302937c696bf007fff1b7a9abf
3
+ size 531719485
data/year=2023/data_0.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a671ca9b26e1d15f4490431fbd539365b1b3046a48a74b36fedbe66b2466292
3
+ size 614536048
data/year=2023/data_1.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:808df70533ce2a032faa141bbd95e843f5435b59bbf0605cff21cd0be921a7d0
3
+ size 603131769
data/year=2024/data_0.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:011e3f7dda125241568b5d7b16e4538402242e5962ed9aa67b4b908900e5b3b9
3
+ size 613770931
data/year=2024/data_1.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97cae80899837876c7a5d5778d36dd78197d2655fdc844ecdd5ae94cb06d6eaf
3
+ size 333820477
data/year=2025/data_0.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d3ab442e3bdbc3dfc5f372912041cb8f97d51d3580b884658a16f336b49aa53
3
+ size 615316597
data/year=2025/data_1.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50ab1ac64c05b931b1e2288168c184f1c47958bbf9eb1f7e1a95ab8a986193f3
3
+ size 385214423
data/year=2026/data_0.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3cc1da9d78a85746cc42e61d400d14f6eb93587813cf739dd78f6fb63c5b180a
3
+ size 613645859
data/year=2026/data_1.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:87379d3aa201c23f5b607f408ebce685c0d6e4fe7274295a7214d3741f01b940
3
+ size 466118813
qset_v1.json ADDED
@@ -0,0 +1,194 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "qset": "v1",
3
+ "context": "ctx_v1",
4
+ "questions": [
5
+ {
6
+ "id": "rhetorical_move",
7
+ "type": "choice",
8
+ "instructions": "What is the main thing this comment does?",
9
+ "criteria": {
10
+ "asserts": "States a claim or opinion",
11
+ "rebuts": "Rebuts or corrects a previous claim",
12
+ "asks": "Asks a question",
13
+ "anecdote": "Tells a personal story or experience",
14
+ "joke": "Makes a joke or quip",
15
+ "shares_source": "Shares a link, quote or source",
16
+ "other": "Something else"
17
+ }
18
+ },
19
+ {
20
+ "id": "first_hand_experience",
21
+ "type": "noul",
22
+ "instructions": "Does the author describe something they personally did, built, saw or experienced (not a general claim)?"
23
+ },
24
+ {
25
+ "id": "cites_concrete_fact",
26
+ "type": "noul",
27
+ "instructions": "Does the comment contain a specific, checkable fact, number, date, name or quoted source?"
28
+ },
29
+ {
30
+ "id": "claims_expertise",
31
+ "type": "noul",
32
+ "instructions": "Does the author invoke their own professional expertise, job or field experience as a reason to be believed?"
33
+ },
34
+ {
35
+ "id": "makes_prediction",
36
+ "type": "noul",
37
+ "instructions": "Does the author predict what will happen in the future?"
38
+ },
39
+ {
40
+ "id": "concedes",
41
+ "type": "noul",
42
+ "instructions": "Does the author concede a point, admit they were wrong, or say they changed their mind?"
43
+ },
44
+ {
45
+ "id": "genuine_question",
46
+ "type": "noul",
47
+ "instructions": "Is the author sincerely asking for information (not a rhetorical question)?"
48
+ },
49
+ {
50
+ "id": "disagrees_with_parent",
51
+ "type": "noul",
52
+ "instructions": "Is the author disagreeing with, or pushing back on, the parent comment (or the article if there is no parent)?"
53
+ },
54
+ {
55
+ "id": "hostility",
56
+ "type": "score",
57
+ "instructions": "How hostile is the tone toward other people (not toward ideas or companies)?",
58
+ "criteria": [
59
+ "Courteous or friendly",
60
+ "Neutral",
61
+ "Mildly rude or dismissive",
62
+ "Hostile, insulting or contemptuous"
63
+ ]
64
+ },
65
+ {
66
+ "id": "sarcasm",
67
+ "type": "noul",
68
+ "instructions": "Is the comment sarcastic, mocking or ironic?"
69
+ },
70
+ {
71
+ "id": "personal_attack",
72
+ "type": "noul",
73
+ "instructions": "Does the comment attack the person it replies to (their intelligence, honesty, motives or character) instead of their argument?"
74
+ },
75
+ {
76
+ "id": "condescension",
77
+ "type": "noul",
78
+ "instructions": "Is the author condescending, e.g. implying the other person doesn't understand or hasn't thought it through?"
79
+ },
80
+ {
81
+ "id": "charitable_to_parent",
82
+ "type": "noul",
83
+ "instructions": "Does the author acknowledge merit in the parent comment or restate it fairly before responding?"
84
+ },
85
+ {
86
+ "id": "topic",
87
+ "type": "choice",
88
+ "instructions": "Which theme is this comment mainly about?",
89
+ "criteria": {
90
+ "ai_ml": "AI, LLMs, machine learning",
91
+ "software_eng": "Software engineering practice, tools, architecture",
92
+ "programming_languages": "Programming languages and compilers",
93
+ "security_privacy": "Security, privacy, surveillance",
94
+ "big_tech": "Big tech companies and their products",
95
+ "startups_vc": "Startups, funding, founders",
96
+ "hardware": "Hardware, chips, devices",
97
+ "os_open_source": "Operating systems, Linux, open source",
98
+ "web_internet": "Web, browsers, internet infrastructure",
99
+ "science_math": "Science, math, space",
100
+ "health_bio": "Health, medicine, biology",
101
+ "finance_crypto": "Finance, crypto, markets",
102
+ "us_politics": "US politics and government",
103
+ "world_politics_war": "International politics, war, geopolitics",
104
+ "law_regulation": "Law, courts, regulation, copyright",
105
+ "labor_careers": "Jobs, careers, layoffs, hiring, remote work",
106
+ "economics": "Economics, housing, cost of living",
107
+ "energy_climate": "Energy, climate, transport",
108
+ "education": "Education and learning",
109
+ "media_culture": "Media, culture, games, entertainment",
110
+ "hn_meta": "About Hacker News or the discussion itself",
111
+ "personal_life": "Personal life, relationships, wellbeing",
112
+ "other": "Anything else"
113
+ }
114
+ },
115
+ {
116
+ "id": "stance_toward_thread_subject",
117
+ "type": "choice",
118
+ "instructions": "What is the author's stance toward the main subject of the thread (the story title)? Choose none if neutral, factual or off-topic.",
119
+ "criteria": {
120
+ "against": "Critical of or opposed to the subject",
121
+ "for": "Supportive of or positive about the subject",
122
+ "none": "No clear stance"
123
+ }
124
+ },
125
+ {
126
+ "id": "fear_or_worry",
127
+ "type": "noul",
128
+ "instructions": "Does the author express fear, worry or alarm about consequences?"
129
+ },
130
+ {
131
+ "id": "anger",
132
+ "type": "noul",
133
+ "instructions": "Does the author express anger or outrage?"
134
+ },
135
+ {
136
+ "id": "enthusiasm",
137
+ "type": "noul",
138
+ "instructions": "Does the author express excitement or enthusiasm?"
139
+ },
140
+ {
141
+ "id": "cynicism",
142
+ "type": "noul",
143
+ "instructions": "Does the author express cynicism, resignation or distrust of institutions or companies?"
144
+ },
145
+ {
146
+ "id": "expresses_policy_view",
147
+ "type": "noul",
148
+ "instructions": "Does the author take a position on government policy, regulation or the role of markets?"
149
+ },
150
+ {
151
+ "id": "market_vs_regulation",
152
+ "type": "score",
153
+ "instructions": "Where does the author stand on markets versus government intervention? (Only meaningful if they take a position.)",
154
+ "criteria": [
155
+ "Strongly favours regulation or government action",
156
+ "Leans toward regulation",
157
+ "Balanced or unclear",
158
+ "Leans toward free markets",
159
+ "Strongly favours free markets"
160
+ ]
161
+ },
162
+ {
163
+ "id": "tech_outlook",
164
+ "type": "score",
165
+ "instructions": "How optimistic is the author about technology's effect on society? (Only meaningful if they take a position.)",
166
+ "criteria": [
167
+ "Very pessimistic",
168
+ "Somewhat pessimistic",
169
+ "Mixed or neutral",
170
+ "Somewhat optimistic",
171
+ "Very optimistic"
172
+ ]
173
+ },
174
+ {
175
+ "id": "blame_target",
176
+ "type": "choice",
177
+ "instructions": "If the author assigns blame for a problem, who or what is blamed?",
178
+ "criteria": {
179
+ "individuals": "Individual people",
180
+ "companies": "Companies or executives",
181
+ "government": "Government or politicians",
182
+ "technology": "The technology itself",
183
+ "society_culture": "Society, culture or incentives in general",
184
+ "none": "No blame assigned"
185
+ }
186
+ },
187
+ {
188
+ "id": "us_vs_them_language",
189
+ "type": "noul",
190
+ "instructions": "Does the author talk about a group as 'they/these people' (e.g. tech bros, boomers, HN, Americans, devs) in a way that sets up in-group versus out-group?"
191
+ }
192
+ ],
193
+ "hash": "2d968cfd1b34"
194
+ }
qset_v1.validation.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "date": "2026-11-28",
3
+ "gold": "68 stratified comments (stage 60), hand-read by the assistant",
4
+ "judge": "perplexity/pplx-decider-v1.3:free",
5
+ "multi_vs_single_agreement": "88-100% on all 24 questions (no cross-question contamination); lowest: topic 0.88, cites_concrete_fact 0.91, stance_toward_thread_subject 0.91, rhetorical_move 0.93",
6
+ "hand_check": {
7
+ "reliable": [
8
+ "rhetorical_move",
9
+ "genuine_question",
10
+ "first_hand_experience",
11
+ "disagrees_with_parent",
12
+ "sarcasm",
13
+ "hostility",
14
+ "claims_expertise"
15
+ ],
16
+ "use_with_caution": [
17
+ "cites_concrete_fact (false positives on opinions; use p>0.9)",
18
+ "concedes (1 of 4 positives wrong)",
19
+ "topic (~85%)",
20
+ "stance_toward_thread_subject (ambiguous in replies)",
21
+ "anger (mild irritation scored high)"
22
+ ],
23
+ "not_checked": [
24
+ "worldview axes (market_vs_regulation, tech_outlook, blame_target)",
25
+ "affect: fear, cynicism",
26
+ "us_vs_them_language"
27
+ ]
28
+ },
29
+ "decision": "keep all 24; use thresholds p>0.8 for affect/worldview gates, p>0.9 for cites_concrete_fact",
30
+ "stage10k_spotcheck": "28 extreme-scoring comments (us_vs_them, fear, cynicism, pro-regulation, pro-market, tech pessimist/optimist, 4 each) all matched by hand: extremes are reliable (mid-range not validated). Distribution (10k): hostility mean 1.08/3, policy-view share ~12%, cites_concrete_fact mean 0.55 (inflated: treat p>0.9).",
31
+ "not_checked": []
32
+ }