Land release blocker fixes and workspace cleanup
Some checks failed
check / cargo check (macos-latest) (push) Has been cancelled
check / cargo check (ubuntu-22.04) (push) Has been cancelled
check / cargo check (windows-latest) (push) Has been cancelled
check / svelte build + lint (push) Has been cancelled

This commit is contained in:
2026-04-23 00:16:09 +01:00
parent d7363cc913
commit 9b0067b4c0
36 changed files with 1529 additions and 418 deletions

View File

@@ -108,11 +108,7 @@ impl LocalAgreement {
// Can't commit anything until we have n passes in hand.
if self.history.len() < self.n {
let tentative = self
.history
.back()
.cloned()
.unwrap_or_default();
let tentative = self.history.back().cloned().unwrap_or_default();
return CommitDecision {
newly_committed: Vec::new(),
tentative,

View File

@@ -121,7 +121,7 @@ impl RmsVadChunker {
pending_onset_frames: 0,
onset_buffer: Vec::new(),
next_sample_index: 0,
active_chunk_start: 0,
active_chunk_start: 0,
}
}
@@ -552,10 +552,7 @@ mod tests {
let mut c = RmsVadChunker::new();
assert!(c.flush().is_empty());
let _ = c.push(&constant_signal(16_000, 0.0));
assert!(
c.flush().is_empty(),
"flushing pure silence emits nothing"
);
assert!(c.flush().is_empty(), "flushing pure silence emits nothing");
}
#[test]