id: analyze-directory title: Analyze code stats for the sample project description: 核对固定项目文件的统计结果、输出格式和语义审查。 input: prompt: | 按 code-stats 的完整格式统计当前项目的 main.go、util.go 和 README.md。 统计范围只包含这三个文件,排除隐藏目录、工具配置和运行时生成文件。 输出 Summary、Files by Extension、Top File Extensions 和 Largest Files。 context: repo_fixture: evals/fixtures/repos/sample-project constraints: timeout_seconds: 900 max_turns: 5 expect: must_contain: - "Files by Extension" - "Total Files: 3" - "Total Lines: 20" must_not_contain: - "error" - "Error" judges: # 检查输出格式,退出码决定确定性判分。 - id: format type: script script_path: evals/fixtures/scripts/check-stats.sh timeout_seconds: 30 # Select the judge engine and endpoint independently of runner overrides. - id: relevance type: agent_judge engine: name: opencode model: provider: dashscope name: qwen3.8-max base_url: https://dashscope.aliyuncs.com/compatible-mode/v1 timeout_seconds: 180 criteria: - "输出回应了统计当前项目代码构成的请求,包含文件数、行数和扩展名分布,而非仅解释如何统计。" - "输出包含完整的统计报告,没有声称无法访问目录,也没有以建议或待办替代实际结果。" pass_threshold: 1.0