Skip to content

Smarter auto-hinting #3

Open
Open
@joshgoebel

Description

@joshgoebel

Is your feature request related to a problem? Please describe.

When two tags both have an auto-hint SE ignores the auto-hints and just falls back to dumb auto-detection... it's auto-hinting can't handle more than a single possible language.

Describe the solution you'd like

Instead both auto-hints should be used to "guide" the auto-detection. Discussion If a post is tagged javascript and typescript (yes I know SE already fixed this single case, but it's illustrative) then instead of just saying "it could be anything" and landing on Go or Dart... it should be taken into consideration that it's QUITE likely to vs JS or TS... and those should be artificially boosted...

So if it looks like a tight race between Go, Dart, JS, and TS... then JS or TS should most often win for posts tagged as JS or TS.

Describe alternatives you've considered

None.

How someone could help

We need an automatic way (screen scrape? Console script?) to quickly pull down all the tag -> auto-hint mappings so we can have then in our codebase...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions