Skip to content

Commit 3b3cd3a

Browse files
committed
add accurancy test
1 parent a3658e6 commit 3b3cd3a

File tree

4 files changed

+841
-10
lines changed

4 files changed

+841
-10
lines changed

test/config.yaml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ reports:
77
filename: "report.html"
88
title: "UCM Pytest Test Report"
99

10-
database:
11-
backup: "results/"
12-
enabled: true
13-
host: "127.0.0.1"
14-
port: 3306
15-
name: "ucm_pytest"
16-
user: "root"
17-
password: "123456"
18-
charset: "utf8mb4"
10+
# database:
11+
# backup: "results/"
12+
# enabled: true
13+
# host: "127.0.0.1"
14+
# port: 3306
15+
# name: "ucm_pytest"
16+
# user: "root"
17+
# password: "123456"
18+
# charset: "utf8mb4"
1919

2020
# LLM Connection Configuration
2121
llm_connection:
@@ -24,4 +24,8 @@ llm_connection:
2424
tokenizer_path: "/home/models/QwQ-32B"
2525
stream: true # stream output
2626
ignore_eos: true # Ignore the returned terminator
27-
timeout: 180 # request time out
27+
timeout: 180 # request time out
28+
29+
# Offline inference configuration (for accuracy tests)
30+
model_path: "/home/models/DeepSeek-V2-Lite"
31+
ucm_storage_dir: "/home/share/qyh-test"

test/conftest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ def pytest_collection_modifyitems(config, items):
3434

3535
markers = [m.split(":", 1)[0].strip() for m in config.getini("markers")]
3636
for name in markers:
37+
if name == "forked":
38+
continue
3739
opt = config.getoption(f"--{name}", "").strip()
3840
if not opt:
3941
continue

0 commit comments

Comments
 (0)