Spring Boot starter and OpenAI-compatible model module behind a REST endpoint, tested against a fake provider on localhost. FakeOperationContext and EmbabelMockitoIntegrationTest examples, retry multiplication, a STUCK process surfacing as NullPointerException, two-goal agents, and plain Spring AI with the branches written. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b6vDJ5fWY5uEZaJFNi
13 lines
714 B
Bash
Executable File
13 lines
714 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Runs the two-goal experiment in eight separate JVMs and collects the first figure from each.
|
|
# Run from the repository root.
|
|
set -euo pipefail
|
|
out=embabel/output/24-two-goals-across-jvms.txt
|
|
tmp=$(mktemp)
|
|
for i in 1 2 3 4 5 6 7 8; do
|
|
mvn -B -q test -pl embabel -Dtest='TestingLayersTest#askingATwoGoalAgentForOneOfTheGoals' "$@" > /dev/null
|
|
echo "JVM $i | equal goals: $(sed -n 's/^TwoGoalsAgent.*produced in //p' embabel/output/16-two-goals.txt) | valued goal: $(sed -n 's/^Same.*produced in //p' embabel/output/16-two-goals.txt)" >> "$tmp"
|
|
done
|
|
{ echo "Asked for a Brief, 50 runs per JVM, eight JVMs in a row (scripts/two-goals-across-jvms.sh)."; echo; cat "$tmp"; } > "$out"
|
|
rm "$tmp"
|