Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MPI-BugBench
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
High Performance Computing - Public
MPI-BugBench
Commits
93cadbed
Commit
93cadbed
authored
1 year ago
by
Jammer, Tim
Browse files
Options
Downloads
Patches
Plain Diff
increase hatch linewidth
parent
5c99ad62
No related branches found
No related tags found
1 merge request
!20
Parsing and tools updates
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
MBI.py
+11
-8
11 additions, 8 deletions
MBI.py
with
11 additions
and
8 deletions
MBI.py
+
11
−
8
View file @
93cadbed
...
...
@@ -19,9 +19,12 @@ import logging
import
pandas
import
pandas
as
pd
import
matplotlib
as
mpl
import
matplotlib.pyplot
as
plt
import
matplotlib.patches
as
mpatches
mpl
.
rcParams
[
'
hatch.linewidth
'
]
=
4.5
# hatch linewidth
# Add our lib directory to the PYTHONPATH, and load our utilitary libraries
sys
.
path
.
append
(
f
'
{
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
))
}
/scripts
'
)
...
...
@@ -740,14 +743,14 @@ def cmd_csv(rootdir, toolnames):
print
(
"
overall_noise
"
)
print
(
df_plot
[
"
noise_ratio
"
])
#
df_copy = df.copy()
#
df_copy.loc[df_copy['ERROR_EXPECTED'] == False, ['num_noise_class_line', 'num_error_reports']] = 0
#
df_plot = df_copy.groupby("category").sum()
#
df_plot.loc["ALL"] = df_plot.sum(axis=0)
#
df_plot.drop("other", axis=0, inplace=True)
#
df_plot["noise_ratio"] = df_plot["num_noise_line"] / df_plot["num_error_reports"]
#
print("noise_in_cases_where_errors_are_present")
#
print(df_plot[["noise_ratio", "num_noise_class_line", "num_error_reports"]])
df_copy
=
df
.
copy
()
df_copy
.
loc
[
df_copy
[
'
ERROR_EXPECTED
'
]
==
False
,
[
'
num_noise_class_line
'
,
'
num_error_reports
'
]]
=
0
df_plot
=
df_copy
.
groupby
(
"
category
"
).
sum
()
df_plot
.
loc
[
"
ALL
"
]
=
df_plot
.
sum
(
axis
=
0
)
df_plot
.
drop
(
"
other
"
,
axis
=
0
,
inplace
=
True
)
df_plot
[
"
noise_ratio
"
]
=
df_plot
[
"
num_noise_line
"
]
/
df_plot
[
"
num_error_reports
"
]
print
(
"
noise_in_cases_where_errors_are_present
"
)
print
(
df_plot
[[
"
noise_ratio
"
,
"
num_noise_class_line
"
,
"
num_error_reports
"
]])
def
cmd_latex
(
rootdir
,
toolnames
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment