Giter Club home page Giter Club logo

Comments (2)

miguelgfierro avatar miguelgfierro commented on June 2, 2024

The unit tests in notebooks cover the basic work of the notebook. It is actually an innovation we introduced, in a similar way that unit tests in functions make sure that the function works properly, the unit tests in notebooks make sure that they work.
In the case of functional tests, we are not only checking that the notebooks work, but also that they provide the right values.

For example, a notebook that outputs an RMSE of -1 will pass the unit test because the notebook works, but the functional notebook will break because an RMSE of -1 is incorrect.

The smoke test is just a guardrail for functional or integration tests that take too long, and they go sequentially with the functional test. If a functional test takes 1h runing for 10 epochs, we have a smoke test that is the same notebook but maybe runs for 1 epoch. They are used to check for quick errors.

Consider that the test pipeline we have is not only used for making sure that the repo is healthy but to showcase a pattern in machine learning projects.

We reviewed the categories even with Eric Gamma, who was the creator of junit.

from recommenders.

miguelgfierro avatar miguelgfierro commented on June 2, 2024

Closing this, feel free to open to open if needed

from recommenders.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.