generated from mwc/lab_scatter
618d9687c2e2a42528fecd2f486957e28315622b
I was getting errors when running test_transform.py not because of transform.py (I think) but instead because of how the arguments were being passed into the functions within. I removed the list-in-a-list from the clamp(), ratio(), and scale() tests and things seem to be working as expected. A lot of the extra thinking for checkpoint 2 was related to my attempt to avoid overthinking the problem. I found myself more than once starting to rewrite functions that I had already made, so upon taking another look at my plan, I realized the easier route would be to use things like the clamp() or minimum() function, for example, in order to save myself time and possible hard-to-diagnose bugs later on. Keeping with the theme of top-down design, breaking the problem up into smaller, simpler pieces also makes things easier to test as progress is made. The biggest strategy I employed was writing down, in English/pseudocode, what I wanted to do, then as I started to write out my code, I would explain to myself what was supposed to happen, which is where I started to go back to my previous functions to continue using them in the next function to be made.
Description
No description provided
Languages
Python
100%