Showing 2,238 of 2,238 total issues

Function best_avg_recency_weight has 7 arguments (exceeds 5 allowed). Consider refactoring.
Open

def best_avg_recency_weight(
Severity: Major
Found in src/triage/component/audition/selection_rules.py - About 45 mins to fix

    Function plot_jaccard_preds has 6 arguments (exceeds 5 allowed). Consider refactoring.
    Open

        def plot_jaccard_preds(self,
    Severity: Minor
    Found in src/triage/component/postmodeling/contrast/model_group_evaluator.py - About 35 mins to fix

      Function __init__ has 6 arguments (exceeds 5 allowed). Consider refactoring.
      Open

          def __init__(
      Severity: Minor
      Found in src/triage/component/collate/collate.py - About 35 mins to fix

        Function __init__ has 6 arguments (exceeds 5 allowed). Consider refactoring.
        Open

            def __init__(
        Severity: Minor
        Found in src/triage/component/collate/imputations.py - About 35 mins to fix

          Function _plot_preds_compare_rank has 6 arguments (exceeds 5 allowed). Consider refactoring.
          Open

              def _plot_preds_compare_rank(self,
          Severity: Minor
          Found in src/triage/component/postmodeling/contrast/model_group_evaluator.py - About 35 mins to fix

            Function _outer_join_query has 6 arguments (exceeds 5 allowed). Consider refactoring.
            Open

                def _outer_join_query(
            Severity: Minor
            Found in src/triage/component/architect/builders.py - About 35 mins to fix

              Function create_entity_date_df has 6 arguments (exceeds 5 allowed). Consider refactoring.
              Open

              def create_entity_date_df(
              Severity: Minor
              Found in src/tests/architect_tests/utils.py - About 35 mins to fix

                Function __init__ has 6 arguments (exceeds 5 allowed). Consider refactoring.
                Open

                    def __init__(
                Severity: Minor
                Found in src/triage/component/collate/imputations.py - About 35 mins to fix

                  Function retrieve_existing_model_random_seeds has 6 arguments (exceeds 5 allowed). Consider refactoring.
                  Open

                  def retrieve_existing_model_random_seeds(
                  Severity: Minor
                  Found in src/triage/component/catwalk/utils.py - About 35 mins to fix

                    Function plot_score_distribution_thresh has 6 arguments (exceeds 5 allowed). Consider refactoring.
                    Open

                        def plot_score_distribution_thresh(self,
                    Severity: Minor
                    Found in src/triage/component/postmodeling/contrast/model_evaluator.py - About 35 mins to fix

                      Function cluster_correlation_features has 6 arguments (exceeds 5 allowed). Consider refactoring.
                      Open

                          def cluster_correlation_features(self,
                      Severity: Minor
                      Found in src/triage/component/postmodeling/contrast/model_evaluator.py - About 35 mins to fix

                        Function __init__ has 6 arguments (exceeds 5 allowed). Consider refactoring.
                        Open

                            def __init__(self, column, coltype, value, column_base_for_impflag=None, null_cat_pattern=None, **kwargs):
                        Severity: Minor
                        Found in src/triage/component/collate/imputations.py - About 35 mins to fix

                          Function __init__ has 6 arguments (exceeds 5 allowed). Consider refactoring.
                          Open

                              def __init__(
                          Severity: Minor
                          Found in src/triage/component/architect/feature_generators.py - About 35 mins to fix

                            Function __init__ has 6 arguments (exceeds 5 allowed). Consider refactoring.
                            Open

                                def __init__(
                            Severity: Minor
                            Found in src/triage/component/catwalk/model_trainers.py - About 35 mins to fix

                              Function add_rule_best_average_two_metrics has 6 arguments (exceeds 5 allowed). Consider refactoring.
                              Open

                                  def add_rule_best_average_two_metrics(
                              Severity: Minor
                              Found in src/triage/component/audition/rules_maker.py - About 35 mins to fix

                                Function plot has 6 arguments (exceeds 5 allowed). Consider refactoring.
                                Open

                                    def plot(
                                Severity: Minor
                                Found in src/triage/component/audition/model_group_performance.py - About 35 mins to fix

                                  Function most_frequent_best_dist has 6 arguments (exceeds 5 allowed). Consider refactoring.
                                  Open

                                  def most_frequent_best_dist(
                                  Severity: Minor
                                  Found in src/triage/component/audition/selection_rules.py - About 35 mins to fix

                                    Function best_avg_var_penalized has 6 arguments (exceeds 5 allowed). Consider refactoring.
                                    Open

                                    def best_avg_var_penalized(df, train_end_time, metric, parameter, stdev_penalty, n=1):
                                    Severity: Minor
                                    Found in src/triage/component/audition/selection_rules.py - About 35 mins to fix

                                      Function plot has 6 arguments (exceeds 5 allowed). Consider refactoring.
                                      Open

                                          def plot(
                                      Severity: Minor
                                      Found in src/triage/component/audition/selection_rule_performance.py - About 35 mins to fix

                                        Function validate has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
                                        Open

                                            def validate(self):
                                                """Validate the object's configuration
                                        
                                                """
                                                if not isinstance(self.definition, dict):
                                        Severity: Minor
                                        Found in src/triage/component/architect/feature_group_creator.py - About 35 mins to fix

                                        Cognitive Complexity

                                        Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                                        A method's cognitive complexity is based on a few simple rules:

                                        • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                                        • Code is considered more complex for each "break in the linear flow of the code"
                                        • Code is considered more complex when "flow breaking structures are nested"

                                        Further reading

                                        Severity
                                        Category
                                        Status
                                        Source
                                        Language