<commit_before>.incident
  .row-fluid
    .span4
      %h3.name= incident.defendant_name
      %p.docket-number= incident.docket_number

    .span3.offset2
      - if incident.on_parole?
        = build_disc("PA", "parole", "On Parole")
      - if incident.on_probation?
        = build_disc("PR", "probation", "On Probation")
      - if incident.has_outstanding_bench_warrant?
        = build_disc("W", "warrant", "Has Outstanding Bench Warrant")
      - if incident.persistent_misdemeanant?
        = build_disc("PM", "persistent-misdemeanant", "Persistent Misdemeanant")
      - if incident.has_failed_to_appear?
        = build_disc("FTA", "failure-to-appear", "Has failed to appear in court")
    .span3
      %span.court-date-note Next Court Date
      %h3.court-date= incident.next_court_date.strftime("%b %-d")

  .row-fluid
    .span3
      %p
        %span.sex= format_sex(incident.defendant_sex) + ", "
        %span.age= incident.defendant_age
    .span3
      %p.severity= incident.top_charge_code_expanded
      %p.charge-code= format_top_charge(incident)                          
    .span3
      %p.priors
        %span.count= incident.number_of_prior_criminal_convictions 
        Criminal Convictions
      %p.priors
        %span.count= incident.number_of_other_open_cases
        Other Open Cases
    .span3
      %p.court-part= incident.next_court_part
      %p= incident.next_courthouse

  .row-fluid
    .span3.offset3
      %p.ror-recommendation= incident.recommendations.join(", ")
    .span3
      %p= incident.arraignment_outcome<commit_msg>WIP #147: Try a single-row/multi-coumn approach to laying out the incident view.<commit_after>.incident
  .row-fluid
    .span3
      %h3.name= incident.defendant_name
      %p.docket-number= incident.docket_number
      %p
        %span.sex= format_sex(incident.defendant_sex) + ", "
        %span.age= incident.defendant_age

    .span3     
      %p
        %span.severity= incident.top_charge_code_expanded
        &mdash;
        %span.charge-code= format_top_charge(incident)
      %p.priors
        %span.count= incident.number_of_prior_criminal_convictions 
        Criminal Convictions
      %p.priors
        %span.count= incident.number_of_other_open_cases
        Other Open Cases   
      %p
        - if incident.on_parole?
          = build_disc("PA", "parole", "On Parole")
        - if incident.on_probation?
          = build_disc("PR", "probation", "On Probation")
        - if incident.has_outstanding_bench_warrant?
          = build_disc("W", "warrant", "Has Outstanding Bench Warrant")
        - if incident.persistent_misdemeanant?
          = build_disc("PM", "persistent-misdemeanant", "Persistent Misdemeanant")
        - if incident.has_failed_to_appear?
          = build_disc("FTA", "failure-to-appear", "Has failed to appear in court")

    .span3
      %span.court-date-note Next Court Date
      %h3.court-date= incident.next_court_date.strftime("%b %-d")
      %p.court-part= incident.next_court_part
      %p= incident.next_courthouse

    .span3
      %p= incident.arraignment_outcome
      %p.ror-recommendation= incident.recommendations.join(", ")
{'fraction_non_alphanumeric': 0.11318960050729232, 'fraction_numerical': 0.006975269499048827, 'mean_word_length': 2.605714285714286, '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': '3064061', 'n_tokens_mistral': 1103, 'n_tokens_neox': 1040, 'n_words': 182}