← Files Plugin EvalARCHIVED FILE
fixtures/ts-python-sample/src/sample.py
497 Bytes · Sep 30, 2026 · 23:18 UTC
def choose_path(items, include_archived, prefer_fast):
next_items = []
for item in items:
if not item:
continue
if include_archived or not item.startswith("archived:"):
if prefer_fast and "fast" in item:
next_items.append(item.upper())
elif (not prefer_fast) and "slow" in item:
next_items.append(item.lower())
elif len(item) > 3:
next_items.append(item)
return next_items
SHA-256: 398bba0dfa3671514d355a447f488e944d14c8e2a868b93695608baf488c245a