feat: Adult-Regeln für 2025/26 erfassen

Die Lücke aus dem Saisonumzug ist geschlossen: `2025-26/adult.json` stammt
aus dem IAFSC Technical Announcement 2025/26 (Wettkämpfe 7.–11. Oktober
2025 und Oberstdorf 16.–22. Mai 2026). Das Manifest verweist jetzt auf die
Datei statt auf `status: missing`.

Gegen das Announcement 2026/27 geprüft, es gibt genau zwei fachliche
Unterschiede – beide in `2025-26/notes.md` dokumentiert:

- 2025/26 kennt keine choreographische Pirouette, also
  `requires_choreographic_spin: false` in allen Kategorien (passend dazu
  fehlt `ChSp` im Katalog der Saison).
- Gold kappt 2025/26 alle Features bei Level 3; die Trennung „Level 3 in
  Pirouetten, Level 2 in der Schrittsequenz" kam erst 2026/27.
  `max_sequence_level` ist deshalb 3 statt 2.

Der Saison-Paar-Test pinnt jetzt diese beiden Unterschiede, statt die
fehlende Datei zu erwarten. `./tools/check_rules.sh`: 0 Fehler; die beiden
D5-Hinweise zu Gold/2A sind in beiden Saisons gewollt.
This commit is contained in:
torsten 2026-11-13 10:45:47 +01:00
parent 386105aa71
commit 47fecbcb3b
6 changed files with 228 additions and 36 deletions

View file

@ -135,9 +135,10 @@ Regeln:
- Ein Dokument-Eintrag hat **genau eines** von `file`, `inherit_from` oder
`status: missing` (A4).
- `status: complete` verbietet `inherit_from` (A6). Ein einzelnes fehlendes
Dokument macht die Saison **nicht** unvollständig: `2025/26` ist vollständig,
auch wenn das Adult-Announcement nicht erfasst ist. Der Mangel wird am
Dokument gemeldet und im Prüfdialog als „nicht anwendbar" sichtbar.
Dokument macht die Saison **nicht** unvollständig: `complete` heißt, dass
Katalog und Level-Regeln als Datei vorliegen. Ein nicht erfasstes Dokument
steht auf `status: missing` und wird am Dokument gemeldet, nicht durch einen
halben Saisonstatus.
- `status: partial` heißt: Katalog oder Level-Regeln liegen nur geerbt vor.
Nur solche Saisons aktivieren sich nicht von selbst.
- Geerbte Dokumente bleiben im Bericht sichtbar: „Level-Regeln noch aus
@ -461,19 +462,20 @@ fertig. Nachweis: `git diff --stat` zeigt nur `data/2027-28/**`.
Ausgangslage: `isu_sov_2025_26.json`, `isu_levels_2025_26.json`,
`isu_sov_2026_27.json`, `isu_levels_2026_27.json`,
`isu_adult_2026_27.json`. 2025/26 hat keine Adult-Regeln.
`isu_adult_2026_27.json`. Beide Saisons sind migriert; 2025/26 hat die
Adult-Regeln beim Nachtragen erhalten.
### 2025/26
1. Ordner `2025-26/` anlegen, die beiden Dateien als `sov.json` und
`levels.json` übernehmen (Inhalt unverändert).
2. `manifest.json` mit `status: complete`, `replaces: null`.
3. **Adult nachtragen:** Das IAFSC-Announcement 2025/26 als `adult.json`
erfassen. Eine Lücke, die man mit einer Datei schließen kann, wird sonst zur
Dauererklärung im Prüfdialog („nicht anwendbar, keine Adult-Regeln").
Aktueller Stand: Der Eintrag steht auf `status: missing`, die Datei fehlt
noch. Die Saison bleibt trotzdem `complete`, weil Katalog und Level-Regeln
als Datei vorliegen.
3. **Adult nachgetragen** aus dem IAFSC-Announcement 2025/26. Eine Lücke, die
man mit einer Datei schließen kann, wäre sonst zur Dauererklärung im
Prüfdialog geworden („nicht anwendbar, keine Adult-Regeln").
Gegenüber 2026/27 gibt es genau zwei fachliche Unterschiede, sie stehen in
`2025-26/notes.md`: kein `ChSp` (also `requires_choreographic_spin: false`)
und Gold kappt alle Features bei Level 3 (`max_sequence_level: 3`).
4. **Policies backfillen** mit dem Stand, der 2025/26 tatsächlich galt
(mindestens `axel_required_in_sequence`).
5. `notes.md`: Was gilt, was fehlt, welche Policies nachgetragen wurden und

View file

@ -0,0 +1,146 @@
{
"schema_version": 1,
"season": "2025/26",
"source": "ISU International Adult Figure Skating Competitions 2025/26 – Technical Announcement (valid for the competitions October 7–11, 2025 and Oberstdorf, May 16–22, 2026)",
"valid_from": "2025-07-01",
"categories": [
{
"code": "bronze",
"name": "Bronze",
"duration_seconds": 100,
"duration_tolerance_seconds": 10,
"max_jump_elements": 4,
"allowed_rotations": [
"single"
],
"allow_axel": false,
"forbidden_jumps": [],
"required_axel": false,
"max_jump_combinations": 1,
"max_jump_sequences": 0,
"max_jumps_per_combination": 2,
"max_spins": 2,
"max_step_sequences": 0,
"max_choreographic_sequences": 1,
"required_step_sequences": 0,
"required_choreographic_sequences": 1,
"requires_choreographic_spin": false,
"max_spin_level": 1,
"max_sequence_level": 1,
"pcs_factor": 2.0,
"fall_deduction": 0.5
},
{
"code": "silver",
"name": "Silver",
"duration_seconds": 120,
"duration_tolerance_seconds": 10,
"max_jump_elements": 4,
"allowed_rotations": [
"single"
],
"allow_axel": true,
"forbidden_jumps": [],
"required_axel": false,
"max_jump_combinations": 2,
"max_jump_sequences": 1,
"max_jumps_per_combination": 3,
"max_spins": 2,
"max_step_sequences": 0,
"max_choreographic_sequences": 1,
"required_step_sequences": 0,
"required_choreographic_sequences": 1,
"requires_choreographic_spin": false,
"max_spin_level": 2,
"max_sequence_level": 2,
"pcs_factor": 2.0,
"fall_deduction": 0.5
},
{
"code": "gold",
"name": "Gold",
"duration_seconds": 170,
"duration_tolerance_seconds": 10,
"max_jump_elements": 5,
"allowed_rotations": [
"single",
"double"
],
"allow_axel": true,
"forbidden_jumps": [
"2F",
"2Lz",
"2A"
],
"required_axel": false,
"max_jump_combinations": 2,
"max_jump_sequences": 1,
"max_jumps_per_combination": 3,
"max_spins": 3,
"max_step_sequences": 1,
"max_choreographic_sequences": 0,
"required_step_sequences": 1,
"required_choreographic_sequences": 0,
"requires_choreographic_spin": false,
"max_spin_level": 3,
"max_sequence_level": 3,
"pcs_factor": 2.67,
"fall_deduction": 1.0
},
{
"code": "masters",
"name": "Masters",
"duration_seconds": 180,
"duration_tolerance_seconds": 10,
"max_jump_elements": 5,
"allowed_rotations": [
"single",
"double"
],
"allow_axel": true,
"forbidden_jumps": [],
"required_axel": true,
"max_jump_combinations": 2,
"max_jump_sequences": 1,
"max_jumps_per_combination": 3,
"max_spins": 3,
"max_step_sequences": 1,
"max_choreographic_sequences": 0,
"required_step_sequences": 1,
"required_choreographic_sequences": 0,
"requires_choreographic_spin": false,
"max_spin_level": 4,
"max_sequence_level": 4,
"pcs_factor": 2.67,
"fall_deduction": 1.0
},
{
"code": "masters_elite",
"name": "Masters Elite",
"duration_seconds": 180,
"duration_tolerance_seconds": 10,
"max_jump_elements": 5,
"allowed_rotations": [
"single",
"double",
"triple"
],
"allow_axel": true,
"forbidden_jumps": [],
"required_axel": true,
"max_jump_combinations": 2,
"max_jump_sequences": 1,
"max_jumps_per_combination": 3,
"max_spins": 3,
"max_step_sequences": 1,
"max_choreographic_sequences": 0,
"required_step_sequences": 1,
"required_choreographic_sequences": 0,
"requires_choreographic_spin": false,
"max_spin_level": 4,
"max_sequence_level": 4,
"pcs_factor": 2.67,
"fall_deduction": 1.0
}
]
}

View file

@ -17,8 +17,9 @@
"valid_from": "2025-07-01"
},
"adult": {
"status": "missing",
"reason": "Adult-Announcement 2025/26 nicht erfasst"
"file": "adult.json",
"source": "ISU International Adult Figure Skating Competitions 2025/26 – Technical Announcement",
"valid_from": "2025-07-01"
}
},
"policies": {

View file

@ -8,18 +8,30 @@ Stand: 2026-11-13
| :--- | :--- | :--- |
| `sov.json` | ISU 2707 (Scale of Values) | 2025-07-01 |
| `levels.json` | ISU 2701 (Levels of Difficulty) | 2025-07-01 |
| `adult.json` | — **fehlt** — | — |
| `adult.json` | IAFSC Technical Announcement 2025/26 | 2025-07-01 |
Das Adult-Announcement gilt für die Wettkämpfe 7.–11. Oktober 2025 und
Oberstdorf 16.–22. Mai 2026.
## Unterschiede zu 2026/27
Beim Erfassen gegen die beiden Announcements geprüft. Es gibt genau zwei
fachliche Abweichungen:
1. **Kein `ChSp`.** 2025/26 verlangt in Gold, Masters und Masters Elite keine
choreographische Pirouette; die Spin-Anforderung ist stattdessen
Kombinationspirouette mit Fußwechsel plus Sprungpirouette plus Pirouette in
einer Position. Entsprechend fehlt `ChSp` im Katalog dieser Saison.
→ `requires_choreographic_spin: false` in allen Kategorien.
2. **Gold kappt alle Features bei Level 3.** Erst 2026/27 trennt die
Anforderung: Level 3 für Pirouetten, Level 2 für die Schrittsequenz.
→ `max_sequence_level: 3` (statt 2) für Gold.
Nicht modelliert (wie in allen Saisons): Mindestumdrehungen, Euler/Half-Loop,
„Waltz jumps will be ignored" in Bronze.
## Bekannte Lücken
- **Adult-Regeln fehlen.** Das IAFSC Technical Announcement 2025/26 ist nicht
erfasst. Der Eintrag im Manifest steht auf `status: missing`; die App meldet
die Kategorieprüfung deshalb als nicht anwendbar. Sobald das Announcement
vorliegt, wird `adult.json` ergänzt und der Manifest-Eintrag auf `file`
umgestellt.
- Die Saison steht trotzdem auf `status: complete`: vollständig heißt, dass
Katalog und Level-Regeln ohne Vererbung vorliegen. Fehlende Einzeldokumente
werden am Dokument gemeldet, nicht durch einen halben Saisonstatus.
- GOE-Tabellen und `V`-Varianten sind wie in allen Saisons bewusst offen.
## Nachgetragene Policies

View file

@ -91,11 +91,10 @@ func _test_package_contents() -> void:
return
_check(previous.catalog != null, "2025/26 has a catalog")
_check(previous.levels != null, "2025/26 has level rules")
_check(previous.adult == null, "2025/26 has no adult rules")
_check(previous.is_document_missing("adult"), "2025/26 marks adult as missing")
_check(previous.adult != null, "2025/26 has adult rules")
_check(
not previous.get_warnings().is_empty(),
"2025/26 warns about the missing document"
not previous.is_document_missing("adult"),
"2025/26 provides the adult document"
)
@ -190,8 +189,26 @@ func _test_season_pair_difference() -> void:
not _has_message(new_issues, "nicht im Katalog"),
"2026/27 knows ChSp"
)
_check(older.adult == null, "2025/26 has no adult rules")
_check(newer.adult != null, "2026/27 has adult rules")
# The two documented adult differences between the seasons.
var old_gold := older.adult.get_category("gold")
var new_gold := newer.adult.get_category("gold")
_check(
old_gold != null and not old_gold.requires_choreographic_spin,
"2025/26 Gold does not require a choreographic spin"
)
_check(
new_gold != null and new_gold.requires_choreographic_spin,
"2026/27 Gold requires a choreographic spin"
)
_check(
old_gold != null and old_gold.max_sequence_level == 3,
"2025/26 Gold caps all features at level 3"
)
_check(
new_gold != null and new_gold.max_sequence_level == 2,
"2026/27 Gold caps the step sequence at level 2"
)
func _make_pair_routine() -> Routine:

View file

@ -1698,23 +1698,37 @@ func _run() -> void:
)
_check(
controller.get_routine().adult_category == "gold",
"the category is kept when the target season lacks adult rules"
"the category is kept when the season changes"
)
var unavailable_index := -1
var gold_index := -1
for index: int in range(controller.adult_category_option.item_count):
if str(controller.adult_category_option.get_item_metadata(index)) == "gold":
unavailable_index = index
_check(unavailable_index >= 0, "the stored category stays visible")
gold_index = index
_check(gold_index >= 0, "Gold is available in 2025/26 as well")
_check(
controller.adult_category_option.get_item_text(unavailable_index).contains(
controller.adult_category_option.selected == gold_index,
"the dropdown keeps the selected category"
)
# A category the season does not know stays visible instead of being hidden.
controller.get_routine().adult_category = "legacy_category"
controller._sync_adult_category_option()
var unknown_index := -1
for index: int in range(controller.adult_category_option.item_count):
if (
str(controller.adult_category_option.get_item_metadata(index))
== "legacy_category"
):
unknown_index = index
_check(unknown_index >= 0, "a stored category stays visible")
_check(
controller.adult_category_option.get_item_text(unknown_index).contains(
"nicht verfügbar"
),
"an unavailable category is labelled instead of hidden"
)
_check(
controller.adult_category_option.selected == unavailable_index,
"the dropdown selects the unavailable category"
)
controller.get_routine().adult_category = "gold"
controller._setup_adult_category_controls()
var selected_season := controller.season_option.selected
_check(
str(controller.season_option.get_item_metadata(selected_season)) == "2025/26",