<commit_before>bioguide: G000535
contact_form:
  method: get
  action: /forms/writeyourrep/
  steps:
    - visit: "http://gutierrezforms.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: "#aspnetForm"
    - fill_in:
        - name: ctl00$ctl19$FirstName
          selector: "#ctl00_ctl19_FirstName"
          value: $NAME_FIRST
          required: true
        - name: ctl00$ctl19$LastName
          selector: "#ctl00_ctl19_LastName"
          value: $NAME_LAST
          required: true
        - name: ctl00$ctl19$Street
          selector: "#ctl00_ctl19_Street"
          value: $ADDRESS_STREET
          required: true
        - name: ctl00$ctl19$City
          selector: "#ctl00_ctl19_City"
          value: $ADDRESS_CITY
          required: true
        - name: ctl00$ctl19$Zip
          selector: "#ctl00_ctl19_Zip"
          value: $ADDRESS_ZIP5
          required: true
        - name: ctl00$ctl19$Phone
          selector: "#ctl00_ctl19_Phone"
          value: $PHONE
          required: true
        - name: ctl00$ctl19$Email
          selector: "#ctl00_ctl19_Email"
          value: $EMAIL
          required: true
        - name: ctl00$ctl19$Subject
          selector: "#ctl00_ctl19_Subject"
          value: $SUBJECT
          required: true
        - name: ctl00$ctl19$Body
          selector: "#ctl00_ctl19_Body"
          value: $MESSAGE
          required: true
    - select:
        - name: ctl00$ctl19$PrefixList
          selector: "#ctl00_ctl19_PrefixList"
          value: $NAME_PREFIX
          required: true
          options:
            - Mr.
            - Mrs.
            - Dr.
            - Ms.
        - name: ctl00$ctl19$State
          selector: "#ctl00_ctl19_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$ctl19$IssuesList
          selector: "#ctl00_ctl19_IssuesList"
          value: $TOPIC
          required: true
          options:
            Agriculture: "102421"
            Civil Rights: "102343"
            Crime: "102290"
            Defense: "102386"
            Education: "102420"
            Energy: "102222"
            Environment: "101861"
            Financial Services: "102181"
            Foreign Affairs: "102031"
            Health Care: "102419"
            Homeland Security: "102224"
            Immigration: "102041"
            Labor and Employment: "102011"
            Taxation: "101909"
            Transportation and Infrastructure: "102418"
    - check:
        - name: ctl00$ctl19$ReplyChoice
          selector: "#ctl00_ctl19_ReplyChoice_0"
          value: Respond
    - javascript:
        - value: document.querySelector("#ctl00_ctl19_Body").value = document.querySelector("#ctl00_ctl19_Body").value.replace(/"/g, '');
    - click_on:
        - value: Submit
          selector: "#ctl00_ctl19_SubmitButton"
    - find:
        - selector: "span#ctl00_ctl19_ConfirmationText"
          value: "Thank you"
  success:
    headers:
      status: 200
    body:
      contains: "Thank you for taking the time to write me"<commit_msg>update G000535<commit_after>bioguide: G000535
contact_form:
  method: get
  action: /forms/writeyourrep/
  steps:
    - visit: "http://gutierrezforms.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']"
    - fill_in:
        - name: ctl00$ctl26$FirstName
          selector: "#ctl00_ctl26_FirstName"
          value: $NAME_FIRST
          required: true
        - name: ctl00$ctl26$LastName
          selector: "#ctl00_ctl26_LastName"
          value: $NAME_LAST
          required: true
        - name: ctl00$ctl26$Street
          selector: "#ctl00_ctl26_Street"
          value: $ADDRESS_STREET
          required: true
        - name: ctl00$ctl26$City
          selector: "#ctl00_ctl26_City"
          value: $ADDRESS_CITY
          required: true
        - name: ctl00$ctl26$Zip
          selector: "#ctl00_ctl26_Zip"
          value: $ADDRESS_ZIP5
          required: true
        - name: ctl00$ctl26$Phone
          selector: "#ctl00_ctl26_Phone"
          value: $PHONE
          required: true
        - name: ctl00$ctl26$Email
          selector: "#ctl00_ctl26_Email"
          value: $EMAIL
          required: true
        - name: ctl00$ctl26$Subject
          selector: "#ctl00_ctl26_Subject"
          value: $SUBJECT
          required: true
        - name: ctl00$ctl26$Body
          selector: "#ctl00_ctl26_Body"
          value: $MESSAGE
          required: true
    - select:
        - name: ctl00$ctl26$PrefixList
          selector: "#ctl00_ctl26_PrefixList"
          value: $NAME_PREFIX
          required: true
          options:
            - Mr.
            - Mrs.
            - Dr.
            - Ms.
        - name: ctl00$ctl26$IssuesList
          selector: "#ctl00_ctl26_IssuesList"
          value: $TOPIC
          required: true
          options:
            Agriculture: "102421"
            Civil Rights: "102343"
            Crime: "102290"
            Defense: "102386"
            Education: "102420"
            Energy: "102222"
            Environment: "101861"
            Financial Services: "102181"
            Foreign Affairs: "102031"
            Health Care: "102419"
            Homeland Security: "102224"
            Immigration: "102041"
            Labor and Employment: "102011"
            Taxation: "101909"
            Transportation and Infrastructure: "102418"
    - check:
        - name: ctl00$ctl26$ReplyChoice
          selector: "#ctl00_ctl26_ReplyChoice_0"
          value: Respond
    - javascript:
        - value: document.querySelector("#ctl00_ctl26_Body").value = document.querySelector("#ctl00_ctl26_Body").value.replace(/"/g, '');
    - click_on:
        - value: Submit
          selector: "#ctl00_ctl26_SubmitButton"
  success:
    headers:
      status: 200
    body:
      contains: Thank you
{'fraction_non_alphanumeric': 0.09160205020370614, 'fraction_numerical': 0.05887764489420423, 'mean_word_length': 1.292859294968364, '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': '1835294', 'n_tokens_mistral': 2505, 'n_tokens_neox': 2230, 'n_words': 473}