pub struct ExecResults {
pub output: ExecutionResult,
pub outcomes: Vec<CheckOutcome>,
}Expand description
A graded run: what the submission produced, paired with its per-check verdicts.
Bundles the single ExecutionResult from running the submission with the
ordered CheckOutcomes from grading it — one per lesson check, by index. It
does not carry the check code-strings; those live on the Lesson and are
paired with outcomes positionally (ADR-0006). This is the input
build_prompt reads.
Fields§
§output: ExecutionResultWhat running the submission produced.
outcomes: Vec<CheckOutcome>One verdict per lesson check, in lesson.checks order.
Trait Implementations§
Source§impl Clone for ExecResults
impl Clone for ExecResults
Source§fn clone(&self) -> ExecResults
fn clone(&self) -> ExecResults
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExecResults
impl Debug for ExecResults
Source§impl PartialEq for ExecResults
impl PartialEq for ExecResults
impl Eq for ExecResults
impl StructuralPartialEq for ExecResults
Auto Trait Implementations§
impl Freeze for ExecResults
impl RefUnwindSafe for ExecResults
impl Send for ExecResults
impl Sync for ExecResults
impl Unpin for ExecResults
impl UnwindSafe for ExecResults
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.