Fix: Ensure all skills are tracked as files, not submodules

This commit is contained in:
sck_0
2026-01-14 18:48:48 +01:00
parent 7f46ed8ca1
commit 8bd204708b
1113 changed files with 82065 additions and 2 deletions

View File

@@ -0,0 +1,29 @@
# HumanEval/92
# Loki Mode Multi-Agent Solution
# Attempts: 1
# Passed: True
def any_int(x, y, z):
'''
Create a function that takes 3 numbers.
Returns true if one of the numbers is equal to the sum of the other two, and all numbers are integers.
Returns false in any other cases.
Examples
any_int(5, 2, 7) ➞ True
any_int(3, 2, 2) ➞ False
any_int(3, -2, 1) ➞ True
any_int(3.6, -2.2, 2) ➞ False
'''
# Check all three are integers but not bools
if not all(isinstance(n, int) and not isinstance(n, bool) for n in [x, y, z]):
return False
# Check if any one equals the sum of the other two
return x == y + z or y == x + z or z == x + y