From 650403b82678ea3f542ab95c8a227345b9d8ece5 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Mon, 30 Jun 2025 23:20:19 +0800 Subject: chore: Delete useless test dir --- test/example_log.log | 41 ----------------------------------- test/example_rule.json | 58 -------------------------------------------------- 2 files changed, 99 deletions(-) delete mode 100644 test/example_log.log delete mode 100644 test/example_rule.json diff --git a/test/example_log.log b/test/example_log.log deleted file mode 100644 index 8061f9f..0000000 --- a/test/example_log.log +++ /dev/null @@ -1,41 +0,0 @@ -墨勒托.DW(11111111) 2025-01-27 19:58:15 -#吹个口哨 - -MIKU(2222222) 2025-01-27 19:58:39 -她和没听到一样走远了 - -卡梅拉(3333333) 2025-01-27 19:58:39 -什么奇怪的拟声词 - -以实玛利(4444444) 2025-01-27 19:58:42 -“很高兴认识你,我是以实玛利” - -麦奎恩·马瑟斯(5555555) 2025-01-27 20:05:18 -“你好,”#向前伸出手,“鄙人马瑟斯” - -麦奎恩·马瑟斯(5555555) 2025-01-27 20:05:18 -【这人不简单啊】#和对方握手,“幸会幸会” - -以实玛利(4444444) 2025-01-27 20:00:02 -(白师傅,能不能别念了) - -以实玛利(4444444) 2025-01-27 20:00:07 -(变语音团了) - -西吉斯蒙德(6666666) 2025-01-27 20:00:36 -(有无温州酒店推荐) - -以实玛利(4444444) 2025-01-27 20:00:43 -.rc 侦查 - -墨勒托.DW(7777777) 2025-01-27 20:00:46 -(汉庭( - -MIKU(2222222) 2025-01-27 20:01:58 -那么你在他看走廊探头探脑时 - -MIKU(2222222) 2025-01-27 20:02:06 -也站起身子探头探脑的看了看办公室 - -MIKU(2222222) 2025-01-27 20:02:18 -可以注意到瑞德曼的办公桌上有一份卷宗,卷宗上写着“4·22袭警案调查报告”的字样: diff --git a/test/example_rule.json b/test/example_rule.json deleted file mode 100644 index 73abe3f..0000000 --- a/test/example_rule.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - // 匹配日志元数据,提取 id、QQ 账号和时间。例如:墨勒托.DW(1571806261) 2025-01-27 19:58:15 - "metadata": { - "type": "metadata", - "patterns": [ - "^(\\S+)\\((\\d+)\\)\\s+(\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2})" - ], - "groups": ["user_name", "user_id", "time"] - }, - "content": [ - { - "type": "action", - "match_type": "prefix", - "priority": 1001, // 优先级,数字越小优先级越高,范围为1-5000 - "patterns": ["^#(.+)"], - "groups": ["action_content"] - }, - { - "type": "speech", - "match_type": "enclosed", - "priority": 101, - "patterns": [ - "[“”\"](.+?)[“”\"]" // 匹配各种引号 - ], - "groups": ["speech_content"] - }, - { - "type": "ooc_speech", - "match_type": "enclosed", - "priority": 103, - "patterns": [ - "[\\((](.+?)[\\))]" // 匹配各种括号 - ], - "groups": ["ooc_content"] - }, - { - "type": "suffix_ooc_speech", - "match_type": "suffix", - "priority": 2001, - "patterns": ["(.+)b$"], - "groups": ["suffix_ooc_speech"] - }, - { - "type": "dice_order", - "match_type": "prefix", - "priority": 1, - "patterns": ["^[.。](.+)"], - "groups": ["dice_command"] - }, - { - "type": "thought", - "match_type": "enclosed", - "priority": 102, - "patterns": ["【(.+)】"], - "groups": ["thought_content"] - } - ] -} -- cgit v1.2.3-70-g09d2