-
Notifications
You must be signed in to change notification settings - Fork 57
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
yosupo judge の checker対応 #19
Comments
あー違うのか download時にcheckerの実行ファイルを生成してしまってoj t --judge-command を呼ぶようにするべきっぽいな |
とりあえず一番変更量が少なくなる感じでプルリクしておきました。オプションやコマンドを増やそうとるすと仕様に関する議論をしたりテストを書いたりがする必要がでてくるためです |
プロプロプロプロ |
あー、なるほど 🙇 |
二つ目の方法にしました |
ドキュメント生成器が judge.yosupo.jp のための INFO:onlinejudge_verify.main:generate documents...
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.8.0/x64/bin/oj-verify", line 11, in <module>
load_entry_point('online-judge-verify-helper==2.0.2', 'console_scripts', 'oj-verify')()
File "/opt/hostedtoolcache/Python/3.8.0/x64/lib/python3.8/site-packages/onlinejudge_verify/main.py", line 124, in main
subcommand_docs()
File "/opt/hostedtoolcache/Python/3.8.0/x64/lib/python3.8/site-packages/onlinejudge_verify/main.py", line 107, in subcommand_docs
onlinejudge_verify.docs.main(html=False)
File "/opt/hostedtoolcache/Python/3.8.0/x64/lib/python3.8/site-packages/onlinejudge_verify/docs.py", line 528, in main
builder = PagesBuilder(cpp_source_path='.', config=config)
File "/opt/hostedtoolcache/Python/3.8.0/x64/lib/python3.8/site-packages/onlinejudge_verify/docs.py", line 364, in __init__
self.build_library_files(cpp_source_path, md_destination_path)
File "/opt/hostedtoolcache/Python/3.8.0/x64/lib/python3.8/site-packages/onlinejudge_verify/docs.py", line 480, in build_library_files
page.build(self.path_to_title, self.path_to_verification, category, categorize_library_cond)
File "/opt/hostedtoolcache/Python/3.8.0/x64/lib/python3.8/site-packages/onlinejudge_verify/docs.py", line 245, in build
self.write_contents(file_object, path_to_title, path_to_verification)
File "/opt/hostedtoolcache/Python/3.8.0/x64/lib/python3.8/site-packages/onlinejudge_verify/docs.py", line 199, in write_contents
mark = self.get_mark(path_to_verification[depends])
KeyError: 'test/9cee1c300646c09ec8db07886051a645/testlib.h'
##[error]Process completed with exit code 1. |
これ終わってるぽいので閉じておきます |
これoj t --yosupo "問題名" とかにしてしまいたいです(コード読んだ感じojの中にhttps://github.com/yosupo06/library-checker-problems をgit cloneしてきているんですよね?
Originally posted by @beet-aizu in #1 (comment)
checker.cpp をレポジトリから持ってくる このときディレクトリを特定するのにproblems.tomlを読む必要がある
checker.cpp をコンパイルする 実行ファイルをどこに置くかは考える必要がありそう
yosupoジャッジでcheckerを使わない問題は今の所ないのでこの一連の操作をコマンドにしてしまった方が楽な気がします
The text was updated successfully, but these errors were encountered: