Repository navigation
Expand file tree
/
Copy pathgenerate_dataset.py
More file actions
239 lines (235 loc) · 23 KB
/
Copy pathgenerate_dataset.py
File metadata and controls
239 lines (235 loc) · 23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
"""Generate the TakeMeter labeled dataset (210 r/nba-style posts)."""
import csv
from pathlib import Path
DATA = [
# analysis (70)
("analysis", "The Celtics' defensive rating drops 8.2 points per 100 possessions when Horford sits. Their switch scheme falls apart without his IQ at the nail.", ""),
("analysis", "Curry's off-ball gravity forces 1.3 extra defenders within 6 feet on every drive. That's why Klay gets clean looks even when Steph doesn't touch the ball.", ""),
("analysis", "Jokic's assist rate on short roll passes (under 8 feet) is 47% — highest among centers since tracking began. Denver's entire offense runs through that action.", ""),
("analysis", "The Lakers' transition defense ranks 28th because they don't get back after offensive rebounds. Opponents score 1.18 PPP in those situations.", ""),
("analysis", "Ant's pull-up three frequency increased from 18% to 31% of FGA this season. The efficiency stayed at 38% — that's sustainable volume for a primary scorer.", ""),
("analysis", "Miami's zone usage jumps to 34% in clutch time vs 12% overall. Spoelstra deploys it specifically against teams without a mid-range answer.", ""),
("analysis", "Embiid's post-up efficiency drops from 1.02 PPP to 0.81 when doubled within 1.5 seconds. Philly's spacing issues are structural, not effort-based.", ""),
("analysis", "The Thunder lead the league in deflections per game (19.4) and it correlates directly with their live-ball turnover rate. SGA benefits from extra transition opportunities.", ""),
("analysis", "Booker's pick-and-roll scoring efficiency is 0.92 PPP — elite — but Phoenix ranks 22nd in PnR frequency because Beal and KD dominate touches.", ""),
("analysis", "Giannis attempts 68% of his shots at the rim but Milwaukee's half-court offense stalls when the paint is packed. Their 3PA rate drops 6% in those games.", ""),
("analysis", "Haliburton's assist-to-turnover ratio in the fourth quarter is 4.1 vs 6.8 in quarters 1-3. Fatigue or defensive adjustment — either way it's a pattern.", ""),
("analysis", "The Knicks' offensive rebounding rate (32.1%) masks a bottom-10 half-court efficiency. They win the possession battle but not the shot quality battle.", ""),
("analysis", "Wembanyama's block rate on pull-up threes (4.2%) is unprecedented for his position. Opponents are shooting 6% below expected at the rim when he's on court.", ""),
("analysis", "Doncic's usage in clutch situations (last 5 min, within 5) is 42% — highest in the league. Dallas' offense becomes predictable when they need variance.", ""),
("analysis", "The Warriors' bench unit allows 118.7 ORtg without Draymond. His defensive communication value isn't captured in traditional box score stats.", ""),
("analysis", "Tatum's isolation frequency in the playoffs historically jumps 8%. Boston's motion offense disappears under pressure — that's a coaching tendency worth tracking.", ""),
("analysis", "Sacramento's pace (101.2) is 3rd in the league but their defensive transition rank is 25th. Fast pace without transition defense is a losing formula.", ""),
("analysis", "LeBron's assist rate at age 39 is 41% — higher than his career average. He's compensating for declining rim pressure by becoming a pure facilitator.", ""),
("analysis", "The Cavs' switch-everything scheme works because Mobley and Allen can both guard 1-5. Their defensive versatility is the real story, not Mitchell's scoring.", ""),
("analysis", "Kawhi's minutes restriction correlates with Clippers clutch record: 8-14 in games decided by 5 or fewer when he plays under 30 minutes.", ""),
("analysis", "Trae Young's deep three attempt rate (28% of threes from 30+ feet) is the highest among high-volume shooters. Defenses can't sag — but the efficiency cost is real at 31%.", ""),
("analysis", "The Nuggets' starting five has a net rating of +14.2. Their bench unit is -6.8. Championship contention depends entirely on stagger management.", ""),
("analysis", "Bam's drop coverage in pick-and-roll allows 0.89 PPP — top 5 among bigs. Miami's defense is scheme-dependent, not talent-dependent.", ""),
("analysis", "Edwards' free throw rate increased from 0.28 to 0.38 FTA/FGA after the All-Star break. More aggressive drives, not foul hunting — contact rate data confirms it.", ""),
("analysis", "The Suns' three-star usage creates 0.78 PPP on catch-and-shoot threes but only 0.61 on pull-ups. Their shot profile is efficient when they move the ball.", ""),
("analysis", "Porzingis' rim protection numbers (opponents shoot 52% at rim vs 61% league avg) are elite but his rebounding rate is bottom 10 among starting centers.", ""),
("analysis", "Indiana's pace-and-space offense generates the most wide-open threes in the league (18.7 per game). Haliburton's vision is the engine, not just the speed.", ""),
("analysis", "The Lakers' AD-centric defense allows opponents to shoot 39% from three when he helps at the nail. Teams are exploiting the closeout distance.", ""),
("analysis", "SGA's mid-range frequency (34% of FGA) is an outlier in modern NBA. He shoots 47% there — that's why OKC's offense works despite low three volume.", ""),
("analysis", "Brooklyn's turnover rate in transition (18.2%) is the highest in the league. Young roster plus pace equals careless possessions.", ""),
("analysis", "The Bucks' defense improved 6 spots after switching to more drop coverage with Lopez. Their rim protection numbers didn't change — positioning did.", ""),
("analysis", "Fox's speed in transition (97th percentile) creates 1.4 extra points per game in fast break situations. Sacramento's identity is built on that one skill.", ""),
("analysis", "Durant's isolation efficiency remains 1.08 PPP at age 35. Phoenix's offense is structurally dependent on his ability to create against set defenses.", ""),
("analysis", "The Magic's defensive length (avg wingspan +3.2 inches vs league avg) allows them to contest without fouling. FTA rate is 4th lowest in NBA.", ""),
("analysis", "Jrue Holiday's on-ball defense limits primary matchups to 38% FG — best among guards with 200+ possessions. Boston acquired him for exactly this.", ""),
("analysis", "The Rockets' young core has a combined age of 22.4. Their clutch record (6-18) reflects inexperience, not talent ceiling.", ""),
("analysis", "Zion's paint scoring (74% at rim) is elite but New Orleans ranks 27th in three-point rate when he plays. Spacing constraints limit their ceiling.", ""),
("analysis", "The Timberwolves' defense improved from 15th to 1st after the Gobert trade. Opponent eFG% dropped 4.1 percentage points — that's a scheme fit story.", ""),
("analysis", "Brunson's pick-and-roll partnership with Hartenstein generates 1.01 PPP — top 10 in the league. New York's offense is PnR-dependent by design.", ""),
("analysis", "The Clippers' health management strategy costs them 4-6 wins per season in load management games. The tradeoff is playoff availability.", ""),
("analysis", "Cade's assist rate jumped from 22% to 31% this season. Detroit's offense runs through him now — the #1 pick progression is real.", ""),
("analysis", "The Pelicans' defensive rating with Herb Jones on court is 106.2 vs 114.8 without. He's their most underrated player by impact metrics.", ""),
("analysis", "Luka's stepback three frequency (42% of all threes) creates spacing but his rim attempt rate is lowest among primary ball handlers. Shot selection tradeoff.", ""),
("analysis", "The Heat's culture narrative is real in clutch time: 14-7 in games decided by 3 or fewer. Spoelstra's ATO playcalling is a measurable advantage.", ""),
("analysis", "Wembanyama's defensive versatility — guarding 1-5 in switches — gives San Antonio a foundation no other lottery team has.", ""),
("analysis", "The Nuggets' Jokic-Murray two-man game generates 1.12 PPP in the playoffs historically. Their championship run was built on that chemistry.", ""),
("analysis", "Tyrese Maxey's burst off the dribble creates 0.34 free throws per drive — elite for his size. Philadelphia's offense needs that pressure.", ""),
("analysis", "The Celtics' three-point attempt rate (42% of FGA) is highest in franchise history. Brad Stevens built this roster for spacing, not post play.", ""),
("analysis", "Shai's foul drawing rate (0.45 FTA per drive) is the highest among guards. OKC's offense is built around getting to the line.", ""),
("analysis", "The Warriors' death lineup net rating is +18.4 in limited minutes. Kerr still hasn't found a consistent closing five.", ""),
("analysis", "Paolo Banchero's isolation scoring improved from 0.82 to 0.94 PPP year two. Orlando's offense runs through his face-up game.", ""),
("analysis", "The Knicks' Tom Thibodeau minutes load (starters avg 36.2 MPG) is the highest in the league. Fatigue factor in back-to-backs is real.", ""),
("analysis", "De'Aaron Fox's clutch FG% (48.2%) is top 5 among guards with 50+ attempts. Sacramento trusts him in crunch time for good reason.", ""),
("analysis", "The Lakers' three-point defense (opponents shoot 37.8%) is their biggest weakness. Can't switch and close out consistently.", ""),
("analysis", "Jalen Williams' two-way impact — 18 PPG on 58% TS with elite on-ball defense — makes him OKC's most valuable long-term piece.", ""),
("analysis", "The Suns' bench scoring (28.4 PPG) is bottom 5. Star minutes load is unsustainable over 82 games.", ""),
("analysis", "Giannis' free throw rate in the playoffs drops 12% vs regular season. Teams intentionally foul and it works — 64% FT shooter.", ""),
("analysis", "The Cavs' Mitchell-Garland backcourt allows 115 ORtg when both sit. Depth scoring is their playoff ceiling limiter.", ""),
("analysis", "The Mavs' defense with Luka on bench improves by 8.7 points per 100. His defensive effort in transition is the real concern.", ""),
("analysis", "Banchero's assist rate for a forward (4.8 APG) suggests primary creator potential. Orlando is building around his playmaking.", ""),
("analysis", "The 76ers' Embiid-dependent offense scores 118 ORtg with him and 102 without. Single point of failure for playoff success.", ""),
("analysis", "The Thunder's average age (23.1) is youngest in the league. Their 50+ win pace reflects coaching and SGA, not roster maturity.", ""),
("analysis", "The Celtics' Tatum-Brown usage balance (28% vs 27%) is ideal. No hierarchy conflict — both get equal opportunity.", ""),
("analysis", "The Grizzlies' Ja Morant return adds 6.8 points per 100 on offense but defense still ranks 22nd. One player can't fix everything.", ""),
("analysis", "The Hawks' Trae-Capela PnR generates 0.95 PPP but they rank 20th in PnR frequency. Coaching philosophy limits their best action.", ""),
("analysis", "The Pacers' transition offense (1.24 PPP) is best in the league. Haliburton's outlet passing is the catalyst.", ""),
("analysis", "The Blazers' rebuild strategy — collect picks, develop young guards — is working. Their net rating improved 8 points from last year.", ""),
("analysis", "The Wizards' Jordan Poole experiment failed: -4.2 net rating on court, 28% usage with 52% TS. Not a primary option.", ""),
("analysis", "The Hornets' LaMelo Ball injury history (3 seasons missed significant time) is the franchise's biggest risk factor.", ""),
("analysis", "The Spurs' Wembanyama-Vassell pairing has a +2.1 net rating in 800 minutes. Small sample but encouraging for the rebuild.", ""),
("analysis", "The Pistons' Cade-Cunningham-Jaden Ivey backcourt is 23 years old average. Timeline is 2026-27 for competitiveness.", ""),
("analysis", "The Jazz's Lauri Markkanen extension looks like a steal: 23 PPG on 62% TS at age 27. Utah got their cornerstone.", ""),
# hot_take (70)
("hot_take", "Luka is already a top-5 player all-time and it's not even close. People who disagree just haven't been watching.", ""),
("hot_take", "The NBA is rigged for big markets. Small market teams will never win again.", ""),
("hot_take", "LeBron would average 40 in today's era. The league is too soft.", ""),
("hot_take", "Tatum is a choker and always will be. Can't trust him in the playoffs.", ""),
("hot_take", "Wemby is overrated. One good season doesn't make you generational.", ""),
("hot_take", "The mid-range is dead and anyone who shoots them is hurting their team.", ""),
("hot_take", "Refs decide every close game. It's not even basketball anymore.", ""),
("hot_take", "Giannis is a fraud. Can't shoot, can't win when it matters.", ""),
("hot_take", "Curry ruined the game. Now everyone just chuck threes.", ""),
("hot_take", "The Lakers are only relevant because of LeBron. Without him they're a lottery team.", ""),
("hot_take", "Jokic is the most boring MVP ever. Zero entertainment value.", ""),
("hot_take", "Trade everyone. This team has no heart and no future.", ""),
("hot_take", "Embiid will never win a ring. Softest superstar in the league.", ""),
("hot_take", "The Celtics are frauds. They'll choke again in the playoffs.", ""),
("hot_take", "SGA is the best player in the league and it's not debatable.", ""),
("hot_take", "Load management is killing the product. Players are soft.", ""),
("hot_take", "The NBA has too many teams. Contract 5 franchises tomorrow.", ""),
("hot_take", "Durant is a snake. Will never root for him no matter what.", ""),
("hot_take", "Ant is the next Kobe. Book it.", ""),
("hot_take", "The Warriors dynasty is over. Accept it and move on.", ""),
("hot_take", "Zion is the biggest bust since Greg Oden. Waste of a pick.", ""),
("hot_take", "Trae Young is unplayable in the playoffs. Too small, too weak.", ""),
("hot_take", "The Heat are a play-in team pretending to be contenders.", ""),
("hot_take", "Booker is not a top-10 player. Never has been.", ""),
("hot_take", "The Knicks are the most overrated team in the East.", ""),
("hot_take", "Ja Morant is done. Character issues will end his career.", ""),
("hot_take", "The Suns trade was the worst move in NBA history.", ""),
("hot_take", "Kawhi is the most overrated player of his generation.", ""),
("hot_take", "The Nuggets got lucky. One championship doesn't make a dynasty.", ""),
("hot_take", "Harden is washed. Should have retired two years ago.", ""),
("hot_take", "The Mavs defense will never be good with Luka. He's too lazy.", ""),
("hot_take", "The Sixers process was a failure. Embiid is all they have to show.", ""),
("hot_take", "The league is too top-heavy. Same 4 teams every year.", ""),
("hot_take", "College players are better than ever. G-League route is stupid.", ""),
("hot_take", "The All-Star game is unwatchable. Cancel the whole weekend.", ""),
("hot_take", "Analytics ruined basketball. Bring back mid-post and iso ball.", ""),
("hot_take", "The Nets are the biggest disaster in sports history.", ""),
("hot_take", "Kyrie is the most talented player to never reach his ceiling.", ""),
("hot_take", "The Pelicans should blow it up. Zion and Ingram can't win together.", ""),
("hot_take", "The Thunder are a year away from being a year away.", ""),
("hot_take", "The Magic are frauds. Paolo isn't a franchise player.", ""),
("hot_take", "The Kings will never win a championship. Small market curse.", ""),
("hot_take", "Fox is overrated. Can't carry a team in the playoffs.", ""),
("hot_take", "The Cavs overpaid for Mitchell. Not a championship move.", ""),
("hot_take", "The Timberwolves trade was a disaster. Gobert isn't worth two firsts.", ""),
("hot_take", "The Blazers should have kept Dame. Rebuild is pointless.", ""),
("hot_take", "The Rockets are the most boring team in the league.", ""),
("hot_take", "The Hornets are cursed. LaMelo will never stay healthy.", ""),
("hot_take", "The Wizards are the worst run franchise in sports.", ""),
("hot_take", "The Pistons will be bad for another decade.", ""),
("hot_take", "The Jazz should have kept Mitchell. Trading stars never works.", ""),
("hot_take", "The Spurs rebuild is taking too long. Pop should retire.", ""),
("hot_take", "The Hawks should trade Trae. He'll never win a ring in Atlanta.", ""),
("hot_take", "The Pacers are a play-in team at best. Haliburton isn't a superstar.", ""),
("hot_take", "The Bulls should blow it up. Lavine and DeRozan can't win.", ""),
("hot_take", "The Raptors are irrelevant. Masai's magic is gone.", ""),
("hot_take", "The Clippers are the biggest joke in NBA history. Still no conference finals.", ""),
("hot_take", "The Nuggets are a one-man team. Jokic carries too much.", ""),
("hot_take", "The Warriors should trade Klay. Sentimentality is killing them.", ""),
("hot_take", "The Lakers should trade AD. He's always hurt.", ""),
("hot_take", "The Celtics should trade Jaylen Brown. Tatum is the guy.", ""),
("hot_take", "The Bucks window is closed. Giannis should request a trade.", ""),
("hot_take", "The Suns window is closed. KD is too old.", ""),
("hot_take", "The Heat culture is overrated. They're a play-in team.", ""),
("hot_take", "The Knicks overpaid Brunson. Not a max player.", ""),
("hot_take", "The 76ers should fire Doc Rivers. He's a playoff choker.", ""),
("hot_take", "The Mavs should fire Jason Kidd. Terrible coach.", ""),
("hot_take", "The Nets should relocate. Brooklyn doesn't care about basketball.", ""),
("hot_take", "The NBA needs to shorten the season. 82 games is too many.", ""),
("hot_take", "The draft lottery is broken. Tanking ruins the product.", ""),
("hot_take", "International players are taking over. American basketball is dead.", ""),
("hot_take", "The NBA is too political. Just shut up and dribble.", ""),
# reaction (70)
("reaction", "That block by Wemby at the end had me jumping off my couch. Absolutely unreal sequence.", ""),
("reaction", "I'm still shaking from that buzzer beater. My heart can't take this.", ""),
("reaction", "That dunk was NASTY. Rewound it five times.", ""),
("reaction", "We lost on a ref mistake. I'm so mad I can't even think straight.", ""),
("reaction", "YES! YES! YES! That's my team!", ""),
("reaction", "I can't believe we blew a 20 point lead. Absolutely devastated.", ""),
("reaction", "That was the worst call I've ever seen. Rigged.", ""),
("reaction", "I'm literally crying. We finally did it.", ""),
("reaction", "That crossover broke his ankles. I screamed.", ""),
("reaction", "My roommate thought I was having a heart attack. That game winner though.", ""),
("reaction", "I need a drink after that game. Too stressful.", ""),
("reaction", "That poster dunk is going on my wall. Instant classic.", ""),
("reaction", "I'm so happy right now. Best feeling ever.", ""),
("reaction", "That was embarrassing. Turn off the TV.", ""),
("reaction", "The crowd went INSANE. Chills.", ""),
("reaction", "I threw my remote. Not proud but that turnover...", ""),
("reaction", "That alley-oop was beautiful. Pure joy.", ""),
("reaction", "I'm still in disbelief. How did we win that?", ""),
("reaction", "That injury looked bad. Hope he's okay.", ""),
("reaction", "The energy in the arena was electric. Wish I was there.", ""),
("reaction", "I'm so frustrated. Same mistakes every game.", ""),
("reaction", "That steal and dunk combo was filthy.", ""),
("reaction", "My hands are still shaking. Overtime thriller.", ""),
("reaction", "I can't stop smiling. What a win.", ""),
("reaction", "That was the most painful loss of the season.", ""),
("reaction", "The bench eruption after that three was everything.", ""),
("reaction", "I'm done watching this team. Too much pain.", ""),
("reaction", "That chase-down block was legendary.", ""),
("reaction", "Screaming at my TV at 11pm. Neighbors probably hate me.", ""),
("reaction", "That pass was insane. How did he see that?", ""),
("reaction", "I'm so proud of this team right now.", ""),
("reaction", "That was a gut punch. Didn't see it coming.", ""),
("reaction", "The confetti falling. I'm not crying you're crying.", ""),
("reaction", "That ejection was ridiculous. Refs ruined the game.", ""),
("reaction", "Best game I've watched all season. Wow.", ""),
("reaction", "I'm furious. We had it and threw it away.", ""),
("reaction", "That and-one was clutch. Held my breath.", ""),
("reaction", "The silence in the arena after that miss. Brutal.", ""),
("reaction", "I'm hyped for the next game already.", ""),
("reaction", "That flagrant was soft. League is soft.", ""),
("reaction", "My group chat is going crazy right now.", ""),
("reaction", "That was a season-defining win. Let's go!", ""),
("reaction", "I'm so deflated. Playoff hopes fading.", ""),
("reaction", "That behind-the-back pass had me out of my seat.", ""),
("reaction", "The tension was unbearable. Couldn't look.", ""),
("reaction", "I'm still processing that comeback. Unreal.", ""),
("reaction", "That technical was bogus. Coach got hosed.", ""),
("reaction", "Best dunk of the year. No debate.", ""),
("reaction", "I'm exhausted. That took years off my life.", ""),
("reaction", "The roar when he hit that three. Goosebumps.", ""),
("reaction", "I'm so disappointed. Expected more fight.", ""),
("reaction", "That game-winning block. I'm speechless.", ""),
("reaction", "The vibes are immaculate after that W.", ""),
("reaction", "I'm sick to my stomach. Can't believe it.", ""),
("reaction", "That crossover-to-three sequence was art.", ""),
("reaction", "My heart rate is still elevated. What a finish.", ""),
("reaction", "I'm so relieved. Thought we were done.", ""),
("reaction", "That blowout was embarrassing to watch.", ""),
("reaction", "The celebration was worth the wait.", ""),
("reaction", "I'm livid. Unacceptable effort.", ""),
("reaction", "That no-look pass broke my brain.", ""),
("reaction", "The crowd chanting MVP. Deserved.", ""),
("reaction", "I'm so nervous for the next round.", ""),
("reaction", "That was a masterclass. Perfect game.", ""),
("reaction", "I'm heartbroken. This team broke me.", ""),
("reaction", "The bench mob after that dunk was hilarious.", ""),
("reaction", "I'm still replaying that sequence in my head.", ""),
("reaction", "That was the most fun I've had watching basketball in years.", ""),
("reaction", "I'm so angry I could scream. Choke artists.", ""),
("reaction", "The arena erupted. Best moment of the season.", ""),
("reaction", "I'm cautiously optimistic. Maybe we have a shot.", ""),
("reaction", "That game had everything. What a sport.", ""),
]
def main():
out = Path("data/takemeter_dataset.csv")
out.parent.mkdir(exist_ok=True)
with open(out, "w", newline="", encoding="utf-8") as f:
w = csv.writer(f)
w.writerow(["text", "label", "notes"])
for label, text, notes in DATA:
w.writerow([text, label, notes])
print(f"Wrote {len(DATA)} examples to {out}")
if __name__ == "__main__":
main()