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,20 @@
# HumanEval/98
# Loki Mode Multi-Agent Solution
# Attempts: 1
# Passed: True
def count_upper(s):
"""
Given a string s, count the number of uppercase vowels in even indices.
For example:
count_upper('aBCdEf') returns 1
count_upper('abcdefg') returns 0
count_upper('dBBE') returns 0
"""
uppercase_vowels = {'A', 'E', 'I', 'O', 'U'}
count = 0
for i in range(0, len(s), 2):
if s[i] in uppercase_vowels:
count += 1
return count