<commit_before>package tpch

import java.io.{File, PrintWriter}

import scala.math.BigDecimal.RoundingMode

class Result {

  val power : scala.collection.mutable.Map[Int, Seq[BigDecimal]] = scala.collection.mutable.Map()


  def recordPowerRes(index: Int, time: Long): Unit = {
    val timeInSec = time.toDouble / 1000
    power += (index -> Seq(BigDecimal(timeInSec).setScale(2, RoundingMode.HALF_EVEN), BigDecimal(scala.math.log10(timeInSec)).setScale(2, RoundingMode.HALF_EVEN)))<commit_msg>bugfix<commit_after>package tpch

import java.io.{File, PrintWriter}

import scala.math.BigDecimal.RoundingMode

class Result {

  val power : scala.collection.mutable.Map[Int, Seq[BigDecimal]] = scala.collection.mutable.Map()


  def recordPowerRes(index: Int, time: Long): Unit = {
    val timeInSec = time.toDouble / 1000
    power += (index -> Seq(BigDecimal(timeInSec).setScale(2, RoundingMode.HALF_EVEN), BigDecimal(scala.math.log(timeInSec)).setScale(2, RoundingMode.HALF_EVEN)))
{'fraction_non_alphanumeric': 0.1325178389398573, 'fraction_numerical': 0.014271151885830785, 'mean_word_length': 5.4183006535947715, 'pattern_counts': {'":': 0, '<': 3, '<?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': '7135310', 'n_tokens_mistral': 352, 'n_tokens_neox': 340, 'n_words': 59}