Node JS tests for plural rules give "unsupported_locale" for legacy locales. The executor gets what locales are supported and adds it to the output, but does not use the actual supported locale in the test.
ICU4C and ICU4J seem to mostly support these locales, but not consistently, e.g., ICU4C on ICU75.
expect "few" but actual result is "other"{"locale":"mo","label":"3719","type":"cardinal","plural_type":"cardinal","sample":"100.0","hexhash":"70f44dcd8014753dd93bcb15a0dc1d1f9f434a7d"}
ICU4X seems to report "other" as the result for these tests in legacy locales, which gives failures in many cases where the expected result is not "other".
Possible solutions:
Update the test generation to map old locales to modern ones, i.e., "iw" --> "he", "mo" --> "ro".
In test generation, include a test for both the old locale and the modern one.
Make the executors recognize legacy locales and perform this mapping.
Node JS tests for plural rules give "unsupported_locale" for legacy locales. The executor gets what locales are supported and adds it to the output, but does not use the actual supported locale in the test.
Example: NodeJS on ICU75.
Input: {"test_type": "plural_rules", "locale":"mo","label":"5741","type":"ordinal","plural_type":"ordinal","sample":"1000","hexhash":"e46fa8ef9d6e9606ac1a9f64afe6af02519b41a9"}
Output: {"test_type": "plural_rules", "unsupported_locale":"mo","supported_locals":["ro"],"test_options":{"type":"ordinal"}}
ICU4C and ICU4J seem to mostly support these locales, but not consistently, e.g., ICU4C on ICU75.
expect "few" but actual result is "other"{"locale":"mo","label":"3719","type":"cardinal","plural_type":"cardinal","sample":"100.0","hexhash":"70f44dcd8014753dd93bcb15a0dc1d1f9f434a7d"}
ICU4X seems to report "other" as the result for these tests in legacy locales, which gives failures in many cases where the expected result is not "other".
Possible solutions: