- Samman learning hour: 5/5/10/25/5 outline; pairs stop at extracted
method taking the lambda as a parameter
- exercise/java: pre-factored variant of the kata (Q1/Q4 dead branch
stripped, dates as constant), approval test red/flaky by design
- exercise/solution: collectExpectedWeather(LongFunction<Boolean>) +
no-arg overload; deterministic approval test (all-sunny lambda)
- rehearse-with-agent.md: rehearsal setup with qwen + java-refactoring-mcp
Joint work with Emily Bache, based on the IceCreamForecasting-Refactoring-Kata.
Names the mechanics (introduce lambda -> slide statement -> extract method
taking the lambda) used when plain Split Loop stalls because the variable
to slide is a function, not a value.
- Add OrderBookDomain: in-memory order book with Pending →
WaitingForPayment → Fulfilling → Delivered state machine, payment
window based on passed-in timestamps, cancellation rules
- Add OrderBookTests: 7 integration tests in given/when/then/when/then
anti-pattern style as starting material for the exercise
- Learning hour: add round 2 where participants create the example
themselves before showing it to the agent (no refactored test given)
- Fix sln: OrderTests Debug config was mapped to Release