arms-F.sh 1.2 KB

123456789101112131415161718192021
  1. #!/usr/bin/env bash
  2. # Arm F (body-inlining trace + trace-first steering) across the same 6 repos as
  3. # arms-matrix.sh, so F vs B isolates the trace-enrichment effect (same surface,
  4. # old thin trace in B vs body-inlining trace here).
  5. set -uo pipefail
  6. H="$(cd "$(dirname "$0")" && pwd)"; RUNS="${RUNS:-2}"; C="${CORPUS:-/tmp/codegraph-corpus}"
  7. ROWS=(
  8. "$C/flutter-samples/add_to_app/books/flutter_module_books|How does the books UI build and what child widgets does it show?"
  9. "$C/aspnet-realworld|How is creating an article handled? Trace the controller to the service."
  10. "$C/spring-mall|How is a product-list request handled? Trace the controller to the service."
  11. "$C/vapor-spi|How is a package-show request handled? Name the route and controller."
  12. "$C/excalidraw|How does updating an element re-render the canvas on screen? Trace the flow."
  13. "$C/spring-halo|How is publishing a post handled? Trace the controller to the service."
  14. )
  15. ARM="${ARM:-F}"
  16. echo "### ARM $ARM START $(date) RUNS=$RUNS"
  17. for row in "${ROWS[@]}"; do
  18. repo="${row%%|*}"; q="${row#*|}"
  19. for r in $(seq 1 "$RUNS"); do bash "$H/run-arms.sh" "$repo" "$q" "$ARM" "$r"; done
  20. done
  21. echo "### ARM $ARM COMPLETE $(date)"