Skip to content

[release/v1] Create tool/script that validates standard names using official name components? #100

@nusbaume

Description

@nusbaume

In the new release/v1 branch we are moving to a more rules-based construction of standard names, where accepted base names can be combined with accepted prefixes and suffixes in a particular order to produce valid standard names. Thus it could be useful if there was some sort of script or tool that could check a standard name that is using those components to see if it is valid or not (i.e. follows all of the rules), which could alleviate the review burden for PRs that are adding new standard names.

This script could also, at least theoretically, be used to generate a "best-guess" of what the units for the standard name should be based off the units listed in the dictionary itself (for example, a prefix of tendency_of should add a s-1 to the units).

Of course it should be noted that there is likely no way that a tool could be used to validate every possible type of standard name or unit. However, as more and more standard name "components" are added, then hopefully more standard names can be checked without requiring a person to do so manually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions