<commit_before>class AddHhpCopCostChart < ActiveRecord::Migration[5.2]
  def up
    type = OutputElementType.create!(name: 'hhp_cop_cost')

    chart = OutputElement.create!(
      key: 'household_network_gas_hhp_cop_cost',
      output_element_type: type,
      unit: '€/MW',
      group: 'Cost'
    )

    OutputElementSerie.create!(
      output_element: chart,
      color: 'green',
      label: 'optimal_threshold',
      gquery: 'household_space_heater_hhp_cost_optimal_threshold_cop',
      order_by: 1
    )

    OutputElementSerie.create!(
      output_element: chart,
      color: '#ffa500',
      label: 'electricity',<commit_msg>HHP COP chart unit is euro/MJ heat<commit_after>class AddHhpCopCostChart < ActiveRecord::Migration[5.2]
  def up
    type = OutputElementType.create!(name: 'hhp_cop_cost')

    chart = OutputElement.create!(
      key: 'household_network_gas_hhp_cop_cost',
      output_element_type: type,
      unit: '€/MJ heat',
      group: 'Cost'
    )

    OutputElementSerie.create!(
      output_element: chart,
      color: 'green',
      label: 'optimal_threshold',
      gquery: 'household_space_heater_hhp_cost_optimal_threshold_cop',
      order_by: 1
    )

    OutputElementSerie.create!(
      output_element: chart,
      color: '#ffa500',
      label: 'electricity',
{'fraction_non_alphanumeric': 0.10779816513761468, 'fraction_numerical': 0.009174311926605505, 'mean_word_length': 3.32013201320132, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2646179', 'n_tokens_mistral': 449, 'n_tokens_neox': 430, 'n_words': 78}