[Wikidata-bugs] [Maniphest] [Updated] T179228: geoPrecision exported to RDF as decimal, but is in fact float

2017-11-07 Thread ReleaseTaggerBot
ReleaseTaggerBot added a project: MW-1.31-release-notes (WMF-deploy-2017-11-14 (1.31.0-wmf.8)).
TASK DETAILhttps://phabricator.wikimedia.org/T179228EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Smalyshev, ReleaseTaggerBotCc: Jonas, gerritbot, thiemowmde, mkroetzsch, Lucas_Werkmeister_WMDE, daniel, Aklapper, Smalyshev, Lahi, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, EBjune, merbst, Avner, Lewizho99, Maathavan, debt, Gehel, FloNight, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Updated] T179228: geoPrecision exported to RDF as decimal, but is in fact float

2017-10-31 Thread gerritbot
gerritbot added a project: Patch-For-Review.
TASK DETAILhttps://phabricator.wikimedia.org/T179228EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, thiemowmde, mkroetzsch, Lucas_Werkmeister_WMDE, daniel, Aklapper, Smalyshev, Lahi, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, EBjune, merbst, Avner, Lewizho99, Maathavan, debt, Gehel, Jonas, FloNight, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Updated] T179228: geoPrecision exported to RDF as decimal, but is in fact float

2017-10-28 Thread Smalyshev
Smalyshev added a comment.
On coordinates, see T174504. Precision, however, is different. Right now we generate invalid RDF due to mixup between decimal and float. We could fix it by generating proper decimals, but since we store floats and not strings internally, that would generate inconsistent dumps. OTOH, in general precision numbers we generate now make little sense - e.g we have precisions of 0.00010057698125102 and 0.00010057719731271 and 0.00010059051031334 - I have super hard time believing anybody can differentiate between those and make sense out of them. But this is a separate question from us generating invalid RDF - whatever we use, we should at least keep RDF valid. 
So to make legal RDF we could either do "+0.00010057698125102"^^xsd:decimal or "1.0057698125102e-4"^^xsd:float. Both would work (right now we're doing "1.0057698125102e-4"^^xsd:decimal which is invalid). For the former, we'd need to import float into DecimalValue and then print it. Technically possible, but I am not sure whether it is a good way to go. I'd rather make some order into these precision values before we deal with more refined questions like moving them to decimals.TASK DETAILhttps://phabricator.wikimedia.org/T179228EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: SmalyshevCc: thiemowmde, mkroetzsch, Lucas_Werkmeister_WMDE, daniel, Aklapper, Smalyshev, Lahi, GoranSMilovanovic, QZanden, EBjune, merbst, Avner, debt, Gehel, Jonas, FloNight, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Updated] T179228: geoPrecision exported to RDF as decimal, but is in fact float

2017-10-28 Thread Smalyshev
Smalyshev added a project: User-Smalyshev.
TASK DETAILhttps://phabricator.wikimedia.org/T179228EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: SmalyshevCc: Aklapper, Smalyshev, Lahi, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, Avner, debt, Gehel, Jonas, FloNight, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs