Skip to content

feat(*): add testlib checker mode#260

Merged
alphagocc merged 4 commits intoProject-LemonLime:masterfrom
ZnPdCo:add-testlib-checker
Oct 28, 2025
Merged

feat(*): add testlib checker mode#260
alphagocc merged 4 commits intoProject-LemonLime:masterfrom
ZnPdCo:add-testlib-checker

Conversation

@ZnPdCo
Copy link
Contributor

@ZnPdCo ZnPdCo commented Oct 23, 2025

添加了 testlib 模式的 spj,正在测试阶段,目前仅在 windows 下测试过,linux 还没有测试。

完成后需要更新文档(计划另开 pr)。

close #257 close #248

测试代码:testtestlib.zip

image image image image

支持 quitp 和旧版 _pc(score) 写法,前者输出 0~1 的实数表示得分比例,后者输出 0~100 的整数表示得分百分比,均没有加数据检查,如果 spj 不是 testlib 的,有概率导致程序崩溃。

支持将 FAIL 的测试点标黑。

第一次尝试写qt,不知道为什么用 qt creator 时 ui 文件会加很多 EditTrigger?我不敢删。

然后 push 的文件也是我手动一个一个放的,我也不知道会不会 add 漏什么,抱歉。

@alphagocc
Copy link
Member

.ui 文件的修改感觉不必理会,毕竟也不是人手写的

@ZnPdCo
Copy link
Contributor Author

ZnPdCo commented Oct 24, 2025

@alphagocc 请问这个 ci 是炸了吗?还是是我的问题? 🤔

@ZnPdCo ZnPdCo marked this pull request as ready for review October 24, 2025 04:00
@alphagocc
Copy link
Member

对,炸了,我还没修好

@alphagocc
Copy link
Member

你的编辑器是不是不认识 .clang_format (

@ZnPdCo
Copy link
Contributor Author

ZnPdCo commented Oct 28, 2025

你的编辑器是不是不认识 .clang_format (

抱歉抱歉,format 文件设成我自己的了,已经改了。但是注意到 ci 还是错的,是不是其它文件的问题? 🤔

@alphagocc
Copy link
Member

呃是的,,,

@alphagocc alphagocc merged commit a48833a into Project-LemonLime:master Oct 28, 2025
19 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] spj 使用原生 testlib [BUG] 自定义校验器返回的 FAIl 状态被显示为 WA

2 participants