pub struct TaskFeatures {
pub repo_size_mb: f64,
pub file_count: u32,
pub language_mix: HashMap<String, f64>,
pub dependency_count: u32,
pub test_count: u32,
pub complexity_score: f64,
pub domain: String,
pub historical_failure_rate: f64,
pub avg_completion_time_ms: u64,
}Expand description
Task features for contextual optimization
Fields§
§repo_size_mb: f64§file_count: u32§language_mix: HashMap<String, f64>§dependency_count: u32§test_count: u32§complexity_score: f64§domain: String§historical_failure_rate: f64§avg_completion_time_ms: u64Trait Implementations§
Source§impl Clone for TaskFeatures
impl Clone for TaskFeatures
Source§fn clone(&self) -> TaskFeatures
fn clone(&self) -> TaskFeatures
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 TaskFeatures
impl Debug for TaskFeatures
Source§impl<'de> Deserialize<'de> for TaskFeatures
impl<'de> Deserialize<'de> for TaskFeatures
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
Auto Trait Implementations§
impl Freeze for TaskFeatures
impl RefUnwindSafe for TaskFeatures
impl Send for TaskFeatures
impl Sync for TaskFeatures
impl Unpin for TaskFeatures
impl UnsafeUnpin for TaskFeatures
impl UnwindSafe for TaskFeatures
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