<commit_before># -*- coding: utf-8 -*-
require 'fontana_client_support'

require 'timeout'

include Fontana::CommandUtils
extend Fontana::RakeUtils


namespace :server do
  task :wait_to_launch do
    sleep( (ENV["FONTANA_WAIT_TO_LAUNCH"] || 20).to_i ) # 実際にポートをLINSTENするまで待ちたい
  end
end

def build_env_str(env)
  env.each_with_object([]){|(k,v), d|
    d << "#{k.to_s}=#{v.to_s}"
  }.join(" ")
end

{
  development: {http_port: 3000, https_port: 3001 },<commit_msg>使わなくなったタスクを削除しました<commit_after># -*- coding: utf-8 -*-
require 'fontana_client_support'

require 'timeout'

include Fontana::CommandUtils
extend Fontana::RakeUtils

def build_env_str(env)
  env.each_with_object([]){|(k,v), d|
    d << "#{k.to_s}=#{v.to_s}"
  }.join(" ")
end

{
  development: {http_port: 3000, https_port: 3001 },
{'fraction_non_alphanumeric': 0.1708542713567839, 'fraction_numerical': 0.02512562814070352, 'mean_word_length': 5.083969465648855, 'pattern_counts': {'":': 0, '<': 7, '<?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': '4882514', 'n_tokens_mistral': 357, 'n_tokens_neox': 336, 'n_words': 60}