{
    "config": {
        "id": 2028,
        "group_id": null,
        "season_id": 3,
        "tytul": "Polpunkty GS",
        "license_type": "ZJAZDY",
        "zakres_punktow": "all",
        "ilosc_najlepszych": 3,
        "pozostaw_w_rankingu": null,
        "moznik": "1.00",
        "mnoznik": "1.00",
        "roczniki_od": 2010,
        "roczniki_do": 2013,
        "plec": "Mixed",
        "puchar_polski": 0,
        "zagraniczne": 0,
        "event_rank": "[13]",
        "subtitle_1": "",
        "subtitle_2": "Slalom Gigant",
        "header_image_left": "690951e9f0b3a_1762218473.svg",
        "header_image_right": "690950bf9b392_1762218175.svg",
        "footer_image": null,
        "is_active": 1,
        "created_at": "2025-10-30 06:55:21",
        "updated_at": "2026-01-03 14:48:50",
        "positions_to_show": 0,
        "show_all_events": 1,
        "unfold_all_categories": 0,
        "calculation_method": "default",
        "sort_direction": "asc",
        "keep_unqualified": "classify",
        "score_selection": "best_results",
        "required_events_count": 2,
        "category_required_events": [],
        "use_category_split": 1,
        "use_gender_split": 1,
        "category_scheme_id": 3,
        "calculate_competition_coefficient": "0",
        "disciplines": [
            "GS"
        ],
        "custom_formula": "",
        "use_custom_formula": 0,
        "use_ranking_formula": 1,
        "ranking_formula": "\/\/ Konfiguracja (Zmień ID wydarzenia z punktami bazowymi)\r\n$base_id = 35428\r\n$max_penalty = 40\r\n\r\n\/\/ 1. Punkty Bazowe (Pobierz lub ustaw na 9999 jeśli brak)\r\n$bazowe = IF(hasScore($base_id), eventScore($base_id), 9999)\r\n\r\n\/\/ 2. Średnia z 2 najlepszych (wymaga min. 2 startów w sezonie)\r\n$val_a = IF(event_count >= 2, average_score, 9999)\r\n\r\n\/\/ 3. Średnia z Bazowych i 1 najlepszego (jeśli lepszy od bazowych)\r\n$val_b = IF(best_score < $bazowe, ($bazowe + best_score) \/ 2, 9999)\r\n\r\n\/\/ 4. Jeden start + KARA (tylko dla event_count == 1)\r\n$kara_calc = best_score * 0.22\r\n$kara_val = min(max(8, $kara_calc), $max_penalty)\r\n$val_c = IF(event_count == 1, best_score + $kara_val, 9999)\r\n\r\n\/\/ 5. Tylko bazowe\r\n$val_d = $bazowe\r\n\r\n\/\/ Wynik końcowy: Minimum z A, B, C, D\r\nmin($val_a, min($val_b, min($val_c, $val_d)))",
        "excluded_events": "",
        "excluded_athletes": "",
        "score_display_mode": "exact",
        "score_decimal_places": 2,
        "rss_channel_id": "polpunkty",
        "ranking_type": "individual",
        "grouping_criteria": null,
        "custom_grouping_field": null,
        "aggregation_method": "sum",
        "aggregation_count": 3,
        "connected_rankings": null,
        "connected_calculation_method": "sum",
        "connected_weights": null,
        "connected_best_n_count": 3,
        "season_name": "2025\/2026",
        "title": "Polpunkty GS",
        "score_range": "all",
        "multiplier_type": "default",
        "multiplier_value": "1.00",
        "birth_year_from": 2010,
        "birth_year_to": 2013,
        "gender": "Mixed",
        "visibility": "public",
        "last_generated": "2026-01-03 14:48:50",
        "event_ranks": [
            "13"
        ],
        "event_types": []
    },
    "generated_at": "2026-05-25 02:20:37",
    "total_participants": 0,
    "results": [],
    "split_by_category": false
}