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/56
# Loki Mode Multi-Agent Solution
# Attempts: 1
# Passed: True
def correct_bracketing(brackets: str):
""" brackets is a string of "<" and ">".
return True if every opening bracket has a corresponding closing bracket.
>>> correct_bracketing("<")
False
>>> correct_bracketing("<>")
True
>>> correct_bracketing("<<><>>")
True
>>> correct_bracketing("><<>")
False
"""
counter = 0
for bracket in brackets:
if bracket == "<":
counter += 1
elif bracket == ">":
counter -= 1
if counter < 0:
return False
return counter == 0