加载配置文件
(self)
| 109 | print(f"详细结果: {self.detailed_file}") |
| 110 | |
| 111 | def _load_config(self) -> Dict[str, Any]: |
| 112 | """加载配置文件""" |
| 113 | try: |
| 114 | with open(self.config_file, 'r', encoding='utf-8') as f: |
| 115 | return json.load(f) |
| 116 | except Exception as e: |
| 117 | raise RuntimeError(f"无法加载配置文件 {self.config_file}: {str(e)}") |
| 118 | |
| 119 | def _create_verifier_options(self) -> VerifierOptions: |
| 120 | """创建验证选项""" |