Skip to content

show check_estimator progress (verbose flag?) #13748

Closed

Description

@cod3licious

Since check_estimator can take quite long, it would be great to see roughly where it currently is, i.e., which checks were already passed and how many are left.

Activity

  1. jnothman commented on Apr 29, 2019

    @jnothman
    Member
  2. cod3licious commented on Apr 29, 2019

    @cod3licious
    Author

    Maybe also the order of the tests could be further refined... after all the regression tests ran through (which took almost half an hour) it stopped because of a very simple error in the transformer tests (no error raised when X has a different number of features). It would be great if these kinds of fast checks would be moved to the beginning, while the tests on actual datasets come later... Or, yeah, if this is integrated into some real testing framework, maybe all tests can run through at once and the errors are reported collectively...

  3. jnothman commented on Apr 29, 2019

    @jnothman
    Member
  4. rth commented on Apr 30, 2019

    @rth
    Member

    Also related #11622

  5. scouvreur commented on May 7, 2019

    @scouvreur
    Contributor

    Hi there - if no one is working on this could I take this issue ?

  6. jnothman commented on May 8, 2019

    @jnothman
    Member
  7. glemaitre commented on May 9, 2019

    @glemaitre
    Member

    after all the regression tests ran through (which took almost half an hour) it stopped because of a very simple error in the transformer tests (no error raised when X has a different number of features).

    FYI, when developing it would be preferable to execute a portion of the tests related to the feature or bug fix written. Once this is done, a portion of the common tests can also be executed (using the -k flag of pytest). And at last, you might want to tests everything but I would let the online CIs do this part since it will be double usage (and there is several OS and dependencies version there).

    So IMO, using pytest with an additional package such as pytest-sugar would be more manageable than us managing some internal progress bar.

  8. rth commented on May 9, 2019

    @rth
    Member

    Yes, I also think that it's pytest job to handle progress bars/reports while running tests. Our only task is making sure we provide all the necessary information to pytest (e.g. by allowing to run individual tests that are part of check_estimator). and that is discussed in #11622.

    I would be +1 to close this issue in favor of #11622

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions