1bcoder 0.1.18__tar.gz → 0.1.19__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. {1bcoder-0.1.18 → 1bcoder-0.1.19}/1bcoder.egg-info/PKG-INFO +1 -1
  2. {1bcoder-0.1.18 → 1bcoder-0.1.19}/1bcoder.egg-info/SOURCES.txt +20 -0
  3. {1bcoder-0.1.18 → 1bcoder-0.1.19}/PKG-INFO +1 -1
  4. 1bcoder-0.1.19/_bcoder_data/deepagent_code/java_decompose.txt +41 -0
  5. 1bcoder-0.1.19/_bcoder_data/deepagent_code/java_implement.txt +5 -0
  6. 1bcoder-0.1.19/_bcoder_data/deepagent_code/js_decompose.txt +43 -0
  7. 1bcoder-0.1.19/_bcoder_data/deepagent_code/js_implement.txt +6 -0
  8. 1bcoder-0.1.19/_bcoder_data/deepagent_code/kt_decompose.txt +38 -0
  9. 1bcoder-0.1.19/_bcoder_data/deepagent_code/kt_implement.txt +6 -0
  10. 1bcoder-0.1.19/_bcoder_data/deepagent_code/mysql_decompose.txt +20 -0
  11. 1bcoder-0.1.19/_bcoder_data/deepagent_code/mysql_implement.txt +4 -0
  12. 1bcoder-0.1.19/_bcoder_data/deepagent_code/plsql_decompose.txt +20 -0
  13. 1bcoder-0.1.19/_bcoder_data/deepagent_code/plsql_implement.txt +4 -0
  14. 1bcoder-0.1.19/_bcoder_data/deepagent_code/py_decompose.txt +39 -0
  15. 1bcoder-0.1.19/_bcoder_data/deepagent_code/py_implement.txt +6 -0
  16. 1bcoder-0.1.19/_bcoder_data/deepagent_code/scala_decompose.txt +40 -0
  17. 1bcoder-0.1.19/_bcoder_data/deepagent_code/scala_implement.txt +6 -0
  18. 1bcoder-0.1.19/_bcoder_data/deepagent_code/sql_decompose.txt +46 -0
  19. 1bcoder-0.1.19/_bcoder_data/deepagent_code/sql_implement.txt +4 -0
  20. 1bcoder-0.1.19/_bcoder_data/flows/__pycache__/deepagent_code.cpython-311.pyc +0 -0
  21. 1bcoder-0.1.19/_bcoder_data/flows/__pycache__/deepagent_test.cpython-311.pyc +0 -0
  22. 1bcoder-0.1.19/_bcoder_data/flows/deepagent_code.py +1124 -0
  23. 1bcoder-0.1.19/_bcoder_data/flows/deepagent_test.py +542 -0
  24. {1bcoder-0.1.18 → 1bcoder-0.1.19}/pyproject.toml +1 -1
  25. {1bcoder-0.1.18 → 1bcoder-0.1.19}/1bcoder.egg-info/dependency_links.txt +0 -0
  26. {1bcoder-0.1.18 → 1bcoder-0.1.19}/1bcoder.egg-info/entry_points.txt +0 -0
  27. {1bcoder-0.1.18 → 1bcoder-0.1.19}/1bcoder.egg-info/requires.txt +0 -0
  28. {1bcoder-0.1.18 → 1bcoder-0.1.19}/1bcoder.egg-info/top_level.txt +0 -0
  29. {1bcoder-0.1.18 → 1bcoder-0.1.19}/LICENSE +0 -0
  30. {1bcoder-0.1.18 → 1bcoder-0.1.19}/README.md +0 -0
  31. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/__init__.py +0 -0
  32. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/agents/advance.txt +0 -0
  33. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/agents/ask.txt +0 -0
  34. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/agents/coder.txt +0 -0
  35. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/agents/codex.txt +0 -0
  36. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/agents/compact.txt +0 -0
  37. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/agents/concepts.txt +0 -0
  38. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/agents/fill.txt +0 -0
  39. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/agents/planning.txt +0 -0
  40. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/agents/scan.txt +0 -0
  41. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/agents/sqlite.txt +0 -0
  42. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/agents/terminator.txt +0 -0
  43. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/agents/websearch.txt +0 -0
  44. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/aliases.txt +0 -0
  45. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/doc/FLOWS.md +0 -0
  46. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/doc/MCP.md +0 -0
  47. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/doc/OLLAMA_SERVER_PARAM.md +0 -0
  48. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/doc/PARAM.md +0 -0
  49. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/doc/PROC.md +0 -0
  50. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/doc/TRANSLATE.md +0 -0
  51. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/flows/__pycache__/commit_message.cpython-311.pyc +0 -0
  52. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/flows/__pycache__/deepagent_md.cpython-311.pyc +0 -0
  53. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/flows/__pycache__/rag.cpython-311.pyc +0 -0
  54. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/flows/__pycache__/webcrawl.cpython-311.pyc +0 -0
  55. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/flows/commit_message.py +0 -0
  56. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/flows/compress.py +0 -0
  57. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/flows/deepagent.py +0 -0
  58. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/flows/deepagent_md.py +0 -0
  59. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/flows/deobfuscate.py +0 -0
  60. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/flows/external_help.py +0 -0
  61. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/flows/grounding.py +0 -0
  62. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/flows/obfuscate.py +0 -0
  63. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/flows/py_error_trace.py +0 -0
  64. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/flows/rag.py +0 -0
  65. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/flows/scan.py +0 -0
  66. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/flows/simargl_files.py +0 -0
  67. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/flows/visual_search.py +0 -0
  68. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/flows/webanalys.py +0 -0
  69. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/flows/webask.py +0 -0
  70. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/flows/webcrawl.py +0 -0
  71. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/flows/webindex.py +0 -0
  72. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/map.txt +0 -0
  73. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/proc/action-required.py +0 -0
  74. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/proc/add-save.py +0 -0
  75. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/proc/assist.py +0 -0
  76. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/proc/autobkup.py +0 -0
  77. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/proc/autocheck.py +0 -0
  78. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/proc/collect-files.py +0 -0
  79. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/proc/ctx_cut.py +0 -0
  80. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/proc/ctx_expand.py +0 -0
  81. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/proc/extract-code.py +0 -0
  82. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/proc/extract-files.py +0 -0
  83. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/proc/extract-list.py +0 -0
  84. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/proc/grounding-check.py +0 -0
  85. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/proc/ladder.py +0 -0
  86. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/proc/md.py +0 -0
  87. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/proc/mdx.py +0 -0
  88. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/proc/pattern-gate.py +0 -0
  89. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/proc/regexp-extract.py +0 -0
  90. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/proc/rude_words.py +0 -0
  91. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/proc/scan-save.py +0 -0
  92. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/proc/secret_check.py +0 -0
  93. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/proc/sql_readonly_guard.py +0 -0
  94. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/proc/tempctx-cut.py +0 -0
  95. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/profiles.txt +0 -0
  96. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/prompts/analysis.txt +0 -0
  97. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/prompts/sumarise.txt +0 -0
  98. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/prompts.txt +0 -0
  99. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/AddFunction.txt +0 -0
  100. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/AskProject.txt +0 -0
  101. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/CheckRequirements.txt +0 -0
  102. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/DockerMySQL.txt +0 -0
  103. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/DockerNginx.txt +0 -0
  104. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/DockerPython.txt +0 -0
  105. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/DockerStack.txt +0 -0
  106. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/DuckDuckGoInstant.txt +0 -0
  107. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/EnvTemplate.txt +0 -0
  108. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/Explain.txt +0 -0
  109. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/ExploreProjectStructure.txt +0 -0
  110. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/GitIgnorePython.txt +0 -0
  111. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/MySQLDump.txt +0 -0
  112. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/NewScript.txt +0 -0
  113. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/PipFreeze.txt +0 -0
  114. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/PyPI.txt +0 -0
  115. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/Refactor.txt +0 -0
  116. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/RunAndFix.txt +0 -0
  117. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/SQLiteSchema.txt +0 -0
  118. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/Translate.txt +0 -0
  119. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/WikiPage.txt +0 -0
  120. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/WikiSearch.txt +0 -0
  121. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/auto-bkup.txt +0 -0
  122. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/edit-control.txt +0 -0
  123. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/parallel_call.txt +0 -0
  124. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/personal/content/create-regular-content.txt +0 -0
  125. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/personal/content/plan.txt +0 -0
  126. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/personal/test/collect-data-from-test-environment.txt +0 -0
  127. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/plan.txt +0 -0
  128. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/remote/create-content-on-remote-server.txt +0 -0
  129. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/set_ctx.txt +0 -0
  130. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/simargl-cli_index_files.txt +0 -0
  131. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/simargl-cli_index_units.txt +0 -0
  132. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/simargl-cli_search.txt +0 -0
  133. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/team-map-worker.txt +0 -0
  134. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/team-search-worker.txt +0 -0
  135. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/team-summarize.txt +0 -0
  136. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/team-tree-worker.txt +0 -0
  137. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/scripts/test.txt +0 -0
  138. {1bcoder-0.1.18 → 1bcoder-0.1.19}/_bcoder_data/teams/code-analysis.yaml +0 -0
  139. {1bcoder-0.1.18 → 1bcoder-0.1.19}/chat.py +0 -0
  140. {1bcoder-0.1.18 → 1bcoder-0.1.19}/map_index.py +0 -0
  141. {1bcoder-0.1.18 → 1bcoder-0.1.19}/map_query.py +0 -0
  142. {1bcoder-0.1.18 → 1bcoder-0.1.19}/setup.cfg +0 -0
  143. {1bcoder-0.1.18 → 1bcoder-0.1.19}/tests/test_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: 1bcoder
3
- Version: 0.1.18
3
+ Version: 0.1.19
4
4
  Summary: AI coding assistant agent for 1B–7B local models (Ollama, LMStudio, llama.cpp). Terminal REPL with file editing, project map, agents, scripts, and parallel multi-model queries.
5
5
  Project-URL: Homepage, https://github.com/szholobetsky/1bcoder
6
6
  Project-URL: Repository, https://github.com/szholobetsky/1bcoder
@@ -27,6 +27,22 @@ _bcoder_data/agents/scan.txt
27
27
  _bcoder_data/agents/sqlite.txt
28
28
  _bcoder_data/agents/terminator.txt
29
29
  _bcoder_data/agents/websearch.txt
30
+ _bcoder_data/deepagent_code/java_decompose.txt
31
+ _bcoder_data/deepagent_code/java_implement.txt
32
+ _bcoder_data/deepagent_code/js_decompose.txt
33
+ _bcoder_data/deepagent_code/js_implement.txt
34
+ _bcoder_data/deepagent_code/kt_decompose.txt
35
+ _bcoder_data/deepagent_code/kt_implement.txt
36
+ _bcoder_data/deepagent_code/mysql_decompose.txt
37
+ _bcoder_data/deepagent_code/mysql_implement.txt
38
+ _bcoder_data/deepagent_code/plsql_decompose.txt
39
+ _bcoder_data/deepagent_code/plsql_implement.txt
40
+ _bcoder_data/deepagent_code/py_decompose.txt
41
+ _bcoder_data/deepagent_code/py_implement.txt
42
+ _bcoder_data/deepagent_code/scala_decompose.txt
43
+ _bcoder_data/deepagent_code/scala_implement.txt
44
+ _bcoder_data/deepagent_code/sql_decompose.txt
45
+ _bcoder_data/deepagent_code/sql_implement.txt
30
46
  _bcoder_data/doc/FLOWS.md
31
47
  _bcoder_data/doc/MCP.md
32
48
  _bcoder_data/doc/OLLAMA_SERVER_PARAM.md
@@ -36,7 +52,9 @@ _bcoder_data/doc/TRANSLATE.md
36
52
  _bcoder_data/flows/commit_message.py
37
53
  _bcoder_data/flows/compress.py
38
54
  _bcoder_data/flows/deepagent.py
55
+ _bcoder_data/flows/deepagent_code.py
39
56
  _bcoder_data/flows/deepagent_md.py
57
+ _bcoder_data/flows/deepagent_test.py
40
58
  _bcoder_data/flows/deobfuscate.py
41
59
  _bcoder_data/flows/external_help.py
42
60
  _bcoder_data/flows/grounding.py
@@ -51,7 +69,9 @@ _bcoder_data/flows/webask.py
51
69
  _bcoder_data/flows/webcrawl.py
52
70
  _bcoder_data/flows/webindex.py
53
71
  _bcoder_data/flows/__pycache__/commit_message.cpython-311.pyc
72
+ _bcoder_data/flows/__pycache__/deepagent_code.cpython-311.pyc
54
73
  _bcoder_data/flows/__pycache__/deepagent_md.cpython-311.pyc
74
+ _bcoder_data/flows/__pycache__/deepagent_test.cpython-311.pyc
55
75
  _bcoder_data/flows/__pycache__/rag.cpython-311.pyc
56
76
  _bcoder_data/flows/__pycache__/webcrawl.cpython-311.pyc
57
77
  _bcoder_data/proc/action-required.py
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: 1bcoder
3
- Version: 0.1.18
3
+ Version: 0.1.19
4
4
  Summary: AI coding assistant agent for 1B–7B local models (Ollama, LMStudio, llama.cpp). Terminal REPL with file editing, project map, agents, scripts, and parallel multi-model queries.
5
5
  Project-URL: Homepage, https://github.com/szholobetsky/1bcoder
6
6
  Project-URL: Repository, https://github.com/szholobetsky/1bcoder
@@ -0,0 +1,41 @@
1
+ You have a team of programmers. Each one will implement exactly one method.
2
+ Your job is to write the MAIN method that USES their methods.
3
+
4
+ Imagine all helper methods are ALREADY IMPLEMENTED by your team.
5
+ You don't know HOW they work inside. You just know what they accept and return.
6
+ Your job: call them in the right order, pass the right data between them.
7
+
8
+ RULES:
9
+ - Each helper call: Type result = helperName(args); // one-line description
10
+ - Do NOT implement the helpers. They already exist. Just USE them.
11
+ - You CAN use loops, if-statements, try/catch, variables — any Java you need.
12
+ - But heavy logic should go INTO a helper method, not into this method.
13
+ - Output ONLY the code in a single code fence.
14
+
15
+ EXAMPLE — task: "process batch of user registrations"
16
+
17
+ ```java
18
+ public class RegistrationService {
19
+ public Map<String, Object> processBatch(String usersFile) {
20
+ List<Map<String, String>> users = readUsersFromFile(usersFile); // parse CSV into list of maps
21
+ Map<String, Object> report = new HashMap<>();
22
+ report.put("success", 0);
23
+ report.put("failed", 0);
24
+ for (Map<String, String> user : users) {
25
+ ValidationResult vr = validateUser(user); // check required fields
26
+ if (!vr.isValid()) {
27
+ report.put("failed", (int) report.get("failed") + 1);
28
+ continue;
29
+ }
30
+ UserRecord record = createUserRecord(user); // insert into database
31
+ String token = generateConfirmationToken(record); // create email token
32
+ sendConfirmationEmail(record, token); // send welcome email
33
+ report.put("success", (int) report.get("success") + 1);
34
+ }
35
+ saveReport(report); // write report to file
36
+ return report;
37
+ }
38
+ }
39
+ ```
40
+
41
+ Now do the same for the task below.
@@ -0,0 +1,5 @@
1
+ You are implementing a single Java method.
2
+ Write ONLY the method with its body. Keep it to 5-15 lines.
3
+ Include necessary imports at the top.
4
+ Do not call undefined helper methods — use only JDK standard library.
5
+ Output ONLY the code in a single code fence.
@@ -0,0 +1,43 @@
1
+ You have a team of programmers. Each one will implement exactly one function.
2
+ Your job is to write the MAIN function that USES their functions.
3
+
4
+ Imagine all helper functions are ALREADY IMPLEMENTED by your team.
5
+ You don't know HOW they work inside. You just know what they accept and return.
6
+ Your job: call them in the right order, pass the right data between them.
7
+
8
+ RULES:
9
+ - Each helper call: const result = helperName(args); // one-line description
10
+ - Do NOT implement the helpers. They already exist. Just USE them.
11
+ - You CAN use loops, if-statements, try/catch, variables — any JavaScript you need.
12
+ - But heavy logic should go INTO a helper function, not into this function.
13
+ - Use async/await if the helpers might be async.
14
+ - Output ONLY the code in a single code fence.
15
+
16
+ EXAMPLE — task: "process batch of user registrations"
17
+
18
+ ```javascript
19
+ async function processBatch(usersFile) {
20
+ const users = readUsersFromFile(usersFile); // parse CSV file into array of objects
21
+ const report = { success: 0, failed: 0, errors: [] };
22
+ for (const user of users) {
23
+ const [valid, errors] = validateUser(user); // check required fields and formats
24
+ if (!valid) {
25
+ report.failed++;
26
+ report.errors.push(errors);
27
+ continue;
28
+ }
29
+ const record = await createUserRecord(user); // insert into database
30
+ const token = generateConfirmationToken(record); // create email token
31
+ await sendConfirmationEmail(record, token); // send welcome email
32
+ report.success++;
33
+ }
34
+ await saveReport(report); // write report to file
35
+ return report;
36
+ }
37
+ ```
38
+
39
+ The programmer who writes validateUser will handle all validation details.
40
+ The programmer who writes createUserRecord will handle the database.
41
+ You just wire them together.
42
+
43
+ Now do the same for the task below.
@@ -0,0 +1,6 @@
1
+ You are implementing a single JavaScript function.
2
+ Write ONLY the function with its body. Keep it to 5-15 lines.
3
+ Use modern JS: const, arrow functions, async/await where appropriate.
4
+ Use require() for Node.js built-in modules if needed.
5
+ Do not call undefined helper functions — use only built-in or well-known npm modules.
6
+ Output ONLY the code in a single code fence. No explanations before or after.
@@ -0,0 +1,38 @@
1
+ You have a team of programmers. Each one will implement exactly one function.
2
+ Your job is to write the MAIN function that USES their functions.
3
+
4
+ Imagine all helper functions are ALREADY IMPLEMENTED by your team.
5
+ You don't know HOW they work inside. You just know what they accept and return.
6
+ Your job: call them in the right order, pass the right data between them.
7
+
8
+ RULES:
9
+ - Each helper call: val result = helperName(args) // one-line description
10
+ - Do NOT implement the helpers. They already exist. Just USE them.
11
+ - You CAN use loops, if, when, try/catch, variables — any Kotlin you need.
12
+ - But heavy logic should go INTO a helper function, not into this function.
13
+ - Use Kotlin idioms: val/var, data classes, nullable types where appropriate.
14
+ - Output ONLY the code in a single code fence.
15
+
16
+ EXAMPLE — task: "process batch of user registrations"
17
+
18
+ ```kotlin
19
+ fun processBatch(usersFile: String): Map<String, Any> {
20
+ val users = readUsersFromFile(usersFile) // parse CSV into list of maps
21
+ val report = mutableMapOf<String, Any>("success" to 0, "failed" to 0)
22
+ for (user in users) {
23
+ val (valid, errors) = validateUser(user) // check required fields
24
+ if (!valid) {
25
+ report["failed"] = (report["failed"] as Int) + 1
26
+ continue
27
+ }
28
+ val record = createUserRecord(user) // insert into database
29
+ val token = generateConfirmationToken(record) // create email token
30
+ sendConfirmationEmail(record, token) // send welcome email
31
+ report["success"] = (report["success"] as Int) + 1
32
+ }
33
+ saveReport(report) // write report to file
34
+ return report
35
+ }
36
+ ```
37
+
38
+ Now do the same for the task below.
@@ -0,0 +1,6 @@
1
+ You are implementing a single Kotlin function.
2
+ Write ONLY the function with its body. Keep it to 5-15 lines.
3
+ Use Kotlin idioms: val, data classes, extension functions, nullable types.
4
+ Include necessary imports at the top.
5
+ Do not call undefined helper functions — use only Kotlin stdlib.
6
+ Output ONLY the code in a single code fence.
@@ -0,0 +1,20 @@
1
+ You are a MySQL database architect writing stored procedures.
2
+ Your team will create all tables, functions, and procedures you need.
3
+
4
+ Write MySQL code that USES database objects as if they ALREADY EXIST.
5
+ You don't create them — just reference them in your code.
6
+
7
+ RULES:
8
+ - Write queries and procedures that reference tables, functions
9
+ - Add a comment above each block explaining what it does
10
+ - Do NOT write CREATE statements. Just USE the objects.
11
+ - You CAN use cursors, loops, IF/THEN, CASE — any MySQL you need.
12
+ - But complex calculations should be in a FUNCTION, not inline.
13
+ - Use MySQL syntax (DELIMITER, BEGIN/END).
14
+ - Output ONLY the code in a single code fence.
15
+
16
+ The team who writes each table will define all columns.
17
+ The team who writes each function will handle the logic.
18
+ You just write code that uses them.
19
+
20
+ Now do the same for the task below.
@@ -0,0 +1,4 @@
1
+ You are implementing a single MySQL database object.
2
+ Write the COMPLETE CREATE statement with full body.
3
+ Use MySQL syntax (DELIMITER, BEGIN/END).
4
+ Output ONLY the code in a single code fence.
@@ -0,0 +1,20 @@
1
+ You are an Oracle database architect writing PL/SQL code.
2
+ Your team will create all tables, functions, procedures, and packages you need.
3
+
4
+ Write PL/SQL that USES database objects as if they ALREADY EXIST.
5
+ You don't create them — just reference them in your code.
6
+
7
+ RULES:
8
+ - Write queries and PL/SQL blocks that reference tables, functions, procedures
9
+ - Add a comment above each block explaining what it does
10
+ - Do NOT write CREATE statements. Just USE the objects.
11
+ - You CAN use cursors, loops, IF/THEN, exceptions — any PL/SQL you need.
12
+ - But complex calculations should be in a FUNCTION, not inline.
13
+ - Use Oracle PL/SQL syntax.
14
+ - Output ONLY the code in a single code fence.
15
+
16
+ The team who writes each table will define all columns.
17
+ The team who writes each function will handle the logic.
18
+ You just write code that uses them.
19
+
20
+ Now do the same for the task below.
@@ -0,0 +1,4 @@
1
+ You are implementing a single Oracle PL/SQL database object.
2
+ Write the COMPLETE CREATE statement with full body.
3
+ Use Oracle PL/SQL syntax (CREATE OR REPLACE, BEGIN/END, /).
4
+ Output ONLY the code in a single code fence.
@@ -0,0 +1,39 @@
1
+ You have a team of programmers. Each one will implement exactly one function.
2
+ Your job is to write the MAIN function that USES their functions.
3
+
4
+ Imagine all helper functions are ALREADY IMPLEMENTED by your team.
5
+ You don't know HOW they work inside. You just know what they accept and return.
6
+ Your job: call them in the right order, pass the right data between them.
7
+
8
+ RULES:
9
+ - Each helper call: result = helper_name(args) # one-line description
10
+ - Do NOT implement the helpers. They already exist. Just USE them.
11
+ - You CAN use loops, if-statements, try/except, variables — any Python you need.
12
+ - But heavy logic should go INTO a helper function, not into this function.
13
+ - Output ONLY the code in a single code fence.
14
+
15
+ EXAMPLE — task: "process batch of user registrations"
16
+
17
+ ```python
18
+ def process_batch(users_file: str) -> dict:
19
+ users = read_users_from_file(users_file) # parse CSV file into list of dicts
20
+ report = {"success": 0, "failed": 0, "errors": []}
21
+ for user in users:
22
+ valid, errors = validate_user(user) # check required fields and formats
23
+ if not valid:
24
+ report["failed"] += 1
25
+ report["errors"].append(errors)
26
+ continue
27
+ record = create_user_record(user) # insert into database
28
+ token = generate_confirmation_token(record) # create email token
29
+ send_confirmation_email(record, token) # send welcome email
30
+ report["success"] += 1
31
+ save_report(report) # write report to file
32
+ return report
33
+ ```
34
+
35
+ The programmer who writes validate_user will handle all validation details.
36
+ The programmer who writes create_user_record will handle the database.
37
+ You just wire them together.
38
+
39
+ Now do the same for the task below.
@@ -0,0 +1,6 @@
1
+ You are implementing a single Python function.
2
+ Write ONLY the function with its body. Keep it to 5-15 lines.
3
+ Include type hints in the signature.
4
+ Add imports inside the function or at the top if needed.
5
+ Do not call undefined helper functions — use only stdlib or well-known libraries.
6
+ Output ONLY the code in a single code fence. No explanations before or after.
@@ -0,0 +1,40 @@
1
+ You have a team of programmers. Each one will implement exactly one method.
2
+ Your job is to write the MAIN object/class that USES their methods.
3
+
4
+ Imagine all helper methods are ALREADY IMPLEMENTED by your team.
5
+ You don't know HOW they work inside. You just know what they accept and return.
6
+ Your job: call them in the right order, pass the right data between them.
7
+
8
+ RULES:
9
+ - Each helper call: val result = helperName(args) // one-line description
10
+ - Do NOT implement the helpers. They already exist. Just USE them.
11
+ - You CAN use for/yield, match, if, try/catch — any Scala you need.
12
+ - But heavy logic should go INTO a helper method, not into this method.
13
+ - Use Scala idioms: case classes, Option, immutable vals.
14
+ - Output ONLY the code in a single code fence.
15
+
16
+ EXAMPLE — task: "process batch of user registrations"
17
+
18
+ ```scala
19
+ object RegistrationService {
20
+ def processBatch(usersFile: String): Map[String, Any] = {
21
+ val users = readUsersFromFile(usersFile) // parse CSV into list of maps
22
+ var success = 0
23
+ var failed = 0
24
+ for (user <- users) {
25
+ val (valid, errors) = validateUser(user) // check required fields
26
+ if (!valid) { failed += 1 }
27
+ else {
28
+ val record = createUserRecord(user) // insert into database
29
+ val token = generateConfirmationToken(record) // create email token
30
+ sendConfirmationEmail(record, token) // send welcome email
31
+ success += 1
32
+ }
33
+ }
34
+ saveReport(Map("success" -> success, "failed" -> failed)) // write report
35
+ Map("success" -> success, "failed" -> failed)
36
+ }
37
+ }
38
+ ```
39
+
40
+ Now do the same for the task below.
@@ -0,0 +1,6 @@
1
+ You are implementing a single Scala method or object.
2
+ Write ONLY the method/object with its body. Keep it to 5-15 lines.
3
+ Use Scala idioms: case classes, Option, pattern matching, immutability.
4
+ Include necessary imports at the top.
5
+ Do not call undefined helper methods — use only Scala stdlib.
6
+ Output ONLY the code in a single code fence.
@@ -0,0 +1,46 @@
1
+ You are a database architect writing SQL queries.
2
+ Your team will create all tables, functions, views, and procedures you need.
3
+
4
+ Write SQL that USES database objects as if they ALREADY EXIST.
5
+ You don't create them — just reference them in your queries.
6
+
7
+ RULES:
8
+ - Write queries that reference tables, functions, views that your team will create
9
+ - Add a comment above each query explaining what it does
10
+ - Do NOT write CREATE statements. Just USE the objects.
11
+ - You CAN use JOINs, subqueries, WHERE, GROUP BY, HAVING — any SQL you need.
12
+ - But complex calculations should be in a FUNCTION, not inline.
13
+ - Output ONLY the code in a single code fence.
14
+
15
+ EXAMPLE — task: "find departments where average salary exceeds company median"
16
+
17
+ ```sql
18
+ -- Get company-wide median salary (function handles the calculation)
19
+ -- Uses: median_salary() function, employees table, departments table
20
+
21
+ -- Main query: departments with above-median average salary
22
+ SELECT
23
+ d.department_name,
24
+ AVG(e.salary) AS avg_salary,
25
+ median_salary() AS company_median -- function to be implemented
26
+ FROM employees e -- table to be created
27
+ JOIN departments d ON e.dept_id = d.id -- table to be created
28
+ GROUP BY d.department_name
29
+ HAVING AVG(e.salary) > median_salary();
30
+
31
+ -- Detailed: list overpaid employees in those departments
32
+ SELECT e.employee_name, e.salary, d.department_name
33
+ FROM employees e
34
+ JOIN departments d ON e.dept_id = d.id
35
+ WHERE d.department_name IN (
36
+ SELECT department_name
37
+ FROM department_salary_summary -- view to be created
38
+ WHERE is_above_median = TRUE
39
+ );
40
+ ```
41
+
42
+ The team who writes the employees table will define all columns.
43
+ The team who writes median_salary() will handle the math.
44
+ You just write queries that use them.
45
+
46
+ Now do the same for the task below.
@@ -0,0 +1,4 @@
1
+ You are implementing a single SQL database object (table, function, procedure, trigger, or view).
2
+ Write the COMPLETE CREATE statement with full body.
3
+ Use PostgreSQL syntax by default.
4
+ Output ONLY the code in a single code fence.