Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/lib/utils/contest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ const ATCODER_OTHERS: ContestPrefix = {
'code-festival-2014-china-open': 'Code Festival 2014 上海',
'code-festival-2015-qualb': 'Code Festival 2015 予選 B',
'code-festival-2015-morning-middle': 'CODE FESTIVAL 2015 あさぷろ Middle',
'code-festival-2015-exhibition': 'CODE FESTIVAL 2015 エキシビション',
'code-thanks-festival': 'CODE THANKS FESTIVAL',
donuts: 'Donutsプロコンチャレンジ',
indeednow: 'Indeedなう',
Expand All @@ -232,6 +233,7 @@ const ATCODER_OTHERS: ContestPrefix = {
'mujin-pc-2018': 'Mujin Programming Challenge 2018',
soundhound2018: 'SoundHound Inc. Programming Contest 2018 (春)',
'pakencamp-2018-day3': 'パ研合宿コンペティション 3日目',
'pakencamp-2024-day1': 'パ研合宿2024 第1日「SpeedRun」',
'tenka1-2012-qualB': '天下一プログラマーコンテスト2012予選B',
'tenka1-2015-quala': '天下一プログラマーコンテスト2015予選A',
'tenka1-2015-qualb': '天下一プログラマーコンテスト2015予選B',
Expand All @@ -241,6 +243,7 @@ const ATCODER_OTHERS: ContestPrefix = {
colopl: 'COLOCON',
gigacode: 'GigaCode',
cpsco2019: 'CPSCO 2019',
'iroha2019-day4': 'いろはちゃんコンテスト Day4',
'nikkei2019-final': '全国統一プログラミング王決定戦本戦',
'jsc2019-final': '第一回日本最強プログラマー学生選手権決勝',
'jsc2025-final': '第六回日本最強プログラマー学生選手権 -決勝-',
Expand Down
12 changes: 12 additions & 0 deletions src/test/lib/utils/test_cases/contest_name_labels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,18 @@ export const atCoderOthers = [
contestId: 'dwango2016-prelims',
expected: '第2回 ドワンゴからの挑戦状 予選',
}),
createTestCaseForContestNameLabel('CODE FESTIVAL 2015 エキシビション')({
contestId: 'code-festival-2015-exhibition',
expected: 'CODE FESTIVAL 2015 エキシビション',
}),
createTestCaseForContestNameLabel('パ研合宿2024 第1日「SpeedRun」')({
contestId: 'pakencamp-2024-day1',
expected: 'パ研合宿2024 第1日「SpeedRun」',
}),
createTestCaseForContestNameLabel('いろはちゃんコンテスト Day4')({
contestId: 'iroha2019-day4',
expected: 'いろはちゃんコンテスト Day4',
}),
];

export const mathAndAlgorithm = [
Expand Down
12 changes: 12 additions & 0 deletions src/test/lib/utils/test_cases/contest_type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,10 @@ export const atCoderOthers = [
contestId: 'code-festival-2015-morning-middle',
expected: ContestType.OTHERS,
}),
createTestCaseForContestType('CODE FESTIVAL 2015 エキシビション')({
contestId: 'code-festival-2015-exhibition',
expected: ContestType.OTHERS,
}),
createTestCaseForContestType('CODE THANKS FESTIVAL 2017')({
contestId: 'code-thanks-festival-2017',
expected: ContestType.OTHERS,
Expand Down Expand Up @@ -504,6 +508,10 @@ export const atCoderOthers = [
contestId: 'pakencamp-2018-day3',
expected: ContestType.OTHERS,
}),
createTestCaseForContestType('パ研合宿2024 第1日「SpeedRun」')({
contestId: 'pakencamp-2024-day1',
expected: ContestType.OTHERS,
}),
createTestCaseForContestType('天下一プログラマーコンテスト2012予選B')({
contestId: 'tenka1-2012-qualB',
expected: ContestType.OTHERS,
Expand Down Expand Up @@ -544,6 +552,10 @@ export const atCoderOthers = [
expected: ContestType.OTHERS,
}),
),
createTestCaseForContestType('いろはちゃんコンテスト Day4')({
contestId: 'iroha2019-day4',
expected: ContestType.OTHERS,
}),
createTestCaseForContestType('全国統一プログラミング王決定戦本戦')({
contestId: 'nikkei2019-final',
expected: ContestType.OTHERS,
Expand Down
Loading