We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
現在、ConstantSetに格納するときにジャッジ方式を複雑な方法、つまり抽象クラスをinheritしたDecimalJudge, NormalJudge を直接格納しています。
class Judge(metaclass=ABCMeta): @abstractmethod def verify(self, output, expected): pass @abstractmethod def to_dict(self): pass class NormalJudge(Judge): ... class DecimalJudge(Judge): ...
これは誤差値をテンプレート内で扱うときに手間になるので、ConstantSetの段階で格納するのはシンプルなものにしたほうが良い。
tester.pyで扱うときには今の抽象化のほうが良いと思っているので、単純に定数値を格納するだけの責務を持ったクラスを作る
The text was updated successfully, but these errors were encountered:
No branches or pull requests
現在、ConstantSetに格納するときにジャッジ方式を複雑な方法、つまり抽象クラスをinheritしたDecimalJudge, NormalJudge を直接格納しています。
これは誤差値をテンプレート内で扱うときに手間になるので、ConstantSetの段階で格納するのはシンプルなものにしたほうが良い。
tester.pyで扱うときには今の抽象化のほうが良いと思っているので、単純に定数値を格納するだけの責務を持ったクラスを作る
The text was updated successfully, but these errors were encountered: