<commit_before>class Moob::Megatrends < Moob::BaseLom
    @@name = 'American Megatrends'

    def initialize hostname, options = {}
        super hostname, options
        @username ||= 'root'
        @password ||= '<PASSWORD>'
        begin
            @ip = Socket.getaddrinfo(hostname, nil)[0][2]
        rescue
            raise Exception.new "Couldn't resolve \"#{hostname}\""
        end<commit_msg>megatrends: always use an IP<commit_after>class Moob::Megatrends < Moob::BaseLom
    @@name = 'American Megatrends'

    def initialize hostname, options = {}
        super hostname, options
        @username ||= 'root'
        @password ||= '<PASSWORD>'
        begin
            @ip = Socket.getaddrinfo(hostname, nil)[0][3]
        rescue
            raise Exception.new "Couldn't resolve \"#{hostname}\""
        end
{'fraction_non_alphanumeric': 0.1296969696969697, 'fraction_numerical': 0.0048484848484848485, 'mean_word_length': 2.39917695473251, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, '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': '317695', 'n_tokens_mistral': 250, 'n_tokens_neox': 245, 'n_words': 59}