fn plan( map: &mut HashMap<(String, Cause), Shown>, slug: &str, cause: Cause, now: i64, ) -> Option<Plan>