Skip to content
This repository was archived by the owner on Jan 31, 2022. It is now read-only.
This repository was archived by the owner on Jan 31, 2022. It is now read-only.

[label bot] AutoML need to handle "/" in labels better #136

@jlewi

Description

@jlewi

AutoML models don't allow "/" in label names. I initially handled this by just replacing "/" with a "-".

But this is problematic because some of our labels have "-" in them e.g.

"area/front-end"

Inverting the mapping therefore becomes problematic e.g

area/front-end -> area-front-end

To map area-front-end back to the original value we can't just replace all "-" with "/".

As a temporary work around I only replaced the first "-" which works because the only labels we are predicting right now have an area or platform.

I think a better solution would be to do multi-character replacement that never occurs. So we could map e.g. "/" to "-_" (i.e. a dash and an underscore)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions