Fix: Ensure all skills are tracked as files, not submodules
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# HumanEval/14
|
||||
# Loki Mode Multi-Agent Solution
|
||||
# Attempts: 1
|
||||
# Passed: True
|
||||
|
||||
from typing import List
|
||||
|
||||
|
||||
def all_prefixes(string: str) -> List[str]:
|
||||
""" Return list of all prefixes from shortest to longest of the input string
|
||||
>>> all_prefixes('abc')
|
||||
['a', 'ab', 'abc']
|
||||
"""
|
||||
return [string[:i] for i in range(1, len(string) + 1)]
|
||||
Reference in New Issue
Block a user