feat: add P7 OCR soak scenario and scoreboard
This commit is contained in:
@@ -350,7 +350,7 @@ class TestTelemetry:
|
||||
for row in recorder.rows:
|
||||
assert "<ocr:text image_bytes=15>" in row["messages"]
|
||||
assert "RAW-IMAGE-BYTES" not in row["messages"] # 图像字节绝不入库
|
||||
assert recorder.rows[0]["error"] is not None
|
||||
assert recorder.rows[0]["error"].startswith("TransientError:") # 类名前缀口径
|
||||
assert recorder.rows[1]["error"] is None
|
||||
assert recorder.rows[1]["prompt_tokens"] == 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user