Giter VIP home page Giter VIP logo

pymath-interval's People

Contributors

hot9cups avatar simpleart avatar

Watchers

 avatar

Forkers

hot9cups

pymath-interval's Issues

Update README

The README as it stands of now could use a bit of work with details and instructions on the usage of the library and other useful information in general.

Create User Documentation

Write user documentation:

a. Create module doc-strings:

  1. Replicate README.md for the package doc-string.
  2. Rewrite markdown code blocks as doc-tests.
  3. Give an overview of what each module is doing.
  4. Provide examples if appropriate.

b. Create function doc-strings:

  1. Briefly describe what each function/method is doing.
  2. Briefly describe the parameters and returns/yields.
  3. Provide examples.

c. Create class doc-strings:

  1. Briefly describe what the Interval class is for.
  2. Briefly describe what the interval sentinel is for.
  3. Document the interval(x) constructor.
  4. Document the interval[x:y] constructor.
  5. Document the attributes.
  6. Briefly describe the properties.
  7. Provide examples (especially for dunder methods).

Add Unit tests

The code as it stands today does not any test coverage.

Add unit tests so this is no longer true.

Create tests:
a. Test methods in the Interval class.
b. Test branches (make sure to check all cases).
c. Test correctness using decimal.Decimal.

Write developer comments

Write developer comments:
a. Explain weird floating-point and bit manipulations.
b. Explain math logic.

Even better if the code can be refactored to be self-explanatory thereby eliminating the need for dev comments.

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.