Spaces:
Runtime error
Runtime error
TuTuHuss
commited on
Commit
•
3314d4b
1
Parent(s):
63cfd16
style(hus):fix chapter name
Browse files
llmriddles/questions/__init__.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
from .executor import QuestionExecutor
|
2 |
from .level1 import __file__ as _level1_file_
|
3 |
from .level3 import __file__ as _level3_file_
|
4 |
-
from .
|
5 |
from .question import Question, register_question, list_ordered_questions
|
6 |
|
7 |
_ = _level1_file_
|
8 |
_ = _level3_file_
|
9 |
-
_ =
|
|
|
1 |
from .executor import QuestionExecutor
|
2 |
from .level1 import __file__ as _level1_file_
|
3 |
from .level3 import __file__ as _level3_file_
|
4 |
+
from .level5 import __file__ as _level5_file_
|
5 |
from .question import Question, register_question, list_ordered_questions
|
6 |
|
7 |
_ = _level1_file_
|
8 |
_ = _level3_file_
|
9 |
+
_ = _level5_file_
|
llmriddles/questions/{level4.py → level5.py}
RENAMED
@@ -25,13 +25,13 @@ def count_words(text: str, contain_punctuation: bool = False):
|
|
25 |
return len(chinese_words)+len(english_words)
|
26 |
|
27 |
CN_TEXT_1 = """
|
28 |
-
|
29 |
|
30 |
请在下面的输入框内填写你的提问并点击按钮提交。
|
31 |
"""
|
32 |
|
33 |
EN_TEXT_1 = """
|
34 |
-
For the first question in chapter
|
35 |
|
36 |
Please enter your query below and click the submit button
|
37 |
"""
|
@@ -52,5 +52,5 @@ def _checker_1(question_text: str, user_text: str, answer_text: str, lang: str):
|
|
52 |
register_question({
|
53 |
'cn': CN_TEXT_1,
|
54 |
'en': EN_TEXT_1,
|
55 |
-
}, _checker_1, level=
|
56 |
|
|
|
25 |
return len(chinese_words)+len(english_words)
|
26 |
|
27 |
CN_TEXT_1 = """
|
28 |
+
第五章第一题(口是心非)请构造一个不少于十个字的问题,使得回答中不包含问题中的任意字符。
|
29 |
|
30 |
请在下面的输入框内填写你的提问并点击按钮提交。
|
31 |
"""
|
32 |
|
33 |
EN_TEXT_1 = """
|
34 |
+
For the first question in chapter 5, Please construct a question of no less than ten words so that the answer does not contain any of the characters in the question.
|
35 |
|
36 |
Please enter your query below and click the submit button
|
37 |
"""
|
|
|
52 |
register_question({
|
53 |
'cn': CN_TEXT_1,
|
54 |
'en': EN_TEXT_1,
|
55 |
+
}, _checker_1, level=5)
|
56 |
|