Skip to content

Commit

Permalink
website: show championship competition time for corresponding challen…
Browse files Browse the repository at this point in the history
…ges (#165)

Signed-off-by: Ryan Tsien <[email protected]>
  • Loading branch information
bekcpear authored Aug 23, 2024
1 parent eced564 commit 4cbb934
Show file tree
Hide file tree
Showing 10 changed files with 36 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/challenges/P2421/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ cid: P2421
slug: /P2421
award: 人民币 20000
numberOfChampions: 1
begin_time: 2024-07-08 (AoE)
end_time: 2024-08-31 (AoE)
description: 利用 RuyiSDK 的新 32 位工具链,和内建的新 32 位 QEMU 模拟器,完成指定 Hypervisor 的移植。指定 Hypervisor 为 seL4。
---

Expand Down
2 changes: 2 additions & 0 deletions docs/challenges/P2425/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ cid: P2425
slug: /P2425
award: 人民币 20000
numberOfChampions: 1
begin_time: 2024-07-08 (AoE)
end_time: 2024-08-03 (AoE)
description: 在 SG2042/Pioneer Box 上,移植 RetroArch 模拟器;尽可能支持更多的核心流畅运行。
---

Expand Down
2 changes: 2 additions & 0 deletions docs/challenges/P2426/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ cid: P2426
slug: /P2426
award: 人民币 15000
numberOfChampions: 1
begin_time: 2024-07-08 (AoE)
end_time: 2024-08-31 (AoE)
description: KubeSphere 是在Kubernetes 之上构建的面向云原生应用的分布式操作系统。在 SG2042/Pioneer Box 上,本题要求在 SG2042/Pioneer Box 上移植 KubeSphere。
---

Expand Down
2 changes: 2 additions & 0 deletions docs/challenges/S2422/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ cid: S2422
slug: /S2422
award: 人民币 20000
numberOfChampions: 1
begin_time: 2024-07-08 (AoE)
end_time: 2024-08-03 (AoE)
description: 在搭载了 K230 的 RISC-V 开发板上,移植大语言模型 Llama 3,并正确运行;使用 RISC-V Vector (或 Xuantie Matrix)扩展指令集对 LLaMA 3 的实现进行优化,加速模型的执行速度。
---

Expand Down
2 changes: 2 additions & 0 deletions docs/challenges/S2423/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ cid: S2423
slug: /S2423
award: 人民币 20000
numberOfChampions: 1
begin_time: 2024-07-08 (AoE)
end_time: 2024-08-31 (AoE)
description: 在 SG2042/Pioneer Box 上,移植 OceanBase 数据库;尽可能高的提升相关 Benchmark 的分数。
---

Expand Down
2 changes: 2 additions & 0 deletions docs/challenges/S2424/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ cid: S2424
slug: /S2424
award: 人民币 15000
numberOfChampions: 1
begin_time: 2024-07-08 (AoE)
end_time: 2024-08-03 (AoE)
description: 在 SG2042/Pioneer Box 上,移植 TDengine 数据库;尽可能高的提升相关 Benchmark 的分数。
---

Expand Down
2 changes: 2 additions & 0 deletions docs/challenges/S2427/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ cid: S2427
slug: /S2427
award: 人民币 10000
numberOfChampions: 1
begin_time: 2024-07-08 (AoE)
end_time: 2024-08-31 (AoE)
description: TiDB 是开源的开源分布式关系型数据库,本题要求在 SG2042/Pioneer Box 上,移植 TiDB, 并尽可能提升 TiDB benchmark 的跑分。
---

Expand Down
2 changes: 2 additions & 0 deletions docs/challenges/S2428/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ cid: S2428
slug: /S2428
award: 人民币 10000
numberOfChampions: 1
begin_time: 2024-07-08 (AoE)
end_time: 2024-08-31 (AoE)
description: K3s 是轻量级的 Kubernetes。K3s 易于安装,仅需要 Kubernetes 内存的一半,所有组件都在一个小于 100 MB 的二进制文件中。本赛题要求基于 Milk-V Duo S 平台完成 K3s 的移植与优化,并在电脑上形成集群管理的 demo。
---

Expand Down
8 changes: 8 additions & 0 deletions i18n/en/code.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,14 @@
"message": "Award",
"description": "the description message of the award"
},
"common.metadata.begin_time": {
"message": "Starttime",
"description": "the description message of the challenge starting time"
},
"common.metadata.end_time": {
"message": "Deadline",
"description": "the description message of the challenge deadline"
},
"common.metadata.championsCount": {
"message": "Number of champions",
"description": "the description message of the number of champions"
Expand Down
12 changes: 12 additions & 0 deletions src/components/ChallengeMeta/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,18 @@ export default function ChallengeMeta({
<label><Translate id='common.metadata.championsCount'>冠军个数</Translate></label>
<span>{fm.numberOfChampions}</span>
</div>
{inDoc === 'in-doc-true' && (
<div>
<label><Translate id='common.metadata.begin_time'>开始时间</Translate></label>
<span>{fm.begin_time}</span>
</div>
)}
{inDoc === 'in-doc-true' && (
<div>
<label><Translate id='common.metadata.end_time'>截止时间</Translate></label>
<span>{fm.end_time}</span>
</div>
)}
</div>
)
}

0 comments on commit 4cbb934

Please sign in to comment.