ms1450 / CommandConnectorCompatibilityCalculator

Compares a customer list of Camera Models with the Verkada HCL to provide compatible cameras.
2 stars 1 forks source link

Fixed #28 #36

Closed ian-young closed 3 weeks ago

ian-young commented 1 month ago

Feature Name

Description

Fixed the max recursion depth. Found that the program was struggling making a split decision between prioritizing lower channel count or lower storage count which was causing the recursion error; to help nudge the program out of a indecision loop like this, or (surplus_channels == 0 and surplus_storage < min_surplus_channels) was added to give it more weight on filling out our surplus counts first.

[!NOTE] May need to add or (surplus_channels == 0 and surplus_storage < min_surplus_channels) at some point in the future to give it weight on deciding how to dish out storage once channels are complete in the future. This has not yet been observed behavior

Fixes #28

Type of change

How Has This Been Tested?

Checklist