diff --git a/Local-Development-and-Verification.-.md b/Local-Development-and-Verification.-.md index 42e1d69..7571eb1 100644 --- a/Local-Development-and-Verification.-.md +++ b/Local-Development-and-Verification.-.md @@ -593,3 +593,14 @@ Brain\.venv\Scripts\python.exe -m yovision_brain --smoke cpu 定向测试覆盖空帧、目标出现/移动、短暂遮挡、消失、轨迹结束、会话 ID 边界及 PyTorch CPU 后端。合成几何帧不含人脸或客户数据;结果只证明链路可运行,不是效果评估。 + + +## Brain 区域与方向越线验证 + +```powershell +Brain\.venv\Scripts\python.exe -m pytest Brain/tests/rules -q +Brain\.venv\Scripts\python.exe -m pytest Brain/tests -q +``` + +定向测试覆盖区域外/进入/内部、边界点、正反方向、贴线 deadband、无效多边形/警戒线、重复 ID 和 Profile/分辨率不匹配;只使用合成归一化几何与匿名轨迹。 +