1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//! overbrainer: distill a parent LLM into a smaller child model.
pub mod cli;
pub mod config;
pub mod dataset;
pub mod dedup;
pub mod events;
pub mod exec;
pub mod export;
pub mod history;
pub mod llm;
pub mod logging;
pub mod metrics;
pub mod pipeline;
pub mod pricing;
pub mod project_format;
pub mod project_lock;
pub mod prompts;
pub mod retry;
pub mod runpod;
pub mod runs;
pub mod secrets;
pub mod system;
pub mod train;
pub mod tui;
pub mod update;
/// What the unit tests share across modules.
#[cfg(test)]
pub(crate) mod test_support {
/// Held by every test that sends a real signal to the test process. All unit
/// tests run in one process, so a signal one test raises reaches the
/// listeners of another running at the same time and breaks its timing.
/// Bind it to a name (`let _signals = SIGNALS.lock().await;`): `_` would
/// release it at once.
pub(crate) static SIGNALS: tokio::sync::Mutex<()> = tokio::sync::Mutex::const_new(());
}