From 7c792461c8e4e4f1f8734fed143630c74e76b27f Mon Sep 17 00:00:00 2001 From: zitian-gao Date: Tue, 27 May 2025 16:45:31 +0800 Subject: init eval --- Qwen2.5-Eval/evaluation/latex2sympy/.coveragerc | 31 +++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100755 Qwen2.5-Eval/evaluation/latex2sympy/.coveragerc (limited to 'Qwen2.5-Eval/evaluation/latex2sympy/.coveragerc') diff --git a/Qwen2.5-Eval/evaluation/latex2sympy/.coveragerc b/Qwen2.5-Eval/evaluation/latex2sympy/.coveragerc new file mode 100755 index 0000000..3aeb83f --- /dev/null +++ b/Qwen2.5-Eval/evaluation/latex2sympy/.coveragerc @@ -0,0 +1,31 @@ +# .coveragerc to control coverage.py +[run] +branch = True +include = + latex2sympy.py +omit = + sandbox/* + gen/* + asciimath_printer.py + setup.py + __init__.py + +[report] +# Regexes for lines to exclude from consideration +exclude_lines = + # Have to re-enable the standard pragma + pragma: no cover + + # Don't complain about missing debug-only code: + def __repr__ + if self\.debug + + # Don't complain if tests don't hit defensive assertion code: + raise AssertionError + raise NotImplementedError + + # Don't complain if non-runnable code isn't run: + if 0: + if __name__ == .__main__.: + +ignore_errors = True -- cgit v1.2.3