Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
ffm-baseline
Project
Project
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ML
ffm-baseline
Commits
5b36144d
Commit
5b36144d
authored
Jun 05, 2020
by
任婷婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add score
parent
0d1b4566
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
tag3_update_user_portrait_offline.py
eda/smart_rank/tag3_update_user_portrait_offline.py
+1
-0
tool.py
eda/smart_rank/tool.py
+2
-1
No files found.
eda/smart_rank/tag3_update_user_portrait_offline.py
View file @
5b36144d
...
...
@@ -125,6 +125,7 @@ def update_tag3_user_portrait(cl_id):
cl_id_single
=
key
for
item
in
values
.
keys
():
if
values
[
item
]:
first_solutions
=
values
[
item
]
.
get
(
"first_solutions"
,
[])
first_positions
=
values
[
item
]
.
get
(
"first_positions"
,
[])
first_demands
=
values
[
item
]
.
get
(
"first_demands"
,
[])
...
...
eda/smart_rank/tool.py
View file @
5b36144d
...
...
@@ -521,11 +521,12 @@ def user_portrait_action_statistic(cl_id):
# print(e)
#
#
# CREATE TABLE `user_portrait_action_divided_score` (
# `id` int(11) NOT NULL AUTO_INCREMENT,
# `date` text NOT NULL,
# `cl_id` text NOT NULL,
# `event_cn` text NOT NULL,
# `first_solutions` text NOT NULL,
# `second_solutions` text NOT NULL,
# `first_demands` text NOT NULL,
...
...
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