Git Product home page Git Product logo

Comments (2)

feenberg avatar feenberg commented on May 27, 2024

On Mon, 12 Jan 2015, T.J. Alumbaugh wrote:

In our current test.py, the run function has a keyword argument puf with a
default value of True. All of our tests use this value. In ItemDed, we have
this snippet of code:

c20750 = 0.02 * _posagi
if puf == True:
    c20400 = e20400
    c19200 = e19200
else:
    c20400 = e20550 + e20600 + e20950
    c19200 = e19500 + e19570 + e19400 + e19550
c20800 = np.maximum(0, c20400 - c20750)

Do we ever take the else branch here? If not, let's get rid of this check
and remove the puf Boolean variable.

I think the point is that in the future, we will give the code to someone
with access to the complete (INSOLE) file, and they will set puf==False.
There should be numerous places where this makes a difference.

dan


Reply to this email directly or view it on
GitHub.[AHvQVSg7P1Wo_xVxXaHk5B137jsxCXd7ks5nhBRwgaJpZM4DRUBd.gif]

from tax-calculator.

talumbau avatar talumbau commented on May 27, 2024

Ah, thanks Dan. I will leave this in and handle with default keyword arguments for now. Closing.

from tax-calculator.

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.