Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mossutils
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dinfk-lecturers
mossutils
Commits
fc476fff
Commit
fc476fff
authored
May 04, 2020
by
scmalte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aggr.py: Added plagiarist count
parent
dff1239c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
mossutils/aggr.py
mossutils/aggr.py
+8
-1
No files found.
mossutils/aggr.py
View file @
fc476fff
...
...
@@ -114,7 +114,13 @@ def main(
jinja2_rows
.
append
((
cluster
,
cluster_rows
))
# break
## TODO: Support sorting clusters by max (or average) involved percentage
plagiarist_count
=
0
for
(
_
,
cluster_rows
)
in
jinja2_rows
:
plagiarist_count
+=
cluster_rows
.
shape
[
0
]
department_counts
=
{}
...
...
@@ -162,6 +168,7 @@ def main(
clusters
=
jinja2_rows
,
edoz_count
=
edoz_csv
.
shape
[
0
],
course_count
=
course_csv
.
shape
[
0
],
plagiarist_count
=
plagiarist_count
,
percentages
=
percentages
).
dump
(
"clusters.html"
)
...
...
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