The refactoring is now published as Slice on sammancoaching.org: https://sammancoaching.org/refactorings/slice.html - git mv ideas/split-loop-with-lambda -> ideas/slice-with-lambda - rename learning-hour file and update frontmatter name - update paths in tools/rehearse scripts and report title - update prose: 'Split Loop with Lambda' -> 'Slice with Lambda' in learning hour, exercise READMEs, storyboard, solution comments - link the published Slice refactoring from the pattern draft
36 lines
1.0 KiB
Plaintext
36 lines
1.0 KiB
Plaintext
--- Run C ---
|
|
session file: /tmp/rehearsal/runs/C/session/2026-09-27T15-45-09-782Z_01a0e38a-a696-7513-8cb3-d7e75370aeff.jsonl
|
|
model: z-ai/glm-5.3-flash
|
|
session span: 156.5 s
|
|
assistant messages: 20
|
|
tool calls: 23 total
|
|
bash 15
|
|
read 4
|
|
edit 4
|
|
tokens input: 13250
|
|
tokens output: 8393
|
|
tokens cacheRead: 124544
|
|
tokens cacheWrite: 0
|
|
tokens reasoning: 4618
|
|
tokens TOTAL (sum): 150805
|
|
--- /usr/bin/time -v (wall clock + max RSS) ---
|
|
Elapsed (wall clock) time (h:mm:ss or m:ss): 2:36.61
|
|
Maximum resident set size (kbytes): 248952
|
|
Exit status: 0
|
|
--- pi stdout (last 15 lines) ---
|
|
+ }
|
|
+ return expectedWeather;
|
|
+ }
|
|
}
|
|
```
|
|
|
|
Supporting change in `src/test/java/codingdojo/LongRangeForecastsTest.java`:
|
|
|
|
```diff
|
|
- var quarter = "Q3";
|
|
- var actual = new LongRangeForecasts().longRangeForecast(quarter);
|
|
+ var actual = new LongRangeForecasts().longRangeForecast();
|
|
```
|
|
|
|
Stopping here as instructed.
|