Skip to content

[benchmark] notebook for interactively computing benchmark config

Codacy Production / Codacy Static Code Analysis required action Dec 6, 2024 in 0s

4 new security issues (0 max.).

Annotations

Check warning on line 13 in hail/python/benchmark/hail/benchmark_benchmark_analysis.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

hail/python/benchmark/hail/benchmark_benchmark_analysis.py#L13

Use of insecure and deprecated function (mktemp).

Check warning on line 19 in hail/python/benchmark/hail/benchmark_benchmark_analysis.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

hail/python/benchmark/hail/benchmark_benchmark_analysis.py#L19

Use of insecure and deprecated function (mktemp).

Check warning on line 30 in hail/python/benchmark/hail/fixtures.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

hail/python/benchmark/hail/fixtures.py#L30

subprocess call - check for execution of untrusted input.

Check warning on line 67 in hail/python/benchmark/hail/utils.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

hail/python/benchmark/hail/utils.py#L67

Unused argument 'signum'

Check warning on line 89 in hail/python/benchmark/hail/utils.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

hail/python/benchmark/hail/utils.py#L89

Probable insecure usage of temp file/directory.

Check warning on line 102 in hail/python/benchmark/hail/utils.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

hail/python/benchmark/hail/utils.py#L102

Consider explicitly re-raising using 'except __Timeout as exc' and 'raise TimeoutError(f'Timed out after {max_duration}s') from exc'

Check notice on line 51 in hail/python/benchmark/tools/impex.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

hail/python/benchmark/tools/impex.py#L51

Unnecessary use of a comprehension, use list(__types.ttrial) instead.

Check notice on line 66 in hail/scripts/benchmark_in_batch.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

hail/scripts/benchmark_in_batch.py#L66

Consider using a set comprehension