rasa/nlu/selectors/response_selector.py

Summary

Maintainability
D
2 days
Test Coverage
D
69%

File response_selector.py has 747 lines of code (exceeds 250 allowed). Consider refactoring.
Open

from __future__ import annotations
import copy
import logging
from rasa.nlu.featurizers.featurizer import Featurizer

Severity: Major
Found in rasa/nlu/selectors/response_selector.py - About 1 day to fix

    Function __init__ has 10 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def __init__(
    Severity: Major
    Found in rasa/nlu/selectors/response_selector.py - About 1 hr to fix

      Function _load_model_class has 7 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          def _load_model_class(
      Severity: Major
      Found in rasa/nlu/selectors/response_selector.py - About 50 mins to fix

        Function load has 6 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            def load(
        Severity: Minor
        Found in rasa/nlu/selectors/response_selector.py - About 45 mins to fix

          There are no issues that match your filters.

          Category
          Status