<commit_before>require 'rack'

module Uki
  class Server
    @@host = 'localhost'
    @@port = 21119 # 21 u, 11 k, 9 i

    def self.host
      @@host
    end

    def self.port
      @@port
    end
    
    def initialize hoststr
      @host, @port  = (hoststr || @@host).split(':')
      @port ||= @@port 
    end<commit_msg>make uki can run two server meanwhile<commit_after>require 'rack'

module Uki
  class Server
    @@host = 'localhost'
    @@port = 21119 # 21 u, 11 k, 9 i

    def self.host
      @@host
    end

    def self.port
      @@port
    end
    
    def initialize hoststr
      @port ||= @@port 
      @host, @port  = (hoststr || @@host).split(':')
      @@port = @port if @port
      @@host = @host if @host
    end
{'fraction_non_alphanumeric': 0.13279132791327913, 'fraction_numerical': 0.02710027100271003, 'mean_word_length': 1.9678714859437751, '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': '1630468', 'n_tokens_mistral': 289, 'n_tokens_neox': 247, 'n_words': 81}