Skip to content
1 viewer

rust 1,863,570 · typescript 235,774 · javascript 133,179 · python 20,426 · 6,416 files · digest 72c4f5c61f73 · built in 1.7 s · crystals off

crates/cre8-app-sports/src/fantasy.rs

cre8-app-sports · module fantasy · src · 376 lines (291 code, 49 comment) · sha 167036869a5400d1

Items

const DEFAULT_SALARY_CAP const DEFAULT_ROSTER_SIZE const DEFAULT_MAX_PER_TEAM const MAX_ROSTER_SIZE const MAX_PAYOUT_PLACES const PAYOUT_TOTAL_BPS struct LineupRules impl Default for LineupRules struct PoolPlayer struct ScoredEntry struct EntryResult

Functions

By call-graph weight (PageRank; 1.0 is the average function). 22 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
lineup_score_x10src/fantasy.rs:143fn31301.2
normalize_payout_bpssrc/fantasy.rs:220fn187301.1
playersrc/fantasy.rs:249fn31101.1
settle_entriessrc/fantasy.rs:175fn417501
validate_lineupsrc/fantasy.rs:42fn256401
entrysrc/fantasy.rs:271fn31401
prizessrc/fantasy.rs:275fn31300.9
format_pointssrc/fantasy.rs:240fn42300.9
quick_picksrc/fantasy.rs:73fn396330.8
idssrc/fantasy.rs:267fn31200.7
cheapest_lineupsrc/fantasy.rs:115fn174100.7
mixsrc/fantasy.rs:133fn72100.7
poolsrc/fantasy.rs:253fn93210.7
by_idsrc/fantasy.rs:263fn31200.7
LineupRules::defaultsrc/fantasy.rs:27trait impl31000.5
lineup_must_fit_the_roster_the_cap_and_the_team_limitsrc/fantasy.rs:280fn121040.5
quick_pick_is_legal_repeatable_and_varies_by_seedsrc/fantasy.rs:294fn203040.5
score_sums_recorded_points_onlysrc/fantasy.rs:316fn71030.5
winner_takes_the_pot_by_defaultsrc/fantasy.rs:325fn51040.5
places_split_and_every_unit_is_paidsrc/fantasy.rs:332fn121030.5
ties_share_the_places_they_spansrc/fantasy.rs:346fn203030.5
payout_tables_must_be_whole_and_never_pay_a_lower_place_moresrc/fantasy.rs:368fn81010.5

Source not readable from this process.