Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BillHuang2001/evogit
/ functions
Functions
155 in github.com/BillHuang2001/evogit
⨍
Functions
155
◇
Types & classes
15
Function
get_source_files
(root_dir, extensions=(".js", ".jsx", ".html"))
python-impl/evogit/utils/prompt.py:15
Function
get_upper_bound
(config)
evox_extension.py:34
Function
git_crossover
crossover between commit1 and commit2
python-impl/evogit/api.py:221
Function
handle_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
Function
handle_one_conflict
(match)
python-impl/evogit/utils/git.py:640
Function
has_conflict
Return True if the current working directory has conflicts. Otherwise, return False.
python-impl/evogit/utils/git.py:482
Method
hooks
(self)
config/evox_main.py:95
Function
init_git_repo
(config: EvoGitConfig)
python-impl/evogit/utils/git.py:91
Function
init_repo
Initialize the git repository Parameters ---------- config The configuration object. origin "local" or "remote"
python-impl/evogit/api.py:20
Function
is_correct_permutation
(x)
config/evox_main.py:21
Function
is_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
Function
l2_distance
(city1, city2)
config/evox_main.py:16
Function
lint_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
Function
list_conflict_files
List all the files that have conflicts in the current working directory.
python-impl/evogit/utils/git.py:505
Function
list_files
List all the files in the specified commit.
python-impl/evogit/utils/git.py:917
Function
list_tags
List all tags in this repo.
python-impl/evogit/utils/git.py:251
Function
llm_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
Function
llm_crossover
(config, llm_backend, seeds, commits)
python-impl/evogit/api.py:486
Function
llm_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
Function
llm_mutation
(config, llm_backend, seeds, commits)
python-impl/evogit/api.py:329
Function
load_vectors
(config, pop)
evox_extension.py:146
Function
merge_branches
merge the commit specified by the commit_id to the current branch.
python-impl/evogit/utils/git.py:575
Function
merge_notes
Merge the notes from the remote repository.
python-impl/evogit/utils/git.py:849
Method
migrate_from_human
(self)
evox_extension.py:313
Function
migrate_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
Function
migrate_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
Method
migrate_from_other_hosts
(self)
evox_extension.py:325
Function
mut_func
(x)
evox_extension.py:155
Function
pairwise_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
Function
pairwise_shared_merge_base_distances
Calculate the pairwise distances from the merge bases to the initial commits.
python-impl/evogit/utils/git.py:710
Method
post_ask
(self, state, cand_sol)
config/evox_main.py:98
Function
prepare_llm_backend
(llm_name: str, *args, **kwargs)
python-impl/evogit/api.py:272
Function
project_tree_view
Get a tree view of the project structure.
python-impl/evogit/utils/prompt.py:96
Function
prompt_constructor
(file_list, filename, prompt_code, lint_output)
experiments/evogit_llm_main.py:60
Function
prompt_constructor
(file_list, filename, prompt_code, lint_output)
experiments/evogit_web_main.py:60
Function
proxy_vector_mutation
(config, pop)
evox_extension.py:152
Function
prune
Run git prune.
python-impl/evogit/utils/git.py:937
Function
prune_commits
Prune the commits that are reachable.
python-impl/evogit/api.py:575
Function
push_local_branches
Push all branches to the remote
python-impl/evogit/api.py:94
Function
push_notes_to_remote
Push the notes to the remote repository.
python-impl/evogit/utils/git.py:777
Function
push_to_remote
Push the branch to the remote repository along side with the notes.
python-impl/evogit/utils/git.py:752
Function
random_sample_file
Randomly sample a file from the project.
python-impl/evogit/utils/prompt.py:132
Function
read_head_commit
Read the commit id of the current HEAD.
python-impl/evogit/utils/git.py:195
Function
read_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
Function
rebase_branches
rebase the current branch on the commit specified by the commit_id.
python-impl/evogit/utils/git.py:586
Method
record_step
(self)
experiments/evogit_algorithm.py:83
Function
remove_temp_worktree
Remove the worktree of the branch.
python-impl/evogit/utils/git.py:553
Function
respond_extractor
(response: str)
experiments/evogit_llm_main.py:86
Function
respond_extractor
(response: str)
experiments/evogit_web_main.py:86
Function
update_branches
The branches are used to track the current state of the population
python-impl/evogit/api.py:46
Function
update_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
Function
update_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
Function
update_notes
( config: EvoGitConfig, commits: list[str], evaluate_results: list[str] )
python-impl/evogit/api.py:205
Function
vector_direct_crossover
(config: EvoGitConfig, seed: int, commits: list[str])
python-impl/evogit/api.py:527
Function
vector_mutation
Mutation of the individual
python-impl/evogit/api.py:511
← previous
101–155 of 155, ranked by callers