OpenLMLab/GAOKAO-Bench

json. decoder.JSONDecodeError: Invalid escape:

zyy-2001 opened this issue · 3 comments

error:
32ef96412c37dc4ce5507b792a97de9
solution:
clearly, escape character, the error position is in 2010-2022_Math_I_MCQs.json related with the question "question": "2. (5 分) 已知复数 $z=\frac{\sqrt{3}+i}{(1-\sqrt{3} i)^{2}}, \bar{z}$$z$ 的共轭复数, 则 $z=\cdot\bar{z}=(\quad)$\nA. $\frac{1}{4}$\nB. $\frac{1}{2}$\nC. 1\nD. 2\n"
delete it or replace it to "question": "2. (5 分) 已知复数 $z=\frac{\sqrt{3}+i}{(1-\sqrt{3} i)^{2}}, \bar{z}$$z$ 的共轭复数, 则 $z=\\cdot\bar{z}=(\quad)$\nA. $\frac{1}{4}$\nB. $\frac{1}{2}$\nC. 1\nD. 2\n"
or \cdot -> \\cdot

Same error.

同样的问题,在json处理的过程中因同样的报错发现。希望能够修正这个数据的错误:\c -> \\c
/GAOKAO-Bench/data/Multiple-choice_Questions/2010-2022_Math_I_MCQs.json line 18 column 114
数据错误1 少了反斜杠

zzzyyi commented

Thank you for your report! We've fixed the error in this line.