Drop dead held.len() > 1 guard in stance_ablation
The digest check already leaves the permute variant None when the permuted stance equals the base stance, which is the one-held-item case. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
611460bec3
commit
2a42eecc84
1 changed files with 5 additions and 7 deletions
|
|
@ -1485,13 +1485,11 @@ impl RunStores {
|
|||
p.stance = Stance::default();
|
||||
variants[0] = Some(prompt_of(1, p)?);
|
||||
}
|
||||
if held.len() > 1 {
|
||||
let mut p = packet.clone();
|
||||
p.stance = held[(i + 1) % held.len()].1.stance.clone();
|
||||
let prompt = prompt_of(2, p)?;
|
||||
if prompt.digest() != base.digest() {
|
||||
variants[1] = Some(prompt);
|
||||
}
|
||||
let mut p = packet.clone();
|
||||
p.stance = held[(i + 1) % held.len()].1.stance.clone();
|
||||
let prompt = prompt_of(2, p)?;
|
||||
if prompt.digest() != base.digest() {
|
||||
variants[1] = Some(prompt);
|
||||
}
|
||||
// The round's own answer must exist; a missing one is not a gap to ask for.
|
||||
let recorded_text = match asked(recorded, &base)? {
|
||||
|
|
|
|||
Loading…
Reference in a new issue