Files
learning-hour-maker/ideas/split-loop-with-lambda/exercise/rehearsal-runs/A+Q/verify.txt
T
Your Name b993f25c53 Add agent rehearsal harness, findings, and per-run evidence for split-loop-with-lambda
Six scripted pi sub-agent runs (3 tool regimes × 2 models) rehearsed the
exercise; deterministic gate = solution test + approved file. Key results:
mandated CLI triples cost on the strong model (4:06 vs 0:39, PASS both);
weak model fails only under the mandate (A+Q), passes when free or optional.
Drift documented with code: scorer.updateSelection left inside the extracted
method (A+Q, C+Q). Harness in tools/rehearse; summary in
rehearsal-findings.md; per-run evidence in rehearsal-runs/; cheat sheet in
rehearse-with-agent.md corrected (lambda-typed parameters unsupported).
2026-09-27 17:36:19 +00:00

26 lines
1.5 KiB
Plaintext

--- Run A+Q ---
final diff vs pristine: 38 changed lines -> /tmp/rehearsal/runs/A+Q/diff.patch
mvn test with solution's test + approved file:
RESULT: FAIL (see /tmp/rehearsal/runs/A+Q/mvn-verify.log, last lines:)
[ERROR] LongRangeForecastsTest.longRangeForecast:18 expected: <{Strawberry:12, Chocolate:12, Vanilla:17, }
> but was: <{}
>
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.2.5:test (default-test) on project IceCreamForecasting-Refactoring-Kata: There are test failures.
[ERROR]
[ERROR] Please refer to /tmp/rehearsal/runs/A+Q/workspace/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
structural checks:
[x] method collectExpectedWeather exists
[x] takes LongFunction<Boolean> parameter
[i] note: 'scorer' still referenced in LongRangeForecasts.java
[x] lambda syntax present
[i] main class differs from reference solution (may still be a valid variant)