Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring HAAQI to save precomputations #364

Open
wants to merge 60 commits into
base: main
Choose a base branch
from

[pre-commit.ci] Fixing issues with pre-commit

099ce34
Select commit
Loading
Failed to load commit list.
Open

Refactoring HAAQI to save precomputations #364

[pre-commit.ci] Fixing issues with pre-commit
099ce34
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Aug 24, 2024 in 0s

145 new issues (0 max.) of at least minor severity.

Annotations

Check notice on line 18 in clarity/evaluator/ha/earmodel.py

See this annotation in the file changed.

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

clarity/evaluator/ha/earmodel.py#L18

Too many instance attributes (27/7)

Check notice on line 18 in clarity/evaluator/ha/earmodel.py

See this annotation in the file changed.

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

clarity/evaluator/ha/earmodel.py#L18

Too many public methods (21/20)

Check notice on line 392 in clarity/evaluator/ha/earmodel.py

See this annotation in the file changed.

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

clarity/evaluator/ha/earmodel.py#L392

Too many local variables (18/15)

Check notice on line 717 in clarity/evaluator/ha/earmodel.py

See this annotation in the file changed.

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

clarity/evaluator/ha/earmodel.py#L717

Too many arguments (8/7)

Check notice on line 816 in clarity/evaluator/ha/earmodel.py

See this annotation in the file changed.

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

clarity/evaluator/ha/earmodel.py#L816

Too many arguments (8/7)

Check warning on line 1292 in clarity/evaluator/ha/earmodel.py

See this annotation in the file changed.

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

clarity/evaluator/ha/earmodel.py#L1292

Unused variable 'nsamp'

Check notice on line 1 in clarity/evaluator/ha/pyhaaqi.py

See this annotation in the file changed.

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

clarity/evaluator/ha/pyhaaqi.py#L1

Too many lines in module (1098/1000)

Check notice on line 95 in clarity/evaluator/ha/pyhaaqi.py

See this annotation in the file changed.

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

clarity/evaluator/ha/pyhaaqi.py#L95

Too many arguments (9/7)

Check notice on line 643 in clarity/evaluator/ha/pyhaaqi.py

See this annotation in the file changed.

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

clarity/evaluator/ha/pyhaaqi.py#L643

Too many arguments (8/7)

Check notice on line 643 in clarity/evaluator/ha/pyhaaqi.py

See this annotation in the file changed.

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

clarity/evaluator/ha/pyhaaqi.py#L643

Too many local variables (21/15)

Check warning on line 45 in clarity/evaluator/ha/pyhaspy.py

See this annotation in the file changed.

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

clarity/evaluator/ha/pyhaspy.py#L45

Unused argument 'n_cepstral_coef'

Check failure on line 103 in clarity/evaluator/ha/pyhaspy.py

See this annotation in the file changed.

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

clarity/evaluator/ha/pyhaspy.py#L103

Instance of 'HaspiV2' has no 'score' member

Check warning on line 166 in clarity/evaluator/ha/pyhaspy.py

See this annotation in the file changed.

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

clarity/evaluator/ha/pyhaspy.py#L166

Attribute 'num_seg_avobe_threshold' defined outside __init__

Check notice on line 209 in clarity/evaluator/ha/pyhaspy.py

See this annotation in the file changed.

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

clarity/evaluator/ha/pyhaspy.py#L209

Line too long (90/88)

Check failure on line 119 in tests/evaluator/ha/test_earmodel.py

See this annotation in the file changed.

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

tests/evaluator/ha/test_earmodel.py#L119

Module 'pytest' has no 'rel_tolerance' member

Check failure on line 245 in tests/evaluator/ha/test_earmodel.py

See this annotation in the file changed.

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

tests/evaluator/ha/test_earmodel.py#L245

Module 'pytest' has no 'rel_tolerance' member

Check failure on line 297 in tests/evaluator/ha/test_earmodel.py

See this annotation in the file changed.

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

tests/evaluator/ha/test_earmodel.py#L297

Module 'pytest' has no 'rel_tolerance' member

Check failure on line 306 in tests/evaluator/ha/test_earmodel.py

See this annotation in the file changed.

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

tests/evaluator/ha/test_earmodel.py#L306

Module 'pytest' has no 'rel_tolerance' member

Check failure on line 353 in tests/evaluator/ha/test_earmodel.py

See this annotation in the file changed.

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

tests/evaluator/ha/test_earmodel.py#L353

Module 'pytest' has no 'rel_tolerance' member

Check failure on line 422 in tests/evaluator/ha/test_earmodel.py

See this annotation in the file changed.

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

tests/evaluator/ha/test_earmodel.py#L422

Module 'pytest' has no 'rel_tolerance' member

Check failure on line 460 in tests/evaluator/ha/test_earmodel.py

See this annotation in the file changed.

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

tests/evaluator/ha/test_earmodel.py#L460

Module 'pytest' has no 'rel_tolerance' member

Check failure on line 463 in tests/evaluator/ha/test_earmodel.py

See this annotation in the file changed.

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

tests/evaluator/ha/test_earmodel.py#L463

Module 'pytest' has no 'rel_tolerance' member

Check warning on line 100 in tests/evaluator/ha/test_pyhaaqi.py

See this annotation in the file changed.

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

tests/evaluator/ha/test_pyhaaqi.py#L100

Redefining name 'haaqi_instance' from outer scope (line 22)

Check failure on line 340 in tests/evaluator/ha/test_pyhaaqi.py

See this annotation in the file changed.

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

tests/evaluator/ha/test_pyhaaqi.py#L340

Module 'pytest' has no 'rel_tolerance' member

Check failure on line 363 in tests/evaluator/ha/test_pyhaaqi.py

See this annotation in the file changed.

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

tests/evaluator/ha/test_pyhaaqi.py#L363

Module 'pytest' has no 'abs_tolerance' member