返回 DeepSeek-Reasonix
buckets.py
1 def bucket_of(value, width):
2 """Index of the histogram bucket holding value; buckets are floors."""
3 return int(value / width)
4
4 lines PYTHON