Skip to main content

Module speaking_results

Module speaking_results 

Source
Expand description

What this machine’s speaking benches measured, keyed by what they ran.

App-level, like the words bench’s results: the corpus is the machine’s, and a result for a different corpus is not a comparison. The key is (model file, corpus sha) - overwriting the row for the same corpus is what keeps a re-run from stacking a second copy of the same number.

Re-exports§

use redb::ReadableTable; 🔒
use redb::TableDefinition; 🔒
use crate::bench::SpeakingBenchResult; 🔒
use super::Db; 🔒

Constants§

RESULTS 🔒
One row per (model file, corpus), keyed by the two of them.

Functions§

key
The key one result is filed under.
results
Every saved result, newest first.
save
Save one result, replacing any row for the same (model file, corpus).