<commit_before>import com.typesafe.sbt.SbtProguard.ProguardKeys._

proguardSettings

javaOptions in (Proguard, proguard) := Seq("-Xmx4G")

ProguardKeys.options in Proguard ++= Seq("-dontnote", "-dontwarn", "-ignorewarnings")

ProguardKeys.options in Proguard += """
-dontoptimize
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*,!code/allocation/variable
-keepnames class ** { *; }
-keepnames enum ** { *; }
-keepattributes SourceFile,LineNumberTable,*Annotation*,EnclosingMethod

-keep public enum com.amazonaws.RequestClientOptions$Marker** {
    **[] $VALUES;
    public *;
}
-keep public class org.apache.commons.logging.impl.LogFactoryImpl
-keep public class org.apache.commons.logging.impl.Jdk14Logger { *** <init>(...); }

-keep public class net.shiroka.tools.ofx.aws.Lambda { *; }<commit_msg>Keep AwsSdkMetrics$* in proguard<commit_after>import com.typesafe.sbt.SbtProguard.ProguardKeys._

proguardSettings

javaOptions in (Proguard, proguard) := Seq("-Xmx4G")

ProguardKeys.options in Proguard ++= Seq("-dontnote", "-dontwarn", "-ignorewarnings")

ProguardKeys.options in Proguard += """
-dontoptimize
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*,!code/allocation/variable
-keepnames class ** { *; }
-keepnames enum ** { *; }
-keepattributes SourceFile,LineNumberTable,*Annotation*,EnclosingMethod

-keep public enum com.amazonaws.RequestClientOptions$Marker** {
    **[] $VALUES;
    public *;
}
-keep class com.amazonaws.metrics.AwsSdkMetrics$* {
  *** <init>(...);
  *** *;
}
-keep public class org.apache.commons.logging.impl.LogFactoryImpl
-keep public class org.apache.commons.logging.impl.Jdk14Logger { *** <init>(...); }

-keep public class net.shiroka.tools.ofx.aws.Lambda { *; }
{'fraction_non_alphanumeric': 0.16352201257861634, 'fraction_numerical': 0.003430531732418525, 'mean_word_length': 5.294964028776978, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '563003', 'n_tokens_mistral': 586, 'n_tokens_neox': 584, 'n_words': 97}