<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: HoopVision Lab</title>
    <description>The latest articles on DEV Community by HoopVision Lab (@hoopvisionlab).</description>
    <link>https://dev.to/hoopvisionlab</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4257861%2F3ba1fec8-d2c4-4c7f-88f7-b6eff3a6df3a.png</url>
      <title>DEV Community: HoopVision Lab</title>
      <link>https://dev.to/hoopvisionlab</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hoopvisionlab"/>
    <language>en</language>
    <item>
      <title>SGA vs Davis, 16 games vs 15: one board, every number from box scores</title>
      <dc:creator>HoopVision Lab</dc:creator>
      <pubDate>Sat, 21 Nov 2026 21:02:19 +0000</pubDate>
      <link>https://dev.to/hoopvisionlab/sga-vs-davis-16-games-vs-15-one-board-every-number-from-box-scores-28k</link>
      <guid>https://dev.to/hoopvisionlab/sga-vs-davis-16-games-vs-15-one-board-every-number-from-box-scores-28k</guid>
      <description>&lt;p&gt;Last night's 40 and 36 sent me looking at Shai Gilgeous-Alexander and Anthony Davis side by side. Here's the 2026-27 regular season so far:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Points: 31.7 vs 25.3&lt;/li&gt;
&lt;li&gt;Rebounds: 4.1 vs 10.1&lt;/li&gt;
&lt;li&gt;Assists: 4.5 vs 2.1&lt;/li&gt;
&lt;li&gt;True shooting: 58.8% vs 59.8%&lt;/li&gt;
&lt;li&gt;Threes: 2.4 vs 0.7&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The part I didn't expect: Davis is the more efficient scorer by a hair, even though SGA scores six more a night. Per game, over 16 games for SGA and 15 for Davis.&lt;/p&gt;

&lt;p&gt;The board came out of the stats site I build, HoopVision Lab. It's all box-score data, nothing estimated, and you can ask it any matchup in plain English: &lt;a href="https://hoopvisionlab.com" rel="noopener noreferrer"&gt;https://hoopvisionlab.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Which pair should I put on a board next?&lt;/p&gt;

</description>
      <category>basketball</category>
    </item>
    <item>
      <title>Eighty seasons of NBA box scores: the data decisions behind a plain-English stats site</title>
      <dc:creator>HoopVision Lab</dc:creator>
      <pubDate>Sat, 21 Nov 2026 19:44:28 +0000</pubDate>
      <link>https://dev.to/hoopvisionlab/eighty-seasons-of-nba-box-scores-the-data-decisions-behind-a-plain-english-stats-site-1b6a</link>
      <guid>https://dev.to/hoopvisionlab/eighty-seasons-of-nba-box-scores-the-data-decisions-behind-a-plain-english-stats-site-1b6a</guid>
      <description>&lt;p&gt;HoopVision Lab is the NBA sibling of a football stats site I build. You type "compare LeBron James and Stephen Curry career points per game" or "Bulls vs Magic 1995-96 playoffs" and it builds a dashboard. It covers every season from 1946-47, the BAA's first, to today.&lt;/p&gt;

&lt;p&gt;Going back that far meant making a lot of small decisions that never show up on screen but decide whether the numbers are right. Here are the ones that mattered most.&lt;/p&gt;

&lt;h2&gt;
  
  
  One source, one file that knows it
&lt;/h2&gt;

&lt;p&gt;Every number comes from the &lt;a href="https://www.balldontlie.io" rel="noopener noreferrer"&gt;BALLDONTLIE&lt;/a&gt; API: every player's line for every game since 1946-47. Team games are the sum of their players' lines (plus the final score from the game), and seasons are the sum of their games.&lt;/p&gt;

&lt;p&gt;Only one file in the codebase, &lt;code&gt;etl/source.js&lt;/code&gt;, knows what the API's responses look like. Everything else reads my own tables. When the source changes shape, one file changes. A modern season is about 350 requests; a 1950s season is under 100. Finished days are cached, so a daily refresh only asks for the last two days.&lt;/p&gt;

&lt;h2&gt;
  
  
  Franchises, not abbreviations
&lt;/h2&gt;

&lt;p&gt;Teams are keyed by the source's team id, not their abbreviation. So the Minneapolis Lakers' seasons belong to the Lakers and show "MNL", and the SuperSonics' seasons belong to Oklahoma City and show "SEA". Clubs that folded, like the Chicago Stags or the first Baltimore Bullets, get their own inactive keys instead of being merged into something that happens to share a name.&lt;/p&gt;

&lt;p&gt;Conferences and divisions come from the source from 2004-05, when today's alignment began. Before that, they come from a hand-kept table of the league's alignment by season, so "western conference standings 1996" answers with the 1995-96 West, not today's.&lt;/p&gt;

&lt;h2&gt;
  
  
  Unrecorded is empty, not zero
&lt;/h2&gt;

&lt;p&gt;This is the rule I care about most. The league didn't track everything from the start:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;rebounds before 1950-51&lt;/li&gt;
&lt;li&gt;minutes before 1951-52&lt;/li&gt;
&lt;li&gt;steals, blocks and offensive/defensive rebounds before 1973-74&lt;/li&gt;
&lt;li&gt;turnovers before 1977-78&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Those are left empty, never counted as zero. A 1965 center doesn't have "0 blocks", he has no recorded blocks. The one exception is threes before the line existed in 1979-80; those really are zero.&lt;/p&gt;

&lt;p&gt;It gets subtler. Into the 1960s, and for some stats until 1983-84, the box scores have a count for only &lt;em&gt;some&lt;/em&gt; of a season's games. Assists exist for 1% of 1946-47's games. So a season keeps those totals over the games that have them, divides its averages by those games, and every board that touches such a season says how many games it's based on. Without that, an early-era player's assists per game would be quietly divided by games where nobody counted assists.&lt;/p&gt;

&lt;h2&gt;
  
  
  Words that mean something specific
&lt;/h2&gt;

&lt;p&gt;A plain-English interface has to agree with how fans already talk:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A season includes its playoffs&lt;/strong&gt; unless you say "regular season" or "playoffs only", and the board title always says which.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;"30-point season"&lt;/strong&gt; means 30 points a game, the way the NBA says it, not 30 total.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Playoff rounds&lt;/strong&gt; below the Finals aren't in the source, so they're worked out from the playoff games: each pair of clubs is a series, the last one is the Finals, and each earlier round is the series each club played before that.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A traded player's season&lt;/strong&gt; covers all his teams and is filed under the last one.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  No language model reads the question
&lt;/h2&gt;

&lt;p&gt;Requests are read by rules in the site's own code. Nothing typed into Ask goes to an AI service. The parsed plan becomes a set of query specs, and one query compiler looks up every stat key in a catalog and binds every value as a parameter. An unknown key is an error, not a guess.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;It's free during the beta; asking needs a free account. If an old-era number looks wrong to you, I'd like to know: &lt;a href="https://hoopvisionlab.com/?ref=devto" rel="noopener noreferrer"&gt;https://hoopvisionlab.com/?ref=devto&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;NBA data: BALLDONTLIE.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Drafted with AI assistance and checked against the project's code and docs.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>postgres</category>
      <category>datascience</category>
      <category>javascript</category>
      <category>nba</category>
    </item>
  </channel>
</rss>
