<commit_before>import org.apache.spark.SparkContext
import org.apache.spark.SparkConf
import org.apache.spark.rdd._
import scala.util.Random

object KMeansDataGenerator {
    def main(args: Array[String]) {
        if (args.length < 5) {
            System.err.println("Usage: KMeansDataGenerator <master> <file> <numFeatures> <numPartitions> <recordsPerPartition>")
            System.exit(1)
        }

        val sc = new SparkContext(args(0), "LRDataGenerator")
        val outfile = args(1)
        val numFeatures = args(2).toInt
        val numPartitions = args(3).toInt<commit_msg>typo fix<commit_after>import org.apache.spark.SparkContext
import org.apache.spark.SparkConf
import org.apache.spark.rdd._
import scala.util.Random

object KMeansDataGenerator {
    def main(args: Array[String]) {
        if (args.length < 5) {
            System.err.println("Usage: KMeansDataGenerator <master> <file> <numFeatures> <numPartitions> <recordsPerPartition>")
            System.exit(1)
        }

        val sc = new SparkContext(args(0), "KMeansDataGenerator")
        val outfile = args(1)
        val numFeatures = args(2).toInt
        val numPartitions = args(3).toInt
{'fraction_non_alphanumeric': 0.11365564037319763, 'fraction_numerical': 0.010178117048346057, 'mean_word_length': 3.125874125874126, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 13, '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': '3926300', 'n_tokens_mistral': 376, 'n_tokens_neox': 364, 'n_words': 76}