icpc / ccs-specs

Contest Control System specifications
https://ccs-specs.icpc.io
10 stars 10 forks source link

Add label to team, making the ID be 'something else'. #143

Closed nickygerritsen closed 1 year ago

nickygerritsen commented 1 year ago

@niemela I know you were tasked to do this but maybe forgot (or didn't have time yet), but we want to test this at NAC, so we first need the spec to have it.

nickygerritsen commented 1 year ago

Approved, but shouldn't it be non-optional?

I was wondering the same. I guess this is a field that if you have it, you better have it for all teams right? So then we should make it non optional?

deboer-tim commented 1 year ago

Approved, but shouldn't it be non-optional?

I was wondering the same. I guess this is a field that if you have it, you better have it for all teams right? So then we should make it non optional?

Yes, that's what I was assuming.

niemela commented 1 year ago

you were tasked to do this

I didn't do it, but I'll merge it :).

meisterT commented 1 year ago

It's hard for me to understand when to use what of id, label, name and display_name. What gap are we filling with this PR?

nickygerritsen commented 1 year ago

The gap we are filling is that for all other types we get from the CMS (groups, organizations) we use the ICPC ID as ID, which never changes (or shouldn't) but for the teams we use the 'seat number', but we normally don't have that unless we are at the WF. The label is very similar (and hence named the same way) as the label on a problem. Basically: ID is internal and no one should really know it (just like problem ID, group ID, etc.) and label is what teams know themselves.