in mozci/task.py [0:0]
def wpt_workaround(group: str) -> str:
# No need to transform empty groups (also, they will be filtered out
# in a following step).
if not group.strip():
return group
if group.startswith(":"):
assert group.startswith(
":/"
), f"Group {group} starts with : but doesn't start with :/"
group = group[1:]
assert group.startswith("/"), f"Group {group} doesn't start with /"
if group.startswith("/_mozilla/"):
return "/".join(
["testing/web-platform/mozilla/tests", group[len("/_mozilla/") :]]
)
else:
return "/".join(["testing/web-platform/tests", group[1:]])