All specs 3 total
seasons_listREAL LLM gemma4:latest · · unknowntransfermarkt_datasets/core/utils.py
Generates a list of integers representing years based on an input string detailing one or more seasons. It accepts a string that can represent a single year, a range of years separated by hyphens, or an invalid format. The function returns a list of integers containing the specified years, or raises an exception if the input is empty, represents an invalid format, or spans too large a range.
seasons_listtemplated static_v1 · constant · CC0-1.0transfermarkt_datasets/core/utils.py · L24
Performs operations on `seasons_list`. Takes a `str` parameter (`seasons`). Returns `List[str]`. Runs in constant time. May raise: Exception.
seasons_listtemplated static_v1 · constant · CC0-1.0transfermarkt_datasets/core/utils.py · L24
Generate a list of seasons to acquire based on the "seasons" string. For example, for "2012-2014", it should return [2012, 2013, 2014].