You are browsing as a guest. Sign up (or log in) to start making projects!

1h 57m 23s logged

Devlog #3: More Unit Tests & Fixing Rec Logic
Alright. So I’ve finished the unit tests. It took me less time than I expected, albeit there was a lot of copy-and-pasting for creating new fake computer systems to test. A couple of issues arose.

  1. Parts of the total score were exceeding their assigned values (xxxWeight), so I clamped it using Math.min.
  2. After vramGb met the minimum, all GPUs would score the same. Fixed by multiplying the weight for GPU score inside the Math.min, taking the minimum of the calculated score and the assigned weight.

Super satisfying to see al of the tests past. Now, on to the frontend!
Thanks for reading and happy coding!

0
3

Comments 0

No comments yet. Be the first!