<commit_before>bioguide: G000560
contact_form:
  method: get
  action: /forms/writeyourrep/
  steps:
    - visit: "http://tomgraves.house.gov/contact/"
    - fill_in:
        - name: zip5
          selector: "form.zipform input[name='zip5']"
          value: $ADDRESS_ZIP5
          required: true
        - name: zip4
          selector: "form.zipform input[name='zip4']"
          value: $ADDRESS_ZIP4
          required: true
    - click_on:
        - value: Submit
          selector: "form.zipform input[type='submit'][value='Submit']"
    - find:
      - selector: "#contactForm"
    - fill_in:
      - name: ctl00$ctl14$FirstName
        selector: "#ctl00_ctl14_FirstName"
        value: $NAME_FIRST
        required: true
      - name: ctl00$ctl14$LastName
        selector: "#ctl00_ctl14_LastName"
        value: $NAME_LAST
        required: true
      - name: ctl00$ctl14$Street
        selector: "#ctl00_ctl14_Street"
        value: $ADDRESS_STREET
        required: true
      - name: ctl00$ctl14$City
        selector: "#ctl00_ctl14_City"
        value: $ADDRESS_CITY
        required: true
      - name: ctl00$ctl14$Zip
        selector: "#ctl00_ctl14_Zip"
        value: $ADDRESS_ZIP5
        required: true
      - name: ctl00$ctl14$Phone
        selector: "#ctl00_ctl14_Phone"
        value: $PHONE
        required: true
      - name: ctl00$ctl14$Email
        selector: "#ctl00_ctl14_Email"
        value: $EMAIL
        required: true
      - name: ctl00$ctl14$Subject
        selector: "#ctl00_ctl14_Subject"
        value: $SUBJECT
        required: true
      - name: ctl00$ctl14$Body
        selector: "#ctl00_ctl14_Body"
        value: $MESSAGE
        required: true
      - name: ctl00$ctl14$CampaignID
        selector: "#ctl00_ctl14_CampaignID"
        value: $CAMPAIGN_UUID
        required: false
      - name: ctl00$ctl14$CampaignInfo
        selector: "#ctl00_ctl14_CampaignInfo"
        value: $CAMPAIGN_UUID
        required: false
  - select:
      - name: ctl00$ctl14$PrefixList
        selector: "#ctl00_ctl14_PrefixList"
        value: $NAME_PREFIX
        required: true
        options:
          - Mr.
          - Mrs.
          - Ms.
          - Miss
          - Mr. and Mrs.
          - Dr.
          - The Honorable
          - The Reverend
          - Rabbi
          - Airman
          - Brigadier General
          - Cadet
          - Captain
          - Chaplain
          - Chief Master Sergeant
          - Chief Petty Officer
          - Chief Warrant Officer
          - Colonel
          - Commander
          - Command Sergeant Major
          - Congressman
          - Congresswoman
          - Corporal
          - Ensign
          - First Lieutenant
          - First Sergeant
          - General
          - Gunnery Sergeant
          - Lance Corporal
          - Lieutenant
          - Lieutenant Colonel
          - Lieutenant Commander
          - Lieutenant General
          - Lieutenant Junior Grade
          - Major
          - Major General
          - Master Chief Petty Officer
          - Master Gunnery Sergeant
          - Master Sergeant
          - Pastor
          - Private
          - Private First Class
          - Seaman
          - Senator
          - Sergeant
          - Sergeant Major
          - Sheriff
          - Staff Sergeant
          - Warrant Officer
      - name: ctl00$ctl14$State
        selector: "#ctl00_ctl14_State"
        value: $ADDRESS_STATE_POSTAL_ABBREV
        required: true
        options:
          - AL
          - AK
          - AZ
          - AR
          - CA
          - CO
          - CT
          - DE
          - DC
          - FL
          - GA
          - HI
          - ID
          - IL
          - IN
          - IA
          - KS
          - KY
          - LA
          - ME
          - MD
          - MA
          - MI
          - MN
          - MS
          - MO
          - MT
          - NE
          - NV
          - NH
          - NJ
          - NM
          - NY
          - NC
          - ND
          - OH
          - OK
          - OR
          - PA
          - RI
          - SC
          - SD
          - TN
          - TX
          - UT
          - VT
          - VA
          - WA
          - WV
          - WI
          - WY
          - AA
          - AE
          - AP
          - FM
          - GU
          - MH
          - MP
          - PR
          - VI
      - name: ctl00$ctl14$IssuesList
        selector: "#ctl00_ctl14_IssuesList"
        value: $TOPIC
        required: false
        options:
          Abortion: "19311"
          Agriculture: "107405"
          Congressional ethics: "107409"
          Defense: "19355"
          Economy: "107410"
          Education: "19389"
          Energy: "19190"
          Environment: "19173"
          Foreign Affairs: "18997"
          Government: "19117"
          Gun Control: "107407"
          Health Care: "53137"
          Housing: "19021"
          Immigration: "53135"
          Labor: "18977"
          Medicare: "19037"
          National Budget: "107408"
          National Security: "18824"
          Social Security: "18828"
          Taxes: "18875"
          Telecommunications: "107406"
          Trade: "19131"
          Transportation: "53138"
          Veterans: "18823"
  - check:
      - name: ctl00$ctl14$ReplyChoice
        selector: "#ctl00_ctl14_ReplyChoice_0"
        value: Respond
  - click_on:
      - value: Submit
        selector: "#ctl00_ctl14_SubmitButton"
success:
  headers:
    status: 200
  body:
    contains: Thank you for taking the time to write me<commit_msg>Fix indentation for the hand-merged portion for the HTTPS section<commit_after>bioguide: G000560
contact_form:
  method: get
  action: /forms/writeyourrep/
  steps:
    - visit: "http://tomgraves.house.gov/contact/"
    - fill_in:
        - name: zip5
          selector: "form.zipform input[name='zip5']"
          value: $ADDRESS_ZIP5
          required: true
        - name: zip4
          selector: "form.zipform input[name='zip4']"
          value: $ADDRESS_ZIP4
          required: true
    - click_on:
        - value: Submit
          selector: "form.zipform input[type='submit'][value='Submit']"
    - find:
      - selector: "#contactForm"
    - fill_in:
      - name: ctl00$ctl14$FirstName
        selector: "#ctl00_ctl14_FirstName"
        value: $NAME_FIRST
        required: true
      - name: ctl00$ctl14$LastName
        selector: "#ctl00_ctl14_LastName"
        value: $NAME_LAST
        required: true
      - name: ctl00$ctl14$Street
        selector: "#ctl00_ctl14_Street"
        value: $ADDRESS_STREET
        required: true
      - name: ctl00$ctl14$City
        selector: "#ctl00_ctl14_City"
        value: $ADDRESS_CITY
        required: true
      - name: ctl00$ctl14$Zip
        selector: "#ctl00_ctl14_Zip"
        value: $ADDRESS_ZIP5
        required: true
      - name: ctl00$ctl14$Phone
        selector: "#ctl00_ctl14_Phone"
        value: $PHONE
        required: true
      - name: ctl00$ctl14$Email
        selector: "#ctl00_ctl14_Email"
        value: $EMAIL
        required: true
      - name: ctl00$ctl14$Subject
        selector: "#ctl00_ctl14_Subject"
        value: $SUBJECT
        required: true
      - name: ctl00$ctl14$Body
        selector: "#ctl00_ctl14_Body"
        value: $MESSAGE
        required: true
      - name: ctl00$ctl14$CampaignID
        selector: "#ctl00_ctl14_CampaignID"
        value: $CAMPAIGN_UUID
        required: false
      - name: ctl00$ctl14$CampaignInfo
        selector: "#ctl00_ctl14_CampaignInfo"
        value: $CAMPAIGN_UUID
        required: false
    - select:
        - name: ctl00$ctl14$PrefixList
          selector: "#ctl00_ctl14_PrefixList"
          value: $NAME_PREFIX
          required: true
          options:
            - Mr.
            - Mrs.
            - Ms.
            - Miss
            - Mr. and Mrs.
            - Dr.
            - The Honorable
            - The Reverend
            - Rabbi
            - Airman
            - Brigadier General
            - Cadet
            - Captain
            - Chaplain
            - Chief Master Sergeant
            - Chief Petty Officer
            - Chief Warrant Officer
            - Colonel
            - Commander
            - Command Sergeant Major
            - Congressman
            - Congresswoman
            - Corporal
            - Ensign
            - First Lieutenant
            - First Sergeant
            - General
            - Gunnery Sergeant
            - Lance Corporal
            - Lieutenant
            - Lieutenant Colonel
            - Lieutenant Commander
            - Lieutenant General
            - Lieutenant Junior Grade
            - Major
            - Major General
            - Master Chief Petty Officer
            - Master Gunnery Sergeant
            - Master Sergeant
            - Pastor
            - Private
            - Private First Class
            - Seaman
            - Senator
            - Sergeant
            - Sergeant Major
            - Sheriff
            - Staff Sergeant
            - Warrant Officer
        - name: ctl00$ctl14$State
          selector: "#ctl00_ctl14_State"
          value: $ADDRESS_STATE_POSTAL_ABBREV
          required: true
          options:
            - AL
            - AK
            - AZ
            - AR
            - CA
            - CO
            - CT
            - DE
            - DC
            - FL
            - GA
            - HI
            - ID
            - IL
            - IN
            - IA
            - KS
            - KY
            - LA
            - ME
            - MD
            - MA
            - MI
            - MN
            - MS
            - MO
            - MT
            - NE
            - NV
            - NH
            - NJ
            - NM
            - NY
            - NC
            - ND
            - OH
            - OK
            - OR
            - PA
            - RI
            - SC
            - SD
            - TN
            - TX
            - UT
            - VT
            - VA
            - WA
            - WV
            - WI
            - WY
            - AA
            - AE
            - AP
            - FM
            - GU
            - MH
            - MP
            - PR
            - VI
        - name: ctl00$ctl14$IssuesList
          selector: "#ctl00_ctl14_IssuesList"
          value: $TOPIC
          required: false
          options:
            Abortion: "19311"
            Agriculture: "107405"
            Congressional ethics: "107409"
            Defense: "19355"
            Economy: "107410"
            Education: "19389"
            Energy: "19190"
            Environment: "19173"
            Foreign Affairs: "18997"
            Government: "19117"
            Gun Control: "107407"
            Health Care: "53137"
            Housing: "19021"
            Immigration: "53135"
            Labor: "18977"
            Medicare: "19037"
            National Budget: "107408"
            National Security: "18824"
            Social Security: "18828"
            Taxes: "18875"
            Telecommunications: "107406"
            Trade: "19131"
            Transportation: "53138"
            Veterans: "18823"
    - check:
        - name: ctl00$ctl14$ReplyChoice
          selector: "#ctl00_ctl14_ReplyChoice_0"
          value: Respond
    - click_on:
        - value: Submit
          selector: "#ctl00_ctl14_SubmitButton"
  success:
    headers:
      status: 200
    body:
      contains: Thank you for taking the time to write me
{'fraction_non_alphanumeric': 0.07772782292927546, 'fraction_numerical': 0.04616980805810133, 'mean_word_length': 1.0718251835930503, 'pattern_counts': {'":': 0, '<': 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': '2184261', 'n_tokens_mistral': 3584, 'n_tokens_neox': 3220, 'n_words': 768}