unicode-org / message-format-wg

Developing a standard for localizable message strings
Other
227 stars 33 forks source link

{^} ACTION REQUIRED -- ballot of error handling #830

Closed aphillips closed 1 month ago

aphillips commented 1 month ago

Per the discussion in the 2024-07-15 teleconference (along with preceding calls on the same topic), there has been a call for voting on the resolution of error handling in the LDML46 version of the specification.

WORKING GROUP BALLOT

Please read the instructions CAREFULLY before responding.

Please carefully read the design document before responding. Please make pull requests against the design document for the addition of material facts or corrections.

Update (2024-07-17)

Apologies to all: I failed to publish the discussion thread. Please see #831 for that.

Balloting Instructions

Using the SINGLE TRANSFERABLE VOTE process, rank your choice(s) for error behavior.

The deadline is 1700 (5 PM) in the America/Los_Angeles time zone on Sunday, 21 July 2024 Votes received after the deadline will be considered at the discretion of the chair.

Candidates

The candidates are:

(1) MUST signal errors and MUST provide fallback (2) MUST signal errors or MUST provide fallback (3) MUST signal errors and SHOULD provide fallback (4) SHOULD signal errors and MUST provide fallback (5) Error handling is not a normative requirement

Candidate Descriptions

(1) MUST signal errors and MUST provide fallback

(2) MUST signal errors or MUST provide fallback

(3) MUST signal errors and SHOULD provide fallback

(4) SHOULD signal errors and MUST provide fallback

(5) Error handling is not a normative requirement

aphillips commented 1 month ago

(chair hat off)

My vote:

5 > 2 > 3

gibson042 commented 1 month ago

1 >>> 4 > 3 >> 2 > 5

eemeli commented 1 month ago

1 > 4 > 2 > 5

macchiati commented 1 month ago

I can't really answer unless the question is a bit more clear.

  1. "for signaling errors" - If this were "Must provide a mechanism for detecting errors" I would pick a higher number. That is, it could be satisfied by throwing an exception, or by having an additional return parameter, or by providing a separate function to query whether there was an error.

  2. I think the question might depend on the type of errors (This division doesn't align with the typology in the spec, because it is "behavior based" based.)

    1. no matter what the input parameters are — eg syntax errors like{$abc $def}
    2. call-site mismatch errors — eg format(myDateMessage, date="Einstein"), or missing input parameter
    3. others

Definitely for #1 I don't think there has to be a fallback message result

On Tue, Jul 16, 2024 at 1:33 PM Eemeli Aro @.***> wrote:

1 > 4 > 2 > 5

— Reply to this email directly, view it on GitHub https://github.com/unicode-org/message-format-wg/issues/830#issuecomment-2231779518, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACJLEMCZGT6CJEFJTXZ2VDLZMV7SFAVCNFSM6AAAAABK7IXHSSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZRG43TSNJRHA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

alerque commented 1 month ago

I believe discussion on this topic should be in #782 or #795 which is where the topic came up and it became clear there was not consensus. The issue above seems to have a broken link to some issue number for discussion, perhaps the correct issue number could be edited in there and then these comments hidden so it can be votes only again.

aphillips commented 1 month ago

Thanks @alerque. @macchiati I have copied your comment to #831 before hiding it here.

macchiati commented 1 month ago

3 > 5 Comment in https://github.com/unicode-org/message-format-wg/issues/831#issuecomment-2233941004

On Wed, Jul 17, 2024 at 10:25 AM Addison Phillips @.***> wrote:

Thanks @alerque https://github.com/alerque. @macchiati https://github.com/macchiati I have copied your comment to #831 https://github.com/unicode-org/message-format-wg/issues/831 before hiding it here.

— Reply to this email directly, view it on GitHub https://github.com/unicode-org/message-format-wg/issues/830#issuecomment-2233825913, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACJLEMCGDW5RKZXDFNGCONTZM2SJHAVCNFSM6AAAAABK7IXHSSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZTHAZDKOJRGM . You are receiving this because you were mentioned.Message ID: @.***>

sffc commented 1 month ago

1 ~>> 3 > 5 > 4 > 2

Note: My signs are the ones we use in ICU4X-TC

nordzilla commented 1 month ago

1 > 4 > 3 > 5 > 2

echeran commented 1 month ago

3 > 5 > 2 > 1 > 4

catamorphism commented 1 month ago

1 > 3 > 4 > 2 > 5

lucacasonato commented 1 month ago

I do not know if I have good standing after two meetings yet, but in case I do, my vote is:

4 > 2 > 1 > 5 > 3

harmitgoswami commented 1 month ago

Ditto with above, but my vote is:

1 > 3 > 4 > 2 > 5

aphillips commented 1 month ago

(chair hat on)

For clarity: good-standing means anyone who is a member of the WG and not otherwise declared as not in good standing. There is no requirement to have attended even one teleconference or made any other contribution.

mradbourne commented 1 month ago

1 > 4 > 3 > 2 > 5

aphillips commented 1 month ago

Candidate (1) has 7 top votes (out of 11 voting) and finishes in first. Using STV methodology, candidate (3) finished second and (4) was third.

mihnita commented 1 month ago

2 > 5 > 3 > 4 > 1