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

Add English translation of run-ci-on-your-library. #591

Merged
merged 3 commits into from
Nov 4, 2019

Conversation

fukatani
Copy link
Contributor

@fukatani fukatani commented Nov 2, 2019

No description provided.

@fukatani
Copy link
Contributor Author

fukatani commented Nov 2, 2019

Resolve #530

===================================================================

If you are a competitive programmer, you probably have an in-house library for competition programming for yourself.
Such libraries are normally tested manually by submissions using the library to existing contest problems and checking the result is AC or not”.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Such libraries are normally tested manually by submissions using the library to existing contest problems and checking the result is AC or not.
Such libraries are normally tested manually by submissions using the library to existing contest problems and checking the result is AC or not.

typo ぽい


For example, the following shell script should be written.
First, create a file like ``test.cpp``.
In ``test.cpp``, specify the problem in the form of ``#define PROBLEM http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DSL_2_A&lang=``.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
In ``test.cpp``, specify the problem in the form of ``#define PROBLEM http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DSL_2_A&lang=``.
In ``test.cpp``, specify the problem in the form of ``#define PROBLEM http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DSL_2_A``.

lang= だとページが表示されないのでまずい

Since Codeforces doesn't distribute system test cases, and AtCoder distributes it via DropBox, but automated download is difficult.

This script is only an example, and if you have requests such as "I want to support Python" or "I want to test only the differences",
please extend each one.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
please extend each one.
please extend this script by yourself.

each oneone は何を指示してるかよく分からない気がする

That' all.

You can check the CI results on Travis CI pages. (ex.: https://travis-ci.org/kmyk/competitive-programming-library)
Badge like |badge| can be generated from URL ``https://img.shields.io/travis/USER/REPO/master.svg``.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Badge like |badge| can be generated from URL ``https://img.shields.io/travis/USER/REPO/master.svg``.
The badge like |badge| can be generated from URL ``https://img.shields.io/travis/USER/REPO/master.svg``.

Continuous Integration
----------------------

It's not enough just to have a script that automatically tests when you run it.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
It's not enough just to have a script that automatically tests when you run it.
It's not enough just to have a script to run tests.

そうまずくはないと思うが、なんとなく冗長な気がしたので短くしたい。原文から逐語的には遠くなるが、意味的にはこの方が素直な気がする。

@kmyk
Copy link
Member

kmyk commented Nov 3, 2019

@fukatani 翻訳お疲れ様です。
気になったところにコメントを付けました。

@kmyk kmyk assigned fukatani and unassigned kmyk Nov 3, 2019
@fukatani
Copy link
Contributor Author

fukatani commented Nov 3, 2019

あまり注意深さを翻訳時に発揮できないのですが、少なくとも最初のバージョンはライブラリ開発者がやったほうがよさそうと思うに至りました。それでも機械翻訳そのままよりはクオリティーはあがっているはず。レビューありがとうございます。

@fukatani fukatani assigned kmyk and unassigned fukatani Nov 3, 2019
Copy link
Member

@kmyk kmyk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
私も英文の質を正確に評価できるだけの能力はないですが、「機械翻訳そのままよりはクオリティーはあがっている」はおそらく正しいと思います。

@kmyk kmyk merged commit 495b595 into online-judge-tools:master Nov 4, 2019
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.

2 participants