You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When some of the results are empty, the following exception gets raised when rendering scatterplots.
Traceback (most recent call last):
File "new/tools/benchcomp/bin/benchcomp", line 31, in <module>
main()
File "new/tools/benchcomp/bin/benchcomp", line 27, in main
args.func(args)
File "/home/runner/work/kani/kani/new/tools/benchcomp/benchcomp/entry/visualize.py", line 19, in main
generate_visualizations(results)
File "/home/runner/work/kani/kani/new/tools/benchcomp/benchcomp/visualizers/utils.py", line 122, in __call__
visualize(results)
File "/home/runner/work/kani/kani/new/tools/benchcomp/benchcomp/visualizers/__init__.py", line 415, in __call__
output = template.render(d=data, scatterplot=include_scatterplot)[:-1]
File "/usr/lib/python3/dist-packages/jinja2/asyncsupport.py", line 76, in render
return original_render(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1008, in render
return self.environment.handle_exception(exc_info, True)
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/lib/python3/dist-packages/jinja2/_compat.py", line 37, in reraise
raise value.with_traceback(tb)
File "<template>", line 18, in <module>
File "/usr/lib/python3/dist-packages/jinja2/filters.py", line 820, in do_round
return round(value, precision)
TypeError: type Undefined doesn't define __round__ method
The text was updated successfully, but these errors were encountered:
Previously, benchcomp would crash while rendering a scatterplot when
some results had non-numeric values, because those values were being
rounded using a function that doesn't handle non-numeric arguments.
This commit fixesmodel-checking#3210.
Previously, benchcomp would crash while rendering a scatterplot when
some results had non-numeric values, because those values were being
rounded using a function that doesn't handle non-numeric arguments.
This commit fixesmodel-checking#3210.
Previously, benchcomp would crash while rendering a scatterplot when
some results had non-numeric values, because those values were being
rounded using a function that doesn't handle non-numeric arguments.
This commit fixesmodel-checking#3210.
Previously, benchcomp would crash while rendering a scatterplot when
some results had non-numeric values, because those values were being
rounded using a function that doesn't handle non-numeric arguments.
This commit fixes#3210.
By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 and MIT licenses.
Here is an example crash.
When some of the results are empty, the following exception gets raised when rendering scatterplots.
The text was updated successfully, but these errors were encountered: