From 4dd19f025137856fb6c0bd4ea6fd2da0a80bb7e2 Mon Sep 17 00:00:00 2001 From: Stamp9 <383990832@qq.com> Date: Wed, 18 Oct 2023 21:37:01 +0200 Subject: [PATCH] update Chinese results --- data/chinese-21st-TV/faker/00/assessment.json | 12 ++++ .../faker/00/execution-result.txt | 10 ++++ data/chinese-21st-TV/faker/00/output.txt | 33 +++++++++++ data/chinese-21st-TV/faker/00/prompt.txt | 6 ++ data/chinese-21st-TV/faker/01/assessment.json | 12 ++++ .../faker/01/execution-result.txt | 10 ++++ data/chinese-21st-TV/faker/01/output.txt | 24 ++++++++ data/chinese-21st-TV/faker/01/prompt.txt | 6 ++ .../java-faker/00/execution-result.txt | 59 ------------------- data/chinese-21st-TV/java-faker/00/output.txt | 35 ----------- data/chinese-21st-TV/m1/05/assessment.json | 12 ++++ .../m1/05/execution-result.txt | 0 data/chinese-21st-TV/m1/05/output.txt | 10 ++++ data/chinese-21st-TV/m1/05/prompt.txt | 1 + data/chinese-21st-TV/m1/06/assessment.json | 12 ++++ .../m1/06/execution-result.txt | 0 data/chinese-21st-TV/m1/06/output.txt | 10 ++++ data/chinese-21st-TV/m1/06/prompt.txt | 1 + data/chinese-21st-TV/m2/python/00/02.py | 10 ++++ .../m2/python/00/assessment.json | 12 ++++ .../m2/python/00/execution-result.txt | 10 ++++ data/chinese-21st-TV/m2/python/00/output.txt | 29 +++++++++ .../{java-faker => m2/python}/00/prompt.txt | 4 +- .../00 => m2/python/01}/assessment.json | 5 +- .../m2/python/01/execution-result.txt | 10 ++++ data/chinese-21st-TV/m2/python/01/output.txt | 31 ++++++++++ data/chinese-21st-TV/m2/python/01/prompt.txt | 9 +++ .../m2/python/02/assessment.json | 12 ++++ .../m2/python/02/execution-result.txt | 10 ++++ data/chinese-21st-TV/m2/python/02/output.txt | 23 ++++++++ data/chinese-21st-TV/m2/python/02/prompt.txt | 6 ++ 31 files changed, 326 insertions(+), 98 deletions(-) create mode 100644 data/chinese-21st-TV/faker/00/assessment.json create mode 100644 data/chinese-21st-TV/faker/00/execution-result.txt create mode 100644 data/chinese-21st-TV/faker/00/output.txt create mode 100644 data/chinese-21st-TV/faker/00/prompt.txt create mode 100644 data/chinese-21st-TV/faker/01/assessment.json create mode 100644 data/chinese-21st-TV/faker/01/execution-result.txt create mode 100644 data/chinese-21st-TV/faker/01/output.txt create mode 100644 data/chinese-21st-TV/faker/01/prompt.txt delete mode 100644 data/chinese-21st-TV/java-faker/00/execution-result.txt delete mode 100644 data/chinese-21st-TV/java-faker/00/output.txt create mode 100644 data/chinese-21st-TV/m1/05/assessment.json create mode 100644 data/chinese-21st-TV/m1/05/execution-result.txt create mode 100644 data/chinese-21st-TV/m1/05/output.txt create mode 100644 data/chinese-21st-TV/m1/05/prompt.txt create mode 100644 data/chinese-21st-TV/m1/06/assessment.json create mode 100644 data/chinese-21st-TV/m1/06/execution-result.txt create mode 100644 data/chinese-21st-TV/m1/06/output.txt create mode 100644 data/chinese-21st-TV/m1/06/prompt.txt create mode 100644 data/chinese-21st-TV/m2/python/00/02.py create mode 100644 data/chinese-21st-TV/m2/python/00/assessment.json create mode 100644 data/chinese-21st-TV/m2/python/00/execution-result.txt create mode 100644 data/chinese-21st-TV/m2/python/00/output.txt rename data/chinese-21st-TV/{java-faker => m2/python}/00/prompt.txt (61%) rename data/chinese-21st-TV/{java-faker/00 => m2/python/01}/assessment.json (58%) create mode 100644 data/chinese-21st-TV/m2/python/01/execution-result.txt create mode 100644 data/chinese-21st-TV/m2/python/01/output.txt create mode 100644 data/chinese-21st-TV/m2/python/01/prompt.txt create mode 100644 data/chinese-21st-TV/m2/python/02/assessment.json create mode 100644 data/chinese-21st-TV/m2/python/02/execution-result.txt create mode 100644 data/chinese-21st-TV/m2/python/02/output.txt create mode 100644 data/chinese-21st-TV/m2/python/02/prompt.txt diff --git a/data/chinese-21st-TV/faker/00/assessment.json b/data/chinese-21st-TV/faker/00/assessment.json new file mode 100644 index 0000000..ba339c2 --- /dev/null +++ b/data/chinese-21st-TV/faker/00/assessment.json @@ -0,0 +1,12 @@ +{ + "model": "gpt4", # mandatory + "prompt_type": "m2", # mandatory, data only, code, code+library + "data_constraints_can_be_checked": "na", + "executable_data_constraints": "np", # mandatory only for M2/M3 + "number_of_options_in_the_generators": "18", # optional + "cultural_alignment": "0", # mandatory overall subjective assessment with expertise + "cultural_alignment_quantitative": "0/10=0", # optional + "executes": "yes", # mandatory + "contains_true_generator":"yes", + "comments":"The prefix and suffix are good, but it adds city name, then all are weird." +} diff --git a/data/chinese-21st-TV/faker/00/execution-result.txt b/data/chinese-21st-TV/faker/00/execution-result.txt new file mode 100644 index 0000000..bd9d649 --- /dev/null +++ b/data/chinese-21st-TV/faker/00/execution-result.txt @@ -0,0 +1,10 @@ +白云上海岭 +琴瑟阜新湖 +幽谷深圳谷 +幽谷巢湖洞 +琴瑟上海崖 +幽谷南昌庄 +白云通辽湖 +清风广州岭 +碧波邯郸楼 +独步张家港洞 diff --git a/data/chinese-21st-TV/faker/00/output.txt b/data/chinese-21st-TV/faker/00/output.txt new file mode 100644 index 0000000..a2b4c08 --- /dev/null +++ b/data/chinese-21st-TV/faker/00/output.txt @@ -0,0 +1,33 @@ +首先,需要安装`faker`库。以下是一个使用Python和faker库生成武林外传电视剧风格的地名生成器: + +```python +from faker import Faker + +class WuxiaNameGenerator: + def __init__(self): + self.fake = Faker('zh_CN') + + # 生成武林外传风格的地名 + def generate_location(self): + # 使用faker库生成地名 + location = self.fake.city_name() + + # 添加武林外传风格的修饰词 + wuxia_style_prefix = ['藏龙', '白云', '云霄', '幽谷', '清风', '独步', '琴瑟', '碧波', '雄霸'] + wuxia_style_suffix = ['洞', '岭', '谷', '崖', '庄', '阁', '楼', '台', '湖', '亭'] + + wuxia_location = wuxia_style_prefix[int(self.fake.random_int(min=0, max=len(wuxia_style_prefix)-1))] + location + wuxia_style_suffix[int(self.fake.random_int(min=0, max=len(wuxia_style_suffix)-1))] + + return wuxia_location + +# 创建实例 +wng = WuxiaNameGenerator() + +# 生成10个武林外传风格的地名 +for _ in range(10): + print(wng.generate_location()) +``` + +更换`wuxia_style_prefix`和`wuxia_style_suffix`可以生成不同风格的地名。 + +需要注意使用该代码你需要确保你的环境已经安装了faker库,并且这些生成的结果是随机的,可能会包含一些现实中并不存在的城市。 \ No newline at end of file diff --git a/data/chinese-21st-TV/faker/00/prompt.txt b/data/chinese-21st-TV/faker/00/prompt.txt new file mode 100644 index 0000000..0cd64e2 --- /dev/null +++ b/data/chinese-21st-TV/faker/00/prompt.txt @@ -0,0 +1,6 @@ +扮演一名经验丰富的软件开发人员,你的任务是为电视节目生成一个伪造风格的生成器。我会输入我希望你使用的编程语言,库和生成目标。 + +编程语言:Python +库:faker +电视剧:武林外传 +生成目标:请为武林外传这部电视剧生成十个合适的地名。 \ No newline at end of file diff --git a/data/chinese-21st-TV/faker/01/assessment.json b/data/chinese-21st-TV/faker/01/assessment.json new file mode 100644 index 0000000..dccd13e --- /dev/null +++ b/data/chinese-21st-TV/faker/01/assessment.json @@ -0,0 +1,12 @@ +{ + "model": "gpt4", # mandatory + "prompt_type": "m2", # mandatory, data only, code, code+library + "data_constraints_can_be_checked": "na", + "executable_data_constraints": "np", # mandatory only for M2/M3 + "number_of_options_in_the_generators": "17", # optional + "cultural_alignment": "17", # mandatory overall subjective assessment with expertise + "cultural_alignment_quantitative": "17/17=1", # optional + "executes": "yes", # mandatory + "contains_true_generator":"yes", + "comments":"The jobs generated are quite good." +} diff --git a/data/chinese-21st-TV/faker/01/execution-result.txt b/data/chinese-21st-TV/faker/01/execution-result.txt new file mode 100644 index 0000000..a7c1ac8 --- /dev/null +++ b/data/chinese-21st-TV/faker/01/execution-result.txt @@ -0,0 +1,10 @@ +道士 +太子 +客栈掌柜 +僧人 +武林盟主 +商贾 +侍女 +鱼贩 +茶馆老板 +捕快 \ No newline at end of file diff --git a/data/chinese-21st-TV/faker/01/output.txt b/data/chinese-21st-TV/faker/01/output.txt new file mode 100644 index 0000000..07032d1 --- /dev/null +++ b/data/chinese-21st-TV/faker/01/output.txt @@ -0,0 +1,24 @@ +好的,利用Python的Faker库我们可以简单地生成您需要的数据。Faker库提供了丰富的数据生成方法,包括人名、地址、邮箱等。操作起来很简单,首先导入Faker库,然后创建一个Faker对象,就可以调用其中的方法进行数据生成。 + +生成职业这一目标,我们可以使用`faker.job()`方法,但是因为武林外传是中国清朝的背景,所以并不适合生成现代职业。我们可以自定义一组符合清朝背景的职业,如书生、捕快、状元等。 + +下面示例代码: + +```python +from faker import Faker +import random + +faker = Faker('zh_CN') + +# 设定一个清朝背景下可能存在的职业 +jobs = ['书生', '捕快', '状元', '丞相', '太子', '皇帝', '侍女', '商贾', '江湖郎中', '走江湖的剑客', '道士', '僧人', '茶馆老板', '马车夫', '武林盟主', '灯笼挑夫', '客栈掌柜', '鱼贩'] + +def generate_job(): + return random.choice(jobs) + +# 生成10个职业 +for _ in range(10): + print(generate_job()) +``` + +上面的Python脚本设定了一个能够在武林外传中出现的职业,并创建了一个简单循环来生成十个职业。结果会是随机的,但受我们预设的职业集合限制。 \ No newline at end of file diff --git a/data/chinese-21st-TV/faker/01/prompt.txt b/data/chinese-21st-TV/faker/01/prompt.txt new file mode 100644 index 0000000..0fba27f --- /dev/null +++ b/data/chinese-21st-TV/faker/01/prompt.txt @@ -0,0 +1,6 @@ +扮演一名经验丰富的软件开发人员,你的任务是为电视节目生成一个伪造风格的生成器。我会输入我希望你使用的编程语言,库和生成目标。 + +编程语言:Python +库:faker +电视剧:武林外传 +生成目标:生成十个职业,这些职业放在电视剧里不会奇怪 \ No newline at end of file diff --git a/data/chinese-21st-TV/java-faker/00/execution-result.txt b/data/chinese-21st-TV/java-faker/00/execution-result.txt deleted file mode 100644 index 9baefa3..0000000 --- a/data/chinese-21st-TV/java-faker/00/execution-result.txt +++ /dev/null @@ -1,59 +0,0 @@ -05.java:21: error: ';' expected - for (int i = 0; 一 i < 10; i++) { - ^ -05.java:21: error: not a statement - for (int i = 0; 一 i < 10; i++) { - ^ -05.java:21: error: ')' expected - for (int i = 0; 一 i < 10; i++) { - ^ -05.java:21: error: ';' expected - for (int i = 0; 一 i < 10; i++) { - ^ -4 errors -error: compilation failed - - -## after another prompt: -很抱歉关于这个错误,那应该是由于输入错误引起的。该行代码中的符号"一"需要被替换为"<"。下面是修正后的代码: - -```java -import java.util.Random; - -public class NickNameGenerator { - - private Random random; - private static final String[] prefixes = {"远古", "狂拽", "无敌", "神秘", "夜袭", "穿云", "恶犬", "千面", "幽灵", "无影"}; - private static final String[] nouns = {"大侠", "刀客", "侍", "骑士", "旋风", "箭", "旗", "斧", "蝶", "虹"}; - - public NickNameGenerator() { - this.random = new Random(); - } - - public String generateNickName() { - String prefix = prefixes[random.nextInt(prefixes.length)]; - String noun = nouns[random.nextInt(nouns.length)]; - return prefix + noun; - } - - public static void main(String[] args) { - NickNameGenerator generator = new NickNameGenerator(); - for (int i = 0; i < 10; i++) { - System.out.println(generator.generateNickName()); - } - } -} -``` - -现在这段代码应该可以正常编译和运行了,再次抱歉给你带来的不便。 - -神秘大侠 -夜袭骑士 -幽灵旗 -穿云旋风 -幽灵箭 -千面侍 -神秘虹 -无影箭 -神秘箭 -幽灵大侠 \ No newline at end of file diff --git a/data/chinese-21st-TV/java-faker/00/output.txt b/data/chinese-21st-TV/java-faker/00/output.txt deleted file mode 100644 index 1e73413..0000000 --- a/data/chinese-21st-TV/java-faker/00/output.txt +++ /dev/null @@ -1,35 +0,0 @@ -了解了。这是一个简单的Java程序,可以生成与"武林外传"类似的有趣的外号。 - -```java -import java.util.Random; - -public class NickNameGenerator { - - private Random random; - private static final String[] prefixes = {"远古", "狂拽", "无敌", "神秘", "夜袭", "穿云", "恶犬", "千面", "幽灵", "无影"}; - private static final String[] nouns = {"大侠", "刀客", "侍", "骑士", "旋风", "箭", "旗", "斧", "蝶", "虹"}; - - public NickNameGenerator() { - this.random = new Random(); - } - - public String generateNickName() { - String prefix = prefixes[random.nextInt(prefixes.length)]; - String noun = nouns[random.nextInt(nouns.length)]; - return prefix + noun; - } - - public static void main(String[] args) { - NickNameGenerator generator = new NickNameGenerator(); - for (int i = 0; 一 i < 10; i++) { - System.out.println(generator.generateNickName()); - } - } -} -``` - -这是一个简单的应用,但是它产生的名称将是基于代码中定义的先行词和名词的随机组合,其中一些将十分符合"武林外传"的风格和氛围。 - -运行这个程序,你将得到像"无影刀客","夜袭侍","远古箭"等外号。这些名字看起来在武侠世界里都挺合适的。 - -如果你想要更多的可能性或者想要更加具体化,你可以添加更多的前后缀词到数组中。 \ No newline at end of file diff --git a/data/chinese-21st-TV/m1/05/assessment.json b/data/chinese-21st-TV/m1/05/assessment.json new file mode 100644 index 0000000..27f9996 --- /dev/null +++ b/data/chinese-21st-TV/m1/05/assessment.json @@ -0,0 +1,12 @@ +{ + "model":"gpt4", + "prompt_type": "m1", # mandatory, data only, code, code+library + "data_constraints_can_be_checked": "n-a", + "number_of_options_in_the_generators": "10", + "cultural_alignment": "5", + "cultural_alignment_quantitative": "10/10=1", + "executes": "-", + "execute_error": "-", + "contains_true_generator":"-", + "comments":"The places generated are good." +} diff --git a/data/chinese-21st-TV/m1/05/execution-result.txt b/data/chinese-21st-TV/m1/05/execution-result.txt new file mode 100644 index 0000000..e69de29 diff --git a/data/chinese-21st-TV/m1/05/output.txt b/data/chinese-21st-TV/m1/05/output.txt new file mode 100644 index 0000000..919eb93 --- /dev/null +++ b/data/chinese-21st-TV/m1/05/output.txt @@ -0,0 +1,10 @@ +1. 青龙山镇 +2. 梅花桥村 +3. 燕子坳客栈 +4. 草原小镇 +5. 翠峰山庄 +6. 七彩村 +7. 幽谷村庄 +8. 望月湖 +9. 江南小镇 +10. 风雅古镇 \ No newline at end of file diff --git a/data/chinese-21st-TV/m1/05/prompt.txt b/data/chinese-21st-TV/m1/05/prompt.txt new file mode 100644 index 0000000..de7a762 --- /dev/null +++ b/data/chinese-21st-TV/m1/05/prompt.txt @@ -0,0 +1 @@ +根据情景喜剧《武林外传》,生成十个地名,这些地名放在电视剧里不会显得突兀 \ No newline at end of file diff --git a/data/chinese-21st-TV/m1/06/assessment.json b/data/chinese-21st-TV/m1/06/assessment.json new file mode 100644 index 0000000..12f839c --- /dev/null +++ b/data/chinese-21st-TV/m1/06/assessment.json @@ -0,0 +1,12 @@ +{ + "model":"gpt4", + "prompt_type": "m1", # mandatory, data only, code, code+library + "data_constraints_can_be_checked": "n-a", + "number_of_options_in_the_generators": "10", + "cultural_alignment": "4", + "cultural_alignment_quantitative": "7/10=0.7", + "executes": "-", + "execute_error": "-", + "contains_true_generator":"-", + "comments":"The name generated is okay, but some of them are used in other novels or TV shows." +} diff --git a/data/chinese-21st-TV/m1/06/execution-result.txt b/data/chinese-21st-TV/m1/06/execution-result.txt new file mode 100644 index 0000000..e69de29 diff --git a/data/chinese-21st-TV/m1/06/output.txt b/data/chinese-21st-TV/m1/06/output.txt new file mode 100644 index 0000000..52cf8bc --- /dev/null +++ b/data/chinese-21st-TV/m1/06/output.txt @@ -0,0 +1,10 @@ +1. 陆小凤 +2. 柳梦璃 +3. 欧阳锋 +4. 林平之 +5. 吕洞宾 +6. 段公子 +7. 石破天 +8. 狄云 +9. 周伯通 +10. 洛神 \ No newline at end of file diff --git a/data/chinese-21st-TV/m1/06/prompt.txt b/data/chinese-21st-TV/m1/06/prompt.txt new file mode 100644 index 0000000..69b4ca7 --- /dev/null +++ b/data/chinese-21st-TV/m1/06/prompt.txt @@ -0,0 +1 @@ +根据情景喜剧《武林外传》,生成十个角色名字,这些名字放在电视剧里不会显得突兀 \ No newline at end of file diff --git a/data/chinese-21st-TV/m2/python/00/02.py b/data/chinese-21st-TV/m2/python/00/02.py new file mode 100644 index 0000000..77def2c --- /dev/null +++ b/data/chinese-21st-TV/m2/python/00/02.py @@ -0,0 +1,10 @@ +import random + +def generate_fake_location(): + keywords = ['宝城', '仙林', '蜀山', '琼华', '龙泉', '白云', '流云', '清风', '绝峰', '鹿角'] + suffixes = ['镇', '市', '街', '巷', '门', '山', '岭', '洞', '林', '庄'] + return random.choice(keywords) + random.choice(suffixes) + +# 示例输出 +for _ in range(10): + print(generate_fake_location()) \ No newline at end of file diff --git a/data/chinese-21st-TV/m2/python/00/assessment.json b/data/chinese-21st-TV/m2/python/00/assessment.json new file mode 100644 index 0000000..9776cbf --- /dev/null +++ b/data/chinese-21st-TV/m2/python/00/assessment.json @@ -0,0 +1,12 @@ +{ + "model":"gpt4", + "prompt_type": "m2", # mandatory, data only, code, code+library + "data_constraints_can_be_checked": "n-a", + "number_of_options_in_the_generators": "10", + "cultural_alignment": "0", + "cultural_alignment_quantitative": "0/10=0", + "executes": "yes", + "execute_error": "yes", + "contains_true_generator":"yes", + "comments":"The store name generated don't make sense" +} diff --git a/data/chinese-21st-TV/m2/python/00/execution-result.txt b/data/chinese-21st-TV/m2/python/00/execution-result.txt new file mode 100644 index 0000000..dc070e8 --- /dev/null +++ b/data/chinese-21st-TV/m2/python/00/execution-result.txt @@ -0,0 +1,10 @@ +神秘的聚宝盆 +奇葩的轻松餐厅 +猴子洞宝贝 +阿狸秘密基地 +好运来秘密基地 +欢乐多轻松餐厅 +无厘头宝贝 +无厘头梦境 +悲催的黑科技 +猴子洞窝窝头 \ No newline at end of file diff --git a/data/chinese-21st-TV/m2/python/00/output.txt b/data/chinese-21st-TV/m2/python/00/output.txt new file mode 100644 index 0000000..c1201dd --- /dev/null +++ b/data/chinese-21st-TV/m2/python/00/output.txt @@ -0,0 +1,29 @@ +作为一位经验丰富的软件开发人员,我可以为您创建一个Python程序来生成符合情景喜剧《武林外传》的商铺名称。以下是我给出的一个示例代码: + +```python +import random + +def generate_shop_names(num): + adjectives = ["笑点高", "猴子洞", "神奇的", "卓越的", "一口价", "天地玄黄", "无敌的", "无厘头", "谐音的", "好运来", "阿狸", "快乐的", "奇葩的", "霸气的", "精致的", "传奇的", "悲催的", "欢乐多", "神秘的", "创意的"] + + nouns = ["大王", "小木屋", "春天", "宝贝", "宝箱", "神兽", "聚宝盆", "聚宝堂", "秘密基地", "生活馆", "乐园", "小幸运", "甜蜜屋", "梦境", "小笼包", "轻松餐厅", "欢乐居", "黑科技", "窝窝头", "神仙屋"] + + shop_names = [] + + for _ in range(num): + shop_name = random.choice(adjectives) + random.choice(nouns) + shop_names.append(shop_name) + + return shop_names + +# 生成10个商铺名称 +shop_names = generate_shop_names(10) + +# 打印生成的商铺名称 +for name in shop_names: + print(name) +``` + +运行此代码将为您生成10个符合情景喜剧《武林外传》风格的商铺名称。您可以根据需要修改`num`变量来生成所需数量的商铺名称。这些商铺名称将随机组合形成一个奇葩但不突兀的商铺名字。 + +希望这可以满足您的需求!如果您有任何其他问题,请随时提问。 \ No newline at end of file diff --git a/data/chinese-21st-TV/java-faker/00/prompt.txt b/data/chinese-21st-TV/m2/python/00/prompt.txt similarity index 61% rename from data/chinese-21st-TV/java-faker/00/prompt.txt rename to data/chinese-21st-TV/m2/python/00/prompt.txt index 7d8f760..a470364 100644 --- a/data/chinese-21st-TV/java-faker/00/prompt.txt +++ b/data/chinese-21st-TV/m2/python/00/prompt.txt @@ -1,8 +1,8 @@ System: 扮演一名经验丰富的软件开发人员,你的任务是用为电视节目等生成一个伪造风格的生成器。我会输入我希望你使用的编程语言和生成目标。 user: -编程语言:java +编程语言:python 电视剧:武林外传 -需求:生成一些符合这个情景喜剧内容的人物外号,这些外号放到电视剧中不会显得突兀 +需求:生成一些符合这个情景喜剧内容的商铺名称,这些外号放到电视剧中不会显得突兀 diff --git a/data/chinese-21st-TV/java-faker/00/assessment.json b/data/chinese-21st-TV/m2/python/01/assessment.json similarity index 58% rename from data/chinese-21st-TV/java-faker/00/assessment.json rename to data/chinese-21st-TV/m2/python/01/assessment.json index 620256b..434d34a 100644 --- a/data/chinese-21st-TV/java-faker/00/assessment.json +++ b/data/chinese-21st-TV/m2/python/01/assessment.json @@ -1,11 +1,12 @@ { "model":"gpt4", + "prompt_type": "m2", # mandatory, data only, code, code+library "data_constraints_can_be_checked": "n-a", "number_of_options_in_the_generators": "10", - "cultural_alignment": "5", + "cultural_alignment": "10", "cultural_alignment_quantitative": "10/10=1", "executes": "yes", "execute_error": "yes", "contains_true_generator":"yes", - "comments":"The code contains `for (int i = 0; 一 i < 10; i++) {` which has a wierd '一'. It works well after another prompt is added." + "comments":"The place name generated makes sense" } diff --git a/data/chinese-21st-TV/m2/python/01/execution-result.txt b/data/chinese-21st-TV/m2/python/01/execution-result.txt new file mode 100644 index 0000000..debe155 --- /dev/null +++ b/data/chinese-21st-TV/m2/python/01/execution-result.txt @@ -0,0 +1,10 @@ +仙林镇 +鹿角洞 +蜀山街 +琼华门 +琼华岭 +蜀山岭 +蜀山岭 +蜀山洞 +龙泉门 +琼华镇 \ No newline at end of file diff --git a/data/chinese-21st-TV/m2/python/01/output.txt b/data/chinese-21st-TV/m2/python/01/output.txt new file mode 100644 index 0000000..31c0fb4 --- /dev/null +++ b/data/chinese-21st-TV/m2/python/01/output.txt @@ -0,0 +1,31 @@ +作为一名经验丰富的软件开发人员,我可以为您创建一个用于生成符合情景喜剧《武林外传》风格的地名的伪造器。下面是我基于Python语言的建议实现: + +```python +import random + +def generate_fake_location(): + keywords = ['宝城', '仙林', '蜀山', '琼华', '龙泉', '白云', '流云', '清风', '绝峰', '鹿角'] + suffixes = ['镇', '市', '街', '巷', '门', '山', '岭', '洞', '林', '庄'] + return random.choice(keywords) + random.choice(suffixes) + +# 示例输出 +for _ in range(10): + print(generate_fake_location()) +``` + +运行上述代码可以得到类似以下的输出: + +``` +琼华巷 +鹿角山 +白云庄 +清风巷 +蜀山街 +绝峰山 +宝城市 +洞巷 +龙泉镇 +流云巷 +``` + +您可以根据需要调整`keywords`和`suffixes`列表中的元素,以生成更多符合《武林外传》风格的地名。 \ No newline at end of file diff --git a/data/chinese-21st-TV/m2/python/01/prompt.txt b/data/chinese-21st-TV/m2/python/01/prompt.txt new file mode 100644 index 0000000..d56253f --- /dev/null +++ b/data/chinese-21st-TV/m2/python/01/prompt.txt @@ -0,0 +1,9 @@ +System: +扮演一名经验丰富的软件开发人员,你的任务是用为电视节目等生成一个伪造风格的生成器。我会输入我希望你使用的编程语言,参考对象和需求。 + +user: +编程语言:python +参考对象:武林外传 +需求:生成一些符合这个情景喜剧内容的地名,这些地名放到电视剧中不会显得突兀 + + diff --git a/data/chinese-21st-TV/m2/python/02/assessment.json b/data/chinese-21st-TV/m2/python/02/assessment.json new file mode 100644 index 0000000..14f8224 --- /dev/null +++ b/data/chinese-21st-TV/m2/python/02/assessment.json @@ -0,0 +1,12 @@ +{ + "model": "gpt4", # mandatory + "prompt_type": "m2", # mandatory, data only, code, code+library + "data_constraints_can_be_checked": "na", + "executable_data_constraints": "np", # mandatory only for M2/M3 + "number_of_options_in_the_generators": "10", # optional + "cultural_alignment": "4", # mandatory overall subjective assessment with expertise + "cultural_alignment_quantitative": "18/20=0.9", # optional + "executes": "yes", # mandatory + "contains_true_generator":"yes", # for m1/m2 should not simply configure the library https://gist.github.com/monperrus/744141e76501643c5970e1df0cfa00e4 + "comments":"The titles generated are good." # optional +} diff --git a/data/chinese-21st-TV/m2/python/02/execution-result.txt b/data/chinese-21st-TV/m2/python/02/execution-result.txt new file mode 100644 index 0000000..906d772 --- /dev/null +++ b/data/chinese-21st-TV/m2/python/02/execution-result.txt @@ -0,0 +1,10 @@ +铁石者 +洛阳剑 +破虏虎 +追魂虎 +笑面狼 +饮血剑 +飞燕客 +飞燕客 +破虏龙 +无影者 \ No newline at end of file diff --git a/data/chinese-21st-TV/m2/python/02/output.txt b/data/chinese-21st-TV/m2/python/02/output.txt new file mode 100644 index 0000000..61b4eb6 --- /dev/null +++ b/data/chinese-21st-TV/m2/python/02/output.txt @@ -0,0 +1,23 @@ +好的,这是一个简单的脚本,会根据给定的词汇,使用随机函数来生成角色的称号。 + +使用Python自带的random模块开发。 + +```python +import random + +# 武侠世界常见的前缀和后缀 +prefixes = ["无影", "飞燕", "铁石", "破虏", "饮血", "笑面", "追魂", "血刀", "洛阳"] +suffixes = ["剑", "鹰", "手", "客", "狼", "虎", "龙", "侠", "者"] + +# 定义函数来生成随机称号 +def generate_title(): + prefix = random.choice(prefixes) + suffix = random.choice(suffixes) + return prefix + suffix + +# 打印十个随机生成的称号 +for i in range(10): + print(generate_title()) +``` + +运行这段代码,你将会得到像"飞燕剑"、"笑面虎"这样的称号。每次运行的结果都会变化,都是随机生成的。 \ No newline at end of file diff --git a/data/chinese-21st-TV/m2/python/02/prompt.txt b/data/chinese-21st-TV/m2/python/02/prompt.txt new file mode 100644 index 0000000..51927e5 --- /dev/null +++ b/data/chinese-21st-TV/m2/python/02/prompt.txt @@ -0,0 +1,6 @@ +System: +扮演一名经验丰富的软件开发人员,你的任务是为电视节目生成一个伪造风格的生成器,并且不使用任何相关的lib。我会输入我希望你使用的编程语言和生成目标。 +user: +编程语言:Python +电视剧:情景喜剧《武林外传》 +生成目标:请为武林外传这部电视剧里的人物生成十个合适的名号。