Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

答题bug #7

Open
lemongad opened this issue May 6, 2022 · 14 comments
Open

答题bug #7

lemongad opened this issue May 6, 2022 · 14 comments
Labels
已在最新代码中解决 This issue or pull request already exists 未知的bug Something isn't working

Comments

@lemongad
Copy link

lemongad commented May 6, 2022

搜题后,自动答题,感觉保存出现问题,提交后,题目没答
image
难受的是刷了六七个视频,才发现,都是这样,都是零分

@KirigiriSuzumiya
Copy link
Owner

我看你这个答案不是选了d么,题库答案是c啊,这个应该不是脚本答得题吧
image

@lemongad
Copy link
Author

lemongad commented May 6, 2022

不知道怎么回事,是之后就自动提交,我看搜答案都是准确的,自动答题上去就出错了

@KirigiriSuzumiya
Copy link
Owner

还有我看你这个应该是新版学习通的网页,答题的时候用的是旧版网页吗,我这个是按照旧版网页写的。
测试的iframe里面不管什么课都是一样的,应该是不会选错选项的

@KirigiriSuzumiya KirigiriSuzumiya added the 未知的bug Something isn't working label May 6, 2022
@lemongad
Copy link
Author

lemongad commented May 7, 2022

再次试验了,确实出现了问题
image

@lemongad
Copy link
Author

lemongad commented May 7, 2022

能不能添加一个不自动提交的选项,方便核实提交

KirigiriSuzumiya added a commit that referenced this issue May 7, 2022
我摊牌了,搜题专门给你们分开来一个重新写。
@KirigiriSuzumiya KirigiriSuzumiya added the 已在最新代码中解决 This issue or pull request already exists label May 7, 2022
@KirigiriSuzumiya
Copy link
Owner

已添加答题专用的打包exe,添加了安全模式,不过只能一个一个任务点答

@KirigiriSuzumiya
Copy link
Owner

如果有帮助我之后将这个功能合并到主程序中

@KirigiriSuzumiya
Copy link
Owner

大部分尔雅通识课应该是不会选项乱序的,但他要是确实乱序了或者有随机题库,我也没办法检查。不用OCR的话网页上都是乱码,现在我只能想到这个办法了

@lemongad
Copy link
Author

lemongad commented May 7, 2022

很奇怪的是自动答题确实答的是正确答案,但是提交后答案是错误的,是答案的乱序,这又是我惨痛的试验了一次,得分很低,真的好奇怪

@KirigiriSuzumiya
Copy link
Owner

新的答题程序有帮助吗,还是依然没法解决?

@lemongad
Copy link
Author

lemongad commented May 7, 2022

仔细对比,发现题库搜索顺序出错,不跟题目顺序相同,导致自动答题上去出错

@lemongad
Copy link
Author

lemongad commented May 7, 2022

找到出问题的地方了,看图对比
image

@lemongad
Copy link
Author

lemongad commented May 7, 2022

这是为什么呢

@KirigiriSuzumiya
Copy link
Owner

个别课程随机乱序题库了,没办法的,你用那个新的答题程序开安全模式搜完之后会给你留一个question.txt你可以对着那个改改

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
已在最新代码中解决 This issue or pull request already exists 未知的bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants