<commit_before>package sys

import org.scalatest.funsuite.AnyFunSuite
import org.scalatest.matchers.should.Matchers

import scala.sys.SystemProperties
import scala.sys.process.Process

class SysTest extends AnyFunSuite with Matchers {
  test("system properties") {
    val properties = new SystemProperties
    properties.contains("java.runtime.name") shouldBe true

    properties += ("objekt" -> "werks")
    properties.contains("objekt") shouldBe true

    properties -= "objekt"
    properties.getOrElse("objekt", "empty") shouldEqual "empty"
  }

  test("process") {
    val file = Process("ls").lazyLines.find(file => file == "build.sbt")
    file.getOrElse("empty") shouldEqual "build.sbt"

    val line = Process("find build.sbt").lazyLines.headOption
    line.getOrElse("empty") shouldEqual "build.sbt"

    val lines = Process("cat .gitignore").lazyLines
    lines.length shouldEqual 9
  }
}<commit_msg>corrected sys test due to changed build.sbt lines<commit_after>package sys

import org.scalatest.funsuite.AnyFunSuite
import org.scalatest.matchers.should.Matchers

import scala.sys.SystemProperties
import scala.sys.process.Process

class SysTest extends AnyFunSuite with Matchers {
  test("system properties") {
    val properties = new SystemProperties
    properties.contains("java.runtime.name") shouldBe true

    properties += ("objekt" -> "werks")
    properties.contains("objekt") shouldBe true

    properties -= "objekt"
    properties.getOrElse("objekt", "empty") shouldEqual "empty"
  }

  test("process") {
    val file = Process("ls").lazyLines.find(file => file == "build.sbt")
    file.getOrElse("empty") shouldEqual "build.sbt"

    val line = Process("find build.sbt").lazyLines.headOption
    line.getOrElse("empty") shouldEqual "build.sbt"

    val lines = Process("cat .gitignore").lazyLines
    lines.length shouldEqual 6
  }
}
{'fraction_non_alphanumeric': 0.12298603651987111, 'fraction_numerical': 0.0010741138560687433, 'mean_word_length': 4.33810888252149, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '2993105', 'n_tokens_mistral': 581, 'n_tokens_neox': 565, 'n_words': 127}