File size: 1,086 Bytes
2e511b5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
"""Country sets and display names shared across the analysis and paper scripts."""

# The 19 jurisdictions of the public release (HF legexbenchmark/goldensets).
# data/ also contains non-release drafts (al, at, gh, it, li, lu, xk) which
# must be excluded from every paper aggregate.
RELEASE_COUNTRIES: tuple[str, ...] = (
    "am", "au", "be", "br", "ch", "de", "es", "fr", "ge", "hk",
    "in", "np", "nz", "ph", "rs", "sg", "tw", "uk", "us",
)

# Core benchmark: >=100 judgments AND independent reannotations (three
# annotators each). Nepal and Spain reach 100+ cases but are single-annotated.
CORE_COUNTRIES: tuple[str, ...] = ("br", "ch", "de", "ge", "sg", "tw", "uk", "us")

COUNTRY_NAMES: dict[str, str] = {
    "am": "Armenia", "au": "Australia", "be": "Belgium", "br": "Brazil",
    "ch": "Switzerland", "de": "Germany", "es": "Spain", "fr": "France",
    "ge": "Georgia", "hk": "Hong Kong", "in": "India", "np": "Nepal",
    "nz": "New Zealand", "ph": "Philippines", "rs": "Serbia",
    "sg": "Singapore", "tw": "Taiwan", "uk": "United Kingdom",
    "us": "United States",
}