| 1 | prompt = """Build a word-frequency CLI in wordfreq.py, runnable as `python3 wordfreq.py INPUT [--top N] [--stopwords FILE]`: |
| 2 | - tokens are maximal runs of ASCII letters, lowercased; everything else separates tokens |
| 3 | - count token frequencies in INPUT |
| 4 | - if --stopwords FILE is given, ignore tokens listed in that file (one per line) |
| 5 | - print the top N tokens (default 10), one per line as `word count`, sorted by count descending, ties broken alphabetically ascending |
| 6 | - print nothing else""" |
| 7 | class = "long-horizon" |
| 8 | max_steps = 30 |
| 9 | timeout_sec = 600 |
| 10 |