Fix extraction to consider all results with equal payouts weighted by odds
When the CAP threshold is negative and all payouts are 0 (no bets placed), the system was only selecting one result (e.g., always DRAW) instead of considering all results with equal payouts. Changes: - Fixed fallback selection to include ALL results with minimum payout - Weighted random selection now properly considers all tied results - Outcomes with better odds (lower coefficients) have higher probability This ensures fair random selection among all possible outcomes when multiple results have the same payout, weighted by their odds.
Showing
Please
register
or
sign in
to comment