<commit_before>{
    "id": "mtg_phases_cheat_sheet",
    "name": "Magic: The Gathering Phases and Steps",
    "description": "Turn Structure",
    "metadata": {
        "sourceName": "WoTC",
        "sourceUrl": "http://archive.wizards.com/Magic/tcg/article.aspx?x=magic/rules"
    },
    "section_order": [
        "Beginning Phase",
        "Precombat Main Phase",
        "Combat Phase",
        "Postcombat Main Phase",
        "Ending Phase"
    ],
    "sections": {
        "Beginning Phase": [
            {
                "key": "Untap Step",
                "val": "The active player untaps the permanents they control. The active player doesn't recieve priority."
            },
            {
                "key": "Upkeep Step",
                "val": "Complete any actions or pay any costs that occur during upkeep. The active player recieves priority now."
            },
            {
                "key": "Draw Step",
                "val": "The active player draws a card for the turn. This does not use the stack."
            }
        ],
        "Precombat Main Phase": [
            {
                "key": "(No Step)",
                "val": "The active player may play a land (if one hasn't been played this turn), play spells (the opponent may use abilities and instants in response). Lasts until neither player wants to use a spell or ability (i.e. the stack is empty and all players pass priority)."
            }
        ],
        "Combat Phase": [
            {
                "key": "Beginning of Combat Step",
                "val": "Play instants or activate abilities. The active player which player will be attacked."
            },
            {
                "key": "Declare Attackers Step",
                "val": "The active player declares whether a creature will attack an opponent or their planeswalker."
            },<commit_msg>Added declares. See rule 507.1 for declaring which player becomes the defending player.<commit_after>{
    "id": "mtg_phases_cheat_sheet",
    "name": "Magic: The Gathering Phases and Steps",
    "description": "Turn Structure",
    "metadata": {
        "sourceName": "WoTC",
        "sourceUrl": "http://archive.wizards.com/Magic/tcg/article.aspx?x=magic/rules"
    },
    "section_order": [
        "Beginning Phase",
        "Precombat Main Phase",
        "Combat Phase",
        "Postcombat Main Phase",
        "Ending Phase"
    ],
    "sections": {
        "Beginning Phase": [
            {
                "key": "Untap Step",
                "val": "The active player untaps the permanents they control. The active player doesn't recieve priority."
            },
            {
                "key": "Upkeep Step",
                "val": "Complete any actions or pay any costs that occur during upkeep. The active player recieves priority now."
            },
            {
                "key": "Draw Step",
                "val": "The active player draws a card for the turn. This does not use the stack."
            }
        ],
        "Precombat Main Phase": [
            {
                "key": "(No Step)",
                "val": "The active player may play a land (if one hasn't been played this turn), play spells (the opponent may use abilities and instants in response). Lasts until neither player wants to use a spell or ability (i.e. the stack is empty and all players pass priority)."
            }
        ],
        "Combat Phase": [
            {
                "key": "Beginning of Combat Step",
                "val": "Play instants or activate abilities. The active player declares which player will be attacked."
            },
            {
                "key": "Declare Attackers Step",
                "val": "The active player declares whether a creature will attack an opponent or their planeswalker."
            },
{'fraction_non_alphanumeric': 0.10387919812548815, 'fraction_numerical': 0.001041395469929706, 'mean_word_length': 1.7423269093504639, 'pattern_counts': {'":': 46, '<': 3, '<?xml version=': 0, '>': 3, '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': '5551560', 'n_tokens_mistral': 1025, 'n_tokens_neox': 956, 'n_words': 383}