Commit Graph

8 Commits

Author SHA1 Message Date
Prince Mendiratta fadd0a8384 fix: remove .replit and replit.nix files (#9)
Signed-off-by: Prince Mendiratta <prince.mendi@gmail.com>

Signed-off-by: Prince Mendiratta <prince.mendi@gmail.com>
2022-12-03 11:06:42 +09:00
Krzysztof G e07823cf8f fix(config): add replit.nix config (#8)
* fix(config): add replit.nix config

* fix: add matplotlib

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2022-07-20 15:50:15 +09:00
Naomi Carrigan 05c1179bf5 chore: clean up readme (#7) 2022-05-03 17:41:49 -05:00
Chris DiCarlo d23928ece0 fixed test_plot_data_points and test_plot_lines (#3)
* Fixed test_plot_data_points to match given data

Some of the expected values in test_plot_data_points have extra digits.  The second data point had a y value of 0.22047244100000002 instead of 0.220472441 as given in the csv data file.  These cause errors with assertEqual.  It works fine with just this change, but it is still checking floats for equality which could be brittle. I also modified the assert line to use np.testing.assert_almost_equal which checks lists in an element-by-element fashion with tolerance and should be more robust.

* fixed test_plot_lines

Question asks for regression line "Through the year 2050" but the expected lists stops at the y-value for 2049.  Added datapoint for 2050 in both lines.  assertEqual was throwing errors for differences in 10th digit, changing this to np.testing.assert_almost_equal checks the first 7 digits which is a more robust way to check a regression calculated value.

* Added numpy import at top

added numpy import at top for np.testing.assert_almost_equal
2021-04-19 11:58:56 -05:00
Nabeel Raza c35e9d25c0 Fixing typo: scipi should be scipy (#5) 2021-04-19 10:58:01 -05:00
Tom 77806286e6 feat: add description to pyproject.toml (#2) 2020-09-29 15:46:25 -07:00
Tom 76a954000d feat: add replit config (#1) 2020-09-29 15:09:27 -07:00
moT01 e4811795bd init 2020-09-29 09:50:39 -05:00