Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VitoHowe/glm-coding
/ _js_round
Method
_js_round
app/services/captcha_service.py:197–200 ·
view source on GitHub ↗
(self, value: float)
Source
from the content-addressed store, hash-verified
195
return
normalized
196
197
def
_js_round(self, value: float) -> int:
198
if
value >= 0:
199
return
int(math.floor(value + 0.5))
200
return
int(math.ceil(value - 0.5))
201
202
203
@lru_cache(maxsize=1)
Callers
1
build_click_answer
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected