Skip to content

datacheck_always_error #49

Closed
Closed

Description

@yakra

Add all the datacheck types to datacheck_always_error that should be there.

Activity

  1. yakra commented on Nov 21, 2019

    @yakra
    OwnerAuthor

    full codes via
    grep -i datacheckerrors.append siteupdate.py | tr '"' "'" | cut -f2 -d"'" | sort | uniq

    wptedit short code full code always error
    (Py? C++? PHP?)
    description / comments
    BA
    (prop.)
    BAD_ANGLE 06d2833
    601d4f0
    Angles cannot be computed for 2 adjacent points @ same coords. Instead, use AltLabels or fix coords of 1 point or both.
    IB
    (actual)
    BUS_WITH_I issue Label looks like an Interstate with Bus banner instead of BL or BS.
    TravelMapping#252
      HIDDEN_JUNCTION* no Cannot be done in wptedit; requires knowledge of >1 route.
    DC
    (actual)
    DUPLICATE_COORDS no
    DL
    (actual)
    DUPLICATE_LABEL Py
    C++
    PHP
    HT
    (prop.)
    HIDDEN_TERMINUS Py
    C++
    PHP
    IC
    (prop.)
    LABEL_INVALID_CHAR Py
    C++
    PHP
    Label contains characters not allowed in labels
    LH
    (prop.)
    LABEL_LOOKS_HIDDEN no X123456 style label without a leading +. False Positives are unlikely, but conceivable.
    (
    (actual)
    LABEL_PARENS tm#267
    tm#381
    Number of ( and ) dont match.
    Expand to include cases of >1 of each?
    SR
    (prop.)
    LABEL_SELFREF issue Label appears to reference own route.
    Could be done in cases where a route name is included in Load In-use Labels
    /
    (prop.)
    LABEL_SLASHES Py
    C++
    PHP
    Too many slashes in label.
    __
    (actual)
    LABEL_UNDERSCORES 06d2833
    601d4f0
    Too many underscores in label.
      LONG_SEGMENT meh I was hoping for LS, but that's taken (See below)
    LS
    (actual)
    LONG_UNDERSCORE Py
    C++
    PHP
    Underscored suffix has 5+ chars, or 4 not ending in a capital letter.
    "Long suffix". Rename to LU? (See above)
    MU
    (prop.)
    MALFORMED_URL Py
    024426c
    PHP
    Not implemented in C++ (C++ parses string until invalid chars are found; Python attempts to parse whole string no matter what), but should be.
    _/
    (actual)
    NONTERMINAL
    _UNDERSCORE
    Py
    C++
    PHP
      OUT_OF_BOUNDS no No need to check for this in WPTedit. False positives will look like a completely normal route. True positives will look obviously & grossly out-of-whack.
    SA
    (actual)
    SHARP_ANGLE no
    UB
    (prop.)
    US_BANNER ToDo Look for USxxxA but not USxxxAlt, B/Bus (others?)
    Not implemented, commented out. Potential for false positives on routes with abbrevs.
    VD
    (actual)
    VISIBLE_DISTANCE no Distance of >10 mi between visible waypoints.
    Disallow reporting? Pro: cut down on clutter to the commit history and in unmatchedfps.log. Con: enforces extra noise in datacheck.php / datacheck.log
      VISIBLE_HIDDEN_COLOC no Cannot be done in wptedit; requires knowledge of >1 route.

    * grep results = datacheckerrors.append(DatacheckEntry(v.first_waypoint.colocated[0].route,

  2. yakra commented on Nov 25, 2019

    @yakra
    OwnerAuthor

    Still need to implement MALFORMED_URL in C++, then this issue can be closed.

  3. reopened this on Nov 27, 2019
  4. yakra commented on May 8, 2020

    @yakra
    OwnerAuthor

    Forget why I reopened this so soon after TravelMapping#265, if the near-match FP issue didn't come along till December. Regardless, I think everything is squared away now, as of 5f1de55 if not earlier.

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

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