Sea-level-predictor, testing case

I think something wrong with the size of the year in the testing code.
The assignment mentioned predicting from 1880 to 2050 for sea level.
should be the size of the year from 1880 to 2050 as 171?
The testing code is given 170.
Originally, I set the year from 1880 to 2050, it does not pass testing cases. However, I set the year from 1880 to 2049, it passes testing cases.
Can someone explain that?
https://repl.it/@freeCodeCamp/fcc-sea-level-predictor#README.md

Challenge: Sea Level Predictor

Link to the challenge:

I completely agree with you.