Enum OutcomeSignalKind
pub enum OutcomeSignalKind {
Show 17 variants
RetryImproved,
RetryDidNotImprove,
ExecutionAwaitingReview,
ExecutionAwaitingTestValidation,
TaskCompleted,
TaskFailed,
TaskBlocked,
TaskCancelled,
PreExecutionApproved,
PreExecutionRejected,
PreExecutionNeedsRevision,
ReviewApproved,
ReviewRejected,
ReviewNeedsRevision,
TestValidationApproved,
TestValidationRejected,
TestValidationNeedsRevision,
}Expand description
Durable outcome labels that corrective learning can attach to turns and tasks.
Variants§
RetryImproved
A same-turn retry materially improved the answer.
RetryDidNotImprove
A same-turn retry did not materially improve the answer.
ExecutionAwaitingReview
Execution finished and is waiting for review approval.
ExecutionAwaitingTestValidation
Execution finished and is waiting for explicit test validation.
TaskCompleted
The task reached a completed state.
TaskFailed
The task failed.
TaskBlocked
The task became blocked.
TaskCancelled
The task was cancelled.
PreExecutionApproved
The task was approved before execution.
PreExecutionRejected
The task was rejected before execution.
PreExecutionNeedsRevision
The task needs revision before execution.
ReviewApproved
Review approval was granted.
ReviewRejected
Review approval was rejected.
ReviewNeedsRevision
Review requested revision.
TestValidationApproved
Test validation was approved.
TestValidationRejected
Test validation was rejected.
TestValidationNeedsRevision
Test validation requested revision.
Implementations§
§impl OutcomeSignalKind
impl OutcomeSignalKind
pub const fn as_str(self) -> &'static str
pub const fn as_str(self) -> &'static str
Stable machine-readable identifier suitable for persistence and tags.
pub const fn label(self) -> &'static str
pub const fn label(self) -> &'static str
Human-readable label suitable for UI summaries and markdown persistence.
pub const fn confidence_delta(self) -> f32
pub const fn confidence_delta(self) -> f32
Confidence delta used when outcome-linked learning ranks a reflection.
Trait Implementations§
§impl Clone for OutcomeSignalKind
impl Clone for OutcomeSignalKind
§fn clone(&self) -> OutcomeSignalKind
fn clone(&self) -> OutcomeSignalKind
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more§impl Debug for OutcomeSignalKind
impl Debug for OutcomeSignalKind
§impl<'de> Deserialize<'de> for OutcomeSignalKind
impl<'de> Deserialize<'de> for OutcomeSignalKind
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<OutcomeSignalKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OutcomeSignalKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
§impl Display for OutcomeSignalKind
impl Display for OutcomeSignalKind
§impl Hash for OutcomeSignalKind
impl Hash for OutcomeSignalKind
§impl PartialEq for OutcomeSignalKind
impl PartialEq for OutcomeSignalKind
§impl Serialize for OutcomeSignalKind
impl Serialize for OutcomeSignalKind
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl Copy for OutcomeSignalKind
impl Eq for OutcomeSignalKind
impl StructuralPartialEq for OutcomeSignalKind
Auto Trait Implementations§
impl Freeze for OutcomeSignalKind
impl RefUnwindSafe for OutcomeSignalKind
impl Send for OutcomeSignalKind
impl Sync for OutcomeSignalKind
impl Unpin for OutcomeSignalKind
impl UnwindSafe for OutcomeSignalKind
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<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
§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
key and return true if they are equal.§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.