llm4ad-next 1.0.0__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 (507) hide show
  1. llm4ad_next-1.0.0/.gitignore +238 -0
  2. llm4ad_next-1.0.0/LICENSE +29 -0
  3. llm4ad_next-1.0.0/PKG-INFO +374 -0
  4. llm4ad_next-1.0.0/README.md +250 -0
  5. llm4ad_next-1.0.0/docs/ai-build-beta-handoff.md +370 -0
  6. llm4ad_next-1.0.0/docs/assets/live-qr.png +0 -0
  7. llm4ad_next-1.0.0/docs/assets/star-history/.star-history.sig +1 -0
  8. llm4ad_next-1.0.0/docs/assets/star-history/star-history-dark-20260709034730.svg +1 -0
  9. llm4ad_next-1.0.0/docs/assets/star-history/star-history-light-20260709034730.svg +1 -0
  10. llm4ad_next-1.0.0/docs/assets/star-history.svg +20 -0
  11. llm4ad_next-1.0.0/docs/en/api/coder.md +53 -0
  12. llm4ad_next-1.0.0/docs/en/api/config.md +63 -0
  13. llm4ad_next-1.0.0/docs/en/api/evaluator.md +92 -0
  14. llm4ad_next-1.0.0/docs/en/api/index.md +52 -0
  15. llm4ad_next-1.0.0/docs/en/api/infra.md +74 -0
  16. llm4ad_next-1.0.0/docs/en/api/orchestrator.md +93 -0
  17. llm4ad_next-1.0.0/docs/en/api/planner.md +54 -0
  18. llm4ad_next-1.0.0/docs/en/api/provider.md +83 -0
  19. llm4ad_next-1.0.0/docs/en/api/utils.md +67 -0
  20. llm4ad_next-1.0.0/docs/en/architecture/data-flow.md +176 -0
  21. llm4ad_next-1.0.0/docs/en/architecture/overview.md +91 -0
  22. llm4ad_next-1.0.0/docs/en/changelog.md +82 -0
  23. llm4ad_next-1.0.0/docs/en/contributing/development.md +157 -0
  24. llm4ad_next-1.0.0/docs/en/contributing/docker-local.md +284 -0
  25. llm4ad_next-1.0.0/docs/en/contributing/guidelines.md +93 -0
  26. llm4ad_next-1.0.0/docs/en/contributing/style.md +147 -0
  27. llm4ad_next-1.0.0/docs/en/examples/index.md +58 -0
  28. llm4ad_next-1.0.0/docs/en/examples/lunarlander.md +103 -0
  29. llm4ad_next-1.0.0/docs/en/examples/ml-hyperpara.md +76 -0
  30. llm4ad_next-1.0.0/docs/en/examples/sorting.md +128 -0
  31. llm4ad_next-1.0.0/docs/en/examples/symbolic-regression.md +98 -0
  32. llm4ad_next-1.0.0/docs/en/examples/tsp.md +114 -0
  33. llm4ad_next-1.0.0/docs/en/guides/advanced.md +424 -0
  34. llm4ad_next-1.0.0/docs/en/guides/advisor.md +278 -0
  35. llm4ad_next-1.0.0/docs/en/guides/auto-builder.md +191 -0
  36. llm4ad_next-1.0.0/docs/en/guides/cli.md +353 -0
  37. llm4ad_next-1.0.0/docs/en/guides/configuration.md +854 -0
  38. llm4ad_next-1.0.0/docs/en/guides/dyca.md +96 -0
  39. llm4ad_next-1.0.0/docs/en/guides/embeddings.md +82 -0
  40. llm4ad_next-1.0.0/docs/en/guides/evaluators.md +557 -0
  41. llm4ad_next-1.0.0/docs/en/guides/installation.md +292 -0
  42. llm4ad_next-1.0.0/docs/en/guides/island-ga.md +100 -0
  43. llm4ad_next-1.0.0/docs/en/guides/meoh.md +374 -0
  44. llm4ad_next-1.0.0/docs/en/guides/multimodal.md +475 -0
  45. llm4ad_next-1.0.0/docs/en/guides/orchestration.md +94 -0
  46. llm4ad_next-1.0.0/docs/en/guides/providers.md +228 -0
  47. llm4ad_next-1.0.0/docs/en/guides/quickstart.md +426 -0
  48. llm4ad_next-1.0.0/docs/en/guides/recommender.md +337 -0
  49. llm4ad_next-1.0.0/docs/en/guides/timing-metrics.md +365 -0
  50. llm4ad_next-1.0.0/docs/en/index.md +93 -0
  51. llm4ad_next-1.0.0/docs/en/license.md +17 -0
  52. llm4ad_next-1.0.0/docs/en/process.png +0 -0
  53. llm4ad_next-1.0.0/docs/en/web-ui/frontend-integration.md +323 -0
  54. llm4ad_next-1.0.0/docs/en/web-ui/overview.md +124 -0
  55. llm4ad_next-1.0.0/docs/index.md +26 -0
  56. llm4ad_next-1.0.0/docs/zh/api/coder.md +53 -0
  57. llm4ad_next-1.0.0/docs/zh/api/config.md +63 -0
  58. llm4ad_next-1.0.0/docs/zh/api/evaluator.md +92 -0
  59. llm4ad_next-1.0.0/docs/zh/api/index.md +52 -0
  60. llm4ad_next-1.0.0/docs/zh/api/infra.md +74 -0
  61. llm4ad_next-1.0.0/docs/zh/api/orchestrator.md +93 -0
  62. llm4ad_next-1.0.0/docs/zh/api/planner.md +54 -0
  63. llm4ad_next-1.0.0/docs/zh/api/provider.md +83 -0
  64. llm4ad_next-1.0.0/docs/zh/api/utils.md +67 -0
  65. llm4ad_next-1.0.0/docs/zh/architecture/data-flow.md +176 -0
  66. llm4ad_next-1.0.0/docs/zh/architecture/overview.md +91 -0
  67. llm4ad_next-1.0.0/docs/zh/changelog.md +82 -0
  68. llm4ad_next-1.0.0/docs/zh/contributing/development.md +157 -0
  69. llm4ad_next-1.0.0/docs/zh/contributing/docker-local.md +284 -0
  70. llm4ad_next-1.0.0/docs/zh/contributing/guidelines.md +93 -0
  71. llm4ad_next-1.0.0/docs/zh/contributing/style.md +147 -0
  72. llm4ad_next-1.0.0/docs/zh/examples/index.md +58 -0
  73. llm4ad_next-1.0.0/docs/zh/examples/lunarlander.md +103 -0
  74. llm4ad_next-1.0.0/docs/zh/examples/ml-hyperpara.md +76 -0
  75. llm4ad_next-1.0.0/docs/zh/examples/sorting.md +128 -0
  76. llm4ad_next-1.0.0/docs/zh/examples/symbolic-regression.md +98 -0
  77. llm4ad_next-1.0.0/docs/zh/examples/tsp.md +114 -0
  78. llm4ad_next-1.0.0/docs/zh/guides/advanced.md +385 -0
  79. llm4ad_next-1.0.0/docs/zh/guides/advisor.md +268 -0
  80. llm4ad_next-1.0.0/docs/zh/guides/auto-builder.md +191 -0
  81. llm4ad_next-1.0.0/docs/zh/guides/cli.md +353 -0
  82. llm4ad_next-1.0.0/docs/zh/guides/configuration.md +926 -0
  83. llm4ad_next-1.0.0/docs/zh/guides/dyca.md +96 -0
  84. llm4ad_next-1.0.0/docs/zh/guides/embeddings.md +82 -0
  85. llm4ad_next-1.0.0/docs/zh/guides/evaluators.md +558 -0
  86. llm4ad_next-1.0.0/docs/zh/guides/installation.md +291 -0
  87. llm4ad_next-1.0.0/docs/zh/guides/island-ga.md +100 -0
  88. llm4ad_next-1.0.0/docs/zh/guides/meoh.md +424 -0
  89. llm4ad_next-1.0.0/docs/zh/guides/multimodal.md +475 -0
  90. llm4ad_next-1.0.0/docs/zh/guides/orchestration.md +94 -0
  91. llm4ad_next-1.0.0/docs/zh/guides/providers.md +228 -0
  92. llm4ad_next-1.0.0/docs/zh/guides/quickstart.md +426 -0
  93. llm4ad_next-1.0.0/docs/zh/guides/recommender.md +320 -0
  94. llm4ad_next-1.0.0/docs/zh/guides/timing-metrics.md +437 -0
  95. llm4ad_next-1.0.0/docs/zh/index.md +95 -0
  96. llm4ad_next-1.0.0/docs/zh/license.md +17 -0
  97. llm4ad_next-1.0.0/docs/zh/web-ui/frontend-integration.md +323 -0
  98. llm4ad_next-1.0.0/docs/zh/web-ui/overview.md +124 -0
  99. llm4ad_next-1.0.0/examples/applications/MCM_ICM_problem_2024_D/LLM4AD_general_math_modeling_evo_algorithm.md +487 -0
  100. llm4ad_next-1.0.0/examples/applications/MCM_ICM_problem_2024_D/README.md +310 -0
  101. llm4ad_next-1.0.0/examples/applications/MCM_ICM_problem_2024_D/comparison_with_opaper/LLM4AD_vs_O/345/245/226/350/256/272/346/226/207_/345/256/214/346/225/264/345/257/271/346/257/224.md +461 -0
  102. llm4ad_next-1.0.0/examples/applications/MCM_ICM_problem_2024_D/comparison_with_opaper/O/345/245/226/350/256/272/346/226/207_/346/225/260/346/215/256/345/210/206/346/236/220.md +840 -0
  103. llm4ad_next-1.0.0/examples/applications/MCM_ICM_problem_2024_D/comparison_with_opaper/compare_evolution_results.py +450 -0
  104. llm4ad_next-1.0.0/examples/applications/MCM_ICM_problem_2024_D/comparison_with_opaper/evolution_vs_opaper_comparison.json +261 -0
  105. llm4ad_next-1.0.0/examples/applications/MCM_ICM_problem_2024_D/comparison_with_opaper/fair_comparison.py +607 -0
  106. llm4ad_next-1.0.0/examples/applications/MCM_ICM_problem_2024_D/comparison_with_opaper/fair_comparison_results.json +62 -0
  107. llm4ad_next-1.0.0/examples/applications/MCM_ICM_problem_2024_D/config.yaml +316 -0
  108. llm4ad_next-1.0.0/examples/applications/MCM_ICM_problem_2024_D/data/Detroit River.csv +30 -0
  109. llm4ad_next-1.0.0/examples/applications/MCM_ICM_problem_2024_D/data/Lake Erie.csv +30 -0
  110. llm4ad_next-1.0.0/examples/applications/MCM_ICM_problem_2024_D/data/Lake Michigan and Lake Huron.csv +30 -0
  111. llm4ad_next-1.0.0/examples/applications/MCM_ICM_problem_2024_D/data/Lake Ontario.csv +30 -0
  112. llm4ad_next-1.0.0/examples/applications/MCM_ICM_problem_2024_D/data/Lake St. Clair.csv +30 -0
  113. llm4ad_next-1.0.0/examples/applications/MCM_ICM_problem_2024_D/data/Lake Superior.csv +30 -0
  114. llm4ad_next-1.0.0/examples/applications/MCM_ICM_problem_2024_D/data/Niagara River.csv +30 -0
  115. llm4ad_next-1.0.0/examples/applications/MCM_ICM_problem_2024_D/data/Ottawa River.csv +30 -0
  116. llm4ad_next-1.0.0/examples/applications/MCM_ICM_problem_2024_D/data/St. Clair River.csv +31 -0
  117. llm4ad_next-1.0.0/examples/applications/MCM_ICM_problem_2024_D/data/St. Lawrence River.csv +30 -0
  118. llm4ad_next-1.0.0/examples/applications/MCM_ICM_problem_2024_D/data/St. Mary's River.csv +30 -0
  119. llm4ad_next-1.0.0/examples/applications/MCM_ICM_problem_2024_D/data/train/great_lakes_data.json +4017 -0
  120. llm4ad_next-1.0.0/examples/applications/MCM_ICM_problem_2024_D/great_lakes_evaluator.py +1969 -0
  121. llm4ad_next-1.0.0/examples/applications/MCM_ICM_problem_2024_D/references/2024_ICM_Problem_D_FINAL.pdf +0 -0
  122. llm4ad_next-1.0.0/examples/applications/MCM_ICM_problem_2024_D/references/2417004.txt +1142 -0
  123. llm4ad_next-1.0.0/examples/applications/MCM_ICM_problem_2024_D/references/2417831.txt +1314 -0
  124. llm4ad_next-1.0.0/examples/applications/MCM_ICM_problem_2024_D/references/2419588.txt +1375 -0
  125. llm4ad_next-1.0.0/examples/applications/MCM_ICM_problem_2024_D/references/2429211.txt +1533 -0
  126. llm4ad_next-1.0.0/examples/applications/MCM_ICM_problem_2024_D/references/Problem_D_Addendum.pdf +0 -0
  127. llm4ad_next-1.0.0/examples/applications/MCM_ICM_problem_2024_D/references/evolution_dimensions_analysis.txt +210 -0
  128. llm4ad_next-1.0.0/examples/applications/MCM_ICM_problem_2024_D/references/summary.txt +59 -0
  129. llm4ad_next-1.0.0/examples/applications/MCM_ICM_problem_2024_D/template/genotype.py +30 -0
  130. llm4ad_next-1.0.0/examples/applications/MCM_ICM_problem_2024_D/test_full_system.py +260 -0
  131. llm4ad_next-1.0.0/examples/applications/lunarlander_python/README.md +229 -0
  132. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_001.json +4 -0
  133. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_002.json +4 -0
  134. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_003.json +4 -0
  135. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_004.json +4 -0
  136. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_005.json +4 -0
  137. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_006.json +4 -0
  138. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_007.json +4 -0
  139. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_008.json +4 -0
  140. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_009.json +4 -0
  141. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_010.json +4 -0
  142. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_011.json +4 -0
  143. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_012.json +4 -0
  144. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_013.json +4 -0
  145. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_014.json +4 -0
  146. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_015.json +4 -0
  147. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_016.json +4 -0
  148. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_017.json +4 -0
  149. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_018.json +4 -0
  150. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_019.json +4 -0
  151. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_020.json +4 -0
  152. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_021.json +4 -0
  153. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_022.json +4 -0
  154. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_023.json +4 -0
  155. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_024.json +4 -0
  156. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_025.json +4 -0
  157. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_026.json +4 -0
  158. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_027.json +4 -0
  159. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_028.json +4 -0
  160. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_029.json +4 -0
  161. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_030.json +4 -0
  162. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_031.json +4 -0
  163. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_032.json +4 -0
  164. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_033.json +4 -0
  165. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_034.json +4 -0
  166. llm4ad_next-1.0.0/examples/applications/lunarlander_python/data/train/instance_035.json +4 -0
  167. llm4ad_next-1.0.0/examples/applications/lunarlander_python/debug_run.py +39 -0
  168. llm4ad_next-1.0.0/examples/applications/lunarlander_python/lunarlander_benchmark_config.yaml +279 -0
  169. llm4ad_next-1.0.0/examples/applications/lunarlander_python/lunarlander_dyca_config.yaml +213 -0
  170. llm4ad_next-1.0.0/examples/applications/lunarlander_python/lunarlander_evaluator.py +392 -0
  171. llm4ad_next-1.0.0/examples/applications/lunarlander_python/policy/choose_action.py +146 -0
  172. llm4ad_next-1.0.0/examples/applications/lunarlander_python/requirements.txt +1 -0
  173. llm4ad_next-1.0.0/examples/applications/lunarlander_python/test_evaluator.py +73 -0
  174. llm4ad_next-1.0.0/examples/applications/lunarlander_python_multimodal/FRONTEND_INTEGRATION.md +237 -0
  175. llm4ad_next-1.0.0/examples/applications/lunarlander_python_multimodal/config.yaml +284 -0
  176. llm4ad_next-1.0.0/examples/applications/lunarlander_python_multimodal/data/train/instance_001.json +4 -0
  177. llm4ad_next-1.0.0/examples/applications/lunarlander_python_multimodal/data/train/instance_002.json +4 -0
  178. llm4ad_next-1.0.0/examples/applications/lunarlander_python_multimodal/debug_run.py +44 -0
  179. llm4ad_next-1.0.0/examples/applications/lunarlander_python_multimodal/lunarlander_evaluator.py +683 -0
  180. llm4ad_next-1.0.0/examples/applications/lunarlander_python_multimodal/policy/choose_action.py +146 -0
  181. llm4ad_next-1.0.0/examples/applications/lunarlander_python_multimodal/requirements.txt +1 -0
  182. llm4ad_next-1.0.0/examples/applications/lunarlander_python_multimodal/test_evaluator.py +270 -0
  183. llm4ad_next-1.0.0/examples/applications/lunarlander_python_multimodal/test_output_raw.png +0 -0
  184. llm4ad_next-1.0.0/examples/applications/lunarlander_python_multimodal/test_output_rendered.png +0 -0
  185. llm4ad_next-1.0.0/examples/applications/lunarlander_python_multimodal/view_algorithm.py +355 -0
  186. llm4ad_next-1.0.0/examples/applications/ml_feature_benchmark/README.md +108 -0
  187. llm4ad_next-1.0.0/examples/applications/ml_feature_benchmark/config.yaml +375 -0
  188. llm4ad_next-1.0.0/examples/applications/ml_feature_benchmark/data/dataset.csv +1461 -0
  189. llm4ad_next-1.0.0/examples/applications/ml_feature_benchmark/ml_feature_algorithm/src/classifier.py +327 -0
  190. llm4ad_next-1.0.0/examples/applications/ml_feature_benchmark/ml_feature_benchmark_evaluator.py +217 -0
  191. llm4ad_next-1.0.0/examples/applications/ml_hyperpara_benchmark/README.md +111 -0
  192. llm4ad_next-1.0.0/examples/applications/ml_hyperpara_benchmark/config.yaml +359 -0
  193. llm4ad_next-1.0.0/examples/applications/ml_hyperpara_benchmark/data/dataset.csv +1461 -0
  194. llm4ad_next-1.0.0/examples/applications/ml_hyperpara_benchmark/ml_hyperpara_algorithm/src/classifier.py +67 -0
  195. llm4ad_next-1.0.0/examples/applications/ml_hyperpara_benchmark/ml_hyperpara_benchmark_evaluator.py +230 -0
  196. llm4ad_next-1.0.0/examples/applications/relationship_prediction/.gitignore +3 -0
  197. llm4ad_next-1.0.0/examples/applications/relationship_prediction/README.md +121 -0
  198. llm4ad_next-1.0.0/examples/applications/relationship_prediction/config.yaml +270 -0
  199. llm4ad_next-1.0.0/examples/applications/relationship_prediction/data/case_01.yaml +23 -0
  200. llm4ad_next-1.0.0/examples/applications/relationship_prediction/data/case_02.yaml +24 -0
  201. llm4ad_next-1.0.0/examples/applications/relationship_prediction/data/case_03.yaml +25 -0
  202. llm4ad_next-1.0.0/examples/applications/relationship_prediction/data/case_04.yaml +23 -0
  203. llm4ad_next-1.0.0/examples/applications/relationship_prediction/data/case_05.yaml +22 -0
  204. llm4ad_next-1.0.0/examples/applications/relationship_prediction/export_best.py +199 -0
  205. llm4ad_next-1.0.0/examples/applications/relationship_prediction/intake_web.html +693 -0
  206. llm4ad_next-1.0.0/examples/applications/relationship_prediction/prep_config.py +117 -0
  207. llm4ad_next-1.0.0/examples/applications/relationship_prediction/relationship_evaluator.py +102 -0
  208. llm4ad_next-1.0.0/examples/applications/relationship_prediction/relationship_prediction.yaml +124 -0
  209. llm4ad_next-1.0.0/examples/applications/relationship_prediction/workspace/.gitignore +0 -0
  210. llm4ad_next-1.0.0/examples/applications/relationship_prediction/workspace/predict_seed.py +50 -0
  211. llm4ad_next-1.0.0/examples/applications/sorting_benchmark/README.md +122 -0
  212. llm4ad_next-1.0.0/examples/applications/sorting_benchmark/config.yaml +255 -0
  213. llm4ad_next-1.0.0/examples/applications/sorting_benchmark/data/generate_datasets.py +43 -0
  214. llm4ad_next-1.0.0/examples/applications/sorting_benchmark/data/small/1000.txt +1000 -0
  215. llm4ad_next-1.0.0/examples/applications/sorting_benchmark/data/small/10000.txt +10000 -0
  216. llm4ad_next-1.0.0/examples/applications/sorting_benchmark/sorting_algorithm/.gitignore +1 -0
  217. llm4ad_next-1.0.0/examples/applications/sorting_benchmark/sorting_algorithm/CMakeLists.txt +14 -0
  218. llm4ad_next-1.0.0/examples/applications/sorting_benchmark/sorting_algorithm/build.sh +20 -0
  219. llm4ad_next-1.0.0/examples/applications/sorting_benchmark/sorting_algorithm/include/sort_impl.h +19 -0
  220. llm4ad_next-1.0.0/examples/applications/sorting_benchmark/sorting_algorithm/include/sort_interface.h +23 -0
  221. llm4ad_next-1.0.0/examples/applications/sorting_benchmark/sorting_algorithm/src/main.cpp +63 -0
  222. llm4ad_next-1.0.0/examples/applications/sorting_benchmark/sorting_evaluator.py +288 -0
  223. llm4ad_next-1.0.0/examples/applications/sorting_benchmark/test_evaluator.py +58 -0
  224. llm4ad_next-1.0.0/examples/applications/sorting_benchmark_python/README.md +91 -0
  225. llm4ad_next-1.0.0/examples/applications/sorting_benchmark_python/config.yaml +267 -0
  226. llm4ad_next-1.0.0/examples/applications/sorting_benchmark_python/data/small/test_001.txt +10 -0
  227. llm4ad_next-1.0.0/examples/applications/sorting_benchmark_python/data/small/test_002.txt +15 -0
  228. llm4ad_next-1.0.0/examples/applications/sorting_benchmark_python/data/small/test_003.txt +20 -0
  229. llm4ad_next-1.0.0/examples/applications/sorting_benchmark_python/sorting_algorithm/sort.py +209 -0
  230. llm4ad_next-1.0.0/examples/applications/sorting_benchmark_python/sorting_evaluator.py +206 -0
  231. llm4ad_next-1.0.0/examples/applications/sorting_benchmark_python/test_evaluator.py +70 -0
  232. llm4ad_next-1.0.0/examples/applications/symbolic_regression/README.md +289 -0
  233. llm4ad_next-1.0.0/examples/applications/symbolic_regression/config.yaml +267 -0
  234. llm4ad_next-1.0.0/examples/applications/symbolic_regression/data/test/test_50.txt +50 -0
  235. llm4ad_next-1.0.0/examples/applications/symbolic_regression/data/train/train_100.txt +100 -0
  236. llm4ad_next-1.0.0/examples/applications/symbolic_regression/generate_data.py +1252 -0
  237. llm4ad_next-1.0.0/examples/applications/symbolic_regression/predefined_evaluator.py +499 -0
  238. llm4ad_next-1.0.0/examples/applications/symbolic_regression/sr_algorithm/model.py +64 -0
  239. llm4ad_next-1.0.0/examples/applications/symbolic_regression/sr_algorithm/optimized_params.json +12 -0
  240. llm4ad_next-1.0.0/examples/applications/task_template_python/README.md +223 -0
  241. llm4ad_next-1.0.0/examples/applications/task_template_python/config.yaml +246 -0
  242. llm4ad_next-1.0.0/examples/applications/task_template_python/data/sample/instance_001.json +9 -0
  243. llm4ad_next-1.0.0/examples/applications/task_template_python/debug_run.py +42 -0
  244. llm4ad_next-1.0.0/examples/applications/task_template_python/evaluation_patterns.md +160 -0
  245. llm4ad_next-1.0.0/examples/applications/task_template_python/my_algorithm/my_function.py +100 -0
  246. llm4ad_next-1.0.0/examples/applications/task_template_python/my_evaluator.py +380 -0
  247. llm4ad_next-1.0.0/examples/applications/task_template_python/test_evaluator.py +92 -0
  248. llm4ad_next-1.0.0/examples/applications/task_template_python_multimodal/README.md +263 -0
  249. llm4ad_next-1.0.0/examples/applications/task_template_python_multimodal/config.yaml +254 -0
  250. llm4ad_next-1.0.0/examples/applications/task_template_python_multimodal/data/sample/instance_001.json +2626 -0
  251. llm4ad_next-1.0.0/examples/applications/task_template_python_multimodal/debug_run.py +46 -0
  252. llm4ad_next-1.0.0/examples/applications/task_template_python_multimodal/generate_data.py +106 -0
  253. llm4ad_next-1.0.0/examples/applications/task_template_python_multimodal/my_algorithm/my_function.py +122 -0
  254. llm4ad_next-1.0.0/examples/applications/task_template_python_multimodal/my_evaluator.py +731 -0
  255. llm4ad_next-1.0.0/examples/applications/task_template_python_multimodal/test_evaluator.py +271 -0
  256. llm4ad_next-1.0.0/examples/applications/task_template_python_multimodal/test_output_raw.png +0 -0
  257. llm4ad_next-1.0.0/examples/applications/task_template_python_multimodal/test_output_rendered.png +0 -0
  258. llm4ad_next-1.0.0/examples/applications/task_template_python_multimodal/view_algorithm.py +316 -0
  259. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/README.md +155 -0
  260. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/config.yaml +281 -0
  261. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/TSP100/instance_001.json +404 -0
  262. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/TSP100/instance_002.json +404 -0
  263. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/TSP100/instance_003.json +404 -0
  264. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/TSP100/instance_004.json +404 -0
  265. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/TSP100/instance_005.json +404 -0
  266. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/TSP100/instance_006.json +404 -0
  267. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/TSP100/instance_007.json +404 -0
  268. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/TSP100/instance_008.json +404 -0
  269. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/TSP100/instance_009.json +404 -0
  270. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/TSP100/instance_010.json +404 -0
  271. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/TSP100/instance_011.json +404 -0
  272. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/TSP100/instance_012.json +404 -0
  273. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/TSP100/instance_013.json +404 -0
  274. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/TSP100/instance_014.json +404 -0
  275. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/TSP100/instance_015.json +404 -0
  276. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/TSP100/instance_016.json +404 -0
  277. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/diverse/clustered_01.json +127 -0
  278. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/diverse/clustered_02.json +147 -0
  279. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/diverse/clustered_03.json +167 -0
  280. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/diverse/clustered_04.json +167 -0
  281. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/diverse/clustered_05.json +187 -0
  282. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/diverse/clustered_06.json +207 -0
  283. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/diverse/large_random_01.json +246 -0
  284. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/diverse/large_random_02.json +286 -0
  285. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/diverse/large_random_03.json +306 -0
  286. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/diverse/large_random_04.json +326 -0
  287. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/diverse/large_random_05.json +366 -0
  288. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/diverse/large_random_06.json +406 -0
  289. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/diverse/small_random_01.json +46 -0
  290. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/diverse/small_random_02.json +54 -0
  291. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/diverse/small_random_03.json +66 -0
  292. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/diverse/small_random_04.json +66 -0
  293. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/diverse/small_random_05.json +78 -0
  294. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/diverse/small_random_06.json +86 -0
  295. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/small/instance_001.json +44 -0
  296. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/small/instance_002.json +64 -0
  297. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/small/instance_003.json +84 -0
  298. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/small/instance_004.json +104 -0
  299. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/data/small/instance_005.json +124 -0
  300. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/debug_run.py +39 -0
  301. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/generate_data.py +66 -0
  302. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/generate_diverse_data.py +131 -0
  303. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/generate_tsp100_data.py +58 -0
  304. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/test_evaluator.py +24 -0
  305. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/tsp_algorithm/solve.py +119 -0
  306. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/tsp_benchmark_config.yaml +175 -0
  307. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/tsp_benchmark_meoh_config.yaml +120 -0
  308. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/tsp_benchmark_meoh_debug_config.yaml +118 -0
  309. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/tsp_dyca_config.yaml +237 -0
  310. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python/tsp_evaluator.py +285 -0
  311. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python_mock/README.md +67 -0
  312. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python_mock/config.yaml +212 -0
  313. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python_mock/data/small/instance_001.json +44 -0
  314. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python_mock/data/small/instance_002.json +64 -0
  315. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python_mock/data/small/instance_003.json +84 -0
  316. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python_mock/data/small/instance_004.json +104 -0
  317. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python_mock/data/small/instance_005.json +124 -0
  318. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python_mock/tsp_algorithm/solve.py +877 -0
  319. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python_mock/tsp_evaluator.py +274 -0
  320. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python_multimodal/FRONTEND_INTEGRATION.md +178 -0
  321. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python_multimodal/config.yaml +278 -0
  322. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python_multimodal/data/small/instance_001.json +44 -0
  323. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python_multimodal/data/small/instance_002.json +64 -0
  324. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python_multimodal/data/small/instance_003.json +84 -0
  325. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python_multimodal/data/small/instance_004.json +104 -0
  326. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python_multimodal/data/small/instance_005.json +124 -0
  327. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python_multimodal/debug_run.py +44 -0
  328. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python_multimodal/generate_data.py +66 -0
  329. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python_multimodal/test_evaluator.py +190 -0
  330. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python_multimodal/test_tour_output.png +0 -0
  331. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python_multimodal/test_tour_output_raw.png +0 -0
  332. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python_multimodal/test_tour_output_rendered.png +0 -0
  333. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python_multimodal/tsp_algorithm/solve.py +877 -0
  334. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python_multimodal/tsp_evaluator.py +712 -0
  335. llm4ad_next-1.0.0/examples/applications/tsp_benchmark_python_multimodal/view_algorithm.py +355 -0
  336. llm4ad_next-1.0.0/examples/auto_applications/from_code/example1_tsp/build_config.yaml +30 -0
  337. llm4ad_next-1.0.0/examples/auto_applications/from_code/example1_tsp/data/small/instance_001.json +44 -0
  338. llm4ad_next-1.0.0/examples/auto_applications/from_code/example1_tsp/data/small/instance_002.json +64 -0
  339. llm4ad_next-1.0.0/examples/auto_applications/from_code/example1_tsp/data/small/instance_003.json +84 -0
  340. llm4ad_next-1.0.0/examples/auto_applications/from_code/example1_tsp/output_application_package/tsp_multimodal/blueprint_meta.json +20 -0
  341. llm4ad_next-1.0.0/examples/auto_applications/from_code/example1_tsp/output_application_package/tsp_multimodal/config.yaml +947 -0
  342. llm4ad_next-1.0.0/examples/auto_applications/from_code/example1_tsp/output_application_package/tsp_multimodal/data/sample/instance_001.json +1 -0
  343. llm4ad_next-1.0.0/examples/auto_applications/from_code/example1_tsp/output_application_package/tsp_multimodal/debug_run.py +78 -0
  344. llm4ad_next-1.0.0/examples/auto_applications/from_code/example1_tsp/output_application_package/tsp_multimodal/test_evaluator.py +116 -0
  345. llm4ad_next-1.0.0/examples/auto_applications/from_code/example1_tsp/output_application_package/tsp_multimodal/tsp_multimodal_evaluator.py +700 -0
  346. llm4ad_next-1.0.0/examples/auto_applications/from_code/example1_tsp/run_build.py +23 -0
  347. llm4ad_next-1.0.0/examples/auto_applications/from_code/example1_tsp/tsp_algorithm/solve.py +881 -0
  348. llm4ad_next-1.0.0/examples/auto_applications/from_code/example2_cvrp/build_config.yaml +29 -0
  349. llm4ad_next-1.0.0/examples/auto_applications/from_code/example2_cvrp/cvrp_construct_set/__init__.py +2 -0
  350. llm4ad_next-1.0.0/examples/auto_applications/from_code/example2_cvrp/cvrp_construct_set/evaluation.py +339 -0
  351. llm4ad_next-1.0.0/examples/auto_applications/from_code/example2_cvrp/cvrp_construct_set/get_instance.py +56 -0
  352. llm4ad_next-1.0.0/examples/auto_applications/from_code/example2_cvrp/cvrp_construct_set/paras.yaml +2 -0
  353. llm4ad_next-1.0.0/examples/auto_applications/from_code/example2_cvrp/cvrp_construct_set/template.py +35 -0
  354. llm4ad_next-1.0.0/examples/auto_applications/from_code/example2_cvrp/output_application_package/cvrp_multimodal/blueprint_meta.json +20 -0
  355. llm4ad_next-1.0.0/examples/auto_applications/from_code/example2_cvrp/output_application_package/cvrp_multimodal/config.yaml +256 -0
  356. llm4ad_next-1.0.0/examples/auto_applications/from_code/example2_cvrp/output_application_package/cvrp_multimodal/cvrp_multimodal_evaluator.py +456 -0
  357. llm4ad_next-1.0.0/examples/auto_applications/from_code/example2_cvrp/output_application_package/cvrp_multimodal/data/sample/instance_001.json +31 -0
  358. llm4ad_next-1.0.0/examples/auto_applications/from_code/example2_cvrp/output_application_package/cvrp_multimodal/debug_run.py +124 -0
  359. llm4ad_next-1.0.0/examples/auto_applications/from_code/example2_cvrp/output_application_package/cvrp_multimodal/test_evaluator.py +162 -0
  360. llm4ad_next-1.0.0/examples/auto_applications/from_description/bipedal_walker/bipedal_walker_algorithm/controller.py +119 -0
  361. llm4ad_next-1.0.0/examples/auto_applications/from_description/bipedal_walker/bipedal_walker_evaluator.py +320 -0
  362. llm4ad_next-1.0.0/examples/auto_applications/from_description/bipedal_walker/blueprint_meta.json +20 -0
  363. llm4ad_next-1.0.0/examples/auto_applications/from_description/bipedal_walker/config.yaml +138 -0
  364. llm4ad_next-1.0.0/examples/auto_applications/from_description/bipedal_walker/data/sample/instance_001.json +3 -0
  365. llm4ad_next-1.0.0/examples/auto_applications/from_description/bipedal_walker/debug_run.py +62 -0
  366. llm4ad_next-1.0.0/examples/auto_applications/from_description/bipedal_walker/test_evaluator.py +46 -0
  367. llm4ad_next-1.0.0/examples/auto_applications/from_description/build_config.yaml +60 -0
  368. llm4ad_next-1.0.0/examples/auto_applications/from_description/build_config_cvrp.yaml +65 -0
  369. llm4ad_next-1.0.0/examples/auto_applications/from_description/output_examples/cvrp_evolution_output/cvrp_algorithm_evolution/blueprint_meta.json +32 -0
  370. llm4ad_next-1.0.0/examples/auto_applications/from_description/output_examples/cvrp_evolution_output/cvrp_algorithm_evolution/config.yaml +148 -0
  371. llm4ad_next-1.0.0/examples/auto_applications/from_description/output_examples/cvrp_evolution_output/cvrp_algorithm_evolution/cvrp_algorithm_evolution_evaluator.py +643 -0
  372. llm4ad_next-1.0.0/examples/auto_applications/from_description/output_examples/cvrp_evolution_output/cvrp_algorithm_evolution/data/sample/instance_001.json +27 -0
  373. llm4ad_next-1.0.0/examples/auto_applications/from_description/output_examples/cvrp_evolution_output/cvrp_algorithm_evolution/debug_run.py +92 -0
  374. llm4ad_next-1.0.0/examples/auto_applications/from_description/output_examples/cvrp_evolution_output/cvrp_algorithm_evolution/test_evaluator.py +50 -0
  375. llm4ad_next-1.0.0/examples/auto_applications/from_description/run_build.py +70 -0
  376. llm4ad_next-1.0.0/examples/auto_applications/from_description/test_build_mock.py +1111 -0
  377. llm4ad_next-1.0.0/examples/config/config.complete.yaml +322 -0
  378. llm4ad_next-1.0.0/examples/config/config.meoh.yaml +46 -0
  379. llm4ad_next-1.0.0/examples/config/config.minimal.yaml +24 -0
  380. llm4ad_next-1.0.0/examples/config/settings.yaml +28 -0
  381. llm4ad_next-1.0.0/pyproject.toml +279 -0
  382. llm4ad_next-1.0.0/src/llm4ad/__init__.py +17 -0
  383. llm4ad_next-1.0.0/src/llm4ad/advisor/__init__.py +84 -0
  384. llm4ad_next-1.0.0/src/llm4ad/advisor/advice.py +195 -0
  385. llm4ad_next-1.0.0/src/llm4ad/advisor/advisor_config.py +213 -0
  386. llm4ad_next-1.0.0/src/llm4ad/advisor/analyzer.py +128 -0
  387. llm4ad_next-1.0.0/src/llm4ad/advisor/pipeline.py +666 -0
  388. llm4ad_next-1.0.0/src/llm4ad/advisor/prompts.py +129 -0
  389. llm4ad_next-1.0.0/src/llm4ad/advisor/recommendation.py +111 -0
  390. llm4ad_next-1.0.0/src/llm4ad/advisor/recommender.py +660 -0
  391. llm4ad_next-1.0.0/src/llm4ad/advisor/recommender_prompts.py +82 -0
  392. llm4ad_next-1.0.0/src/llm4ad/agent/__init__.py +29 -0
  393. llm4ad_next-1.0.0/src/llm4ad/agent/runner.py +1232 -0
  394. llm4ad_next-1.0.0/src/llm4ad/agent/sandbox.py +61 -0
  395. llm4ad_next-1.0.0/src/llm4ad/agent/skill.py +341 -0
  396. llm4ad_next-1.0.0/src/llm4ad/agent/skills/llm4ad-task-builder/SKILL.md +148 -0
  397. llm4ad_next-1.0.0/src/llm4ad/agent/skills/llm4ad-task-builder/reference/config-template.yaml +96 -0
  398. llm4ad_next-1.0.0/src/llm4ad/agent/skills/llm4ad-task-builder/reference/example-tsp.md +28 -0
  399. llm4ad_next-1.0.0/src/llm4ad/builder/__init__.py +55 -0
  400. llm4ad_next-1.0.0/src/llm4ad/builder/analyzer.py +472 -0
  401. llm4ad_next-1.0.0/src/llm4ad/builder/blueprint.py +184 -0
  402. llm4ad_next-1.0.0/src/llm4ad/builder/builder_config.py +218 -0
  403. llm4ad_next-1.0.0/src/llm4ad/builder/config_recommender.py +192 -0
  404. llm4ad_next-1.0.0/src/llm4ad/builder/creator.py +629 -0
  405. llm4ad_next-1.0.0/src/llm4ad/builder/pipeline.py +378 -0
  406. llm4ad_next-1.0.0/src/llm4ad/builder/prompts.py +1213 -0
  407. llm4ad_next-1.0.0/src/llm4ad/builder/validator.py +709 -0
  408. llm4ad_next-1.0.0/src/llm4ad/builder/writer.py +66 -0
  409. llm4ad_next-1.0.0/src/llm4ad/coder/__init__.py +25 -0
  410. llm4ad_next-1.0.0/src/llm4ad/coder/base.py +142 -0
  411. llm4ad_next-1.0.0/src/llm4ad/coder/claude_code.py +165 -0
  412. llm4ad_next-1.0.0/src/llm4ad/coder/custom_naive_coder.py +856 -0
  413. llm4ad_next-1.0.0/src/llm4ad/coder/opencode.py +350 -0
  414. llm4ad_next-1.0.0/src/llm4ad/config/__init__.py +87 -0
  415. llm4ad_next-1.0.0/src/llm4ad/config/app.py +751 -0
  416. llm4ad_next-1.0.0/src/llm4ad/config/coder.py +184 -0
  417. llm4ad_next-1.0.0/src/llm4ad/config/evaluator.py +273 -0
  418. llm4ad_next-1.0.0/src/llm4ad/config/evolution.py +594 -0
  419. llm4ad_next-1.0.0/src/llm4ad/config/memory.py +238 -0
  420. llm4ad_next-1.0.0/src/llm4ad/config/planner.py +166 -0
  421. llm4ad_next-1.0.0/src/llm4ad/config/schema.py +50 -0
  422. llm4ad_next-1.0.0/src/llm4ad/config/settings.py +177 -0
  423. llm4ad_next-1.0.0/src/llm4ad/config/ui.py +50 -0
  424. llm4ad_next-1.0.0/src/llm4ad/consultant/__init__.py +42 -0
  425. llm4ad_next-1.0.0/src/llm4ad/consultant/_templates/complete.yaml +348 -0
  426. llm4ad_next-1.0.0/src/llm4ad/consultant/_templates/minimal.yaml +42 -0
  427. llm4ad_next-1.0.0/src/llm4ad/consultant/_templates/standard.yaml +40 -0
  428. llm4ad_next-1.0.0/src/llm4ad/consultant/advisor.py +904 -0
  429. llm4ad_next-1.0.0/src/llm4ad/consultant/build_orchestrator.py +948 -0
  430. llm4ad_next-1.0.0/src/llm4ad/consultant/config_builder.py +130 -0
  431. llm4ad_next-1.0.0/src/llm4ad/consultant/context_limiter.py +101 -0
  432. llm4ad_next-1.0.0/src/llm4ad/consultant/core.py +905 -0
  433. llm4ad_next-1.0.0/src/llm4ad/consultant/needs.py +100 -0
  434. llm4ad_next-1.0.0/src/llm4ad/consultant/prompts.py +410 -0
  435. llm4ad_next-1.0.0/src/llm4ad/consultant/review_loop.py +179 -0
  436. llm4ad_next-1.0.0/src/llm4ad/consultant/session.py +522 -0
  437. llm4ad_next-1.0.0/src/llm4ad/consultant/stages.py +67 -0
  438. llm4ad_next-1.0.0/src/llm4ad/consultant/state.py +187 -0
  439. llm4ad_next-1.0.0/src/llm4ad/consultant/templates.py +149 -0
  440. llm4ad_next-1.0.0/src/llm4ad/evaluator/__init__.py +40 -0
  441. llm4ad_next-1.0.0/src/llm4ad/evaluator/base.py +411 -0
  442. llm4ad_next-1.0.0/src/llm4ad/evaluator/behavior.py +97 -0
  443. llm4ad_next-1.0.0/src/llm4ad/evaluator/dispatcher.py +447 -0
  444. llm4ad_next-1.0.0/src/llm4ad/evaluator/llm_judge.py +346 -0
  445. llm4ad_next-1.0.0/src/llm4ad/evaluator/renderer.py +80 -0
  446. llm4ad_next-1.0.0/src/llm4ad/evaluator/task.py +181 -0
  447. llm4ad_next-1.0.0/src/llm4ad/frontend/__init__.py +1 -0
  448. llm4ad_next-1.0.0/src/llm4ad/frontend/cli.py +1517 -0
  449. llm4ad_next-1.0.0/src/llm4ad/frontend/visualization.py +628 -0
  450. llm4ad_next-1.0.0/src/llm4ad/infra/__init__.py +37 -0
  451. llm4ad_next-1.0.0/src/llm4ad/infra/base.py +580 -0
  452. llm4ad_next-1.0.0/src/llm4ad/infra/best_exporter.py +229 -0
  453. llm4ad_next-1.0.0/src/llm4ad/infra/monitor/__init__.py +13 -0
  454. llm4ad_next-1.0.0/src/llm4ad/infra/monitor/console.py +180 -0
  455. llm4ad_next-1.0.0/src/llm4ad/infra/provider/__init__.py +32 -0
  456. llm4ad_next-1.0.0/src/llm4ad/infra/provider/anthropic.py +509 -0
  457. llm4ad_next-1.0.0/src/llm4ad/infra/provider/base.py +263 -0
  458. llm4ad_next-1.0.0/src/llm4ad/infra/provider/mock.py +485 -0
  459. llm4ad_next-1.0.0/src/llm4ad/infra/provider/openai_compatible.py +689 -0
  460. llm4ad_next-1.0.0/src/llm4ad/infra/repo_analyzer/__init__.py +42 -0
  461. llm4ad_next-1.0.0/src/llm4ad/infra/repo_analyzer/base.py +71 -0
  462. llm4ad_next-1.0.0/src/llm4ad/infra/repo_analyzer/evolve_detector.py +510 -0
  463. llm4ad_next-1.0.0/src/llm4ad/infra/repo_analyzer/marker_tools.py +495 -0
  464. llm4ad_next-1.0.0/src/llm4ad/infra/state.py +521 -0
  465. llm4ad_next-1.0.0/src/llm4ad/infra/timing.py +56 -0
  466. llm4ad_next-1.0.0/src/llm4ad/infra/version_control/__init__.py +22 -0
  467. llm4ad_next-1.0.0/src/llm4ad/infra/version_control/base.py +245 -0
  468. llm4ad_next-1.0.0/src/llm4ad/infra/version_control/config.py +115 -0
  469. llm4ad_next-1.0.0/src/llm4ad/infra/version_control/git_worktree.py +885 -0
  470. llm4ad_next-1.0.0/src/llm4ad/llm4ad.py +588 -0
  471. llm4ad_next-1.0.0/src/llm4ad/orchestrator/__init__.py +57 -0
  472. llm4ad_next-1.0.0/src/llm4ad/orchestrator/base.py +323 -0
  473. llm4ad_next-1.0.0/src/llm4ad/orchestrator/clustering_utils.py +346 -0
  474. llm4ad_next-1.0.0/src/llm4ad/orchestrator/dyca.py +1802 -0
  475. llm4ad_next-1.0.0/src/llm4ad/orchestrator/embedding_client.py +231 -0
  476. llm4ad_next-1.0.0/src/llm4ad/orchestrator/embedding_utils.py +743 -0
  477. llm4ad_next-1.0.0/src/llm4ad/orchestrator/island_ga.py +1374 -0
  478. llm4ad_next-1.0.0/src/llm4ad/orchestrator/meoh.py +1043 -0
  479. llm4ad_next-1.0.0/src/llm4ad/orchestrator/meoh_population.py +353 -0
  480. llm4ad_next-1.0.0/src/llm4ad/planner/__init__.py +32 -0
  481. llm4ad_next-1.0.0/src/llm4ad/planner/base.py +1272 -0
  482. llm4ad_next-1.0.0/src/llm4ad/planner/llm_evolution.py +393 -0
  483. llm4ad_next-1.0.0/src/llm4ad/planner/memory.py +1008 -0
  484. llm4ad_next-1.0.0/src/llm4ad/planner/meoh_evolution.py +294 -0
  485. llm4ad_next-1.0.0/src/llm4ad/planner/sampler/__init__.py +34 -0
  486. llm4ad_next-1.0.0/src/llm4ad/planner/sampler/base.py +95 -0
  487. llm4ad_next-1.0.0/src/llm4ad/planner/sampler/crossover_sampler.py +173 -0
  488. llm4ad_next-1.0.0/src/llm4ad/planner/sampler/dyca_prompt_templates.py +213 -0
  489. llm4ad_next-1.0.0/src/llm4ad/planner/sampler/dyca_samplers.py +650 -0
  490. llm4ad_next-1.0.0/src/llm4ad/planner/sampler/init_sampler.py +223 -0
  491. llm4ad_next-1.0.0/src/llm4ad/planner/sampler/meoh_e1_sampler.py +51 -0
  492. llm4ad_next-1.0.0/src/llm4ad/planner/sampler/meoh_e2_sampler.py +51 -0
  493. llm4ad_next-1.0.0/src/llm4ad/planner/sampler/meoh_init_sampler.py +253 -0
  494. llm4ad_next-1.0.0/src/llm4ad/planner/sampler/meoh_m1_sampler.py +38 -0
  495. llm4ad_next-1.0.0/src/llm4ad/planner/sampler/meoh_m2_sampler.py +38 -0
  496. llm4ad_next-1.0.0/src/llm4ad/planner/sampler/meoh_prompt_templates.py +325 -0
  497. llm4ad_next-1.0.0/src/llm4ad/planner/sampler/multimodal_crossover_sampler.py +187 -0
  498. llm4ad_next-1.0.0/src/llm4ad/planner/sampler/multimodal_mutation_sampler.py +221 -0
  499. llm4ad_next-1.0.0/src/llm4ad/planner/sampler/mutation_sampler.py +213 -0
  500. llm4ad_next-1.0.0/src/llm4ad/planner/sampler/prompt_templates.py +590 -0
  501. llm4ad_next-1.0.0/src/llm4ad/planner/selector/__init__.py +6 -0
  502. llm4ad_next-1.0.0/src/llm4ad/planner/selector/base.py +82 -0
  503. llm4ad_next-1.0.0/src/llm4ad/planner/selector/sampler_selector.py +206 -0
  504. llm4ad_next-1.0.0/src/llm4ad/utils/__init__.py +23 -0
  505. llm4ad_next-1.0.0/src/llm4ad/utils/diff_utils.py +178 -0
  506. llm4ad_next-1.0.0/src/llm4ad/utils/image_utils.py +89 -0
  507. llm4ad_next-1.0.0/src/llm4ad/utils/registry.py +257 -0
@@ -0,0 +1,238 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[codz]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ !src/frontend/src/lib/
19
+ lib64/
20
+ parts/
21
+ sdist/
22
+ var/
23
+ wheels/
24
+ share/python-wheels/
25
+ *.egg-info/
26
+ .installed.cfg
27
+ *.egg
28
+ MANIFEST
29
+
30
+ # PyInstaller
31
+ # Usually these files are written by a python script from a template
32
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
33
+ *.manifest
34
+ *.spec
35
+
36
+ # Installer logs
37
+ pip-log.txt
38
+ pip-delete-this-directory.txt
39
+
40
+ # Unit test / coverage reports
41
+ htmlcov/
42
+ .tox/
43
+ .nox/
44
+ .coverage
45
+ .coverage.*
46
+ .cache
47
+ nosetests.xml
48
+ coverage.xml
49
+ *.cover
50
+ *.py.cover
51
+ .hypothesis/
52
+ .pytest_cache/
53
+ cover/
54
+
55
+ # Translations
56
+ *.mo
57
+ *.pot
58
+
59
+ # Django stuff:
60
+ *.log
61
+ local_settings.py
62
+ db.sqlite3
63
+ db.sqlite3-journal
64
+
65
+ # Flask stuff:
66
+ instance/
67
+ .webassets-cache
68
+
69
+ # Scrapy stuff:
70
+ .scrapy
71
+
72
+ # Sphinx documentation
73
+ docs/_build/
74
+
75
+ # PyBuilder
76
+ .pybuilder/
77
+ target/
78
+
79
+ # Jupyter Notebook
80
+ .ipynb_checkpoints
81
+
82
+ # IPython
83
+ profile_default/
84
+ ipython_config.py
85
+
86
+ # pyenv
87
+ # For a library or package, you might want to ignore these files since the code is
88
+ # intended to run in multiple environments; otherwise, check them in:
89
+ # .python-version
90
+
91
+ # pipenv
92
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
93
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
94
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
95
+ # install all needed dependencies.
96
+ #Pipfile.lock
97
+
98
+ # UV
99
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
100
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
101
+ # commonly ignored for libraries.
102
+ #uv.lock
103
+
104
+ # poetry
105
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
106
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
107
+ # commonly ignored for libraries.
108
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
109
+ #poetry.lock
110
+ #poetry.toml
111
+
112
+ # pdm
113
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
114
+ # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
115
+ # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
116
+ #pdm.lock
117
+ #pdm.toml
118
+ .pdm-python
119
+ .pdm-build/
120
+
121
+ # pixi
122
+ # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
123
+ #pixi.lock
124
+ # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
125
+ # in the .venv directory. It is recommended not to include this directory in version control.
126
+ .pixi
127
+
128
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
129
+ __pypackages__/
130
+
131
+ # Celery stuff
132
+ celerybeat-schedule
133
+ celerybeat.pid
134
+
135
+ # SageMath parsed files
136
+ *.sage.py
137
+
138
+ # Environments
139
+ .env
140
+ .envrc
141
+ .venv
142
+ env/
143
+ venv/
144
+ ENV/
145
+ env.bak/
146
+ venv.bak/
147
+
148
+ # Spyder project settings
149
+ .spyderproject
150
+ .spyproject
151
+
152
+ # Rope project settings
153
+ .ropeproject
154
+
155
+ # mkdocs documentation
156
+ /site
157
+
158
+ # mypy
159
+ .mypy_cache/
160
+ .dmypy.json
161
+ dmypy.json
162
+
163
+ # Pyre type checker
164
+ .pyre/
165
+
166
+ # pytype static type analyzer
167
+ .pytype/
168
+
169
+ # Claude Code
170
+ .claude/
171
+
172
+ # Qwen AI Editor
173
+ .qwen/
174
+
175
+ # Backup files
176
+ *.bak
177
+
178
+ # Cython debug symbols
179
+ cython_debug/
180
+
181
+ # PyCharm
182
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
183
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
184
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
185
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
186
+ .idea/
187
+
188
+ # Abstra
189
+ # Abstra is an AI-powered process automation framework.
190
+ # Ignore directories containing user credentials, local state, and settings.
191
+ # Learn more at https://abstra.io/docs
192
+ .abstra/
193
+
194
+ # Visual Studio Code
195
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
196
+ # that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
197
+ # and can be added to the global gitignore or merged into this file. However, if you prefer,
198
+ # you could uncomment the following to ignore the entire vscode folder
199
+ # .vscode/
200
+
201
+ # Ruff stuff:
202
+ .ruff_cache/
203
+
204
+ # PyPI configuration file
205
+ .pypirc
206
+
207
+ # Cursor
208
+ # Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to
209
+ # exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
210
+ # refer to https://docs.cursor.com/context/ignore-files
211
+ .cursorignore
212
+ .cursorindexingignore
213
+
214
+ # Marimo
215
+ marimo/_static/
216
+ marimo/_lsp/
217
+ __marimo__/
218
+
219
+ # VSCode settings and extensions
220
+ .vscode/
221
+
222
+ # LLM4AD default workspace
223
+ runs/
224
+
225
+ tests/.tmp
226
+
227
+ # Local history (VS Code extension)
228
+ .history/
229
+
230
+ # MEoH test cache
231
+ .pytest_meoh/
232
+
233
+ # Slides
234
+ docs/slides/
235
+
236
+ # External repositories
237
+ openevolve-main/
238
+ refefence_superpowers/
@@ -0,0 +1,29 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2026, Huawei Technologies Co., Ltd. and City University of Hong Kong
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are met:
8
+
9
+ 1. Redistributions of source code must retain the above copyright notice, this
10
+ list of conditions and the following disclaimer.
11
+
12
+ 2. Redistributions in binary form must reproduce the above copyright notice,
13
+ this list of conditions and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
15
+
16
+ 3. Neither the name of the copyright holder nor the names of its
17
+ contributors may be used to endorse or promote products derived from
18
+ this software without specific prior written permission.
19
+
20
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,374 @@
1
+ Metadata-Version: 2.4
2
+ Name: llm4ad-next
3
+ Version: 1.0.0
4
+ Summary: Interactive LLM-driven automated algorithm design with evolutionary optimization
5
+ Project-URL: Homepage, https://github.com/Optima-CityU/LLM4AD_Next
6
+ Project-URL: Documentation, https://llm4ad.readthedocs.io
7
+ Project-URL: Repository, https://github.com/Optima-CityU/LLM4AD_Next
8
+ Project-URL: Issues, https://github.com/Optima-CityU/LLM4AD_Next/issues
9
+ Project-URL: Changelog, https://github.com/Optima-CityU/LLM4AD_Next/releases
10
+ Author: LLM4AD Contributors
11
+ Maintainer: LLM4AD Contributors
12
+ License: BSD-3-Clause
13
+ License-File: LICENSE
14
+ Keywords: ai,algorithm-design,automated-algorithm-design,code-generation,evolutionary-optimization,llm
15
+ Classifier: Development Status :: 3 - Alpha
16
+ Classifier: Environment :: Console
17
+ Classifier: Intended Audience :: Developers
18
+ Classifier: Intended Audience :: Science/Research
19
+ Classifier: License :: OSI Approved :: BSD License
20
+ Classifier: Operating System :: OS Independent
21
+ Classifier: Programming Language :: Python :: 3
22
+ Classifier: Programming Language :: Python :: 3.12
23
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
24
+ Classifier: Topic :: Software Development :: Code Generators
25
+ Requires-Python: >=3.12
26
+ Requires-Dist: agentscope<3.0,>=2.0
27
+ Requires-Dist: aiofiles>=25.1.0
28
+ Requires-Dist: aiohttp>=3.9.0
29
+ Requires-Dist: claude-agent-sdk
30
+ Requires-Dist: click>=8.3.1
31
+ Requires-Dist: inquirerpy>=0.3.4
32
+ Requires-Dist: loguru>=0.7.3
33
+ Requires-Dist: numpy>=2.2.6
34
+ Requires-Dist: openai>=2.26.0
35
+ Requires-Dist: pandas>=2.3.3
36
+ Requires-Dist: prompt-toolkit>=3.0.0
37
+ Requires-Dist: pydantic-settings>=2.0.0
38
+ Requires-Dist: pydantic>=2.0.0
39
+ Requires-Dist: pytest-custom-exit-code>=0.3.0
40
+ Requires-Dist: pyyaml>=6.0.3
41
+ Requires-Dist: rich<14.0.0,>=13.0.0
42
+ Requires-Dist: scikit-learn>=1.3.0
43
+ Requires-Dist: typer>=0.24.1
44
+ Requires-Dist: typing-extensions>=4.5.0
45
+ Requires-Dist: xgboost>=3.2.0
46
+ Provides-Extra: agent
47
+ Requires-Dist: agentscope<3.0,>=2.0; extra == 'agent'
48
+ Provides-Extra: all
49
+ Requires-Dist: anthropic>=0.19.0; extra == 'all'
50
+ Requires-Dist: black>=24.0.0; extra == 'all'
51
+ Requires-Dist: codebleu>=0.7.0; extra == 'all'
52
+ Requires-Dist: gymnasium[box2d]>=0.29.0; extra == 'all'
53
+ Requires-Dist: isort>=5.13.0; extra == 'all'
54
+ Requires-Dist: llvmlite==0.44.0; extra == 'all'
55
+ Requires-Dist: matplotlib>=3.5.0; extra == 'all'
56
+ Requires-Dist: mkdocs-git-committers-plugin-2>=2.5.0; extra == 'all'
57
+ Requires-Dist: mkdocs-git-revision-date-localized-plugin>=1.5.1; extra == 'all'
58
+ Requires-Dist: mkdocs-material>=9.5.0; extra == 'all'
59
+ Requires-Dist: mkdocs-minify-plugin>=0.8.0; extra == 'all'
60
+ Requires-Dist: mkdocs>=1.5.0; extra == 'all'
61
+ Requires-Dist: mkdocstrings[python]>=0.24.0; extra == 'all'
62
+ Requires-Dist: mypy>=1.8.0; extra == 'all'
63
+ Requires-Dist: numba==0.61.2; extra == 'all'
64
+ Requires-Dist: numpy>=1.24.0; extra == 'all'
65
+ Requires-Dist: openai>=1.0.0; extra == 'all'
66
+ Requires-Dist: pandas>=2.0.0; extra == 'all'
67
+ Requires-Dist: psutil>=5.9.0; extra == 'all'
68
+ Requires-Dist: pymoo>=0.6.1; extra == 'all'
69
+ Requires-Dist: pytest-asyncio>=0.23.0; extra == 'all'
70
+ Requires-Dist: pytest-cov>=4.1.0; extra == 'all'
71
+ Requires-Dist: pytest-custom-exit-code>=0.3.0; extra == 'all'
72
+ Requires-Dist: pytest>=8.0.0; extra == 'all'
73
+ Requires-Dist: ruff>=0.2.0; extra == 'all'
74
+ Requires-Dist: scikit-learn>=1.3.0; extra == 'all'
75
+ Requires-Dist: scipy>=1.10.0; extra == 'all'
76
+ Requires-Dist: sympy>=1.12.0; extra == 'all'
77
+ Requires-Dist: tiktoken>=0.6.0; extra == 'all'
78
+ Requires-Dist: tree-sitter-python==0.21.0; extra == 'all'
79
+ Requires-Dist: umap-learn>=0.5.12; extra == 'all'
80
+ Provides-Extra: dev
81
+ Requires-Dist: black>=24.0.0; extra == 'dev'
82
+ Requires-Dist: isort>=5.13.0; extra == 'dev'
83
+ Requires-Dist: mypy>=1.8.0; extra == 'dev'
84
+ Requires-Dist: pytest-asyncio>=0.23.0; extra == 'dev'
85
+ Requires-Dist: pytest-cov>=4.1.0; extra == 'dev'
86
+ Requires-Dist: pytest-custom-exit-code>=0.3.0; extra == 'dev'
87
+ Requires-Dist: pytest>=8.0.0; extra == 'dev'
88
+ Requires-Dist: ruff>=0.2.0; extra == 'dev'
89
+ Provides-Extra: docs
90
+ Requires-Dist: mkdocs-git-committers-plugin-2>=2.5.0; extra == 'docs'
91
+ Requires-Dist: mkdocs-git-revision-date-localized-plugin>=1.5.1; extra == 'docs'
92
+ Requires-Dist: mkdocs-material>=9.5.0; extra == 'docs'
93
+ Requires-Dist: mkdocs-minify-plugin>=0.8.0; extra == 'docs'
94
+ Requires-Dist: mkdocs>=1.5.0; extra == 'docs'
95
+ Requires-Dist: mkdocstrings[python]>=0.24.0; extra == 'docs'
96
+ Provides-Extra: dyca
97
+ Requires-Dist: numpy>=1.24.0; extra == 'dyca'
98
+ Requires-Dist: scikit-learn>=1.3.0; extra == 'dyca'
99
+ Provides-Extra: eval
100
+ Requires-Dist: llvmlite==0.44.0; extra == 'eval'
101
+ Requires-Dist: numba==0.61.2; extra == 'eval'
102
+ Requires-Dist: numpy>=1.24.0; extra == 'eval'
103
+ Requires-Dist: pandas>=2.0.0; extra == 'eval'
104
+ Requires-Dist: scipy>=1.10.0; extra == 'eval'
105
+ Requires-Dist: sympy>=1.12.0; extra == 'eval'
106
+ Requires-Dist: umap-learn>=0.5.12; extra == 'eval'
107
+ Provides-Extra: infra
108
+ Requires-Dist: psutil>=5.9.0; extra == 'infra'
109
+ Provides-Extra: lunarlander
110
+ Requires-Dist: gymnasium[box2d]>=0.29.0; extra == 'lunarlander'
111
+ Requires-Dist: matplotlib>=3.5.0; extra == 'lunarlander'
112
+ Provides-Extra: meoh
113
+ Requires-Dist: codebleu>=0.7.0; extra == 'meoh'
114
+ Requires-Dist: pymoo>=0.6.1; extra == 'meoh'
115
+ Requires-Dist: scikit-learn>=1.3.0; extra == 'meoh'
116
+ Requires-Dist: tree-sitter-python==0.21.0; extra == 'meoh'
117
+ Provides-Extra: providers
118
+ Requires-Dist: anthropic>=0.19.0; extra == 'providers'
119
+ Requires-Dist: openai>=1.0.0; extra == 'providers'
120
+ Requires-Dist: tiktoken>=0.6.0; extra == 'providers'
121
+ Provides-Extra: tsp
122
+ Requires-Dist: numpy>=1.24.0; extra == 'tsp'
123
+ Description-Content-Type: text/markdown
124
+
125
+ # LLM4AD_Next
126
+
127
+ <p align="center">
128
+ <strong>From problem description to runnable evolutionary algorithm search — in one command.</strong><br>
129
+ LLM-driven automated algorithm design with evolutionary optimization
130
+ </p>
131
+
132
+ <p align="center">
133
+ <a href="https://pypi.org/project/llm4ad-next/">
134
+ <img src="https://img.shields.io/pypi/v/llm4ad-next?color=blue" alt="PyPI Version">
135
+ </a>
136
+ <a href="https://pypi.org/project/llm4ad-next/">
137
+ <img src="https://img.shields.io/badge/python-3.12%2B-blue" alt="Python Versions">
138
+ </a>
139
+ <a href="https://github.com/Optima-CityU/LLM4AD_Next/blob/main/LICENSE">
140
+ <img src="https://img.shields.io/badge/license-BSD--3--Clause-blue" alt="License">
141
+ </a>
142
+ <a href="https://github.com/Optima-CityU/LLM4AD_Next/actions/workflows/ci.yml">
143
+ <img src="https://img.shields.io/github/actions/workflow/status/Optima-CityU/LLM4AD_Next/ci.yml" alt="CI">
144
+ </a>
145
+ </p>
146
+
147
+ ---
148
+
149
+ ## 🔥 News
150
+
151
+ - 🚀 [2026.07][New Release]: **LLM4AD_Next Online Trial** is now available at [https://llm4ad-next.cn/](https://llm4ad-next.cn/) — try the full problem-to-algorithm workflow directly in your browser with no local setup.
152
+ - ✨ [2026.07][New Feature]: Introducing an **interactive problem-to-project workflow** that turns natural-language problem descriptions into runnable evolutionary algorithm search projects.
153
+ - 🐳 [2026.07][New Feature]: Versioned **Docker Hub deployment images** are now aligned with GitHub Release tags for reproducible local deployment.
154
+
155
+ ## 🚀 Why LLM4AD_Next?
156
+
157
+ Traditionally, using Large Language Models for Automated Algorithm Design (LLM4AD) required a tedious, multi-step configuration pipeline. **LLM4AD_Next destroys this entry barrier.**
158
+
159
+ <div align="center">
160
+ <img src="docs/en/process.png" alt="LLM4AD vs LLM4AD_Next Process Overview" width="850">
161
+ </div>
162
+
163
+
164
+ With **LLM4AD_Next**, after creating your directory, all of these painful steps are fully automated through an interactive conversational terminal. Just run:
165
+
166
+ ```bash
167
+ uv run llm4ad chat
168
+ ```
169
+
170
+ Our built-in AI-powered consultant will interview you, instantly understand your requirements, and automatically generate a ready-to-run pipeline (evaluator, algorithm skeleton, configuration, and debugger) so you can leap straight into producing Useful Algorithms.
171
+
172
+ ## 🎯 Key Features Overview
173
+
174
+ * 🧠 **LLM-Powered Design** & 🧬 **Evolutionary Optimization** combined to automatically evolve top-performing code.
175
+ * 💬 **Interactive Configuration (`llm4ad chat`)** — Your conversational AI consultant that generates the entire runnable app framework.
176
+ * 🔍 **Evolve-Block Advisor & Recommender** — Point LLM4AD_Next at any repository, and it will scan, score, and recommend exactly *which* blocks of code are most promising to evolve to hit your goals.
177
+
178
+ ## Quick Start
179
+
180
+ <table>
181
+ <tr>
182
+ <td align="center" width="33%">
183
+ <strong>Try Online</strong><br>
184
+ </td>
185
+ <td align="center" width="33%">
186
+ <strong>Watch Instruction</strong><br>
187
+ </td>
188
+ <td align="center" width="33%">
189
+ <strong>Read Docs</strong><br>
190
+ </td>
191
+ </tr>
192
+ <tr>
193
+ <td align="center" width="33%">
194
+ Run LLM4AD_Next in your browser. No installation or API key required.
195
+ </td>
196
+ <td align="center" width="33%">
197
+ Watch the introduction before installing or configuring a local environment.
198
+ </td>
199
+ <td align="center" width="33%">
200
+ Use the documentation path map for setup, configuration, examples, and Web UI deployment.
201
+ </td>
202
+ </tr>
203
+ <tr>
204
+ <td align="center" width="33%">
205
+ <a href="https://llm4ad-next.cn/">
206
+ <img src="https://img.shields.io/badge/Launch%20Online%20Demo-Open%20Now-2ea44f?style=for-the-badge"
207
+ alt="Launch Online Demo">
208
+ </a>
209
+ </td>
210
+ <td align="center" width="33%">
211
+ <a href="https://youtu.be/x47kEosu0jk" target="_blank" rel="noopener noreferrer">
212
+ <img src="https://img.shields.io/badge/Watch%20Instruction-YouTube-FF0000?style=for-the-badge&logo=youtube&logoColor=white"
213
+ alt="Watch the instruction video on YouTube">
214
+ </a>
215
+ </td>
216
+ <td align="center" width="33%">
217
+ <a href="docs/en/index.md">
218
+ <img src="https://img.shields.io/badge/Open%20Documentation-Read%20Now-0969da?style=for-the-badge"
219
+ alt="Open Documentation">
220
+ </a>
221
+ </td>
222
+ </tr>
223
+ </table>
224
+
225
+ ## Instruction Video
226
+
227
+ <div align="center">
228
+ <a href="https://youtu.be/x47kEosu0jk" target="_blank" rel="noopener noreferrer">
229
+ <img src="https://img.youtube.com/vi/x47kEosu0jk/maxresdefault.jpg"
230
+ alt="LLM4AD_Next instruction video"
231
+ width="720"
232
+ height="405">
233
+ </a>
234
+ </div>
235
+
236
+
237
+ ## Run LLM4AD
238
+
239
+ ### Option A: Online Demo (No Installation Required)
240
+
241
+ Use the online demo from [Quick Start](#quick-start), or open it directly:
242
+ [Launch Online Demo](https://llm4ad-next.cn/).
243
+
244
+ No setup, no API key needed — just open the link and start designing algorithms.
245
+
246
+ ### Option B: Local Installation
247
+
248
+ Requires **Python 3.12+** (pinned in `.python-version`) and [uv](https://github.com/astral-sh/uv) (recommended) or pip. A plain `uv sync` sets up everything, including the `chatv2` AI build agent, out of the box.
249
+
250
+ ```bash
251
+ # Clone the repository
252
+ git clone https://github.com/Optima-CityU/LLM4AD_Next.git
253
+ cd LLM4AD_Next
254
+
255
+ # Install dependencies
256
+ uv sync
257
+
258
+ # Configure your LLM provider (see Global Settings section below)
259
+ # Or set environment variables directly:
260
+ export LLM_BASE_URL="https://api.openai.com/v1"
261
+ export LLM_API_KEY="your-api-key"
262
+ export LLM_MODEL="gpt-4o"
263
+
264
+ # Option 1: Interactive configuration (recommended for new users)
265
+ llm4ad chat
266
+
267
+ # Option 2: Run with an existing config file
268
+ llm4ad run examples/applications/tsp_benchmark_python/config.yaml
269
+ ```
270
+
271
+ For optional dependency groups (`infra`, `providers`, `eval`, `dev`, `docs`, `all`) and uv installation, see the [Installation Guide](docs/en/guides/installation.md).
272
+
273
+ ## Global Settings
274
+
275
+ Create `~/.llm4ad/settings.yaml` to configure shared providers across all projects:
276
+
277
+ ```yaml
278
+ providers:
279
+ - name: default
280
+ type: openai
281
+ api_key: ${OPENAI_API_KEY}
282
+ model: gpt-4o
283
+ - name: anthropic
284
+ type: anthropic
285
+ api_key: ${ANTHROPIC_API_KEY}
286
+ model: claude-sonnet-4-20250514
287
+ ```
288
+
289
+ Task configs then only need the provider name — credentials and model are resolved from global settings automatically.
290
+
291
+ For CLI commands, the interactive chat workflow, the Evolve-Block Advisor / Recommender, and the Python API, see the [Documentation](docs/en/index.md).
292
+
293
+ ## Documentation
294
+
295
+ - [Documentation Home](docs/en/index.md)
296
+ - [Quick Start Guide](docs/en/guides/quickstart.md)
297
+ - [Configuration Guide](docs/en/guides/configuration.md)
298
+ - [Writing Evaluators](docs/en/guides/evaluators.md)
299
+
300
+ ### Local Development
301
+
302
+ ```bash
303
+ # Serve documentation with live reload
304
+ mkdocs serve
305
+
306
+ # Build static documentation
307
+ mkdocs build
308
+ ```
309
+
310
+ ## Project Structure
311
+
312
+ ```
313
+ LLM4AD/
314
+ ├── src/llm4ad/ # Main source code
315
+ │ ├── config/ # Configuration schemas and global settings
316
+ │ ├── consultant/ # Interactive configuration wizard
317
+ │ ├── builder/ # Task builder (analyzer, creator, validator, writer)
318
+ │ ├── advisor/ # Evolve-block advisor and recommender
319
+ │ ├── provider/ # LLM provider implementations
320
+ │ ├── planner/ # Algorithm planning layer
321
+ │ ├── coder/ # Code generation layer
322
+ │ ├── evaluator/ # Evaluation layer
323
+ │ ├── orchestrator/ # Workflow orchestration
324
+ │ ├── infra/ # Infrastructure (Ray, monitoring)
325
+ │ └── utils/ # Utilities
326
+ ├── examples/ # Example configurations and applications
327
+ ├── tests/ # Test suite
328
+ └── docs/ # Documentation
329
+ ```
330
+
331
+ ## Contributing
332
+
333
+ Contributions are welcome! Please read our [Contributing Guide](docs/en/contributing/guidelines.md) for details.
334
+
335
+ ```bash
336
+ # Set up development environment
337
+ uv sync --extra all
338
+
339
+ # Run tests
340
+ pytest
341
+
342
+ # Format code
343
+ black src/ tests/
344
+ ruff check src/ tests/ --fix
345
+ ```
346
+
347
+ ## License
348
+
349
+ This project is licensed under the BSD 3-Clause License - see the [LICENSE](LICENSE) file for details.
350
+
351
+ ## Support
352
+
353
+ - [Documentation](docs/en/index.md)
354
+ - [Discussions](https://github.com/Optima-CityU/LLM4AD_Next/discussions)
355
+ - [Issue Tracker](https://github.com/Optima-CityU/LLM4AD_Next/issues)
356
+
357
+ ## Join the Community
358
+
359
+ Scan the QR code with WeChat to join the LLM4AD_Next community group.
360
+
361
+ <div align="center">
362
+ <img src="docs/assets/live-qr.png"
363
+ alt="LLM4AD_Next WeChat community QR code"
364
+ width="220">
365
+ </div>
366
+
367
+ ## Star History
368
+
369
+ <!-- star-history:start -->
370
+ <picture>
371
+ <source media="(prefers-color-scheme: dark)" srcset="docs/assets/star-history/star-history-dark-20260709034730.svg">
372
+ <img alt="Star history" src="docs/assets/star-history/star-history-light-20260709034730.svg">
373
+ </picture>
374
+ <!-- star-history:end -->