Skip to content

Commit df8a625

Browse files
committed
docs: 更新 CHANGELOG 添加 v0.5.0 版本记录
记录 problem_validate 工具新增和 Windows testlib 兼容性修复
1 parent 161a80c commit df8a625

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,36 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.5.0] - 2026-04-24
9+
10+
### Features
11+
12+
- **新增 problem_validate 工具**
13+
- 验证题面中的样例答案是否正确(运行 sol)
14+
- 验证 tests/ 目录下的样例文件是否与 sol 输出一致
15+
- 支持多种样例格式:Markdown code block、纯文本格式(`样例输入:`/`Sample Input:`
16+
- 新增 `skills/problem-validate/SKILL.md` 验证 skill 文档
17+
18+
- **工作流变更**
19+
- 新增验证步骤:`stress_test_run -> problem_validate -> problem_generate_tests`
20+
- `problem_generate_tests` 前必须先通过 `problem_validate` 验证
21+
- 更新 `agents/autocode-workflow.md``skills/autocode-workflow/SKILL.md`
22+
23+
### Bug Fixes
24+
25+
- **Windows 平台 testlib 程序兼容性**
26+
- 修复 Windows 上 testlib strict 模式期望 CRLF 换行符的问题
27+
- 将输入数据的 LF 转换为 CRLF 以满足 validator 的 `readEoln()` 要求
28+
29+
- **problem_validate 工具修复**
30+
- 无样例时正确返回失败而非成功
31+
- 重新验证失败后正确清除缓存状态
32+
33+
### Tests
34+
35+
- 新增 `tests/test_validation.py`(15 个测试用例)
36+
- 测试数量从 173 增至 176
37+
838
## [0.4.0] - 2026-04-09
939

1040
## [0.4.1] - 2026-04-09

0 commit comments

Comments
 (0)