Add experienced-2-3y module: 31 scenario questions (core Java, collections/streams, concurrency, Spring Boot 4.2, JPA N+1, REST problem details, SQL) with 7 asserting tests and 8 transcripts
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b6u469kis46DspusiL
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
4180e746ef
commit
76012dd8c3
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
# Compiles the file in src/broken/ (NOT part of the Maven build) and captures javac's own message.
|
||||
set -uo pipefail
|
||||
cd "$(dirname "$0")/../src/broken"
|
||||
out=../../output/08-compile-errors.txt
|
||||
: > "$out"
|
||||
echo "=== javac NonExhaustiveSwitch.java ===" >> "$out"
|
||||
javac --release 25 -d /tmp/exp23-broken NonExhaustiveSwitch.java 2>&1 | grep -v '^Picked up' >> "$out"
|
||||
cat "$out"
|
||||
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
# Regenerates every file in output/. Needs JDK 25 and Maven (first Maven run online).
|
||||
# 01-07 are written by JUnit tests that assert the lines they write; 08 is javac's own output for src/broken/.
|
||||
# 03 contains counts from deliberately racy code: the tests assert that updates were lost, the exact numbers drift per run.
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")/.."
|
||||
mvn -B -q test
|
||||
./scripts/compile-errors.sh > /dev/null
|
||||
echo "done:"; ls -1 output
|
||||
Reference in New Issue
Block a user