<commit_before>package socialite.functions;

import gnu.trove.iterator.TDoubleIterator;
import gnu.trove.iterator.TFloatIterator;
import gnu.trove.iterator.TIntIterator;
import gnu.trove.iterator.TLongIterator;
import gnu.trove.list.array.TDoubleArrayList;
import gnu.trove.list.array.TFloatArrayList;
import gnu.trove.list.array.TIntArrayList;
import gnu.trove.list.array.TLongArrayList;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;

import socialite.type.Avg;
import socialite.type.Count;
import socialite.type.Utf8;
import socialite.util.SociaLiteException;

public class Builtin {
	public static int nextId(int inc) { return NextId.invoke(inc); }
	public static int nextId(int prevId, int ignored) { return prevId; }
	public static int resetId() { NextId.reset(); return 0; }
	
	public static Object choice(Object a, Object b) { return Choice.invoke(a, b); }
	public static int choice(int a, int b) { return Choice.invoke(a, b); }
	public static long choice(long a, long b) { return Choice.invoke(a, b); }
	public static float choice(float a, float b) { return Choice.invoke(a, b); }
	public static double choice(double a, double b) { return Choice.invoke(a, b); }
	public static String choice(String a, String b) { return (String)Choice.invoke(a, b); }
	public static Utf8 choice(Utf8 a, Utf8 b) { return (Utf8)Choice.invoke(a, b); }
		
	public static int toInt(String s) { return Integer.parseInt(s); }
	public static long toLong(String s) { return Long.parseLong(s); }
	public static float toFloat(String s) { return Float.parseFloat(s); }
	public static double toDouble(String s) { return Double.parseDouble(s); }
	public static Utf8 toUtf8(String s) { return new Utf8(s); }
		
	public static String toStr(int i) { return ""+i; }
	public static String toStr(long l) { return ""+l; }
	public static String toStr(float f) { return ""+f; }
	public static String toStr(double d) { return ""+d; }
	public static String toStr(char c) { return ""+c; }
	public static String toStr(short s) { return ""+s; }
	public static String toStr(boolean b) { return ""+b; }
	public static String toStr(Object o) { return ""+o; }

	public static Utf8 toUtf8(String s) { return new Utf8(s); }
	
	public static int inc(int a, int b) { return Sum.invoke(a,b); }
	public static long inc(long a, long b) { return Sum.invoke(a,b); }<commit_msg>Fixing merge-glitch<commit_after>package socialite.functions;

import gnu.trove.iterator.TDoubleIterator;
import gnu.trove.iterator.TFloatIterator;
import gnu.trove.iterator.TIntIterator;
import gnu.trove.iterator.TLongIterator;
import gnu.trove.list.array.TDoubleArrayList;
import gnu.trove.list.array.TFloatArrayList;
import gnu.trove.list.array.TIntArrayList;
import gnu.trove.list.array.TLongArrayList;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;

import socialite.type.Avg;
import socialite.type.Count;
import socialite.type.Utf8;
import socialite.util.SociaLiteException;

public class Builtin {
	public static int nextId(int inc) { return NextId.invoke(inc); }
	public static int nextId(int prevId, int ignored) { return prevId; }
	public static int resetId() { NextId.reset(); return 0; }
	
	public static Object choice(Object a, Object b) { return Choice.invoke(a, b); }
	public static int choice(int a, int b) { return Choice.invoke(a, b); }
	public static long choice(long a, long b) { return Choice.invoke(a, b); }
	public static float choice(float a, float b) { return Choice.invoke(a, b); }
	public static double choice(double a, double b) { return Choice.invoke(a, b); }
	public static String choice(String a, String b) { return (String)Choice.invoke(a, b); }
	public static Utf8 choice(Utf8 a, Utf8 b) { return (Utf8)Choice.invoke(a, b); }
		
	public static int toInt(String s) { return Integer.parseInt(s); }
	public static long toLong(String s) { return Long.parseLong(s); }
	public static float toFloat(String s) { return Float.parseFloat(s); }
	public static double toDouble(String s) { return Double.parseDouble(s); }
	public static Utf8 toUtf8(String s) { return new Utf8(s); }
		
	public static String toStr(int i) { return ""+i; }
	public static String toStr(long l) { return ""+l; }
	public static String toStr(float f) { return ""+f; }
	public static String toStr(double d) { return ""+d; }
	public static String toStr(char c) { return ""+c; }
	public static String toStr(short s) { return ""+s; }
	public static String toStr(boolean b) { return ""+b; }
	public static String toStr(Object o) { return ""+o; }

	public static int inc(int a, int b) { return Sum.invoke(a,b); }
	public static long inc(long a, long b) { return Sum.invoke(a,b); }
{'fraction_non_alphanumeric': 0.12299121491322049, 'fraction_numerical': 0.004499678594386115, 'mean_word_length': 4.954081632653061, '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': '1440599', 'n_tokens_mistral': 1575, 'n_tokens_neox': 1544, 'n_words': 485}