r/baseballstats • u/innatepoi • 1d ago
I built Diamond Stitch, a baseball statistics framework that breaks down every play into bases and outs and determines a responsible player for each
I've been working on a baseball statistics project called Diamond Stitch that attempts to determine a responsible player for every base of advancement and out on both sides of the ball.
I've always wanted a stat that captured more than just bases gained on hits like Total Bases does. Diamond Stitch measures contributions in terms of the advancement a player caused, whether through hits, walks, stolen bases, or advancing other runners. These all contribute to a player's Bases total, while certain plays can subtract previously credited advancement. The framework also tracks responsibility for outs.
To calculate these stats, I developed a system that parses historical Retrosheet play-by-play data, reconstructs the base states for each play, and applies attribution rules. Most situations can be resolved using consistent rules, though some assumptions are necessary where historical records lack sufficient detail.
I've built a free website around the framework, with player profiles, leaderboards, comparisons, and game-level statistics.
Website: https://diamondstitchbaseball.com
Full Methodology: https://diamondstitchbaseball.com/methodology
I'd love to hear what this community thinks of the approach, particularly whether the attribution rules make sense and what you find interesting in the resulting statistics. My hope is that it offers another useful perspective on player contributions alongside existing baseball statistics.
