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,27 @@
# HumanEval/57
# Loki Mode Multi-Agent Solution
# Attempts: 1
# Passed: True
def monotonic(l: list):
"""Return True is list elements are monotonically increasing or decreasing.
>>> monotonic([1, 2, 4, 20])
True
>>> monotonic([1, 20, 4, 10])
False
>>> monotonic([4, 1, 0, -10])
True
"""
if len(l) <= 1:
return True
increasing = True
decreasing = True
for i in range(1, len(l)):
if l[i] > l[i - 1]:
decreasing = False
if l[i] < l[i - 1]:
increasing = False
return increasing or decreasing