<commit_before>package kippercalendar.acceptance

import im.mange.driveby.{BrowserTypes, DriveBy, DriveByConfig}

object WebSpecificationSuite {
  DriveByConfig.applicationControllers = BuildConfig.applicationControllers()
  DriveByConfig.browserInstances = 1
  DriveByConfig.trackingVerbose = true

  BrowserTypes.chrome.driverBinary = "tools/chromedriver"
  BrowserTypes.phantomjs.driverBinary =
    System.getProperty("os.name") match {
      case "Mac OS X" ⇒ "tools/phantomjs-1.9.8-macosx/bin/phantomjs"
      case "Linux"    ⇒ "tools/phantomjs-1.9.8-linux-x86_64/bin/phantomjs"
//      case "Linux"    ⇒ "phantomjs"
      case other      ⇒ throw new IllegalArgumentException(s"Unsupported operating system: $other")
    }

  DriveByConfig.browserType = BuildConfig.browserType

  DriveBy.start()
}<commit_msg>see if the problem is phantomjs not being found<commit_after>package kippercalendar.acceptance

import im.mange.driveby.{BrowserTypes, DriveBy, DriveByConfig}

object WebSpecificationSuite {
  DriveByConfig.applicationControllers = BuildConfig.applicationControllers()
  DriveByConfig.browserInstances = 1
  DriveByConfig.trackingVerbose = true

  BrowserTypes.chrome.driverBinary = "tools/chromedriver"
  BrowserTypes.phantomjs.driverBinary =
    System.getProperty("os.name") match {
      case "Mac OS X" ⇒ "tools/phantomjs-1.9.8-macosx/bin/phantomjs"
      case "Linux"    ⇒ "tools/non_existant_file"
//      case "Linux"    ⇒ "tools/phantomjs-1.9.8-linux-x86_64/bin/phantomjs"
//      case "Linux"    ⇒ "phantomjs"
      case other      ⇒ throw new IllegalArgumentException(s"Unsupported operating system: $other")
    }

  DriveByConfig.browserType = BuildConfig.browserType

  DriveBy.start()
}
{'fraction_non_alphanumeric': 0.10256410256410256, 'fraction_numerical': 0.01282051282051282, 'mean_word_length': 4.250764525993884, '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': '5012984', 'n_tokens_mistral': 564, 'n_tokens_neox': 547, 'n_words': 102}