<commit_before>Feature: governments

As an editor
I want to be able to associate content with a specific government
So that we can appropriately identify less relevant content after elections.

Scenario: creating a government
  Given I am a GDS admin
  When I create a government called "2005 to 2010 Labour government" starting on "06/05/2005"
  Then there should be a government called "2005 to 2010 Labour government" starting on "2005-05-06"

Scenario: ending a government
  Given there is a current government
  And two cabinet ministers "Alice" and "Ben"
  And I am a GDS admin
  When I close the current government
  Then there should be no active ministerial role appointments

Scenario: editing a government's start and end dates
  Given a government exists called "2005 to 2010 Labour government" between dates "06/05/2004" and "11/05/2009"
  And I am a GDS admin
  When I edit the government called "2005 to 2010 Labour government" to have dates "06/05/2005" and "11/05/2010"
  Then there should be a government called "2005 to 2010 Labour government" between dates "2005-05-06" and "2010-05-11"

Scenario: changing government after an election
  Given there is a current government
  And I am a GDS admin
  When I close the current government
  And I create a government called "Robo-alien Overlords"
  Then the current government should be "Robo-alien Overlords"

Scenario: appointing a minister to the new government
  Given I am a GDS admin
  And a person called "<NAME>"
  And "<NAME>" is the "Minister of Crazy" for the "Department of Woah"
  And there is a current government
  When I close the current government
  And I create a government called "Robo-alien Overlords"<commit_msg>Update date formats in governments feature<commit_after>Feature: governments

As an editor
I want to be able to associate content with a specific government
So that we can appropriately identify less relevant content after elections.

Scenario: creating a government
  Given I am a GDS admin
  When I create a government called "2005 to 2010 Labour government" starting on "06/05/2005"
  Then there should be a government called "2005 to 2010 Labour government" starting on "6 May 2005"

Scenario: ending a government
  Given there is a current government
  And two cabinet ministers "Alice" and "Ben"
  And I am a GDS admin
  When I close the current government
  Then there should be no active ministerial role appointments

Scenario: editing a government's start and end dates
  Given a government exists called "2005 to 2010 Labour government" between dates "06/05/2004" and "11/05/2009"
  And I am a GDS admin
  When I edit the government called "2005 to 2010 Labour government" to have dates "06/05/2005" and "11/05/2010"
  Then there should be a government called "2005 to 2010 Labour government" between dates "6 May 2005" and "11 May 2010"

Scenario: changing government after an election
  Given there is a current government
  And I am a GDS admin
  When I close the current government
  And I create a government called "Robo-alien Overlords"
  Then the current government should be "Robo-alien Overlords"

Scenario: appointing a minister to the new government
  Given I am a GDS admin
  And a person called "<NAME>"
  And "<NAME>" is the "Minister of Crazy" for the "Department of Woah"
  And there is a current government
  When I close the current government
  And I create a government called "Robo-alien Overlords"
{'fraction_non_alphanumeric': 0.043706293706293704, 'fraction_numerical': 0.05827505827505827, 'mean_word_length': 4.154654654654655, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6316747', 'n_tokens_mistral': 1048, 'n_tokens_neox': 883, 'n_words': 528}