Skip to content

armgit / raea

Public Imported from GitHub
0

Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.

NB2a: raea check's blotching debug read as a stat channel in main's scorer

shinyobjectz2487f40dd110
diff --git a/apps/check/src/picture.rs b/apps/check/src/picture.rs
index af59bec8..25480d4d 100644
--- a/apps/check/src/picture.rs
+++ b/apps/check/src/picture.rs
@@ -170,7 +170,7 @@ pub(crate) fn blotching_from(video: &str, probe: &Probe, scores: &[Option<f64>],
let t = k as f64 * 2.0;
seen += 1;
worst = worst.max(s);
- if std::env::var_os("RAEA_CHECK_DEBUG").is_some() {
+ if raea_io_trace::stat("RAEA_CHECK_DEBUG") {
eprintln!("blotch {t:6.1}s {s:.3}");
}
if s > BLOTCHY {