<commit_before>checkout:
  post:
    - git clone https://github.com/checkstyle/contribution
dependencies:
  # we to override as 'mvn dependecy:go-ofline' does not download all dependencies
  override:
    - mvn install -Passembly
    - eval $TESTER_DEPENDENCIES
machine:
  java:
    version: oraclejdk8
  environment:
    CMD1: "cd contribution/checkstyle-tester"
    DEP1: " && sed -i.'' 's/^guava/#guava/' projects-to-test-on.properties"
    # we need this to let pass 'mvn site' on no-projects mode to download all dependecies
    DEP2: " && echo 'class ClassEmpty{}' > src/main/java/EmptyClass.java"
    DEP3: " && ./launch.sh -Dcheckstyle.config.location=my_check.xml"
    TESTER_DEPENDENCIES: $CMD1$DEP1$DEP2$DEP3
    CMD2: " && sed -i.'' 's/^openjdk/#openjdk/' projects-for-circle.properties"
    CMD3: " && sed -i.'' s/projects-to-test-on.properties/projects-for-circle.properties/ launch.sh"
    CMD4: " && ./launch.sh -Dcheckstyle.config.location=checks-nonjavadoc-error.xml"
    OPENJDK7: " && sed -i.'' 's/#openjdk7/openjdk7/' projects-for-circle.properties"
    OPENJDK8: " && sed -i.'' 's/#openjdk8/openjdk8/' projects-for-circle.properties"
    OPENJDK9: " && sed -i.'' 's/#openjdk9/openjdk9/' projects-for-circle.properties"
    INFINISPAN: " && sed -i.'' 's/#infinispan/infinispan/' projects-for-circle.properties"
    PROTONPACK: " && sed -i.'' 's/#protonpack/protonpack/' projects-for-circle.properties"
    JOOL: " && sed -i.'' 's/#jOOL/jOOL/' projects-for-circle.properties"
    TAPESTRY: " && sed -i.'' 's/#tapestry5/tapestry5/' projects-for-circle.properties"
    COMMONS: " && sed -i.'' 's/#apache-commons/apache-commons/' projects-for-circle.properties"
    LUCENE: " && sed -i.'' 's/#lucene-solr/lucene-solr/' projects-for-circle.properties"
    STORM: " && sed -i.'' 's/#storm/storm/' projects-for-circle.properties"
    HADOOP: " && sed -i.'' 's/#hadoop/hadoop/' projects-for-circle.properties"
    CASSANDRA: " && sed -i.'' 's/#cassandra/cassandra/' projects-for-circle.properties"
    SCOUTER: " && sed -i.'' 's/#scouter/scouter/' projects-for-circle.properties"
    GROOVY: " && sed -i.'' 's/#groovy/groovy/' projects-for-circle.properties"
    # Test over openjdk7,8,9
    TEST_1: $CMD1$CMD2$OPENJDK7$OPENJDK8$OPENJDK9$CMD3$CMD4
    # Test over infinispan, protonpack, jOOL, lucene-solr
    TEST_2: $CMD1$CMD2$INFINISPAN$PROTONPACK$JOOL$LUCENE$CMD3$CMD4
    # Test over tapestry5, storm, cassandra
    TEST_3: $CMD1$CMD2$TAPESTRY$STORM$CASSANDRA$CMD3$CMD4
    # Test over apache-commons, hadoop, scouter, groovy
    TEST_4: $CMD1$CMD2$COMMONS$HADOOP$SCOUTER$GROOVY$CMD3$CMD4
test:
  override:
    - case $CIRCLE_NODE_INDEX in 0) eval $TEST_1 ;; 1) eval $TEST_2 ;; 2) eval $TEST_3 ;;  3) eval $TEST_4 ;; esac:
            parallel: true
<commit_msg>Issue #3126: Rearrange projects in circle.yml<commit_after>checkout:
  post:
    - git clone https://github.com/checkstyle/contribution
dependencies:
  # we to override as 'mvn dependecy:go-ofline' does not download all dependencies
  override:
    - mvn install -Passembly
    - eval $TESTER_DEPENDENCIES
machine:
  java:
    version: oraclejdk8
  environment:
    CMD1: "cd contribution/checkstyle-tester"
    DEP1: " && sed -i.'' 's/^guava/#guava/' projects-to-test-on.properties"
    # we need this to let pass 'mvn site' on no-projects mode to download all dependecies
    DEP2: " && echo 'class ClassEmpty{}' > src/main/java/EmptyClass.java"
    DEP3: " && ./launch.sh -Dcheckstyle.config.location=my_check.xml"
    TESTER_DEPENDENCIES: $CMD1$DEP1$DEP2$DEP3
    CMD2: " && sed -i.'' 's/^openjdk/#openjdk/' projects-for-circle.properties"
    CMD3: " && sed -i.'' s/projects-to-test-on.properties/projects-for-circle.properties/ launch.sh"
    CMD4: " && ./launch.sh -Dcheckstyle.config.location=checks-nonjavadoc-error.xml"
    OPENJDK7: " && sed -i.'' 's/#openjdk7/openjdk7/' projects-for-circle.properties"
    OPENJDK8: " && sed -i.'' 's/#openjdk8/openjdk8/' projects-for-circle.properties"
    OPENJDK9: " && sed -i.'' 's/#openjdk9/openjdk9/' projects-for-circle.properties"
    INFINISPAN: " && sed -i.'' 's/#infinispan/infinispan/' projects-for-circle.properties"
    PROTONPACK: " && sed -i.'' 's/#protonpack/protonpack/' projects-for-circle.properties"
    JOOL: " && sed -i.'' 's/#jOOL/jOOL/' projects-for-circle.properties"
    TAPESTRY: " && sed -i.'' 's/#tapestry5/tapestry5/' projects-for-circle.properties"
    COMMONS: " && sed -i.'' 's/#apache-commons/apache-commons/' projects-for-circle.properties"
    LUCENE: " && sed -i.'' 's/#lucene-solr/lucene-solr/' projects-for-circle.properties"
    STORM: " && sed -i.'' 's/#storm/storm/' projects-for-circle.properties"
    HADOOP: " && sed -i.'' 's/#hadoop/hadoop/' projects-for-circle.properties"
    CASSANDRA: " && sed -i.'' 's/#cassandra/cassandra/' projects-for-circle.properties"
    SCOUTER: " && sed -i.'' 's/#scouter/scouter/' projects-for-circle.properties"
    GROOVY: " && sed -i.'' 's/#groovy/groovy/' projects-for-circle.properties"
    # Test over openjdk7,8
    TEST_1: $CMD1$CMD2$OPENJDK7$OPENJDK8$CMD3$CMD4
    # Test over infinispan, protonpack, jOOL, lucene-solr, openjdk9
    TEST_2: $CMD1$CMD2$INFINISPAN$PROTONPACK$JOOL$LUCENE$OPENJDK9$CMD3$CMD4
    # Test over tapestry5, storm, cassandra
    TEST_3: $CMD1$CMD2$TAPESTRY$STORM$CASSANDRA$CMD3$CMD4
    # Test over apache-commons, hadoop, scouter, groovy
    TEST_4: $CMD1$CMD2$COMMONS$HADOOP$SCOUTER$GROOVY$CMD3$CMD4
test:
  override:
    - case $CIRCLE_NODE_INDEX in 0) eval $TEST_1 ;; 1) eval $TEST_2 ;; 2) eval $TEST_3 ;;  3) eval $TEST_4 ;; esac:
            parallel: true

{'fraction_non_alphanumeric': 0.16839285714285715, 'fraction_numerical': 0.02142857142857143, 'mean_word_length': 3.6519933554817277, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '40808', 'n_tokens_mistral': 2256, 'n_tokens_neox': 2105, 'n_words': 390}