pub struct Candidate {Show 14 fields
pub index: usize,
pub label: char,
pub agent: String,
pub branch: String,
pub worktree: PathBuf,
pub summary: String,
pub stat: String,
pub files: usize,
pub commits: usize,
pub empty: bool,
pub failed: Option<String>,
pub verified_noop: Option<String>,
pub duration_ms: u64,
pub folded: bool,
}Expand description
One candidate implementation.
Fields§
§index: usizePosition in the implementer list.
label: charBlind label as presented to judges.
agent: StringWhich agent wrote it. Recorded for the stats tables, never shown to a judge.
branch: StringBranch, named after the label so judges can inspect it without learning the author.
worktree: PathBufWorktree path.
summary: StringSanitized author summary.
stat: Stringgit diff --stat.
files: usizeFiles touched.
commits: usizeCommits ahead of base.
empty: boolTrue when the agent produced no change at all.
failed: Option<String>Why this candidate is not in the running.
verified_noop: Option<String>The evidence this candidate gave for writing no change on purpose —
the NO CHANGE NEEDED: marker prompt::implement’s reply format
documents, verbatim. Some only when crate::graph’s adoption
guard accepted the claim: the CLI exited cleanly, the tree really is
empty, no command in the reply was left with an unconfirmed exit
status, and the evidence itself is non-empty. A candidate that wrote
nothing and said nothing about why — the ordinary empty loss — always
reads None here, same as one written before schema 10 ever existed.
duration_ms: u64Wall-clock time for the implementation.
folded: boolWhether the worktree has been folded away.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Candidate
impl<'de> Deserialize<'de> for Candidate
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>,
Auto Trait Implementations§
impl Freeze for Candidate
impl RefUnwindSafe for Candidate
impl Send for Candidate
impl Sync for Candidate
impl Unpin for Candidate
impl UnsafeUnpin for Candidate
impl UnwindSafe for Candidate
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
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more