Skip to content

oaknorthbank/python-interview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running the project

  • poetry env use python
  • poetry install
  • poetry run pytest

Context

This project contains a first version of a simplified function that calculates a credit score given a credit report.

Credit score: A credit score is a prediction of a person's credit behavior, such as how likely you are to pay a loan back on time, based on information from your credit reports. For example, your credit score can go up and down based on how you pay your bills, how much debt you have, how long you've had credit accounts, and how often you apply for new credit.

Experian is a credit reporting company that defines the following ranges for credit scores in the UK:

  • "very poor" if the score is less or equals 560.
  • "poor" if the score is between 561 and 720.
  • "fair" if the score is between 721 and 880.
  • "good" if the score is between 881 and 960.
  • "excellent" if the score is between 961 and 999.

Credit report: consists of a person's credit utilisation percentage and payment history.

  • Credit utilisation percentage: Credit utilisation percentage shows how much of your available credit you're using. It refers to the ratio of your credit card balance to your credit limit.
  • Payment history: is a list of invoices that the person needs to pay.

Before the interview

  • Make sure you can run the project locally (poetry run pytest should run the tests).
  • Get familiar with the existing code.
  • Imagine this code was written a long time ago by an intern.
  • Don't write any code.

During the interview, we'll ask you to expand the current implementation of the credit score function and update tests accordingly. You'll have around 45 minutes for this.

This is how we work...

  • We like leaving the codebase better than we found it
  • We do TDD (test driven development)
  • We don't test implementation details but we do test user behaviour

Task

To be given during the interview.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages