Fix: Ensure all skills are tracked as files, not submodules
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# HumanEval/2
|
||||
# Loki Mode Multi-Agent Solution
|
||||
# Attempts: 1
|
||||
# Passed: True
|
||||
|
||||
def truncate_number(number: float) -> float:
|
||||
""" Given a positive floating point number, it can be decomposed into
|
||||
and integer part (largest integer smaller than given number) and decimals
|
||||
(leftover part always smaller than 1).
|
||||
|
||||
Return the decimal part of the number.
|
||||
>>> truncate_number(3.5)
|
||||
0.5
|
||||
"""
|
||||
return number - int(number)
|
||||
Reference in New Issue
Block a user