<commit_before>- breadcrumb link_to 'Scenarios', data_scenarios_path
- breadcrumb "##{@scenario.id} #{@scenario.title}"

%dl
  %dt Title
  %dd= @scenario.title
  %dt End Year
  %dd= @scenario.end_year
  %dt Area
  %dd= @scenario.area_code
  %dt In start menu
  %dd= @scenario.in_start_menu
  %dt Protected
  %dd= @scenario.protected
  %dt Inputs
  %dd
    %table
      %thead
        %tr
          %th Id
          %th Key
          %th Value 
      - @scenario.user_values.sort.each do |pair|
        - k, v = pair
        - input = Input.find(k) rescue nil
        %tr
          %td= k
          - if input
            %td= link_to input.key, data_input_path(:id => input.id)
          - else
            %td.red missing!
          %td= v
  

%p
  = link_to 'edit', edit_data_scenario_path(:id => @scenario)<commit_msg>data section: fixed scenario detail page<commit_after>- breadcrumb link_to 'Scenarios', data_scenarios_path
- breadcrumb "##{@scenario.id} #{@scenario.title}"

%dl
  %dt Title
  %dd= @scenario.title
  %dt End Year
  %dd= @scenario.end_year
  %dt Area
  %dd= @scenario.area_code
  %dt In start menu
  %dd= @scenario.in_start_menu
  %dt Protected
  %dd= @scenario.protected
  %dt Inputs
  %dd
    %table
      %thead
        %tr
          %th Id
          %th Key
          %th Value
      - @scenario.user_values.sort.each do |pair|
        - k, v = pair
        - input = Input.get(k) rescue nil
        %tr
          %td= k
          - if input
            %td= link_to input.key, data_input_path(:id => input.id)
          - else
            %td.red missing!
          %td= v


%p
  = link_to 'edit', edit_data_scenario_path(:id => @scenario)
{'fraction_non_alphanumeric': 0.12192192192192192, 'fraction_numerical': 0.0, 'mean_word_length': 1.9696969696969697, 'pattern_counts': {'":': 0, '<': 3, '<?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': '2874577', 'n_tokens_mistral': 613, 'n_tokens_neox': 605, 'n_words': 152}