Initialize the solver and get an initial set of papers and a return @return: None
(self)
| 304 | return model_resp, cmd_str |
| 305 | |
| 306 | def initial_solve(self): |
| 307 | """ |
| 308 | Initialize the solver and get an initial set of papers and a return |
| 309 | @return: None |
| 310 | """ |
| 311 | # @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
| 312 | # @@ Initial PaperGen Commands @@ |
| 313 | # @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
| 314 | self.best_score = None |
| 315 | self.commands = [PaperReplace(self.save_loc)] |
| 316 | self.model = f"{self.llm_str}" |
| 317 | init_report, init_return, self.best_score = self.gen_initial_report() |
| 318 | self.best_report = [(copy(init_report), self.best_score, init_return) for _ in range(1)] |
| 319 | |
| 320 | self.paper_lines = init_report |
| 321 | self.model = f"{self.llm_str}" |
| 322 | self.commands = [PaperEdit(self.save_loc)] #, Replace()] |
| 323 | self.prev_working_report = copy(self.paper_lines) |
| 324 | |
| 325 | @staticmethod |
| 326 | def clean_text(text): |
no test coverage detected