You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ch...@apache.org on 2025/08/07 07:04:02 UTC

(lucene) branch branch_10x updated: Add some basic tests and infra to allow to write small sanity tests for benchmarks (#15035)

This is an automated email from the ASF dual-hosted git repository.

chegar pushed a commit to branch branch_10x
in repository https://gitbox.apache.org/repos/asf/lucene.git


The following commit(s) were added to refs/heads/branch_10x by this push:
     new 20a86863105 Add some basic tests and infra to allow to write small sanity tests for benchmarks (#15035)
20a86863105 is described below

commit 20a86863105c231f656b8a9798a98736519d1c01
Author: Chris Hegarty <62...@users.noreply.github.com>
AuthorDate: Thu Aug 7 07:53:39 2025 +0100

    Add some basic tests and infra to allow to write small sanity tests for benchmarks (#15035)
    
    This commit adds some basic tests and infra to allow to write small sanity tests for benchmarks.
    
    I'm proposing this since I ran into issues when working on a separate change where this would have been helpful. Additionally, it allows to keep a number of assertions and sanity checks out of the benchmark code itself.
---
 lucene/benchmark-jmh/build.gradle                  |   1 +
 .../benchmark/jmh/VectorScorerBenchmark.java       |   2 +-
 .../benchmark/jmh/TestVectorScorerBenchmark.java   |  61 +++
 versions.lock                                      | 604 +++++++++++----------
 4 files changed, 369 insertions(+), 299 deletions(-)

diff --git a/lucene/benchmark-jmh/build.gradle b/lucene/benchmark-jmh/build.gradle
index c94bc69cc52..74c67b2c320 100644
--- a/lucene/benchmark-jmh/build.gradle
+++ b/lucene/benchmark-jmh/build.gradle
@@ -25,6 +25,7 @@ dependencies {
   moduleImplementation project(':lucene:core')
   moduleImplementation project(':lucene:expressions')
   moduleImplementation project(':lucene:sandbox')
+  moduleTestImplementation project(':lucene:test-framework')
 
   moduleImplementation deps.jmh.core
   annotationProcessor deps.jmh.annprocess
diff --git a/lucene/benchmark-jmh/src/java/org/apache/lucene/benchmark/jmh/VectorScorerBenchmark.java b/lucene/benchmark-jmh/src/java/org/apache/lucene/benchmark/jmh/VectorScorerBenchmark.java
index 4e0afbb75d0..8073520cb47 100644
--- a/lucene/benchmark-jmh/src/java/org/apache/lucene/benchmark/jmh/VectorScorerBenchmark.java
+++ b/lucene/benchmark-jmh/src/java/org/apache/lucene/benchmark/jmh/VectorScorerBenchmark.java
@@ -52,7 +52,7 @@ import org.openjdk.jmh.annotations.*;
 public class VectorScorerBenchmark {
 
   @Param({"1", "128", "207", "256", "300", "512", "702", "1024"})
-  int size;
+  public int size;
 
   Directory dir;
   IndexInput in;
diff --git a/lucene/benchmark-jmh/src/test/org/apache/lucene/benchmark/jmh/TestVectorScorerBenchmark.java b/lucene/benchmark-jmh/src/test/org/apache/lucene/benchmark/jmh/TestVectorScorerBenchmark.java
new file mode 100644
index 00000000000..ab1a5920a32
--- /dev/null
+++ b/lucene/benchmark-jmh/src/test/org/apache/lucene/benchmark/jmh/TestVectorScorerBenchmark.java
@@ -0,0 +1,61 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.lucene.benchmark.jmh;
+
+import com.carrotsearch.randomizedtesting.annotations.ParametersFactory;
+import java.io.IOException;
+import java.util.Arrays;
+import org.apache.lucene.tests.util.LuceneTestCase;
+import org.apache.lucene.util.VectorUtil;
+import org.openjdk.jmh.annotations.Param;
+
+public class TestVectorScorerBenchmark extends LuceneTestCase {
+
+  static final float DELTA = 1e-3f;
+
+  final int size;
+
+  public TestVectorScorerBenchmark(int size) {
+    this.size = size;
+  }
+
+  public void testDotProduct() throws IOException {
+    var bench = new VectorScorerBenchmark();
+    bench.size = size;
+    bench.init();
+
+    try {
+      float expected = VectorUtil.dotProductScore(bench.vec1, bench.vec2);
+      assertEquals(expected, bench.binaryDotProductDefault(), DELTA);
+      assertEquals(expected, bench.binaryDotProductMemSeg(), DELTA);
+    } finally {
+      bench.teardown();
+    }
+  }
+
+  @ParametersFactory
+  public static Iterable<Object[]> parametersFactory() {
+    try {
+      var cls = VectorScorerBenchmark.class;
+      String[] params = cls.getField("size").getAnnotationsByType(Param.class)[0].value();
+      return () ->
+          Arrays.stream(params).map(Integer::parseInt).map(i -> new Object[] {i}).iterator();
+    } catch (NoSuchFieldException e) {
+      throw new AssertionError(e);
+    }
+  }
+}
diff --git a/versions.lock b/versions.lock
index e966bc88e1c..aa1a42ede9e 100644
--- a/versions.lock
+++ b/versions.lock
@@ -27,7 +27,7 @@
       "xerces:xercesImpl:2.12.2" : "5ce8cdc6,refs=2"
     },
     "test_dependencies" : {
-      "com.carrotsearch.randomizedtesting:randomizedtesting-runner:2.8.1" : "b35e5d7a,refs=74",
+      "com.carrotsearch.randomizedtesting:randomizedtesting-runner:2.8.1" : "129da9bf,refs=76",
       "com.carrotsearch:procfork:1.0.6" : "b7ba1646,refs=2",
       "com.github.ben-manes.caffeine:caffeine:3.0.5" : "6897bc09,refs=38",
       "com.github.kevinstern:software-and-algorithms:1.0" : "6897bc09,refs=38",
@@ -51,7 +51,7 @@
       "io.github.java-diff-utils:java-diff-utils:4.12" : "6897bc09,refs=38",
       "io.sgr:s2-geometry-library-java:1.0.0" : "1d5a4b2b,refs=4",
       "javax.inject:javax.inject:1" : "6897bc09,refs=38",
-      "junit:junit:4.13.1" : "b35e5d7a,refs=74",
+      "junit:junit:4.13.1" : "129da9bf,refs=76",
       "net.sf.jopt-simple:jopt-simple:5.0.4" : "152d9f78,refs=3",
       "net.sourceforge.nekohtml:nekohtml:1.9.17" : "6f16ff86,refs=2",
       "org.antlr:antlr4-runtime:4.13.2" : "6fbc4021,refs=5",
@@ -63,7 +63,7 @@
       "org.carrot2:morfologik-polish:2.1.9" : "cb00cecf,refs=5",
       "org.carrot2:morfologik-stemming:2.1.9" : "e077a675,refs=8",
       "org.checkerframework:checker-qual:3.37.0" : "6897bc09,refs=38",
-      "org.hamcrest:hamcrest:2.2" : "b35e5d7a,refs=74",
+      "org.hamcrest:hamcrest:2.2" : "129da9bf,refs=76",
       "org.jspecify:jspecify:1.0.0" : "6897bc09,refs=38",
       "org.locationtech.jts:jts-core:1.17.0" : "180518e6,refs=2",
       "org.locationtech.spatial4j:spatial4j:0.8" : "1d5a4b2b,refs=4",
@@ -79,31 +79,23 @@
     }
   },
   "because" : {
-    "152d9f78" : [
-      {
-        "configuration" : "annotationProcessor",
-        "projectPath" : ":lucene:benchmark-jmh"
-      },
+    "129da9bf" : [
       {
         "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:benchmark-jmh"
+        "projectPath" : ":lucene:analysis.tests"
       },
       {
         "configuration" : "testRuntimeClasspath",
-        "projectPath" : ":lucene:benchmark-jmh"
-      }
-    ],
-    "180518e6" : [
+        "projectPath" : ":lucene:analysis.tests"
+      },
       {
         "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:spatial-extras"
+        "projectPath" : ":lucene:backward-codecs"
       },
       {
         "configuration" : "testRuntimeClasspath",
-        "projectPath" : ":lucene:spatial-extras"
-      }
-    ],
-    "1d5a4b2b" : [
+        "projectPath" : ":lucene:backward-codecs"
+      },
       {
         "configuration" : "testCompileClasspath",
         "projectPath" : ":lucene:benchmark"
@@ -114,280 +106,354 @@
       },
       {
         "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:spatial-extras"
+        "projectPath" : ":lucene:benchmark-jmh"
       },
       {
         "configuration" : "testRuntimeClasspath",
-        "projectPath" : ":lucene:spatial-extras"
-      }
-    ],
-    "2f760bab" : [
-      {
-        "configuration" : "compileClasspath",
-        "projectPath" : ":lucene:luke"
+        "projectPath" : ":lucene:benchmark-jmh"
       },
       {
-        "configuration" : "runtimeClasspath",
-        "projectPath" : ":lucene:luke"
+        "configuration" : "testCompileClasspath",
+        "projectPath" : ":lucene:classification"
       },
       {
-        "configuration" : "compileClasspath",
-        "projectPath" : ":lucene:analysis:opennlp"
+        "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:classification"
       },
       {
-        "configuration" : "runtimeClasspath",
-        "projectPath" : ":lucene:analysis:opennlp"
-      }
-    ],
-    "47ea4550" : [
-      {
-        "configuration" : "compileClasspath",
-        "projectPath" : ":lucene:benchmark"
+        "configuration" : "testCompileClasspath",
+        "projectPath" : ":lucene:codecs"
       },
       {
-        "configuration" : "runtimeClasspath",
-        "projectPath" : ":lucene:benchmark"
+        "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:codecs"
       },
       {
-        "configuration" : "compileClasspath",
-        "projectPath" : ":lucene:luke"
+        "configuration" : "testCompileClasspath",
+        "projectPath" : ":lucene:core"
       },
       {
-        "configuration" : "runtimeClasspath",
-        "projectPath" : ":lucene:luke"
+        "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:core"
       },
       {
-        "configuration" : "compileClasspath",
-        "projectPath" : ":lucene:analysis:icu"
+        "configuration" : "testCompileClasspath",
+        "projectPath" : ":lucene:core.tests"
       },
       {
-        "configuration" : "runtimeClasspath",
-        "projectPath" : ":lucene:analysis:icu"
-      }
-    ],
-    "5ce8cdc6" : [
-      {
-        "configuration" : "compileClasspath",
-        "projectPath" : ":lucene:benchmark"
+        "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:core.tests"
       },
       {
-        "configuration" : "runtimeClasspath",
-        "projectPath" : ":lucene:benchmark"
-      }
-    ],
-    "6897bc09" : [
-      {
-        "configuration" : "annotationProcessor",
-        "projectPath" : ":lucene:analysis.tests"
+        "configuration" : "testCompileClasspath",
+        "projectPath" : ":lucene:demo"
       },
       {
-        "configuration" : "annotationProcessor",
-        "projectPath" : ":lucene:backward-codecs"
+        "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:demo"
       },
       {
-        "configuration" : "annotationProcessor",
-        "projectPath" : ":lucene:benchmark"
+        "configuration" : "testCompileClasspath",
+        "projectPath" : ":lucene:distribution.tests"
       },
       {
-        "configuration" : "annotationProcessor",
-        "projectPath" : ":lucene:benchmark-jmh"
+        "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:distribution.tests"
       },
       {
-        "configuration" : "annotationProcessor",
-        "projectPath" : ":lucene:classification"
+        "configuration" : "testCompileClasspath",
+        "projectPath" : ":lucene:expressions"
       },
       {
-        "configuration" : "annotationProcessor",
-        "projectPath" : ":lucene:codecs"
+        "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:expressions"
       },
       {
-        "configuration" : "annotationProcessor",
-        "projectPath" : ":lucene:core"
+        "configuration" : "testCompileClasspath",
+        "projectPath" : ":lucene:facet"
       },
       {
-        "configuration" : "annotationProcessor",
-        "projectPath" : ":lucene:core.tests"
+        "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:facet"
       },
       {
-        "configuration" : "annotationProcessor",
-        "projectPath" : ":lucene:demo"
+        "configuration" : "testCompileClasspath",
+        "projectPath" : ":lucene:grouping"
       },
       {
-        "configuration" : "annotationProcessor",
-        "projectPath" : ":lucene:distribution.tests"
+        "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:grouping"
       },
       {
-        "configuration" : "annotationProcessor",
-        "projectPath" : ":lucene:expressions"
+        "configuration" : "testCompileClasspath",
+        "projectPath" : ":lucene:highlighter"
       },
       {
-        "configuration" : "annotationProcessor",
-        "projectPath" : ":lucene:facet"
+        "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:highlighter"
       },
       {
-        "configuration" : "annotationProcessor",
-        "projectPath" : ":lucene:grouping"
+        "configuration" : "testCompileClasspath",
+        "projectPath" : ":lucene:join"
       },
       {
-        "configuration" : "annotationProcessor",
-        "projectPath" : ":lucene:highlighter"
+        "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:join"
       },
       {
-        "configuration" : "annotationProcessor",
-        "projectPath" : ":lucene:join"
+        "configuration" : "testCompileClasspath",
+        "projectPath" : ":lucene:luke"
       },
       {
-        "configuration" : "annotationProcessor",
+        "configuration" : "testRuntimeClasspath",
         "projectPath" : ":lucene:luke"
       },
       {
-        "configuration" : "annotationProcessor",
+        "configuration" : "testCompileClasspath",
         "projectPath" : ":lucene:memory"
       },
       {
-        "configuration" : "annotationProcessor",
+        "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:memory"
+      },
+      {
+        "configuration" : "testCompileClasspath",
         "projectPath" : ":lucene:misc"
       },
       {
-        "configuration" : "annotationProcessor",
+        "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:misc"
+      },
+      {
+        "configuration" : "testCompileClasspath",
         "projectPath" : ":lucene:monitor"
       },
       {
-        "configuration" : "annotationProcessor",
+        "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:monitor"
+      },
+      {
+        "configuration" : "testCompileClasspath",
         "projectPath" : ":lucene:queries"
       },
       {
-        "configuration" : "annotationProcessor",
+        "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:queries"
+      },
+      {
+        "configuration" : "testCompileClasspath",
         "projectPath" : ":lucene:queryparser"
       },
       {
-        "configuration" : "annotationProcessor",
+        "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:queryparser"
+      },
+      {
+        "configuration" : "testCompileClasspath",
         "projectPath" : ":lucene:replicator"
       },
       {
-        "configuration" : "annotationProcessor",
+        "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:replicator"
+      },
+      {
+        "configuration" : "testCompileClasspath",
         "projectPath" : ":lucene:sandbox"
       },
       {
-        "configuration" : "annotationProcessor",
+        "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:sandbox"
+      },
+      {
+        "configuration" : "testCompileClasspath",
         "projectPath" : ":lucene:spatial-extras"
       },
       {
-        "configuration" : "annotationProcessor",
+        "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:spatial-extras"
+      },
+      {
+        "configuration" : "testCompileClasspath",
         "projectPath" : ":lucene:spatial-test-fixtures"
       },
       {
-        "configuration" : "annotationProcessor",
+        "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:spatial-test-fixtures"
+      },
+      {
+        "configuration" : "testCompileClasspath",
         "projectPath" : ":lucene:spatial3d"
       },
       {
-        "configuration" : "annotationProcessor",
+        "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:spatial3d"
+      },
+      {
+        "configuration" : "testCompileClasspath",
         "projectPath" : ":lucene:suggest"
       },
       {
-        "configuration" : "annotationProcessor",
+        "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:suggest"
+      },
+      {
+        "configuration" : "testCompileClasspath",
         "projectPath" : ":lucene:test-framework"
       },
       {
-        "configuration" : "annotationProcessor",
+        "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:test-framework"
+      },
+      {
+        "configuration" : "testCompileClasspath",
         "projectPath" : ":lucene:analysis:common"
       },
       {
-        "configuration" : "annotationProcessor",
+        "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:analysis:common"
+      },
+      {
+        "configuration" : "testCompileClasspath",
         "projectPath" : ":lucene:analysis:icu"
       },
       {
-        "configuration" : "annotationProcessor",
+        "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:analysis:icu"
+      },
+      {
+        "configuration" : "testCompileClasspath",
         "projectPath" : ":lucene:analysis:kuromoji"
       },
       {
-        "configuration" : "annotationProcessor",
+        "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:analysis:kuromoji"
+      },
+      {
+        "configuration" : "testCompileClasspath",
         "projectPath" : ":lucene:analysis:morfologik"
       },
       {
-        "configuration" : "annotationProcessor",
+        "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:analysis:morfologik"
+      },
+      {
+        "configuration" : "testCompileClasspath",
         "projectPath" : ":lucene:analysis:morfologik.tests"
       },
       {
-        "configuration" : "annotationProcessor",
+        "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:analysis:morfologik.tests"
+      },
+      {
+        "configuration" : "testCompileClasspath",
         "projectPath" : ":lucene:analysis:nori"
       },
       {
-        "configuration" : "annotationProcessor",
+        "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:analysis:nori"
+      },
+      {
+        "configuration" : "testCompileClasspath",
         "projectPath" : ":lucene:analysis:opennlp"
       },
       {
-        "configuration" : "annotationProcessor",
+        "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:analysis:opennlp"
+      },
+      {
+        "configuration" : "testCompileClasspath",
         "projectPath" : ":lucene:analysis:phonetic"
       },
       {
-        "configuration" : "annotationProcessor",
+        "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:analysis:phonetic"
+      },
+      {
+        "configuration" : "testCompileClasspath",
         "projectPath" : ":lucene:analysis:smartcn"
       },
       {
-        "configuration" : "annotationProcessor",
-        "projectPath" : ":lucene:analysis:stempel"
-      }
-    ],
-    "6f16ff86" : [
+        "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:analysis:smartcn"
+      },
       {
         "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:benchmark"
+        "projectPath" : ":lucene:analysis:stempel"
       },
       {
         "configuration" : "testRuntimeClasspath",
-        "projectPath" : ":lucene:benchmark"
+        "projectPath" : ":lucene:analysis:stempel"
       }
     ],
-    "6fbc4021" : [
+    "152d9f78" : [
       {
-        "configuration" : "testRuntimeClasspath",
+        "configuration" : "annotationProcessor",
         "projectPath" : ":lucene:benchmark-jmh"
       },
-      {
-        "configuration" : "testRuntimeClasspath",
-        "projectPath" : ":lucene:demo"
-      },
       {
         "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:expressions"
+        "projectPath" : ":lucene:benchmark-jmh"
       },
       {
         "configuration" : "testRuntimeClasspath",
-        "projectPath" : ":lucene:expressions"
+        "projectPath" : ":lucene:benchmark-jmh"
+      }
+    ],
+    "180518e6" : [
+      {
+        "configuration" : "testCompileClasspath",
+        "projectPath" : ":lucene:spatial-extras"
       },
       {
         "configuration" : "testRuntimeClasspath",
-        "projectPath" : ":lucene:queries"
+        "projectPath" : ":lucene:spatial-extras"
       }
     ],
-    "733734f0" : [
+    "1d5a4b2b" : [
       {
         "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:analysis.tests"
+        "projectPath" : ":lucene:benchmark"
       },
       {
         "configuration" : "testRuntimeClasspath",
-        "projectPath" : ":lucene:analysis.tests"
+        "projectPath" : ":lucene:benchmark"
       },
       {
         "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:luke"
+        "projectPath" : ":lucene:spatial-extras"
       },
       {
         "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:spatial-extras"
+      }
+    ],
+    "2f760bab" : [
+      {
+        "configuration" : "compileClasspath",
         "projectPath" : ":lucene:luke"
       },
       {
-        "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:analysis:phonetic"
+        "configuration" : "runtimeClasspath",
+        "projectPath" : ":lucene:luke"
       },
       {
-        "configuration" : "testRuntimeClasspath",
-        "projectPath" : ":lucene:analysis:phonetic"
+        "configuration" : "compileClasspath",
+        "projectPath" : ":lucene:analysis:opennlp"
+      },
+      {
+        "configuration" : "runtimeClasspath",
+        "projectPath" : ":lucene:analysis:opennlp"
       }
     ],
-    "79af844b" : [
+    "47ea4550" : [
+      {
+        "configuration" : "compileClasspath",
+        "projectPath" : ":lucene:benchmark"
+      },
+      {
+        "configuration" : "runtimeClasspath",
+        "projectPath" : ":lucene:benchmark"
+      },
       {
         "configuration" : "compileClasspath",
         "projectPath" : ":lucene:luke"
@@ -398,295 +464,225 @@
       },
       {
         "configuration" : "compileClasspath",
-        "projectPath" : ":lucene:analysis:morfologik"
+        "projectPath" : ":lucene:analysis:icu"
       },
       {
         "configuration" : "runtimeClasspath",
-        "projectPath" : ":lucene:analysis:morfologik"
+        "projectPath" : ":lucene:analysis:icu"
       }
     ],
-    "85a1e4c6" : [
+    "5ce8cdc6" : [
       {
         "configuration" : "compileClasspath",
-        "projectPath" : ":lucene:benchmark-jmh"
+        "projectPath" : ":lucene:benchmark"
       },
       {
         "configuration" : "runtimeClasspath",
-        "projectPath" : ":lucene:benchmark-jmh"
+        "projectPath" : ":lucene:benchmark"
       }
     ],
-    "b35e5d7a" : [
-      {
-        "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:analysis.tests"
-      },
+    "6897bc09" : [
       {
-        "configuration" : "testRuntimeClasspath",
+        "configuration" : "annotationProcessor",
         "projectPath" : ":lucene:analysis.tests"
       },
       {
-        "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:backward-codecs"
-      },
-      {
-        "configuration" : "testRuntimeClasspath",
+        "configuration" : "annotationProcessor",
         "projectPath" : ":lucene:backward-codecs"
       },
       {
-        "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:benchmark"
-      },
-      {
-        "configuration" : "testRuntimeClasspath",
+        "configuration" : "annotationProcessor",
         "projectPath" : ":lucene:benchmark"
       },
       {
-        "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:classification"
+        "configuration" : "annotationProcessor",
+        "projectPath" : ":lucene:benchmark-jmh"
       },
       {
-        "configuration" : "testRuntimeClasspath",
+        "configuration" : "annotationProcessor",
         "projectPath" : ":lucene:classification"
       },
       {
-        "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:codecs"
-      },
-      {
-        "configuration" : "testRuntimeClasspath",
+        "configuration" : "annotationProcessor",
         "projectPath" : ":lucene:codecs"
       },
       {
-        "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:core"
-      },
-      {
-        "configuration" : "testRuntimeClasspath",
+        "configuration" : "annotationProcessor",
         "projectPath" : ":lucene:core"
       },
       {
-        "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:core.tests"
-      },
-      {
-        "configuration" : "testRuntimeClasspath",
+        "configuration" : "annotationProcessor",
         "projectPath" : ":lucene:core.tests"
       },
       {
-        "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:demo"
-      },
-      {
-        "configuration" : "testRuntimeClasspath",
+        "configuration" : "annotationProcessor",
         "projectPath" : ":lucene:demo"
       },
       {
-        "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:distribution.tests"
-      },
-      {
-        "configuration" : "testRuntimeClasspath",
+        "configuration" : "annotationProcessor",
         "projectPath" : ":lucene:distribution.tests"
       },
       {
-        "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:expressions"
-      },
-      {
-        "configuration" : "testRuntimeClasspath",
+        "configuration" : "annotationProcessor",
         "projectPath" : ":lucene:expressions"
       },
       {
-        "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:facet"
-      },
-      {
-        "configuration" : "testRuntimeClasspath",
+        "configuration" : "annotationProcessor",
         "projectPath" : ":lucene:facet"
       },
       {
-        "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:grouping"
-      },
-      {
-        "configuration" : "testRuntimeClasspath",
+        "configuration" : "annotationProcessor",
         "projectPath" : ":lucene:grouping"
       },
       {
-        "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:highlighter"
-      },
-      {
-        "configuration" : "testRuntimeClasspath",
+        "configuration" : "annotationProcessor",
         "projectPath" : ":lucene:highlighter"
       },
       {
-        "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:join"
-      },
-      {
-        "configuration" : "testRuntimeClasspath",
+        "configuration" : "annotationProcessor",
         "projectPath" : ":lucene:join"
       },
       {
-        "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:luke"
-      },
-      {
-        "configuration" : "testRuntimeClasspath",
+        "configuration" : "annotationProcessor",
         "projectPath" : ":lucene:luke"
       },
       {
-        "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:memory"
-      },
-      {
-        "configuration" : "testRuntimeClasspath",
+        "configuration" : "annotationProcessor",
         "projectPath" : ":lucene:memory"
       },
       {
-        "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:misc"
-      },
-      {
-        "configuration" : "testRuntimeClasspath",
+        "configuration" : "annotationProcessor",
         "projectPath" : ":lucene:misc"
       },
       {
-        "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:monitor"
-      },
-      {
-        "configuration" : "testRuntimeClasspath",
+        "configuration" : "annotationProcessor",
         "projectPath" : ":lucene:monitor"
       },
       {
-        "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:queries"
-      },
-      {
-        "configuration" : "testRuntimeClasspath",
+        "configuration" : "annotationProcessor",
         "projectPath" : ":lucene:queries"
       },
       {
-        "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:queryparser"
-      },
-      {
-        "configuration" : "testRuntimeClasspath",
+        "configuration" : "annotationProcessor",
         "projectPath" : ":lucene:queryparser"
       },
       {
-        "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:replicator"
-      },
-      {
-        "configuration" : "testRuntimeClasspath",
+        "configuration" : "annotationProcessor",
         "projectPath" : ":lucene:replicator"
       },
       {
-        "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:sandbox"
-      },
-      {
-        "configuration" : "testRuntimeClasspath",
+        "configuration" : "annotationProcessor",
         "projectPath" : ":lucene:sandbox"
       },
       {
-        "configuration" : "testCompileClasspath",
+        "configuration" : "annotationProcessor",
         "projectPath" : ":lucene:spatial-extras"
       },
       {
-        "configuration" : "testRuntimeClasspath",
-        "projectPath" : ":lucene:spatial-extras"
+        "configuration" : "annotationProcessor",
+        "projectPath" : ":lucene:spatial-test-fixtures"
       },
       {
-        "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:spatial-test-fixtures"
+        "configuration" : "annotationProcessor",
+        "projectPath" : ":lucene:spatial3d"
       },
       {
-        "configuration" : "testRuntimeClasspath",
-        "projectPath" : ":lucene:spatial-test-fixtures"
+        "configuration" : "annotationProcessor",
+        "projectPath" : ":lucene:suggest"
       },
       {
-        "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:spatial3d"
+        "configuration" : "annotationProcessor",
+        "projectPath" : ":lucene:test-framework"
       },
       {
-        "configuration" : "testRuntimeClasspath",
-        "projectPath" : ":lucene:spatial3d"
+        "configuration" : "annotationProcessor",
+        "projectPath" : ":lucene:analysis:common"
       },
       {
-        "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:suggest"
+        "configuration" : "annotationProcessor",
+        "projectPath" : ":lucene:analysis:icu"
       },
       {
-        "configuration" : "testRuntimeClasspath",
-        "projectPath" : ":lucene:suggest"
+        "configuration" : "annotationProcessor",
+        "projectPath" : ":lucene:analysis:kuromoji"
       },
       {
-        "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:test-framework"
+        "configuration" : "annotationProcessor",
+        "projectPath" : ":lucene:analysis:morfologik"
       },
       {
-        "configuration" : "testRuntimeClasspath",
-        "projectPath" : ":lucene:test-framework"
+        "configuration" : "annotationProcessor",
+        "projectPath" : ":lucene:analysis:morfologik.tests"
       },
       {
-        "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:analysis:common"
+        "configuration" : "annotationProcessor",
+        "projectPath" : ":lucene:analysis:nori"
       },
       {
-        "configuration" : "testRuntimeClasspath",
-        "projectPath" : ":lucene:analysis:common"
+        "configuration" : "annotationProcessor",
+        "projectPath" : ":lucene:analysis:opennlp"
       },
       {
-        "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:analysis:icu"
+        "configuration" : "annotationProcessor",
+        "projectPath" : ":lucene:analysis:phonetic"
       },
       {
-        "configuration" : "testRuntimeClasspath",
-        "projectPath" : ":lucene:analysis:icu"
+        "configuration" : "annotationProcessor",
+        "projectPath" : ":lucene:analysis:smartcn"
       },
+      {
+        "configuration" : "annotationProcessor",
+        "projectPath" : ":lucene:analysis:stempel"
+      }
+    ],
+    "6f16ff86" : [
       {
         "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:analysis:kuromoji"
+        "projectPath" : ":lucene:benchmark"
       },
       {
         "configuration" : "testRuntimeClasspath",
-        "projectPath" : ":lucene:analysis:kuromoji"
-      },
+        "projectPath" : ":lucene:benchmark"
+      }
+    ],
+    "6fbc4021" : [
       {
-        "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:analysis:morfologik"
+        "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:benchmark-jmh"
       },
       {
         "configuration" : "testRuntimeClasspath",
-        "projectPath" : ":lucene:analysis:morfologik"
+        "projectPath" : ":lucene:demo"
       },
       {
         "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:analysis:morfologik.tests"
+        "projectPath" : ":lucene:expressions"
       },
       {
         "configuration" : "testRuntimeClasspath",
-        "projectPath" : ":lucene:analysis:morfologik.tests"
+        "projectPath" : ":lucene:expressions"
       },
+      {
+        "configuration" : "testRuntimeClasspath",
+        "projectPath" : ":lucene:queries"
+      }
+    ],
+    "733734f0" : [
       {
         "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:analysis:nori"
+        "projectPath" : ":lucene:analysis.tests"
       },
       {
         "configuration" : "testRuntimeClasspath",
-        "projectPath" : ":lucene:analysis:nori"
+        "projectPath" : ":lucene:analysis.tests"
       },
       {
         "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:analysis:opennlp"
+        "projectPath" : ":lucene:luke"
       },
       {
         "configuration" : "testRuntimeClasspath",
-        "projectPath" : ":lucene:analysis:opennlp"
+        "projectPath" : ":lucene:luke"
       },
       {
         "configuration" : "testCompileClasspath",
@@ -695,22 +691,34 @@
       {
         "configuration" : "testRuntimeClasspath",
         "projectPath" : ":lucene:analysis:phonetic"
+      }
+    ],
+    "79af844b" : [
+      {
+        "configuration" : "compileClasspath",
+        "projectPath" : ":lucene:luke"
       },
       {
-        "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:analysis:smartcn"
+        "configuration" : "runtimeClasspath",
+        "projectPath" : ":lucene:luke"
       },
       {
-        "configuration" : "testRuntimeClasspath",
-        "projectPath" : ":lucene:analysis:smartcn"
+        "configuration" : "compileClasspath",
+        "projectPath" : ":lucene:analysis:morfologik"
       },
       {
-        "configuration" : "testCompileClasspath",
-        "projectPath" : ":lucene:analysis:stempel"
+        "configuration" : "runtimeClasspath",
+        "projectPath" : ":lucene:analysis:morfologik"
+      }
+    ],
+    "85a1e4c6" : [
+      {
+        "configuration" : "compileClasspath",
+        "projectPath" : ":lucene:benchmark-jmh"
       },
       {
-        "configuration" : "testRuntimeClasspath",
-        "projectPath" : ":lucene:analysis:stempel"
+        "configuration" : "runtimeClasspath",
+        "projectPath" : ":lucene:benchmark-jmh"
       }
     ],
     "b7ba1646" : [