embabel: move to 1.5.4, add Spring Boot application, deterministic testing layers and measured failure modes
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
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user