use serde::{Deserialize, Serialize};
use super::MemoryType;
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct MemoryBudget {
pub max_per_type: usize,
}
impl Default for MemoryBudget {
fn default() -> Self {
Self { max_per_type: 100 }
}
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct CurationCandidate {
pub id: String,
pub memory_type: MemoryType,
pub effective_importance: f32,
}
#[derive(Debug, Default, Clone, Serialize, Deserialize)]
pub struct CurationReport {
pub total_before: usize,
pub total_after: usize,
pub removed: usize,
pub candidates_for_removal: Vec<CurationCandidate>,
}