Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
LAE
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
文靖昊
LAE
Commits
e2bab94d
Commit
e2bab94d
authored
Nov 28, 2024
by
tinywell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rate结果排序 bug
parent
86fa9fa8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
Makefile
Makefile
+3
-0
tool_rate.py
src/agent/tool_rate.py
+1
-1
No files found.
Makefile
View file @
e2bab94d
...
...
@@ -3,3 +3,5 @@
geo_agent
:
docker build
-t
brilliance/geo_agent .
dev_agent
:
docker build
-t
brilliance/geo_agent:dev .
\ No newline at end of file
src/agent/tool_rate.py
View file @
e2bab94d
...
...
@@ -124,7 +124,7 @@ class RegionRateTool(BaseRateTool):
for
item
in
df
.
resultdata
:
rate_date
=
self
.
_extract_rate_data
(
item
)
result_data
.
append
(
rate_date
)
sorted_data
=
[
r
ate_date
[
0
]]
sorted_data
=
[
r
esult_data
[
0
]]
if
len
(
result_data
)
>
1
:
sorted_data
.
extend
(
sorted
(
result_data
[
1
:],
key
=
lambda
x
:
x
[
'在线率'
]))
...
...
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