Git Product home page Git Product logo

isa-calculator's Introduction

isa-calculator

Codeship Status for LearnersGuild/isa-calculator Code Climate GPA Code Climate Issue Count Test Coverage

Getting Started

  1. Fork and clone the repository.

  2. Install and run:

    npm install
    npm run dev
  3. If you change the "reactToolbox" section of package.json, you'll have to run the toolbox script.

    npm run build:theme

Key Dependencies`

LICENSE

See the LICENSE file.

isa-calculator's People

Contributors

jeffreywescott avatar

Watchers

 avatar  avatar

Forkers

seconddayout

isa-calculator's Issues

Selected start date converted to day after

From Jessica:

fyi @sj when I tried to enter folks in on a monday as a "start date" and "exit date" it keeps automatically changing it to a tuesday and won't let the monday option work.

and it also did it for the "Exit date" for july 11th instead of Mon, july 10th, which is def not a holiday

screen shot 2017-08-03 at 10 46 05 am

Default next start date incorrect if still in current month

The default next start date displayed in the calculator form should be the nearest start date. However, if the next start date is in the current month, the date displayed is instead the 2nd next start date -- in the following month.

Example:

  • Current date is Thu, 8/3/17
  • Next start date is Mon, 8/7/17
  • Default next start date displayed is Tur, 9/5/17 (Mon, 9/4/17 is a holiday)

screen shot 2017-08-03 at 6 40 36 am

implement ISA calculator (sessions)

Pay it Forward Fund

  • ISA %
    • if > 60% of days in session completed, 100%
    • if < 60^ of days in session completed, pro-rated (e.g., if 41% of days completed, 1.025% instedad of 2.5% -- 0.41 * 2.5 == 1.025%)
  • payment term (36 months)
  • payment cap (2x the funding amount)
  • percent and cost breakdown per session

Learner's Living Fund

  • ISA %
  • payment term (36 months)
  • max stipend amount ($15,692)
  • max ISA % (8.5%)
  • laptop stipend ($1,846)
  • max stipend w/o laptop ($13,846 == $15,692 - $1,846)
  • single stipend pament amount ($692.30 == $13,846 / 20)

isa calculations

Incorrect number of program weeks calculated

The exit dates (when correctly displayed - see #13) appear to be off by 1 week.

From Jessica:

i also counted 40 weeks (not including the winter holiday) and got a different end date. I got an end date of May 18th, 2018.

a week earlier.

i counted it multiple times as I was figuring out the 5 session dates. and I keep coming up with May 18th.

so it also seems to be off by a week.

The program seems to be consistently counting 1 too many weeks in the program when calculating the exit dates.

screen shot 2017-08-02 at 12 45 40 pm

DRY-up reducers

We probably want to merge the form and calculations reducers.

Intermittently incorrect exit and cancellation dates

Sometimes, the exit date and cancellation dates displayed in the image below are off by 1 day (too early).

Exit date should be May 25.
Cancellation date should be September 11.

The behavior observed is consistent with this being an issue of timezone conversion.

screen shot 2017-08-02 at 12 45 40 pm

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.