Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
def calculate_depth(
pivots_indices: list[int],
- min_depth: int = 6,
- max_depth: int = 24,
+ min_depth: int = int(initial_depth / 2),
+ max_depth: int = initial_depth * 2,
depth_scaling_factor: float = 0.75,
) -> int:
if len(pivots_indices) < 2:
def calculate_depth(
pivots_indices: list[int],
- min_depth: int = 6,
- max_depth: int = 24,
+ min_depth: int = int(initial_depth / 2),
+ max_depth: int = initial_depth * 2,
depth_scaling_factor: float = 0.75,
) -> int:
if len(pivots_indices) < 2: