How agrism/biathlon works
Biathlon is a Laravel application combining IBU race-data synchronization, athlete and competition browsing, and a six-place prediction league. The user-facing flow is browsing race stages and results, selecting athletes for a forecast, then reviewing scored forecasts and season standings. The graph also preserves the documented sync, favorites, authentication, and biathlon-news capabilities. Several links are README-supported because their command/controller implementations were not sampled; paths for those subsystems use exact existing directories.
Main entry points: Athlete.php Athlete profiles · Commands Race sync commands · SelectAthleteController.php Forecast interaction · ShowController.php Race browsing
Components 20
Race data
- Race sync commands
app/Console/Commands - Race records
app/Models/EventCompetition.php - Athlete profiles
app/Models/Athlete.php - Race results
app/Models/EventCompetitionResult.php
Prediction league
- Forecast interaction
app/Http/Controllers/Forecasts/SelectAthleteController.php - Forecast records
app/Models/Forecast.php - Scoring engines
app/Helpers/Forecasts - Season standings
app/Http/Controllers/Forecasts/Summary
Web experience
- Race browsing
app/Http/Controllers/Competitions/ShowController.php - Athlete browsing
app/Http/Controllers/Athletes/IndexController.php - Athlete favorites
app/Helpers/FavoriteHelper.php - Server-rendered UI
resources/views
News and integrations
- Biathlon news service
app/Services/BiathlonTweetService.php - Tweet feed records
app/Models/Tweet.php - News feed pages
app/Http/Controllers/Twitter
Identity
- Authentication and profiles
app/Providers/FortifyServiceProvider.php - User accounts
app/Models/User.php
Other components
- Biathlon user
- IBU Sport API
- News providers
Connections 28
- IBU Sport API → Race sync commands: supplies data
README.md - Race sync commands → Race records: synchronizes
README.md - Race sync commands → Athlete profiles: updates profiles
README.md - Race sync commands → Race results: imports results
README.md - Race browsing → Race records: queries races
app/Http/Controllers/Competitions/ShowController.php - Race browsing → Race results: queries results
app/Http/Controllers/Competitions/ShowController.php - Race results → Athlete profiles: belongs to
app/Models/Athlete.php - Biathlon user → Race browsing: browses races
README.md - Biathlon user → Athlete browsing: browses athletes
app/Http/Controllers/Athletes/IndexController.php - Athlete browsing → Athlete profiles: queries profiles
app/Http/Controllers/Athletes/IndexController.php - Biathlon user → Forecast interaction: selects predictions
README.md - Forecast interaction → Forecast records: loads forecast
app/Http/Controllers/Forecasts/SelectAthleteController.php - Forecast interaction → Athlete profiles: lists candidates
app/Http/Controllers/Forecasts/SelectAthleteController.php - Forecast records → Race records: belongs to race
app/Models/Forecast.php - Scoring engines → Forecast records: scores forecasts
app/Helpers/Forecasts/ForecastDainisServiceHelper.php - Biathlon user → Season standings: reviews standings
README.md - Season standings → Forecast records: summarizes results
README.md - Biathlon user → Athlete favorites: bookmarks athletes
- Athlete favorites → Athlete profiles: marks favorites
app/Helpers/FavoriteHelper.php - Race browsing → Server-rendered UI: renders results
README.md - Athlete browsing → Server-rendered UI: renders listings
README.md - Forecast interaction → Server-rendered UI: renders selection
README.md - News providers → Biathlon news service: provides posts
app/Services/BiathlonTweetService.php - Biathlon news service → Tweet feed records: syncs and reads
app/Services/BiathlonTweetService.php - News feed pages → Biathlon news service: requests feed
app/Http/Controllers/Twitter/SetAthleteController.php - Biathlon user → News feed pages: reads news
README.md - Authentication and profiles → User accounts: manages accounts
app/Providers/FortifyServiceProvider.php - Biathlon user → Authentication and profiles: signs in
README.md