Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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
edx
edx-platform
Commits
90f7a010
Commit
90f7a010
authored
May 11, 2015
by
Adam
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7989 from edx/adam/more-grading-logging
add more logging to grading
parents
4a8cd270
801ee67e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
lms/djangoapps/instructor_task/tasks_helper.py
+10
-10
No files found.
lms/djangoapps/instructor_task/tasks_helper.py
View file @
90f7a010
...
...
@@ -611,17 +611,17 @@ def upload_grades_csv(_xmodule_instance_args, _entry_id, course_id, _task_input,
task_progress
.
update_task_state
(
extra_meta
=
current_step
)
task_progress
.
attempted
+=
1
# Now add a log entry after certain intervals to get a hint that task is in progress
# Now add a log entry after each student is graded to get a sense
# of the task's progress
student_counter
+=
1
if
student_counter
%
1000
==
0
:
TASK_LOG
.
info
(
u'
%
s, Task type:
%
s, Current step:
%
s, Grade calculation in-progress for students:
%
s/
%
s'
,
task_info_string
,
action_name
,
current_step
,
student_counter
,
total_enrolled_students
)
TASK_LOG
.
info
(
u'
%
s, Task type:
%
s, Current step:
%
s, Grade calculation in-progress for students:
%
s/
%
s'
,
task_info_string
,
action_name
,
current_step
,
student_counter
,
total_enrolled_students
)
if
gradeset
:
# We were able to successfully grade this student for this course.
...
...
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