-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 168813a
Showing
2 changed files
with
73 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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仓库: | ||
|
||
 | ||
|
||
基础阶段完成一个方向的习题并全部通过即阶段及格晋级下一阶段,我们鼓励学员尝试完成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://) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.