takuseno/d3rlpy

View on GitHub
d3rlpy/dataset/trajectory_slicers.py

Summary

Maintainability
A
1 hr
Test Coverage

Function __call__ has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def __call__(
        self, episode: EpisodeBase, end_index: int, size: int
    ) -> PartialTrajectory:
        end = end_index + 1
        start = max(end - size, 0)
Severity: Minor
Found in d3rlpy/dataset/trajectory_slicers.py - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status