monarch-initiative/N2V

View on GitHub
embiggen/embedders/ensmallen_embedders/hyper_sketching.py

Summary

Maintainability
C
1 day
Test Coverage

File hyper_sketching.py has 439 lines of code (exceeds 250 allowed). Consider refactoring.
Open

"""Module providing HyperSketching implementation."""
import json
import warnings
from typing import Any, Dict, List, Optional, Tuple

Severity: Minor
Found in embiggen/embedders/ensmallen_embedders/hyper_sketching.py - About 6 hrs to fix

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

        def __init__(
    Severity: Major
    Found in embiggen/embedders/ensmallen_embedders/hyper_sketching.py - About 2 hrs to fix

      Function __init__ has 27 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          def __init__(
              self,
              exact: bool = False,
              unbiased: bool = False,
              number_of_hops: int = 3,
      Severity: Minor
      Found in embiggen/embedders/ensmallen_embedders/hyper_sketching.py - About 1 hr to fix

        There are no issues that match your filters.

        Category
        Status