callanwu commited on
Commit
1f96117
1 Parent(s): 2cca320
Files changed (1) hide show
  1. config.json +42 -51
config.json CHANGED
@@ -1,8 +1,9 @@
1
- { "config":{
2
- "API_KEY" : "API_KEY",
3
- "PROXY" : "PROXY",
4
- "MAX_CHAT_HISTORY" : "3",
5
- "TOP_K" : "0"
 
6
  },
7
  "LLM_type": "OpenAI",
8
  "LLM": {
@@ -83,7 +84,7 @@
83
  },
84
  "states": {
85
  "end_state": {
86
- "agent_states":{}
87
  },
88
  "design_state": {
89
  "LLM_type": "OpenAI",
@@ -125,9 +126,8 @@
125
  "rule": {
126
  "rule": "It's crucial to communicate the project's objectives, key deliverables, and any specific requirements comprehensively. This ensures that the entire team understands the project's significance and direction."
127
  },
128
- "demonstrations":{
129
- "demonstrations":"Prepare a comprehensive project overview that encompasses the project's scope, objectives, any constraints, and desired outcomes. This document should outline the required features, performance goals, and budget constraints, for example."
130
-
131
  }
132
  },
133
  "Architect_1": {
@@ -147,9 +147,8 @@
147
  "rule": {
148
  "rule": "Thoroughly analyze the project requirements, evaluate potential technologies, and select suitable design principles to meet the project's needs."
149
  },
150
- "demonstrations":{
151
- "demonstrations":"Create a detailed Architect proposal document, including the rationale for choosing the proposed framework and accompanying design diagrams. For instance, provide an Architect diagram outlining the framework's high-level structure and a detailed explanation of why this architecture was selected."
152
-
153
  }
154
  },
155
  "Leader": {
@@ -169,9 +168,8 @@
169
  "rule": {
170
  "rule": " Offer constructive feedback aligned with the project's objectives to enhance the proposed framework."
171
  },
172
- "demonstrations":{
173
- "demonstrations":"Review Architect1's proposal meticulously and provide written feedback. Ensure the feedback is specific and includes actionable suggestions for improvement. For instance, you can point out areas that need improvement and explain how suggested changes align with project goals."
174
-
175
  }
176
  },
177
  "Architect_2": {
@@ -191,9 +189,8 @@
191
  "rule": {
192
  "rule": " Integrate Leader's feedback into the Architect proposal and make necessary adjustments to refine the framework."
193
  },
194
- "demonstrations":{
195
- "demonstrations":"Revise the Architect proposal document to reflect the improvements suggested by Leader. Provide clear documentation of the changes made, including any revised design diagrams and explanations for incorporating Leader's feedback."
196
-
197
  },
198
  "ExtractComponent": {
199
  "extract_words": [
@@ -246,9 +243,8 @@
246
  "rule": {
247
  "rule": "Clearly define the project's objectives, functionality, and any specific requirements."
248
  },
249
- "demonstrations":{
250
- "demonstrations":"Create a detailed project brief that outlines the scope, objectives, and specific features required for the project in a clear and concise manner. This document should provide a comprehensive understanding of what the project aims to achieve."
251
-
252
  }
253
  },
254
  "Developer_1": {
@@ -268,9 +264,8 @@
268
  "rule": {
269
  "rule": "1.write code that conforms to standards like PEP8, is modular, easy to read, and maintainable. 2.Output the code only,Ensure that the code adheres to the Architect guidelines, coding standards, and best practices.3.The output strictly follows the following format:<title>{the file name}</title>\n<python>{the target code}</python>"
270
  },
271
- "demonstrations":{
272
- "demonstrations":"Follow the Architect proposal closely while writing code. Document the code adequately, use meaningful variable names, and maintain proper code structure. For example, provide code snippets that demonstrate adherence to coding standards and Architect design.Output the code only."
273
-
274
  },
275
  "CustomizeComponent": {
276
  "template": "You need to write code based on the following framework: {system}",
@@ -278,8 +273,8 @@
278
  "system"
279
  ]
280
  },
281
- "last":{
282
- "last_prompt":"The output strictly follows the following format:<title>{the file name}</title>\n<python>{the target code}</python>"
283
  }
284
  },
285
  "Leader": {
@@ -299,9 +294,8 @@
299
  "rule": {
300
  "rule": "Provide constructive feedback that helps improve code quality and alignment with project goals."
301
  },
302
- "demonstrations":{
303
- "demonstrations":" Thoroughly review the code written by Developer1. Offer feedback on code organization, naming conventions, code efficiency, and any functional improvements needed. For instance, provide specific examples of code sections that require refinement and explain how these changes enhance code quality."
304
-
305
  }
306
  },
307
  "Developer_2": {
@@ -321,12 +315,11 @@
321
  "rule": {
322
  "rule": "1.make code modifications that conform to standards like PEP8, are modular, easy to read, and maintainable. 2.Output the code only,Incorporate Leader's feedback into the code and address any issues or improvements identified.3.The output strictly follows the following format:<title>{the file name}</title>\n<python>{the target code}</python>"
323
  },
324
- "demonstrations":{
325
- "demonstrations":" Review the feedback provided by Leader and apply the suggested modifications to the code. Document the changes made and ensure that the updated code aligns with the project's goals and Architect guidelines. Provide examples of code segments before and after the modifications to illustrate the improvements."
326
-
327
  },
328
- "last":{
329
- "last_prompt":"The output strictly follows the following format:<title>{the file name}</title>\n<python>{the target code}</python>"
330
  },
331
  "ExtractComponent": {
332
  "extract_words": [
@@ -380,9 +373,8 @@
380
  "rule": {
381
  "rule": "Clearly define the project's objectives, functionality, and any specific requirements."
382
  },
383
- "demonstrations":{
384
- "demonstrations":" Create a detailed project brief that outlines the scope, objectives, and specific features required for the project in a clear and concise manner. This document should provide a comprehensive understanding of what the project aims to achieve."
385
-
386
  }
387
  },
388
  "Debugger": {
@@ -402,9 +394,8 @@
402
  "rule": {
403
  "rule": "Thoroughly test the code for syntax errors, logical issues, and other potential problems. Offer detailed feedback that helps the developer understand and resolve any issues.Please pay special attention to some logic bugs in the game, such as whether the game can run normally."
404
  },
405
- "demonstrations":{
406
- "demonstrations":" Run the code provided by Developer1 through a simulated compiler or debugger. Document any errors, warnings, or issues encountered during the process. Provide feedback that includes specific examples of code problems and suggested solutions."
407
-
408
  },
409
  "CustomizeComponent": {
410
  "template": "You need to Run the following code: {code}, through a simulated compiler or debugger. Document any errors, warnings, or issues encountered during the process. Provide feedback that includes specific examples of code problems and suggested solutions.",
@@ -430,11 +421,11 @@
430
  "rule": {
431
  "rule": "1.write code that conforms to standards like PEP8, is modular, easy to read, and maintainable.\n2.Address the issues identified by the Debugger and ensure that the code meets the project's requirements.\n3.The output strictly follows the following format:<title>{the file name}</title>\n<python>{the target code}</python>"
432
  },
433
- "demonstrations":{
434
- "demonstrations":" Review the feedback provided by the Debugger and make the necessary modifications to the code. Document the changes made and ensure that the code is free of errors and warnings. Provide examples of code segments before and after the modifications.Output the code only."
435
  },
436
- "last":{
437
- "last_prompt":"The output strictly follows the following format:<title>{the file name}</title>\n<python>{the target code}</python>"
438
  }
439
  },
440
  "Leader": {
@@ -454,8 +445,8 @@
454
  "rule": {
455
  "rule": " Assess the code's alignment with the project's objectives, functionality, and quality standards. Offer constructive feedback to enhance the code's overall quality."
456
  },
457
- "demonstrations":{
458
- "demonstrations":" Carefully review the code provided by Developer1 after addressing Debugger's feedback. Offer feedback on code organization, readability, and any functional improvements needed. Provide specific examples of code sections that require further refinement and explain how these changes enhance the code's quality."
459
  }
460
  },
461
  "Developer_2": {
@@ -475,11 +466,11 @@
475
  "rule": {
476
  "rule": "1.Incorporate Leader's feedback into the code and address any issues or improvements identified.,make code modifications that conform to standards like PEP8, are modular, easy to read, and maintainable. 2.The output strictly follows the following format:<title>{the file name}</title>\n<python>{the target code}</python>"
477
  },
478
- "demonstrations":{
479
- "demonstrations":" Review the feedback provided by Leader and apply the suggested modifications to the code. Document the changes made and ensure that the updated code aligns with the project's goals and quality standards. Provide examples of code segments before and after the modifications.Output the code only."
480
  },
481
- "last":{
482
- "last_prompt":"The output strictly follows the following format:<title>{the file name}</title>\n<python>{the target code}</python>"
483
  },
484
  "ExtractComponent": {
485
  "extract_words": [
@@ -508,4 +499,4 @@
508
  }
509
  }
510
  }
511
- }
 
1
+ {
2
+ "config": {
3
+ "API_KEY": "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",
4
+ "PROXY": "",
5
+ "MAX_CHAT_HISTORY": "3",
6
+ "TOP_K": "0"
7
  },
8
  "LLM_type": "OpenAI",
9
  "LLM": {
 
84
  },
85
  "states": {
86
  "end_state": {
87
+ "agent_states": {}
88
  },
89
  "design_state": {
90
  "LLM_type": "OpenAI",
 
126
  "rule": {
127
  "rule": "It's crucial to communicate the project's objectives, key deliverables, and any specific requirements comprehensively. This ensures that the entire team understands the project's significance and direction."
128
  },
129
+ "demonstrations": {
130
+ "demonstrations": "Prepare a comprehensive project overview that encompasses the project's scope, objectives, any constraints, and desired outcomes. This document should outline the required features, performance goals, and budget constraints, for example."
 
131
  }
132
  },
133
  "Architect_1": {
 
147
  "rule": {
148
  "rule": "Thoroughly analyze the project requirements, evaluate potential technologies, and select suitable design principles to meet the project's needs."
149
  },
150
+ "demonstrations": {
151
+ "demonstrations": "Create a detailed Architect proposal document, including the rationale for choosing the proposed framework and accompanying design diagrams. For instance, provide an Architect diagram outlining the framework's high-level structure and a detailed explanation of why this architecture was selected."
 
152
  }
153
  },
154
  "Leader": {
 
168
  "rule": {
169
  "rule": " Offer constructive feedback aligned with the project's objectives to enhance the proposed framework."
170
  },
171
+ "demonstrations": {
172
+ "demonstrations": "Review Architect1's proposal meticulously and provide written feedback. Ensure the feedback is specific and includes actionable suggestions for improvement. For instance, you can point out areas that need improvement and explain how suggested changes align with project goals."
 
173
  }
174
  },
175
  "Architect_2": {
 
189
  "rule": {
190
  "rule": " Integrate Leader's feedback into the Architect proposal and make necessary adjustments to refine the framework."
191
  },
192
+ "demonstrations": {
193
+ "demonstrations": "Revise the Architect proposal document to reflect the improvements suggested by Leader. Provide clear documentation of the changes made, including any revised design diagrams and explanations for incorporating Leader's feedback."
 
194
  },
195
  "ExtractComponent": {
196
  "extract_words": [
 
243
  "rule": {
244
  "rule": "Clearly define the project's objectives, functionality, and any specific requirements."
245
  },
246
+ "demonstrations": {
247
+ "demonstrations": "Create a detailed project brief that outlines the scope, objectives, and specific features required for the project in a clear and concise manner. This document should provide a comprehensive understanding of what the project aims to achieve."
 
248
  }
249
  },
250
  "Developer_1": {
 
264
  "rule": {
265
  "rule": "1.write code that conforms to standards like PEP8, is modular, easy to read, and maintainable. 2.Output the code only,Ensure that the code adheres to the Architect guidelines, coding standards, and best practices.3.The output strictly follows the following format:<title>{the file name}</title>\n<python>{the target code}</python>"
266
  },
267
+ "demonstrations": {
268
+ "demonstrations": "Follow the Architect proposal closely while writing code. Document the code adequately, use meaningful variable names, and maintain proper code structure. For example, provide code snippets that demonstrate adherence to coding standards and Architect design.Output the code only."
 
269
  },
270
  "CustomizeComponent": {
271
  "template": "You need to write code based on the following framework: {system}",
 
273
  "system"
274
  ]
275
  },
276
+ "last": {
277
+ "last_prompt": "The output strictly follows the following format:<title>{the file name}</title>\n<python>{the target code}</python>"
278
  }
279
  },
280
  "Leader": {
 
294
  "rule": {
295
  "rule": "Provide constructive feedback that helps improve code quality and alignment with project goals."
296
  },
297
+ "demonstrations": {
298
+ "demonstrations": " Thoroughly review the code written by Developer1. Offer feedback on code organization, naming conventions, code efficiency, and any functional improvements needed. For instance, provide specific examples of code sections that require refinement and explain how these changes enhance code quality."
 
299
  }
300
  },
301
  "Developer_2": {
 
315
  "rule": {
316
  "rule": "1.make code modifications that conform to standards like PEP8, are modular, easy to read, and maintainable. 2.Output the code only,Incorporate Leader's feedback into the code and address any issues or improvements identified.3.The output strictly follows the following format:<title>{the file name}</title>\n<python>{the target code}</python>"
317
  },
318
+ "demonstrations": {
319
+ "demonstrations": " Review the feedback provided by Leader and apply the suggested modifications to the code. Document the changes made and ensure that the updated code aligns with the project's goals and Architect guidelines. Provide examples of code segments before and after the modifications to illustrate the improvements."
 
320
  },
321
+ "last": {
322
+ "last_prompt": "The output strictly follows the following format:<title>{the file name}</title>\n<python>{the target code}</python>"
323
  },
324
  "ExtractComponent": {
325
  "extract_words": [
 
373
  "rule": {
374
  "rule": "Clearly define the project's objectives, functionality, and any specific requirements."
375
  },
376
+ "demonstrations": {
377
+ "demonstrations": " Create a detailed project brief that outlines the scope, objectives, and specific features required for the project in a clear and concise manner. This document should provide a comprehensive understanding of what the project aims to achieve."
 
378
  }
379
  },
380
  "Debugger": {
 
394
  "rule": {
395
  "rule": "Thoroughly test the code for syntax errors, logical issues, and other potential problems. Offer detailed feedback that helps the developer understand and resolve any issues.Please pay special attention to some logic bugs in the game, such as whether the game can run normally."
396
  },
397
+ "demonstrations": {
398
+ "demonstrations": " Run the code provided by Developer1 through a simulated compiler or debugger. Document any errors, warnings, or issues encountered during the process. Provide feedback that includes specific examples of code problems and suggested solutions."
 
399
  },
400
  "CustomizeComponent": {
401
  "template": "You need to Run the following code: {code}, through a simulated compiler or debugger. Document any errors, warnings, or issues encountered during the process. Provide feedback that includes specific examples of code problems and suggested solutions.",
 
421
  "rule": {
422
  "rule": "1.write code that conforms to standards like PEP8, is modular, easy to read, and maintainable.\n2.Address the issues identified by the Debugger and ensure that the code meets the project's requirements.\n3.The output strictly follows the following format:<title>{the file name}</title>\n<python>{the target code}</python>"
423
  },
424
+ "demonstrations": {
425
+ "demonstrations": " Review the feedback provided by the Debugger and make the necessary modifications to the code. Document the changes made and ensure that the code is free of errors and warnings. Provide examples of code segments before and after the modifications.Output the code only."
426
  },
427
+ "last": {
428
+ "last_prompt": "The output strictly follows the following format:<title>{the file name}</title>\n<python>{the target code}</python>"
429
  }
430
  },
431
  "Leader": {
 
445
  "rule": {
446
  "rule": " Assess the code's alignment with the project's objectives, functionality, and quality standards. Offer constructive feedback to enhance the code's overall quality."
447
  },
448
+ "demonstrations": {
449
+ "demonstrations": " Carefully review the code provided by Developer1 after addressing Debugger's feedback. Offer feedback on code organization, readability, and any functional improvements needed. Provide specific examples of code sections that require further refinement and explain how these changes enhance the code's quality."
450
  }
451
  },
452
  "Developer_2": {
 
466
  "rule": {
467
  "rule": "1.Incorporate Leader's feedback into the code and address any issues or improvements identified.,make code modifications that conform to standards like PEP8, are modular, easy to read, and maintainable. 2.The output strictly follows the following format:<title>{the file name}</title>\n<python>{the target code}</python>"
468
  },
469
+ "demonstrations": {
470
+ "demonstrations": " Review the feedback provided by Leader and apply the suggested modifications to the code. Document the changes made and ensure that the updated code aligns with the project's goals and quality standards. Provide examples of code segments before and after the modifications.Output the code only."
471
  },
472
+ "last": {
473
+ "last_prompt": "The output strictly follows the following format:<title>{the file name}</title>\n<python>{the target code}</python>"
474
  },
475
  "ExtractComponent": {
476
  "extract_words": [
 
499
  }
500
  }
501
  }
502
+ }