MCPcopy Create free account

hub / github.com/BillHuang2001/evogit / functions

Functions155 in github.com/BillHuang2001/evogit

Functionget_source_files
(root_dir, extensions=(".js", ".jsx", ".html"))
python-impl/evogit/utils/prompt.py:15
Functionget_upper_bound
(config)
evox_extension.py:34
Functiongit_crossover
crossover between commit1 and commit2
python-impl/evogit/api.py:221
Functionhandle_conflict
Handle the conflict by accept ours or theirs. The strategy is a list of bool values, where True means accepting ours, and False means accepting th
python-impl/evogit/utils/git.py:625
Functionhandle_one_conflict
(match)
python-impl/evogit/utils/git.py:640
Functionhas_conflict
Return True if the current working directory has conflicts. Otherwise, return False.
python-impl/evogit/utils/git.py:482
Methodhooks
(self)
config/evox_main.py:95
Functioninit_git_repo
(config: EvoGitConfig)
python-impl/evogit/utils/git.py:91
Functioninit_repo
Initialize the git repository Parameters ---------- config The configuration object. origin "local" or "remote"
python-impl/evogit/api.py:20
Functionis_correct_permutation
(x)
config/evox_main.py:21
Functionis_novel_merge
Check if the merge of commit1 and commit2 is novel, that is, A and B are not ancestor of each other.
python-impl/evogit/api.py:213
Functionl2_distance
(city1, city2)
config/evox_main.py:16
Functionlint_code_base
Lint the code base. The result will be written to the git notes as well as returning it.
python-impl/evogit/api.py:632
Functionlist_conflict_files
List all the files that have conflicts in the current working directory.
python-impl/evogit/utils/git.py:505
Functionlist_files
List all the files in the specified commit.
python-impl/evogit/utils/git.py:917
Functionlist_tags
List all tags in this repo.
python-impl/evogit/utils/git.py:251
Functionllm_constrained_mutation
Randomly select a file and a section within the file and let the llm to mutate the code.
python-impl/evogit/api.py:416
Functionllm_crossover
(config, llm_backend, seeds, commits)
python-impl/evogit/api.py:486
Functionllm_diff_compare
Return True if the change from prev_commit to new_commit is good, and False otherwise. If the prev_commit and new_commit are the same commit, retu
python-impl/evogit/api.py:596
Functionllm_mutation
(config, llm_backend, seeds, commits)
python-impl/evogit/api.py:329
Functionload_vectors
(config, pop)
evox_extension.py:146
Functionmerge_branches
merge the commit specified by the commit_id to the current branch.
python-impl/evogit/utils/git.py:575
Functionmerge_notes
Merge the notes from the remote repository.
python-impl/evogit/utils/git.py:849
Methodmigrate_from_human
(self)
evox_extension.py:313
Functionmigrate_from_human_tags
Return migration candidates from human tags. The migrate_count set the upper limit of the number of candidates.
python-impl/evogit/api.py:538
Functionmigrate_from_other_hosts
Return migration candidates from other hosts. The migration_count set the upper limit of the number of candidates.
python-impl/evogit/api.py:548
Methodmigrate_from_other_hosts
(self)
evox_extension.py:325
Functionmut_func
(x)
evox_extension.py:155
Functionpairwise_distances
Calculate the pairwise distances between the commits. Return a matrix where the element at (i, j) is the distance between commit i and commit j.
python-impl/evogit/utils/git.py:684
Functionpairwise_shared_merge_base_distances
Calculate the pairwise distances from the merge bases to the initial commits.
python-impl/evogit/utils/git.py:710
Methodpost_ask
(self, state, cand_sol)
config/evox_main.py:98
Functionprepare_llm_backend
(llm_name: str, *args, **kwargs)
python-impl/evogit/api.py:272
Functionproject_tree_view
Get a tree view of the project structure.
python-impl/evogit/utils/prompt.py:96
Functionprompt_constructor
(file_list, filename, prompt_code, lint_output)
experiments/evogit_llm_main.py:60
Functionprompt_constructor
(file_list, filename, prompt_code, lint_output)
experiments/evogit_web_main.py:60
Functionproxy_vector_mutation
(config, pop)
evox_extension.py:152
Functionprune
Run git prune.
python-impl/evogit/utils/git.py:937
Functionprune_commits
Prune the commits that are reachable.
python-impl/evogit/api.py:575
Functionpush_local_branches
Push all branches to the remote
python-impl/evogit/api.py:94
Functionpush_notes_to_remote
Push the notes to the remote repository.
python-impl/evogit/utils/git.py:777
Functionpush_to_remote
Push the branch to the remote repository along side with the notes.
python-impl/evogit/utils/git.py:752
Functionrandom_sample_file
Randomly sample a file from the project.
python-impl/evogit/utils/prompt.py:132
Functionread_head_commit
Read the commit id of the current HEAD.
python-impl/evogit/utils/git.py:195
Functionread_note
Read the note of the specified commit. If commit is None, read the note of the current HEAD. Return None if the note does not exist.
python-impl/evogit/utils/git.py:314
Functionrebase_branches
rebase the current branch on the commit specified by the commit_id.
python-impl/evogit/utils/git.py:586
Methodrecord_step
(self)
experiments/evogit_algorithm.py:83
Functionremove_temp_worktree
Remove the worktree of the branch.
python-impl/evogit/utils/git.py:553
Functionrespond_extractor
(response: str)
experiments/evogit_llm_main.py:86
Functionrespond_extractor
(response: str)
experiments/evogit_web_main.py:86
Functionupdate_branches
The branches are used to track the current state of the population
python-impl/evogit/api.py:46
Functionupdate_file
Update the content of the file in the specified commit_id and commit the updated file. new_content can be either a string or bytes, when it is
python-impl/evogit/utils/git.py:421
Functionupdate_file_in_worktree
Update the content of the file in the specified worktree, then commit the updated file.
python-impl/evogit/utils/git.py:335
Functionupdate_notes
( config: EvoGitConfig, commits: list[str], evaluate_results: list[str] )
python-impl/evogit/api.py:205
Functionvector_direct_crossover
(config: EvoGitConfig, seed: int, commits: list[str])
python-impl/evogit/api.py:527
Functionvector_mutation
Mutation of the individual
python-impl/evogit/api.py:511
← previous101–155 of 155, ranked by callers