From 865305a7933f6f76d96605a2f017cfdc5ef222c3 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Mon, 19 Jun 2023 11:55:30 +0200 Subject: [PATCH] filter kaminski+dasovich emails --- tests/enron.rs | 61 +++++++++++++++++++++++++++++++++----------------- 1 file changed, 40 insertions(+), 21 deletions(-) diff --git a/tests/enron.rs b/tests/enron.rs index 7373586..442db6f 100644 --- a/tests/enron.rs +++ b/tests/enron.rs @@ -12,33 +12,52 @@ fn test_enron500k() { d.push("resources/enron/maildir/"); let known_bad_fields = [ - "maildir/white-s/calendar/113.", // To: east <7..> + "white-s/calendar/113.", // To: east <7..> - "maildir/skilling-j/inbox/223.", // From: pep + "skilling-j/inbox/223.", // From: pep - "maildir/jones-t/all_documents/9806.", // To: <"tibor.vizkelety":@enron.com> - "maildir/jones-t/notes_inbox/3303.", // To: <"tibor.vizkelety":@enron.com> + "jones-t/all_documents/9806.", // To: <"tibor.vizkelety":@enron.com> + "jones-t/notes_inbox/3303.", // To: <"tibor.vizkelety":@enron.com> - "maildir/lokey-t/calendar/33.", // A second Date entry for the calendar containing + "lokey-t/calendar/33.", // A second Date entry for the calendar containing // Date: Monday, March 12 - "maildir/zipper-a/inbox/199.", // To: e-mail + "zipper-a/inbox/199.", // To: e-mail + + "dasovich-j/deleted_items/128.", // To: f62489 + "dasovich-j/all_documents/677.", // To: w/assts + "dasovich-j/all_documents/8984.", // To: <"ft.com.users":@enron.com> + "dasovich-j/all_documents/3514.", // To: <"ft.com.users":@enron.com> + "dasovich-j/all_documents/4467.", // To: <"ft.com.users":@enron.com> + "dasovich-j/all_documents/578.", // To: w/assts + "dasovich-j/all_documents/3148.", // To: <"economist.com.readers":@enron.com> + "dasovich-j/all_documents/9953.", // To: <"economist.com.reader":@enron.com> + "dasovich-j/risk_analytics/3.", // To: w/assts + "dasovich-j/notes_inbox/5391.", // To: <"ft.com.users":@enron.com> + "dasovich-j/notes_inbox/4952.", // To: <"economist.com.reader":@enron.com> + "dasovich-j/notes_inbox/2386.", // To: <"ft.com.users":@enron.com> + "dasovich-j/notes_inbox/1706.", // To: <"ft.com.users":@enron.com> + "dasovich-j/notes_inbox/1489.", // To: <"economist.com.readers":@enron.com> + "dasovich-j/notes_inbox/5.", // To: w/assts + + "kaminski-v/sites/19.", // To: <"the.desk":@enron.com> + "kaminski-v/sites/1.", // To: <"the.desk":@enron.com> + "kaminski-v/discussion_threads/5082.", // To: <"ft.com.users":@enron.com> + "kaminski-v/discussion_threads/4046.", // To: <"the.desk":@enron.com> + "kaminski-v/discussion_threads/4187.", // To: <"the.desk":@enron.com> + "kaminski-v/discussion_threads/8068.", // To: cats , risk , leaders + "kaminski-v/discussion_threads/7980.", // To: dogs , cats , risk ,\r\n\tleaders + "kaminski-v/all_documents/5970.", //To: dogs , cats , risk ,\r\n\tleaders + "kaminski-v/all_documents/5838.", // To + Cc: dogs , breakthrough.adm@enron.com, breakthrough.adm@enron.com,\r\n\tbreakthrough.adm@enron.com + "kaminski-v/all_documents/10070.", // To: <"ft.com.users":@enron.com> + "kaminski-v/all_documents/92.", // To: <"the.desk":@enron.com> + "kaminski-v/all_documents/276.", // To: <"the.desk":@enron.com> + "kaminski-v/technical/1.", // To: <"the.desk":@enron.com> + "kaminski-v/technical/7.", // To: <"the.desk":@enron.com> + "kaminski-v/notes_inbox/140.", // To: dogs , cats , risk ,\r\n\tleaders + "kaminski-v/notes_inbox/95.", // To + CC failed: cats , risk , leaders + - "maildir/dasovich-j/deleted_items/128.", // To: f62489 - "maildir/dasovich-j/all_documents/677.", // To: w/assts - "maildir/dasovich-j/all_documents/8984.", // To: <"ft.com.users":@enron.com> - "maildir/dasovich-j/all_documents/3514.", // To: <"ft.com.users":@enron.com> - "maildir/dasovich-j/all_documents/4467.", // To: <"ft.com.users":@enron.com> - "maildir/dasovich-j/all_documents/578.", // To: w/assts - "maildir/dasovich-j/all_documents/3148.", // To: <"economist.com.readers":@enron.com> - "maildir/dasovich-j/all_documents/9953.", // To: <"economist.com.reader":@enron.com> - "maildir/dasovich-j/risk_analytics/3.", // To: w/assts - "maildir/dasovich-j/notes_inbox/5391.", // To: <"ft.com.users":@enron.com> - "maildir/dasovich-j/notes_inbox/4952.", // To: <"economist.com.reader":@enron.com> - "maildir/dasovich-j/notes_inbox/2386.", // To: <"ft.com.users":@enron.com> - "maildir/dasovich-j/notes_inbox/1706.", // To: <"ft.com.users":@enron.com> - "maildir/dasovich-j/notes_inbox/1489.", // To: <"economist.com.readers":@enron.com> - "maildir/dasovich-j/notes_inbox/5.", // To: w/assts ]; let known_bad_from = [