<commit_before>object chart {
  import scalax.chart._
  import scalax.chart.Charting._

  def main(args: Array[String]) = {
    val data    = Seq((1,2),(2,4),(3,6),(4,8))
    val dataset = data.toXYSeriesCollection("some points")
    val chart = XYLineChart(dataset, title = "My Chart of Some Points")
    chart.show
//    chart.saveAsPNG(new java.io.File("/tmp/chart.png"), (1024,768))
//    chart.saveAsJPEG(new java.io.File("/tmp/chart.jpg"), (1024,768))
    chart.saveAsPDF("chart.pdf", (1024,768))
  }
}<commit_msg>adjust slightly<commit_after>object chart {
  import scalax.chart._
  import scalax.chart.Charting._

  def main(args: Array[String]) = {
    val data    = Seq((1,2),(2,4),(3,6),(4,8))
    val dataset = data.toXYSeriesCollection("some points")
    val chart = XYLineChart(dataset, title = "My Chart of Some Points")
    chart.show
    chart.saveAsPDF("r:/chart.pdf", (1024,768))
  }
}
{'fraction_non_alphanumeric': 0.1747787610619469, 'fraction_numerical': 0.048672566371681415, 'mean_word_length': 3.839572192513369, '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': '4355527', 'n_tokens_mistral': 351, 'n_tokens_neox': 318, 'n_words': 63}