(hw, hw_dict, approx=0.8)
| 6 | |
| 7 | |
| 8 | def find_approximate_hw(hw, hw_dict, approx=0.8): |
| 9 | for k, v in hw_dict.items(): |
| 10 | if hw >= v * approx: |
| 11 | return k |
| 12 | return None |
| 13 | |
| 14 | |
| 15 | def find_closet_smaller_bucket(t, t_dict, frame_interval): |
nothing calls this directly
no outgoing calls
no test coverage detected