<commit_before>require 'work_dir/base'

module WorkDir
  # A static website
  class Phantom < Base
    def capture_screenshot(url)
      working_dir do
        cp '../../../../autotune/lib/work_dir/screenshot.js', '.'
        phantomjs 'screenshot.js', url
        rm 'screenshot.js'
      end
    end
<commit_msg>update copy to account for change in base.rb<commit_after>require 'work_dir/base'

module WorkDir
  # A static website
  class Phantom < Base
    def capture_screenshot(url)
      working_dir do
        cp '../../../../autotune/lib/work_dir/screenshot.js', 'screenshot.js'
        phantomjs 'screenshot.js', url
        rm 'screenshot.js'
      end
    end

{'fraction_non_alphanumeric': 0.11773472429210134, 'fraction_numerical': 0.0, 'mean_word_length': 2.3768844221105527, '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': '5360101', 'n_tokens_mistral': 227, 'n_tokens_neox': 222, 'n_words': 54}