Closed v1docq closed 4 months ago
Thanks for update, @v1docq!
examples/automl_example/api_example/computer_vision/image_classification/mnist_lora_example.py
:Line 1:1: F401 'fedot_ind.core.models.nn.network_modules.layers.lora.LoRAParametrization' imported but unused Line 12:1: F401 'matplotlib.pyplot as plt' imported but unused Line 200:121: E501 line too long (200 > 120 characters) Line 257:121: E501 line too long (132 > 120 characters)
examples/automl_example/api_example/time_series/ts_forecasting/m4_analiysis/ts_forecasting_m4_benchmark.py
:Line 26:37: W503 line break before binary operator
examples/benchmark_example/LoRA notebooks/lora_nbeats.py
](https://github.com/aimclub/Fedot.Industrial/blob/739dc93343ef62adfadde5807a56cfabb65fb14d/examples/benchmark_example/LoRA notebooks/lora_nbeats.py):[Line 22:5](https://github.com/aimclub/Fedot.Industrial/blob/739dc93343ef62adfadde5807a56cfabb65fb14d/examples/benchmark_example/LoRA notebooks/lora_nbeats.py#L22): F841 local variable 'train_loader' is assigned to but never used [Line 31:5](https://github.com/aimclub/Fedot.Industrial/blob/739dc93343ef62adfadde5807a56cfabb65fb14d/examples/benchmark_example/LoRA notebooks/lora_nbeats.py#L31): F841 local variable 'test_loader' is assigned to but never used [Line 36:10](https://github.com/aimclub/Fedot.Industrial/blob/739dc93343ef62adfadde5807a56cfabb65fb14d/examples/benchmark_example/LoRA notebooks/lora_nbeats.py#L36): F821 undefined name 'docnn_model' [Line 36:31](https://github.com/aimclub/Fedot.Industrial/blob/739dc93343ef62adfadde5807a56cfabb65fb14d/examples/benchmark_example/LoRA notebooks/lora_nbeats.py#L36): F821 undefined name 'docnn_model' [Line 36:52](https://github.com/aimclub/Fedot.Industrial/blob/739dc93343ef62adfadde5807a56cfabb65fb14d/examples/benchmark_example/LoRA notebooks/lora_nbeats.py#L36): F821 undefined name 'docnn_model' [Line 37:5](https://github.com/aimclub/Fedot.Industrial/blob/739dc93343ef62adfadde5807a56cfabb65fb14d/examples/benchmark_example/LoRA notebooks/lora_nbeats.py#L37): F821 undefined name 'total_parameters_original' [Line 44:1](https://github.com/aimclub/Fedot.Industrial/blob/739dc93343ef62adfadde5807a56cfabb65fb14d/examples/benchmark_example/LoRA notebooks/lora_nbeats.py#L44): F821 undefined name 'docnn_model_copy' [Line 44:48](https://github.com/aimclub/Fedot.Industrial/blob/739dc93343ef62adfadde5807a56cfabb65fb14d/examples/benchmark_example/LoRA notebooks/lora_nbeats.py#L44): F821 undefined name 'updated_weight' [Line 44:70](https://github.com/aimclub/Fedot.Industrial/blob/739dc93343ef62adfadde5807a56cfabb65fb14d/examples/benchmark_example/LoRA notebooks/lora_nbeats.py#L44): F821 undefined name 'device' [Line 45:1](https://github.com/aimclub/Fedot.Industrial/blob/739dc93343ef62adfadde5807a56cfabb65fb14d/examples/benchmark_example/LoRA notebooks/lora_nbeats.py#L45): F821 undefined name 'docnn_model_copy' [Line 45:48](https://github.com/aimclub/Fedot.Industrial/blob/739dc93343ef62adfadde5807a56cfabb65fb14d/examples/benchmark_example/LoRA notebooks/lora_nbeats.py#L45): F821 undefined name 'updated_weight' [Line 45:70](https://github.com/aimclub/Fedot.Industrial/blob/739dc93343ef62adfadde5807a56cfabb65fb14d/examples/benchmark_example/LoRA notebooks/lora_nbeats.py#L45): F821 undefined name 'device' [Line 46:1](https://github.com/aimclub/Fedot.Industrial/blob/739dc93343ef62adfadde5807a56cfabb65fb14d/examples/benchmark_example/LoRA notebooks/lora_nbeats.py#L46): F821 undefined name 'docnn_model_copy' [Line 46:48](https://github.com/aimclub/Fedot.Industrial/blob/739dc93343ef62adfadde5807a56cfabb65fb14d/examples/benchmark_example/LoRA notebooks/lora_nbeats.py#L46): F821 undefined name 'updated_weight' [Line 46:70](https://github.com/aimclub/Fedot.Industrial/blob/739dc93343ef62adfadde5807a56cfabb65fb14d/examples/benchmark_example/LoRA notebooks/lora_nbeats.py#L46): F821 undefined name 'device' [Line 53:10](https://github.com/aimclub/Fedot.Industrial/blob/739dc93343ef62adfadde5807a56cfabb65fb14d/examples/benchmark_example/LoRA notebooks/lora_nbeats.py#L53): F821 undefined name 'docnn_model_copy' [Line 53:36](https://github.com/aimclub/Fedot.Industrial/blob/739dc93343ef62adfadde5807a56cfabb65fb14d/examples/benchmark_example/LoRA notebooks/lora_nbeats.py#L53): F821 undefined name 'docnn_model_copy' [Line 53:62](https://github.com/aimclub/Fedot.Industrial/blob/739dc93343ef62adfadde5807a56cfabb65fb14d/examples/benchmark_example/LoRA notebooks/lora_nbeats.py#L53): F821 undefined name 'docnn_model_copy' [Line 59:121](https://github.com/aimclub/Fedot.Industrial/blob/739dc93343ef62adfadde5807a56cfabb65fb14d/examples/benchmark_example/LoRA notebooks/lora_nbeats.py#L59): E501 line too long (200 > 120 characters) [Line 75:15](https://github.com/aimclub/Fedot.Industrial/blob/739dc93343ef62adfadde5807a56cfabb65fb14d/examples/benchmark_example/LoRA notebooks/lora_nbeats.py#L75): F821 undefined name 'transform' [Line 85:1](https://github.com/aimclub/Fedot.Industrial/blob/739dc93343ef62adfadde5807a56cfabb65fb14d/examples/benchmark_example/LoRA notebooks/lora_nbeats.py#L85): F821 undefined name 'enable_disable_lora' [Line 90:8](https://github.com/aimclub/Fedot.Industrial/blob/739dc93343ef62adfadde5807a56cfabb65fb14d/examples/benchmark_example/LoRA notebooks/lora_nbeats.py#L90): F821 undefined name 'docnn_model_copy' [Line 90:43](https://github.com/aimclub/Fedot.Industrial/blob/739dc93343ef62adfadde5807a56cfabb65fb14d/examples/benchmark_example/LoRA notebooks/lora_nbeats.py#L90): F821 undefined name 'docnn_model_copy' [Line 91:5](https://github.com/aimclub/Fedot.Industrial/blob/739dc93343ef62adfadde5807a56cfabb65fb14d/examples/benchmark_example/LoRA notebooks/lora_nbeats.py#L91): F821 undefined name 'docnn_model_copy' [Line 92:5](https://github.com/aimclub/Fedot.Industrial/blob/739dc93343ef62adfadde5807a56cfabb65fb14d/examples/benchmark_example/LoRA notebooks/lora_nbeats.py#L92): F821 undefined name 'docnn_model_copy' [Line 93:5](https://github.com/aimclub/Fedot.Industrial/blob/739dc93343ef62adfadde5807a56cfabb65fb14d/examples/benchmark_example/LoRA notebooks/lora_nbeats.py#L93): F821 undefined name 'docnn_model_copy' [Line 96:1](https://github.com/aimclub/Fedot.Industrial/blob/739dc93343ef62adfadde5807a56cfabb65fb14d/examples/benchmark_example/LoRA notebooks/lora_nbeats.py#L96): F821 undefined name 'enable_disable_lora' [Line 99:5](https://github.com/aimclub/Fedot.Industrial/blob/739dc93343ef62adfadde5807a56cfabb65fb14d/examples/benchmark_example/LoRA notebooks/lora_nbeats.py#L99): F821 undefined name 'docnn_model_copy' [Line 100:5](https://github.com/aimclub/Fedot.Industrial/blob/739dc93343ef62adfadde5807a56cfabb65fb14d/examples/benchmark_example/LoRA notebooks/lora_nbeats.py#L100): F821 undefined name 'original_weights' [Line 102:1](https://github.com/aimclub/Fedot.Industrial/blob/739dc93343ef62adfadde5807a56cfabb65fb14d/examples/benchmark_example/LoRA notebooks/lora_nbeats.py#L102): F821 undefined name 'enable_disable_lora' [Line 103:1](https://github.com/aimclub/Fedot.Industrial/blob/739dc93343ef62adfadde5807a56cfabb65fb14d/examples/benchmark_example/LoRA notebooks/lora_nbeats.py#L103): F821 undefined name 'run' [Line 106:1](https://github.com/aimclub/Fedot.Industrial/blob/739dc93343ef62adfadde5807a56cfabb65fb14d/examples/benchmark_example/LoRA notebooks/lora_nbeats.py#L106): F821 undefined name 'enable_disable_lora' [Line 107:1](https://github.com/aimclub/Fedot.Industrial/blob/739dc93343ef62adfadde5807a56cfabb65fb14d/examples/benchmark_example/LoRA notebooks/lora_nbeats.py#L107): F821 undefined name 'run'
examples/real_world_examples/industrial_examples/enviroment_monitoring/ts_forecasting/nbeats_forecasting.py
:fedot_ind/api/utils/industrial_strategy.py
:Line 10:1: F401 'golem.core.tuning.optuna_tuner.OptunaTuner' imported but unused Line 126:30: F541 f-string is missing placeholders Line 178:32: F841 local variable 'n_classes' is assigned to but never used
Line 4:1: F401 'fedot_ind.core.repository.constanst_repository.VALID_LINEAR_CLF_PIPELINE' imported but unused Line 8:1: F401 'fedot_ind.api.utils.path_lib.PATH_TO_DEFAULT_PARAMS' imported but unused Line 9:1: F401 'fedot_ind.core.architecture.settings.pipeline_factory.BasisTransformations' imported but unused Line 9:1: F401 'fedot_ind.core.architecture.settings.pipeline_factory.FeatureGenerator' imported but unused Line 9:1: F401 'fedot_ind.core.architecture.settings.pipeline_factory.MlModel' imported but unused Line 10:1: F401 'fedot_ind.core.metrics.evaluation.PerformanceAnalyzer' imported but unused Line 167:121: E501 line too long (121 > 120 characters) Line 168:121: E501 line too long (121 > 120 characters)
Line 73:9: F841 local variable 'classificator_module' is assigned to but never used Line 154:9: F841 local variable 'classificator_module' is assigned to but never used
Line 98:13: F841 local variable 'e' is assigned to but never used Line 296:13: F841 local variable 'e' is assigned to but never used Line 595:13: F841 local variable 'e' is assigned to but never used
fedot_ind/core/metrics/metrics_implementation.py
:Line 13:1: F811 redefinition of unused 'np' from line 3 Line 84:73: W503 line break before binary operator
fedot_ind/core/models/nn/network_impl/lora_nn.py
:Line 191:9: F841 local variable 'parametrize_by_layer' is assigned to but never used Line 221:9: F841 local variable 'lora_impl' is assigned to but never used
fedot_ind/core/models/nn/network_impl/nbeats.py
:Line 155:121: E501 line too long (144 > 120 characters) Line 158:121: E501 line too long (123 > 120 characters) Line 159:121: E501 line too long (126 > 120 characters)
Line 788:17: W503 line break before binary operator Line 900:121: E501 line too long (147 > 120 characters)
Line 15:1: F401 'scipy.stats.kurtosis' imported but unused Line 16:1: F401 'scipy.stats.skew' imported but unused
Line 46:121: E501 line too long (121 > 120 characters)
fedot_ind/core/repository/constanst_repository.py
:Line 17:121: E501 line too long (121 > 120 characters) Line 24:1: F403 'from fedot_ind.core.models.topological.topofeatures import ' used; unable to detect undefined names Line 24:1: F401 'fedot_ind.core.models.topological.topofeatures.' imported but unused Line 254:121: E501 line too long (127 > 120 characters)
Line 23:1: F401 'typing.Tuple' imported but unused Line 23:1: F401 'typing.Sequence' imported but unused Line 23:1: F401 'typing.Dict' imported but unused
Line 2:1: F401 'types' imported but unused Line 8:121: E501 line too long (127 > 120 characters) Line 17:1: F401 'golem.core.optimisers.genetic.operators.crossover.Crossover' imported but unused Line 24:1: F401 'fedot_ind.core.repository.industrial_implementations.optimisation._crossover_by_type' imported but unused Line 102:9: F841 local variable 'MutationStrengthEnum' is assigned to but never used
fedot_ind/core/repository/model_repository.py
:Line 14:1: F403 'from fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations import *' used; unable to detect undefined names Line 16:121: E501 line too long (127 > 120 characters) Line 27:1: F401 'fedot.core.operations.evaluation.operation_implementations.models.ts_implementations.statsmodels.GLMImplementation' imported but unused Line 45:1: F401 'xgboost.XGBClassifier' imported but unused Line 48:1: F401 'fedot_ind.core.models.nn.network_impl.chronos_tst.ChronosExtractor' imported but unused Line 74:36: F405 'PCAImplementation' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 75:41: F405 'FastICAImplementation' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 76:46: F405 'PolyFeaturesImplementation' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 139:20: F405 'ScalingImplementation' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 140:26: F405 'NormalizationImplementation' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 142:30: F405 'ImputationImplementation' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 144:23: F405 'KernelPCAImplementation' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations
fedot_ind/tools/example_utils.py
:Line 119:9: F841 local variable 'probs' is assigned to but never used
tests/unit/api/main/test_api_main.py
:Line 159:5: F841 local variable 'labels' is assigned to but never used Line 160:5: F841 local variable 'probs' is assigned to but never used Line 164:5: F841 local variable 'curr_backend' is assigned to but never used
tests/unit/models/forecasting_pipelines.py
:Line 1:1: F401 'numpy as np' imported but unused Line 2:1: F401 'fedot.core.pipelines.pipeline_builder.PipelineBuilder' imported but unused Line 5:1: F401 'fedot_ind.core.metrics.metrics_implementation.RMSE' imported but unused Line 7:1: F401 'fedot_ind.core.repository.initializer_industrial_models.IndustrialModels' imported but unused
Attention: Patch coverage is 16.47577%
with 948 lines
in your changes are missing coverage. Please review.
Project coverage is 47.51%. Comparing base (
4b271c1
) to head (6a181dd
). Report is 10 commits behind head on main.:exclamation: Current head 6a181dd differs from pull request most recent head 9810561
Please upload reports for the commit 9810561 to get more accurate results.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.