Projector: Decided leaves the default recall_sorts (her Mind files mission decisions there); default is Learned, Idea, Rapport
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
f363d3b230
commit
fb5ea6b924
2 changed files with 5 additions and 4 deletions
|
|
@ -380,8 +380,8 @@ fn recall_offers_only_the_tunings_sorts_and_the_default_keeps_work_out() {
|
|||
let mind = mind_of_every_sort();
|
||||
let dir = tempfile::tempdir().unwrap();
|
||||
let (shown, report) = recalled_on_every_seed(&mind, dir.path());
|
||||
assert_eq!(report["recall"]["sorts"], json!(["Learned", "Idea", "Decided", "Rapport"]), "the report says which sorts it used");
|
||||
for work in ["committed", "did", "asked"] {
|
||||
assert_eq!(report["recall"]["sorts"], json!(["Learned", "Idea", "Rapport"]), "the report says which sorts it used");
|
||||
for work in ["committed", "did", "asked", "decided"] {
|
||||
assert!(!shown.iter().any(|id| id.ends_with(&format!("sort-{work}"))), "{work} is work and never reaches her by default: {shown:?}");
|
||||
}
|
||||
assert!(!shown.is_empty(), "some allowed sort is recalled: {shown:?}");
|
||||
|
|
|
|||
|
|
@ -66,7 +66,8 @@ pub struct SelectTuning {
|
|||
/// The room lines a beat shows.
|
||||
pub beat_tail_lines: usize,
|
||||
/// The sorts of her Mind's memories recall may offer, as the mind spells them. Her Mind is mostly the mission's
|
||||
/// record: Committed, Did and Asked are work and stay out unless an experiment names them.
|
||||
/// record: Committed, Did, Asked and Decided (her Mind files mission decisions as Decided) are work and stay out unless
|
||||
/// an experiment names them.
|
||||
pub recall_sorts: Vec<String>,
|
||||
pub caps: PoolCaps,
|
||||
}
|
||||
|
|
@ -120,7 +121,7 @@ impl Default for SelectTuning {
|
|||
freshness_window: 5,
|
||||
people_full: 2,
|
||||
beat_tail_lines: 6,
|
||||
recall_sorts: ["Learned", "Idea", "Decided", "Rapport"].map(String::from).to_vec(),
|
||||
recall_sorts: ["Learned", "Idea", "Rapport"].map(String::from).to_vec(),
|
||||
caps: PoolCaps::default(),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue