google / google/open-location-code

Short code recovery is inflating precision

Open
#587 0 comments 0 reactions 0 assignees View on GitHub
java
Dominant language
Java
Stars
4.4k
Forks
530
PR merge metrics
No merged PRs in 30d

Description

(From #273 )

Some implementations, notably Java, are inflating precision of padded short codes.

Mentioned by @bocops:
> @JonMcPherson mentioned that the Java implementation recovers short code "2300+" to "????23GG+". Inflating a code's precision like that seems like a bug to me.

Maybe add a note to the spec, but this should get a test case and update any implementations that fail.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.