How haarshadd/superr-hackathon works
RR auction scout is an offline cricket-data analysis tool that ranks Rajasthan Royals auction targets. Its main workflow loads ball-by-ball and reference data, profiles players, compares candidates with RR’s curated core, identifies squad-skill gaps and rival demand, then writes scouting shortlists and supporting reports. A separate pressure-rating workflow reconstructs match states, estimates win probability and opposition strength, scores high-pressure performance, and reports auction availability. The excerpts show both orchestration scripts and key algorithms; some documented stages are unsampled, so links to them are limited to documented orchestration.
Main entry points: run_pipeline.py Scouting run · run_pressure.py Pressure run · similarity.py Replacement ranking · features.py Style and value profiles
Components 20
Auction scouting
- Scouting run
run_pipeline.py - Rules and thresholds
rr_scout/config.py - Ball preparation
rr_scout/data.py - Player eligibility
rr_scout/players.py - Style and value profiles
rr_scout/features.py - Replacement ranking
rr_scout/similarity.py - Core gap analysis
rr_scout/gaps.py - Rival demand
rr_scout/contention.py
Pressure ratings
- Pressure run
run_pressure.py - Opposition strength
rr_scout/opposition.py - Win probability
rr_scout/win_prob.py - Ball pressure
rr_scout/pressure.py - Player ratings
rr_scout/ratings.py - Auction availability
rr_scout/availability.py
Inputs
- Cricket data pack
data/ball_by_ball.csv - RR core list
cores.csv - Watchlist
watchlist.csv
Results
- Scouting outputs
outputs/shortlist_10.csv - Pressure outputs
outputs/pressure/ratings_bat.csv
Other components
- RR analyst
Connections 25
- RR analyst → Scouting run: runs
README.md - RR analyst → Pressure run: runs
run_pressure.py - Scouting run → Ball preparation: loads and prepares
run_pipeline.py - Scouting run → Style and value profiles: builds profiles
run_pipeline.py - Scouting run → Player eligibility: segments players
README.md - Scouting run → Replacement ranking: ranks replacements
run_pipeline.py - Scouting run → Core gap analysis: scores gaps
README.md - Scouting run → Rival demand: scores demand
run_pipeline.py - Scouting run → RR core list: reads
README.md - Scouting run → Watchlist: profiles
README.md - Scouting run → Scouting outputs: writes
run_pipeline.py - Style and value profiles → Replacement ranking: scores profiles
README.md - Core gap analysis → Scouting run: returns gap candidates
README.md - Rival demand → Replacement ranking: uses similarity
rr_scout/contention.py - Pressure run → Ball preparation: prepares match state
run_pressure.py - Pressure run → Opposition strength: attaches strength
run_pressure.py - Pressure run → Win probability: fits model
run_pressure.py - Pressure run → Ball pressure: computes pressure
run_pressure.py - Pressure run → Player ratings: rates players
run_pressure.py - Pressure run → Auction availability: filters auction pool
run_pressure.py - Pressure run → RR core list: checks retentions
- Ball pressure → Win probability: predicts states
rr_scout/pressure.py - Pressure run → Pressure outputs: writes ratings
run_pressure.py - Scouting run → Rules and thresholds: uses rules
run_pipeline.py - Pressure run → Rules and thresholds: uses thresholds
run_pressure.py