mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 21:03:47 -10:00
One call: the state, the questions by id, and stills (JPEG), videos (MP4) and sounds (MP3) cut with raea's FFmpeg to clef's limits (480 px H.264 at a small bitrate, mono 16 kHz MP3, JPEG at most 1,600 px; ffprobe says first what a file holds). It goes the first way that answers: the raea app's host (/host/ask, which adds its sign-in), an agent key (RAEA_AGENT_KEY with RAEA_API, for pipelines and servers), the person's own Cloudflare account; with none it says how to get one. No plan or no ask scope hands on to the next way; a spent pool stops unless the person has their own keys. Unchanged questions on unchanged media come from a cache by request hash; RAEA_CLEF_REPLAY gives recorded answers to tests. raea judge asks through it (Question::from_wire reads its rubric's clef-native questions), so apps/judge's own clef.rs is gone and the judge pays from the plan when the app is signed in. docs/settings.md lists the new settings.
19 lines
737 B
TOML
19 lines
737 B
TOML
[package]
|
|
name = "raea-app-judge"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
license = "FSL-1.1-ALv2"
|
|
publish = false
|
|
description = "raea judge: a review's sheets judged by clef-omni on a frozen rubric, the pass decided in code, calibrated against the person's eye before it gates"
|
|
|
|
[dependencies]
|
|
dunce = "1"
|
|
raea-io-home = { path = "../../io/home" }
|
|
# what a judge saw, as raea's one Finding (docs/direction.feature DR3)
|
|
raea-core-facts = { path = "../../core/facts" }
|
|
serde_json = "1"
|
|
raea-runtime-bundle = { path = "../../runtime/bundle" }
|
|
# the one clef client: the question format and the call, routed to the person's plan first (docs/ask.feature AK1b)
|
|
raea-core-ask = { path = "../../core/ask" }
|
|
raea-io-clef = { path = "../../io/clef" }
|