Skip to content

Commit

Permalink
init commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew211vibe committed Jul 16, 2024
0 parents commit 168813a
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 0 deletions.
73 changes: 73 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Exam Grading

用于 [rustlings](https://github.com/rust-lang/rustlings)[learning-cxx](https://github.com/LearningInfiniTensor/learning-cxx) 的自动测试评分系统

## InfiniTensor训练营(2024夏季)

基础阶段学员将通过选择 [Rust基础-rustlings](https://github.com/rust-lang/rustlings)[C++基础-learning-cxx](https://github.com/LearningInfiniTensor/learning-cxx) 进行测试,请学员通过本模板仓库创建自己的exam-grading仓库:

![create-repo](./image/template-create-repo.png)

基础阶段完成一个方向的习题并全部通过即阶段及格晋级下一阶段,我们鼓励学员尝试完成Rust和C++的习题。若在过程中有任何问题都可以联系助教。

## 使用指南

1. 克隆仓库

```bash
git clone <your-exam-grading-github-addr> ./exam-grading
cd exam-grading
```

2. 添加测试目录

可选择通过子目录或直接目录来进行测试,这里推荐以子目录方式添加:

- rustlings

```bash
# 添加子模块
git submodule add <your-rustlings-github-addr> ./rustlings
```

- learning-cxx

```bash
# 添加子模块
git submodule add <your-learning-cxx-github-addr> ./learning-cxx
```

使用直接目录:

- rustlings

```bash
# 克隆rustlings仓库到./rustlings
git clone <your-rustlings-addr> ./rustlings
```

- learning-cxx

```bash
# 克隆learning-cxx仓库到./learning-cxx
git clone <your-learning-cxx-addr> ./learning-cxx
```

3. 运行测试

i. 当完成部分或所有练习后,记得更新自己的rustlings或learning-cxx目录

```bash
# 使用子模块:
git submodule update --remote
# 使用直接目录:
cd rustlings
git pull
```

ii. 之后提交到远程仓库,评测结果可以在Github仓库的actions页面中查看,或者 [Ranking](https://) 上面查看自己的评分排名(更新会有延迟)。

## 其它

- [Git子模块](https://git-scm.com/book/zh/v2/Git-%E5%B7%A5%E5%85%B7-%E5%AD%90%E6%A8%A1%E5%9D%97)
- [InfiniTensor训练营基础阶段指导书](https://)
Binary file added image/template-create-repo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 168813a

Please sign in to comment.