Il test delle bruciate rovescia a cottura piena: al limite, con certe castagne, una volta su cento ne restavano crude troppe

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GiECd9RWGMKV7n3K1mdy8T
This commit is contained in:
2026-10-31 15:34:22 +01:00
co-authored by Claude Opus 5.5
parent 4d1611c6eb
commit d37dafd58c
+1 -1
View File
@@ -7,7 +7,7 @@ import { story } from '../src/story/story.js';
import { settle } from './helpers.mjs';
// Gira la manovella tenendola, a `w` radianti al secondo, finché le castagne non paiono cotte (o per `secs` secondi).
function crank(c, w, { secs = 60, until = 1.05 } = {}) {
function crank(c, w, { secs = 60, until = 1.2 } = {}) {
c.grab ??= { pointerId: 1, heading: null, last: null };
for (let i = 0; i < secs * 60 && c.step === 'turn' && m.doneness(c) < until; i++) { c.pending = w / 60; m.update(c, 1 / 60); }
}