feat: 真实数据时间对齐集成测试框架
- tests/realdata_contract.py:数据契约底座(SRT 解析/清洗、时间对齐量化 指标 align_report、幻觉词/专名判定、提示词规则拼接) - tests/test_integration_alignment.py:流水线产物 vs 硬字幕参考的时间对齐 (真实数据复现"字幕过早/过晚",红→绿闭环) - tests/test_integration_prompt_rules.py:寒暄幻觉/专名提示词规则测试 - scripts/extract_reference_srt.py:从烧录字幕视频自动提取参考时间轴 - testdata/REALDATA_README.md + alignment/*.reference.srt:真实参考字幕 (视频素材较大,gitignore 不入库)
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
1
|
||||
00:00:00,000 --> 00:00:01,440
|
||||
---
|
||||
|
||||
2
|
||||
00:00:01,440 --> 00:00:04,320
|
||||
SUB 001
|
||||
|
||||
3
|
||||
00:00:05,760 --> 00:00:06,240
|
||||
---
|
||||
|
||||
4
|
||||
00:00:06,240 --> 00:00:09,120
|
||||
SUB 002
|
||||
|
||||
5
|
||||
00:00:09,600 --> 00:00:10,080
|
||||
---
|
||||
Reference in New Issue
Block a user