Bug: Passing platforms= falls back to host platform tags instead of yielding nothing
Bug: Passing platforms= falls back to host platform tags instead of yielding nothing: a task in repo2rlenv-swe-next (Harbor dataset). When explicitly passing an empty list as platforms to cpython tags() , generic tags() , or compatible tags() , the functions silently ignore it and substitute the…
The task
When explicitly passing an empty list as `platforms` to `cpython_tags()`, `generic_tags()`, or `compatible_tags()`, the functions silently ignore it and substitute the running host's platform tags. This is because the internal check uses `platforms or platform_tags()`, which treats an empty list the same as `None`.
Part of FineEnvs/repo2rlenv-swe-next.