Skip to content

Revised Alpha-Level-Optimization

f809507
Select commit
Loading
Failed to load commit list.
Open

Alpha_Opt #5

Revised Alpha-Level-Optimization
f809507
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Apr 29, 2025 in 0s

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

Annotations

Check notice on line 23 in phuzzy/__init__.py

See this annotation in the file changed.

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

phuzzy/__init__.py#L23

'phuzzy.shapes.skewnorm.Skewnorm' imported but unused (F401)

Check notice on line 3 in phuzzy/fuzzification/__init__.py

See this annotation in the file changed.

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

phuzzy/fuzzification/__init__.py#L3

'phuzzy.fuzzification.fuzzy_fitting' imported but unused (F401)

Check notice on line 21 in phuzzy/fuzzification/fuzzy_fitting.py

See this annotation in the file changed.

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

phuzzy/fuzzification/fuzzy_fitting.py#L21

Data_Fitting.best_fit_distribution is too complex (16) (MC0001)

Check notice on line 86 in phuzzy/fuzzification/fuzzy_fitting.py

See this annotation in the file changed.

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

phuzzy/fuzzification/fuzzy_fitting.py#L86

local variable 'best_params' is assigned to but never used (F841)

Check warning on line 88 in phuzzy/fuzzification/fuzzy_fitting.py

See this annotation in the file changed.

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

phuzzy/fuzzification/fuzzy_fitting.py#L88

Try, Except, Pass detected.

Check notice on line 178 in phuzzy/fuzzification/fuzzy_fitting.py

See this annotation in the file changed.

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

phuzzy/fuzzification/fuzzy_fitting.py#L178

local variable 'df' is assigned to but never used (F841)

Check notice on line 185 in phuzzy/mpl/plots.py

See this annotation in the file changed.

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

phuzzy/mpl/plots.py#L185

expected 2 blank lines after class or function definition, found 1 (E305)

Check notice on line 3 in phuzzy/optimization/__init__.py

See this annotation in the file changed.

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

phuzzy/optimization/__init__.py#L3

'scipy.optimize.minimize' imported but unused (F401)

Check notice on line 6 in phuzzy/optimization/__init__.py

See this annotation in the file changed.

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

phuzzy/optimization/__init__.py#L6

'phuzzy.mpl.MPL_Mixin' imported but unused (F401)

Check notice on line 7 in phuzzy/optimization/__init__.py

See this annotation in the file changed.

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

phuzzy/optimization/__init__.py#L7

'phuzzy.shapes.FuzzyNumber' imported but unused (F401)

Check notice on line 9 in phuzzy/optimization/__init__.py

See this annotation in the file changed.

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

phuzzy/optimization/__init__.py#L9

'asteval.Interpreter' imported but unused (F401)

Check notice on line 10 in phuzzy/optimization/__init__.py

See this annotation in the file changed.

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

phuzzy/optimization/__init__.py#L10

'pathlib.Path' imported but unused (F401)

Check notice on line 13 in phuzzy/optimization/__init__.py

See this annotation in the file changed.

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

phuzzy/optimization/__init__.py#L13

'numpy as np' imported but unused (F401)

Check notice on line 14 in phuzzy/optimization/__init__.py

See this annotation in the file changed.

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

phuzzy/optimization/__init__.py#L14

'pandas as pd' imported but unused (F401)

Check notice on line 15 in phuzzy/optimization/__init__.py

See this annotation in the file changed.

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

phuzzy/optimization/__init__.py#L15

'xarray as xr' imported but unused (F401)

Check notice on line 16 in phuzzy/optimization/__init__.py

See this annotation in the file changed.

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

phuzzy/optimization/__init__.py#L16

'phuzzy.optimization.alphaOpt' imported but unused (F401)

Check notice on line 18 in phuzzy/optimization/__init__.py

See this annotation in the file changed.

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

phuzzy/optimization/__init__.py#L18

'SALib.sample.saltelli' imported but unused (F401)

Check notice on line 19 in phuzzy/optimization/__init__.py

See this annotation in the file changed.

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

phuzzy/optimization/__init__.py#L19

'SALib.analyze.sobol' imported but unused (F401)

Check notice on line 75 in phuzzy/optimization/alphaOpt.py

See this annotation in the file changed.

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

phuzzy/optimization/alphaOpt.py#L75

over-indented (E117)

Check notice on line 114 in phuzzy/optimization/alphaOpt.py

See this annotation in the file changed.

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

phuzzy/optimization/alphaOpt.py#L114

comparison to True should be 'if cond is True:' or 'if cond:' (E712)

Check notice on line 130 in phuzzy/optimization/alphaOpt.py

See this annotation in the file changed.

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

phuzzy/optimization/alphaOpt.py#L130

comparison to False should be 'if cond is False:' or 'if not cond:' (E712)

Check notice on line 137 in phuzzy/optimization/alphaOpt.py

See this annotation in the file changed.

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

phuzzy/optimization/alphaOpt.py#L137

comparison to False should be 'if cond is False:' or 'if not cond:' (E712)

Check notice on line 191 in phuzzy/optimization/alphaOpt.py

See this annotation in the file changed.

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

phuzzy/optimization/alphaOpt.py#L191

comparison to True should be 'if cond is True:' or 'if cond:' (E712)

Check notice on line 101 in phuzzy/optimization/sensitivity_analysis.py

See this annotation in the file changed.

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

phuzzy/optimization/sensitivity_analysis.py#L101

comparison to True should be 'if cond is True:' or 'if cond:' (E712)

Check notice on line 197 in phuzzy/optimization/sensitivity_analysis.py

See this annotation in the file changed.

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

phuzzy/optimization/sensitivity_analysis.py#L197

local variable 'df_i' is assigned to but never used (F841)