nus-cs2113-AY2021S2 / pe-dev-response

0 stars 0 forks source link

Sometimes credit score start from 100 sometimes from 80 #1218

Open nus-pe-bot opened 3 years ago

nus-pe-bot commented 3 years ago

image.png

Sometimes credit score start from 100 sometimes from 80, there is no explanation given


[original: nus-cs2113-AY2021S2/pe-interim#1218] [original labels: severity.Medium type.FunctionalityBug]

jonahtwl commented 3 years ago

Team's Response

Credit score is calculated at run time, as you have a loan under the name Mark being made on the 20th of March 2021. When calculated to the date of the PE which is 16th April 2021, that is between the weeks of 2 and 4, which resulted in the subtracting of 20 of the creditscore to Mark.

As haha has not made any loans from you and as stated in the UG snippet below, he will have a creditscore of 100. (By the way, you have added a loan to nihao instead of haha)

image.png

Duplicate status (if any):

--