Skip to content

Add API that canonicalises grades #159

@musoke

Description

@musoke

We should have a way to canonicalise minor differences in grade formatting such as

  • Brazilian grades: "VI sup" -> "VIsup" (see feat: add BrazilianCrux scale #158)
  • strip redundant whitespace
  • capitalisation
    • YDS a/b/c/d should be lowercase
    • v2 -> V2
    • e2 -> E2
  • PG-13 -> PG (or vice versa)

Ideally, this would only be a difference in how a grade is displayed. The original input should be saved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions