Update Faroe Islands definitions to include 3 divisions in 3. Delid

This is implemented using two sets of cups, one for the first half
of the year and one for the second half.

Also, fix a few mistakes in the team list.
This commit is contained in:
Tom Stellard 2020-10-08 06:40:03 -07:00
parent aca4039893
commit 8421f3e8ba
8 changed files with 255 additions and 41 deletions

View File

@ -16,6 +16,12 @@
<cups>
<cup>faroe_islands_cup</cup>
<cup>faroe_islands_supercup</cup>
<cup>faroe_islands4a_qualifying</cup>
<cup>faroe_islands4b_qualifying</cup>
<cup>faroe_islands4c_qualifying</cup>
<cup>faroe_islands4a_finals</cup>
<cup>faroe_islands4b_finals</cup>
<cup>faroe_islands4c_finals</cup>
<cup>europe_uefa</cup>
<cup>europe_champ_league</cup>
<cup>supercup_europe_uefa</cup>

View File

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<cup>
<name>Faroe Islands Delid 3a Endaspæl</name>
<short_name>Delid 3a Endaspæl</short_name>
<symbol>flag_faroe_islands.png</symbol>
<sid>faroe_islands4a_finals</sid>
<add_week>1000</add_week>
<property>national</property>
<property>include_reserve_teams</property>
<cup_rounds>
<cup_round>
<!-- The qualifying cups end on week 14, so this cup will start on week
15. -->
<break_in length="1">15</break_in>
<break_in length="1">20</break_in>
<break_in length="1">25</break_in>
<break_in length="1">30</break_in>
<number_of_groups>1</number_of_groups>
<choose_teams>
<choose_team>
<choose_team_sid>faroe_islands4a_qualifying</choose_team_sid>
<number_of_teams>2</number_of_teams>
<start_idx>1</start_idx>
<end_idx>2</end_idx>
</choose_team>
<choose_team>
<choose_team_sid>faroe_islands4b_qualifying</choose_team_sid>
<number_of_teams>2</number_of_teams>
<start_idx>1</start_idx>
<end_idx>2</end_idx>
</choose_team>
<choose_team>
<choose_team_sid>faroe_islands4c_qualifying</choose_team_sid>
<number_of_teams>2</number_of_teams>
<start_idx>1</start_idx>
<end_idx>2</end_idx>
</choose_team>
</choose_teams>
</cup_round>
</cup_rounds>
</cup>

View File

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<cup>
<name>Faroe Islands Delid 3a Innleiðandi</name>
<short_name>Delid 3a Innleiðandi</short_name>
<symbol>flag_faroe_islands.png</symbol>
<sid>faroe_islands4a_qualifying</sid>
<property>national</property>
<property>include_reserve_teams</property>
<group>2000</group>
<!-- last_week only gets generated when add_week == 1000, so we need to
specify it here. 6 teams with 2 round robins = 10 matches. We want
to start in week 3, and there will be 2 breaks for the Faroe Islands
cup in week 5 and 10, so the last week will be week 14. However,
the breaks are ignored when computing the start week, so we need
to specify last week of 12 to get the actual last week to be 14.-->
<last_week>12</last_week>
<cup_rounds>
<cup_round>
<break_in length="1">5</break_in>
<break_in length="1">10</break_in>
<number_of_groups>1</number_of_groups>
<choose_teams>
<choose_team>
<choose_team_sid>faroe_islands4</choose_team_sid>
<number_of_teams>6</number_of_teams>
<start_idx>1</start_idx>
<end_idx>18</end_idx>
<randomly>1</randomly>
</choose_team>
</choose_teams>
</cup_round>
</cup_rounds>
</cup>

View File

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<cup>
<name>Faroe Islands Delid 3b Endaspæl</name>
<short_name>Delid 3b Endaspæl</short_name>
<symbol>flag_faroe_islands.png</symbol>
<sid>faroe_islands4b_finals</sid>
<add_week>1000</add_week>
<property>national</property>
<property>include_reserve_teams</property>
<cup_rounds>
<cup_round>
<!-- The qualifying cups end on week 14, so this cup will start on week
15. -->
<break_in length="1">15</break_in>
<break_in length="1">20</break_in>
<break_in length="1">25</break_in>
<break_in length="1">30</break_in>
<number_of_groups>1</number_of_groups>
<choose_teams>
<choose_team>
<choose_team_sid>faroe_islands4a_qualifying</choose_team_sid>
<number_of_teams>2</number_of_teams>
<start_idx>3</start_idx>
<end_idx>4</end_idx>
</choose_team>
<choose_team>
<choose_team_sid>faroe_islands4b_qualifying</choose_team_sid>
<number_of_teams>2</number_of_teams>
<start_idx>3</start_idx>
<end_idx>4</end_idx>
</choose_team>
<choose_team>
<choose_team_sid>faroe_islands4c_qualifying</choose_team_sid>
<number_of_teams>2</number_of_teams>
<start_idx>3</start_idx>
<end_idx>4</end_idx>
</choose_team>
</choose_teams>
</cup_round>
</cup_rounds>
</cup>

View File

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<cup>
<name>Faroe Islands Delid 3b Innleiðandi</name>
<short_name>Delid 3b Innleiðandi</short_name>
<symbol>flag_faroe_islands.png</symbol>
<sid>faroe_islands4b_qualifying</sid>
<property>national</property>
<property>include_reserve_teams</property>
<group>2000</group>
<!-- last_week only gets generated when add_week == 1000, so we need to
specify it here. 6 teams with 2 round robins = 10 matches. We want
to start in week 3, and there will be 2 breaks for the Faroe Islands
cup in week 5 and 10, so the last week will be week 14. However,
the breaks are ignored when computing the start week, so we need
to specify last week of 12 to get the actual last week to be 14.-->
<last_week>12</last_week>
<cup_rounds>
<cup_round>
<break_in length="1">5</break_in>
<break_in length="1">10</break_in>
<number_of_groups>1</number_of_groups>
<choose_teams>
<choose_team>
<choose_team_sid>faroe_islands4</choose_team_sid>
<number_of_teams>6</number_of_teams>
<start_idx>1</start_idx>
<end_idx>18</end_idx>
<randomly>1</randomly>
</choose_team>
</choose_teams>
</cup_round>
</cup_rounds>
</cup>

View File

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<cup>
<name>Faroe Islands Delid 3c Endaspæl</name>
<short_name>Delid 3c Endaspæl</short_name>
<symbol>flag_faroe_islands.png</symbol>
<sid>faroe_islands4c_finals</sid>
<add_week>1000</add_week>
<property>national</property>
<property>include_reserve_teams</property>
<cup_rounds>
<cup_round>
<!-- The qualifying cups end on week 14, so this cup will start on week
15. -->
<break_in length="1">15</break_in>
<break_in length="1">20</break_in>
<break_in length="1">25</break_in>
<break_in length="1">30</break_in>
<number_of_groups>1</number_of_groups>
<choose_teams>
<choose_team>
<choose_team_sid>faroe_islands4a_qualifying</choose_team_sid>
<number_of_teams>2</number_of_teams>
<start_idx>5</start_idx>
<end_idx>6</end_idx>
</choose_team>
<choose_team>
<choose_team_sid>faroe_islands4b_qualifying</choose_team_sid>
<number_of_teams>2</number_of_teams>
<start_idx>5</start_idx>
<end_idx>6</end_idx>
</choose_team>
<choose_team>
<choose_team_sid>faroe_islands4c_qualifying</choose_team_sid>
<number_of_teams>2</number_of_teams>
<start_idx>5</start_idx>
<end_idx>6</end_idx>
</choose_team>
</choose_teams>
</cup_round>
</cup_rounds>
</cup>

View File

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<cup>
<name>Faroe Islands Delid 3c Innleiðandi</name>
<short_name>Delid 3c Innleiðandi</short_name>
<symbol>flag_faroe_islands.png</symbol>
<sid>faroe_islands4c_qualifying</sid>
<property>national</property>
<property>include_reserve_teams</property>
<group>2000</group>
<!-- last_week only gets generated when add_week == 1000, so we need to
specify it here. 6 teams with 2 round robins = 10 matches. We want
to start in week 3, and there will be 2 breaks for the Faroe Islands
cup in week 5 and 10, so the last week will be week 14. However,
the breaks are ignored when computing the start week, so we need
to specify last week of 12 to get the actual last week to be 14.-->
<last_week>12</last_week>
<cup_rounds>
<cup_round>
<break_in length="1">5</break_in>
<break_in length="1">10</break_in>
<number_of_groups>1</number_of_groups>
<choose_teams>
<choose_team>
<choose_team_sid>faroe_islands4</choose_team_sid>
<number_of_teams>6</number_of_teams>
<start_idx>1</start_idx>
<end_idx>18</end_idx>
<randomly>1</randomly>
</choose_team>
</choose_teams>
</cup_round>
</cup_rounds>
</cup>

View File

@ -4,34 +4,20 @@
<name>3. Deild</name>
<short_name>3. Deild</short_name>
<symbol>flag_faroe_islands.png</symbol>
<first_week>3</first_week>
<week_gap>1</week_gap>
<average_talent>2400</average_talent>
<break_in length="1">5</break_in>
<break_in length="1">10</break_in>
<break_in length="1">15</break_in>
<break_in length="1">20</break_in>
<break_in length="1">25</break_in>
<break_in length="1">30</break_in>
<names_file>denmark</names_file>
<round_robins>2</round_robins>
<yellow_red>5</yellow_red>
<property>inactive</property>
<prom_rel>
<prom_rel_element>
<prom_games>
<prom_games_dest_sid>faroe_islands3</prom_games_dest_sid>
<rank_start>1</rank_start>
<rank_end>3</rank_end>
<number_of_teams>2</number_of_teams>
<dest_sid>faroe_islands3</dest_sid>
<prom_rel_type>promotion</prom_rel_type>
</prom_rel_element>
<prom_games_number_of_advance>2</prom_games_number_of_advance>
<prom_games_cup_sid>faroe_islands4a_finals</prom_games_cup_sid>
</prom_games>
</prom_rel>
<!-- This league is actually split into 3 groups. The first half
of the season is a group stage and then the groups are re-ordered
for the second half based on the standings. However, I'm not sure
how to model this, so for now I just put all the teams in one group.
-->
<teams>
<team>
<team_name>V. Sorvagur II</team_name>
@ -59,34 +45,15 @@
<first_team>B. Toftir</first_team>
<reserve_level>3</reserve_level>
</team>
<team>
<team_name>Streymur V</team_name>
<first_team>Streymur</first_team>
<team_average_talent>1600</team_average_talent>
<reserve_level>5</reserve_level>
</team>
<team>
<team_name>Hoyvík II</team_name>
<first_team>Hoyvík</first_team>
<reserve_level>2</reserve_level>
</team>
<team>
<team_name>Streymur VI</team_name>
<first_team>Streymur</first_team>
<reserve_level>6</reserve_level>
<team_average_talent>1200</team_average_talent>
</team>
<team>
<team_name>Hoyvík III</team_name>
<first_team>Hoyvík</first_team>
<reserve_level>3</reserve_level>
<team_average_talent>2000</team_average_talent>
</team>
<team>
<team_name>N. Runavík IV</team_name>
<first_team>N. Runavík</first_team>
<reserve_level>4</reserve_level>
<team_average_talent>2000</team_average_talent>
</team>
<team>
<team_name>U. Tórshavn II</team_name>
@ -101,6 +68,7 @@
<team>
<team_name>B. Sandur II</team_name>
<first_team>B. Sandur</first_team>
<reserve_level>2</reserve_level>
</team>
<team>
<team_name>Streymur IV</team_name>
@ -116,19 +84,32 @@
<team>
<team_name>N. Runavík V</team_name>
<first_team>N. Runavík</first_team>
<team_average_talent>1600</team_average_talent>
<reserve_level>4</reserve_level>
<team_average_talent>2000</team_average_talent>
<reserve_level>5</reserve_level>
</team>
<team>
<team_name>Skála III</team_name>
<first_team>Skála I.</first_team>
<reserve_level>3</reserve_level>
</team>
<team>
<team_name>Suðuroy II</team_name>
<first_team>Suðuroy</first_team>
<reserve_level>2</reserve_level>
</team>
<team>
<team_name>Miðvágur</team_name>
</team>
<team>
<team_name>Fuglafjørdur II</team_name>
<first_team>Fuglafjørdur</first_team>
<reserve_level>2</reserve_level>
</team>
<team>
<team_name>H. Tórshavn III</team_name>
<first_team>H. Tórshavn</first_team>
<reserve_level>3</reserve_level>
</team>
</teams>
</league>