Skip to content
This repository was archived by the owner on Jun 10, 2025. It is now read-only.

echavemann/learnsomething

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Part 0: Debugging, Logging, and PRs.

Scenario

It is your first day as a SWE at a trading firm that specializes in trading Oleos, a fictional currency. Your team's intern, during their final week, created this risk tracking utility to help traders keep track of their risk exposure. Unfortunately, the intern has already left for their next internship and you are left to debug and fix the code. The traders tell you that the script is not working as expected and they are losing money because of it. You have been tasked with fixing the script and ensuring that it is working as expected. Consider the following tips:

  • Read the code and understand what it is doing - all of the unit tests will pass.
  • Use the logging library to help you understand what is happening in the code.

Instructions

  • Add yourself to the progress.md file on the main branch.
  • Fork this repo for yourself
  • Clone the repo locally (Ensure you are on Branch 0!)
  • Navigate to the repository root and use mkdir build && cd build to create a build directory and navigate to it
  • Use task build to build the project, ./TradeRiskTracker to run the executable, and task test to run the tests
  • Identify the bug in the script and fix it
  • Update unit tests to cover the bug
  • Create a PR answering the questions below and send it to your project mentor

Questions

Please include the following when you are writing your PR:
General things:

  1. What is the purpose of this PR?
  2. What changes did you make? Why?
  3. What bugs did you find while testing?

This PR Specific:

  1. What was the bug you found?
  2. How did you address it?
  3. What did you struggle with?
  4. Is there anything you would change about this step?

About

Original NUFT Intern Project, Circa 2024

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors