MCPcopy Create free account

hub / github.com/BillHuang2001/evogit / functions

Functions155 in github.com/BillHuang2001/evogit

↓ 14 callersFunctionarray_to_hex
(array)
evox_extension.py:20
↓ 11 callersFunctionhex_to_array
(hex_string)
evox_extension.py:24
↓ 5 callersMethod__init__
(self, config)
evox_extension.py:188
↓ 4 callersMethodquery
(self, seeds, queries)
python-impl/evogit/utils/llm.py:78
↓ 4 callersMethodstep
Perform the optimization step of the workflow.
experiments/evogit_algorithm.py:60
↓ 2 callersFunction_construct_prompt
A helper function to construct the prompt. Read the code and the related information (e.g. stack_trace) from the a list of commits. Then feed
python-impl/evogit/api.py:286
↓ 2 callersFunctioncleanup_temp_worktrees
(config: EvoGitConfig)
python-impl/evogit/api.py:118
↓ 2 callersFunctionconfig_merge_driver
(config: EvoGitConfig)
python-impl/evogit/utils/git.py:155
↓ 2 callersMethodevaluate
(self, state, X)
config/evox_main.py:81
↓ 2 callersFunctionget_commit_by_branch
( config: EvoGitConfig, branch: str, worktree: Optional[str] = None )
python-impl/evogit/utils/git.py:173
↓ 2 callersFunctiongit_update
(config, generation)
evox_extension.py:48
↓ 2 callersFunctionlist_remote_notes_namespaces
List all the remote notes namespaces.
python-impl/evogit/utils/git.py:835
↓ 2 callersFunctionprepare_temp_worktrees
(config: EvoGitConfig, commits: list[str])
python-impl/evogit/api.py:113
↓ 2 callersFunctionupdate_branches
(config, pop)
evox_extension.py:42
↓ 1 callersMethod__init__
There are two ways to contruct a TSP problem. 1. Using a list of cities' coordinates. 2. Using a dist_matrix
config/evox_main.py:67
↓ 1 callersFunction_construct_diff_comp_prompt
A helper function to construct the prompt. Read the code and the related information (e.g. stack_trace) from the a list of commits. Then feed
python-impl/evogit/api.py:580
↓ 1 callersFunction_flatten_tree_view
(tree_view: str)
python-impl/evogit/utils/prompt.py:115
↓ 1 callersFunction_gather_info
(config, commits)
python-impl/evogit/api.py:353
↓ 1 callersFunction_generate_random_section
Generate a random section of the code, 64 - 128 lines long
python-impl/evogit/api.py:343
↓ 1 callersMethod_one_restful_request
(self, args)
python-impl/evogit/utils/llm.py:52
↓ 1 callersFunctioncall_concorde
(cities, distance)
config/evox_main.py:33
↓ 1 callersFunctioncheckout
Checkout the specified commit.
python-impl/evogit/utils/git.py:519
↓ 1 callersMethodcrossover
(self, parents)
experiments/evogit_algorithm.py:47
↓ 1 callersFunctiondecode_result
(output, illegal_value)
python-impl/evogit/api.py:181
↓ 1 callersFunctiondelete_remote_branches
(config: EvoGitConfig)
python-impl/evogit/utils/git.py:51
↓ 1 callersFunctiondelete_remote_notes
(config: EvoGitConfig)
python-impl/evogit/utils/git.py:70
↓ 1 callersFunctionevaluate
(config, pool, pop)
evox_extension.py:228
↓ 1 callersFunctionevogit_crossover
(config, pop)
evox_extension.py:99
↓ 1 callersFunctionevogit_git_crossover
(config, pop)
evox_extension.py:59
↓ 1 callersFunctionevogit_llm_crossover
(config, llm_backend, seeds, pop)
evox_extension.py:123
↓ 1 callersFunctionevogit_llm_mutation
(config, llm_backend, seeds, pop)
evox_extension.py:114
↓ 1 callersFunctionevogit_mutation
(config, llm_backend, pop)
evox_extension.py:91
↓ 1 callersFunctionextract_class_signature
(node, code)
python-impl/evogit/utils/prompt.py:30
↓ 1 callersFunctionextract_function_signature
(node, code)
python-impl/evogit/utils/prompt.py:19
↓ 1 callersFunctionfetch_from_remote
Fetch the notes from the remote repository.
python-impl/evogit/utils/git.py:808
↓ 1 callersFunctionfetch_notes_from_remote
Fetch the notes from the remote repository.
python-impl/evogit/utils/git.py:859
↓ 1 callersFunctionget_linter_feedback
(project_path: str, project_type: str, async_run: bool = False)
python-impl/evogit/utils/prompt.py:152
↓ 1 callersFunctionget_nextjs_feedback
Get ESLint feedback for the project. If async_run is True, run ESLint in the background and return the handler. Otherwise, run ESLint synchron
python-impl/evogit/utils/prompt.py:159
↓ 1 callersFunctionget_python_feedback
Run Ruff to get lint feedback for the python project. If async_run is True, run Ruff in the background and return the handler. Otherwise, run
python-impl/evogit/utils/prompt.py:186
↓ 1 callersFunctiongit_crossover
(config, pop)
evox_extension.py:85
↓ 1 callersFunctiongit_merge
(config: EvoGitConfig, commit1: str, commit2: str)
python-impl/evogit/api.py:235
↓ 1 callersFunctiongit_rebase
(config: EvoGitConfig, commit1: str, commit2: str)
python-impl/evogit/api.py:255
↓ 1 callersFunctionhas_staged_changes
Check if there are staged changes in the specified worktree.
python-impl/evogit/utils/git.py:902
↓ 1 callersFunctioninit_population
(config, pop_size)
evox_extension.py:301
↓ 1 callersFunctionis_normal_branch
(branch)
python-impl/evogit/utils/git.py:233
↓ 1 callersFunctionlist_branches
List all branches in this repo. Parameters ---------- list_remote: If True, list the remote branches. Otherwise, list the local br
python-impl/evogit/utils/git.py:200
↓ 1 callersFunctionllm_crossover
(config, llm_backend, pop)
evox_extension.py:138
↓ 1 callersFunctionllm_mutation
(config, llm_backend, pop)
evox_extension.py:132
↓ 1 callersFunctionload_vectors
(config: EvoGitConfig, commits: list[str])
python-impl/evogit/api.py:500
↓ 1 callersMethodmutation
(self, pop)
experiments/evogit_algorithm.py:53
↓ 1 callersFunctionpopulation_is_correct
(population)
config/evox_main.py:29
↓ 1 callersFunctionread_file
Read the content of the file in the specified commit.
python-impl/evogit/utils/git.py:461
↓ 1 callersFunctionvalid_plan
(data, plan)
config/bin_packing_main.py:23
↓ 1 callersFunctionvisit
(node, parent_hierarchy=None)
python-impl/evogit/utils/prompt.py:49
Method__enter__
(self)
config/bin_packing_main.py:11
Method__exit__
(self, exc_type, exc_val, exc_tb)
config/bin_packing_main.py:15
Method__hash__
(self)
python-impl/evogit/config.py:40
Method__init__
(self, config)
evox_extension.py:173
Method__init__
(self, config)
evox_extension.py:208
Method__init__
(self, config)
evox_extension.py:256
Method__init__
(self, config)
evox_extension.py:271
Method__init__
(self, config)
evox_extension.py:290
Method__init__
(self, config)
evox_extension.py:308
Method__init__
( self, config, pop_size: int, crossover_every: int, device: torch.dev
experiments/evogit_algorithm.py:16
Method__init__
Parameters ---------- url The URL of the TGI API. http_req_params Additional HTTP request par
python-impl/evogit/utils/llm.py:16
Method__init__
(self, num_cities, num_offspring)
config/evox_main.py:90
Method_assert
(self, all_valid)
config/evox_main.py:103
Method_calc_exact_solution
(self)
config/evox_main.py:84
Method_sum_distance
(self, x)
config/evox_main.py:75
Functionadd_file_in_worktree
( config: EvoGitConfig, worktree: str, new_content: Union[str, bytes], file_path: str, )
python-impl/evogit/utils/git.py:363
Functionadd_note
Add a note to the current commit. If overwrite is True, force overwrite the existing note.
python-impl/evogit/utils/git.py:274
Functionadd_temp_worktree
checkout the branch in a new worktree and return the path of the worktree.
python-impl/evogit/utils/git.py:531
Functionappend_note
Append a note to the current commit.
python-impl/evogit/utils/git.py:299
Functionbatch_read_files
(config: EvoGitConfig, commits: list[str])
python-impl/evogit/utils/git.py:478
Functionbranches_track_commits
Create branches that track the specified commits.
python-impl/evogit/utils/git.py:654
Functioncleanup_temp_worktrees
Remove all the worktrees in the .phylox_evaluate directory.
python-impl/evogit/utils/git.py:562
Functionclone_git_repo
(config: EvoGitConfig)
python-impl/evogit/utils/git.py:133
Functioncommit_changes_in_worktree
Commit the changes in the specified worktree. Assume that the changes are already staged.
python-impl/evogit/utils/git.py:388
Functioncontinue_merge
Continue the merge process.
python-impl/evogit/utils/git.py:600
Functioncontinue_rebase
Continue the rebase process.
python-impl/evogit/utils/git.py:612
Functioncount_conflicts
Count the number of conflicts in the current working directory.
python-impl/evogit/utils/git.py:494
Functioncreate_git_dir
(git_dir, force_create=False)
python-impl/evogit/utils/git.py:31
Functiondelete_tags
Delete the specified tags.
python-impl/evogit/utils/git.py:264
Functiondiff_prompt_constructor
(file_list, diff, prev_note, new_note)
experiments/evogit_llm_main.py:120
Functiondiff_prompt_constructor
(file_list, diff, prev_note, new_note)
experiments/evogit_web_main.py:125
Functiondiff_view
View the diff between two commits.
python-impl/evogit/utils/git.py:882
Methoddo
(self, parents)
evox_extension.py:182
Methoddo
(self, pop)
evox_extension.py:201
Methoddo
(self, pop)
evox_extension.py:222
Methodevaluate
(self, pop)
evox_extension.py:265
Methodevaluate
(self, pop)
evox_extension.py:276
Methodevaluate
(self, pop)
evox_extension.py:294
Functionevaluate_code
Evaluate the the result of the individual. This function can be run in parallel. Parameters ---------- codegen_dir The directory
python-impl/evogit/api.py:122
Functionextract_signatures
(code, language)
python-impl/evogit/utils/prompt.py:42
Functionfast_forwardness
Check if commit1 is able to fast-forward to commit2. Return True if it is able to fast-forward.
python-impl/evogit/utils/git.py:673
Functionfetch_remote
Fetch remote branches and notes
python-impl/evogit/api.py:104
Functionget_commit_by_tag
( config: EvoGitConfig, tag: str, worktree: Optional[str] = None )
python-impl/evogit/utils/git.py:189
Functionget_initial_branches
Get the initial branches with a simple strategy. 1. Try to load the existing branches from the local repository. Existing branches are the
python-impl/evogit/api.py:57
Functionget_language_by_extension
Get the appropriate language parser based on file extension.
python-impl/evogit/utils/prompt.py:140
Functionget_lower_bound
(config)
evox_extension.py:38
next →1–100 of 155, ranked by callers