harbor run -t openthoughts/tasktrove-exp-rpt-stack-junit-v6-stack-junit-6078harbor download openthoughts/tasktrove-exp-rpt-stack-junit-v6-stack-junit-6078Implement Java sources under /app/ so that the JUnit test file at /tests/TestSolution.java compiles and passes. The test is in package org.gradle.test.performance.mediummonolithicjavaproject.p144 — your sources must be reachable via the same package layout (e.g. /app/<package>/<Class>.java).
tests/TestSolution.java)Below is a deterministic summary of what the JUnit test file expects. Use this as the source of truth for package, imports, and public API. If the original task description above conflicts with this section, prefer this section.
Language: Java
Test package: org.gradle.test.performance.mediummonolithicjavaproject.p144
Test class: Test2892
Well-known imports (JUnit, JDK, common libs — already on the classpath):
org.junit.TestStatic imports (constants/methods referenced statically):
import static org.junit.Assert.*;Symbols the test references that you likely need to define (class/enum/interface names not coming from JDK or JUnit):
Production2889 — constructed via new Production2889(...) with arities: 0 argsProduction2890 — constructed via new Production2890(...) with arities: 0 argsProduction2891 — constructed via new Production2891(...) with arities: 0 argsProduction2892 — constructed via new Production2892(...) with arities: 0 argsMethods the test invokes on instances (you must expose at least these with the indicated arity; return type inferred from how the test uses the result):
.getProperty0(...) — called with: 0 args.getProperty1(...) — called with: 0 args.getProperty2(...) — called with: 0 args.getProperty3(...) — called with: 0 args.getProperty4(...) — called with: 0 args.getProperty5(...) — called with: 0 args.getProperty6(...) — called with: 0 args.getProperty7(...) — called with: 0 args.getProperty8(...) — called with: 0 args.getProperty9(...) — called with: 0 args.setProperty0(...) — called with: 1 arg.setProperty1(...) — called with: 1 arg.setProperty2(...) — called with: 1 arg.setProperty3(...) — called with: 1 arg.setProperty4(...) — called with: 1 arg.setProperty5(...) — called with: 1 arg.setProperty6(...) — called with: 1 arg.setProperty7(...) — called with: 1 arg.setProperty8(...) — called with: 1 arg.setProperty9(...) — called with: 1 argtests/TestSolution.java against JUnit's standalone console (/junit/junit-platform-console-standalone.jar) — both JUnit 4 (org.junit.*) and JUnit Jupiter (org.junit.jupiter.api.*) APIs are available.pom.xml exists in /app, the grader runs mvn test instead. Otherwise it runs javac over every .java file under /app plus tests/TestSolution.java, then executes JUnit Console with --scan-class-path./app/ in directories that match the package declaration. For example, a class in package com.foo.bar; must live at /app/com/foo/bar/<ClassName>.java (or under a Maven layout like /app/src/main/java/com/foo/bar/).imports_project, wildcard-imported packages, and the test's own package) must resolve to source files you create.Task: Implement the core data model to satisfy the tests for Production2892 and its related types.
What to implement
File structure (place under /app/):
Notes