pub struct Panel {
pub prompt: String,
pub reviewers: Vec<Reviewer>,
pub quorum: u32,
}Expand description
A panel of independent reviewers.
One agentic reviewer is one uncalibrated opinion. A panel buys independence
with tokens: each reviewer examines the run alone and reports, and the stage
verdict is a deterministic count over the reports rather than anything a
reviewer decided. The opinions stay untrusted; the procedure over them is
kernel code, which is why aggregate lives here beside the walk and is
tested without an LLM anywhere near it.
Fields§
§prompt: StringThe prompt file every reviewer is handed, relative to
PANEL_PROMPT_ROOT. One prompt for the whole panel: per-reviewer
prompts would make the reports incomparable.
reviewers: Vec<Reviewer>§quorum: u32How many Pass reports the stage needs. 1..=reviewers.len().
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Panel
impl<'de> Deserialize<'de> for Panel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Panel
impl StructuralPartialEq for Panel
Auto Trait Implementations§
impl Freeze for Panel
impl RefUnwindSafe for Panel
impl Send for Panel
impl Sync for Panel
impl Unpin for Panel
impl UnsafeUnpin for Panel
impl UnwindSafe for Panel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.