Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
ccran
/
contract-review-datasets
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2bfc27eb
authored
Feb 24, 2026
by
ccran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 增加测试结果;
parent
07aaa16d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
2 deletions
+1
-2
datasets/merged/merged_all.json
+0
-0
main.py
+1
-2
No files found.
datasets/merged/merged_all.json
View file @
2bfc27eb
This diff is collapsed.
Click to expand it.
main.py
View file @
2bfc27eb
...
...
@@ -208,7 +208,6 @@ def filter_rows_by_llm_result(
continue
ground_truth_text
=
str
(
ground_truth
)
.
strip
()
ground_truth_text
=
'合格'
try
:
for
attempt
in
Retrying
(
wait
=
wait_fixed
(
1
),
stop
=
stop_after_attempt
(
max_retries
),
reraise
=
True
):
...
...
@@ -231,7 +230,7 @@ def filter_rows_by_llm_result(
)
raise
ValueError
(
"llm result mismatch"
)
print
(
f
"[llm_match] row={index}, attempt={attempt.retry_state.attempt_number},result={result_text}"
)
row
[
'rsp'
]
=
f
'<think>{reasoning_content}</think>{
result_tex
t}'
row
[
'rsp'
]
=
f
'<think>{reasoning_content}</think>{
conten
t}'
except
Exception
as
exc
:
row
[
'rsp'
]
=
''
print
(
f
"[llm_drop] row={index}, error={exc}"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment