Comments (5)
@KL-7 what does 'failing in ICU' mean in this context? Have you filed a ticket?
from twitter-cldr-rb.
@srl295, I believe that's a problem with test data and not the implementation. I was looking for tailoring tests and I was quite disappointed when I found this note saying that CLDR no longer provides conformance tests. Out of frustration I used tests from an older version of CLDR from here. I run ICU4J (as a reference implementation) on these tests, excluded those that were failed, and used the rest as a test suit for our implementation.
from twitter-cldr-rb.
@KL-7 Ouch.......... several times ouch.
Okay. I am sorry about the frustration. However... that is sort of like grading a student against the wrong answer key.
One thing that could have been done.. or, even, still done, would be to request generation of newer data. As I mentioned, we don't get much notice of others picking up the data period until they are in some sense 'done' (as with TwitterCLDR's announcement). I've never heard of anyone actually using that test data, besides CLDR's own tests.
I don't want to scare you off by repeating myself, but.. please file tickets, use the mailing list, ..
in any event, it may be better to use ICU's test cases. Below is not comprehensive (there are others), but is one start. I think this one is consumed by both C and J.
http://source.icu-project.org/repos/icu/icu/trunk/source/test/testdata/DataDrivenCollationTest.txt
I assume Ruby has some mechanism for calling/being called to/from C or Java, one could also consider testing by comparing results. Worst case you could execute my usort sample and compare the output. http://source.icu-project.org/repos/icu/icuapps/trunk/usort/
from twitter-cldr-rb.
@srl295, I think we're pretty good even now, because I'm using only tests that are passed by ICU4J (it's basically results comparison that you mentioned). I found a lot of issues (hopefully, most of them) in my implementation that way. I had hard time trying to track down ICU's test data, so I used what I had at hands.
Regarding people using this data, I know for sure that at least ZTM project
is using it – I originally found this data in their repository and only then managed to find it in CLDR's SVN. Though, I know nothing about the project's status, maybe they don't need updated version.
And about mailing lists... I don't use them a lot in general and at the time I didn't feel brave enough to write someting to Unicode or CLDR mailing list. But you made me believe that it's not that scary =) Next time I need help or spot an issue I won't hesitate.
from twitter-cldr-rb.
@KL-7 hm, ZTM does not seem to be active presently, but that would have been good to have their input. Glad to have made things a little less scary.
from twitter-cldr-rb.
Related Issues (20)
- Formatting a full datetime with a time zone gives current time timezone (PST instead of PDT) HOT 4
- Incorrect list formatter behaviour HOT 2
- Exception when using hyphenate HOT 1
- Incorrect LikelySubtags.locale_for behaviour HOT 1
- Incorrect ListFormatter behaviour HOT 6
- Weekday names `:wide` format is the same as `:abbreviated` HOT 5
- Ruby 3.1.0 with Psych 4 forces YAML.safe_load and throws Psych::DisallowedClass HOT 1
- Month names :narrow format returns array of digits rather than the first letter of each month HOT 3
- Ruby 2.7+ compatibility issue/question HOT 1
- Warning when running Sorbet HOT 2
- Why use :one instead of :name HOT 1
- Remove lone release HOT 1
- Missing titlecase and/or uppercase mappings? HOT 1
- Add support for yMMMMd (October 7, 2022) HOT 2
- `format: :long` breaks when combined with currency formatting HOT 4
- Breaking by word a string containing Japanese and Latin characters HOT 3
- Contributor access revoked HOT 1
- Wrong language name is returned for Norwegian Nynorsk (nn) HOT 1
- Unicode, ICU, CLDR update HOT 1
- Convert CLDR Date/Time pattern to Ruby-compatible pattern HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twitter-cldr-rb.