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
↓ 14 callers
Function
array_to_hex
(array)
evox_extension.py:20
↓ 11 callers
Function
hex_to_array
(hex_string)
evox_extension.py:24
↓ 5 callers
Method
__init__
(self, config)
evox_extension.py:188
↓ 4 callers
Method
query
(self, seeds, queries)
python-impl/evogit/utils/llm.py:78
↓ 4 callers
Method
step
Perform the optimization step of the workflow.
experiments/evogit_algorithm.py:60
↓ 2 callers
Function
_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 callers
Function
cleanup_temp_worktrees
(config: EvoGitConfig)
python-impl/evogit/api.py:118
↓ 2 callers
Function
config_merge_driver
(config: EvoGitConfig)
python-impl/evogit/utils/git.py:155
↓ 2 callers
Method
evaluate
(self, state, X)
config/evox_main.py:81
↓ 2 callers
Function
get_commit_by_branch
( config: EvoGitConfig, branch: str, worktree: Optional[str] = None )
python-impl/evogit/utils/git.py:173
↓ 2 callers
Function
git_update
(config, generation)
evox_extension.py:48
↓ 2 callers
Function
list_remote_notes_namespaces
List all the remote notes namespaces.
python-impl/evogit/utils/git.py:835
↓ 2 callers
Function
prepare_temp_worktrees
(config: EvoGitConfig, commits: list[str])
python-impl/evogit/api.py:113
↓ 2 callers
Function
update_branches
(config, pop)
evox_extension.py:42
↓ 1 callers
Method
__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 callers
Function
_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 callers
Function
_flatten_tree_view
(tree_view: str)
python-impl/evogit/utils/prompt.py:115
↓ 1 callers
Function
_gather_info
(config, commits)
python-impl/evogit/api.py:353
↓ 1 callers
Function
_generate_random_section
Generate a random section of the code, 64 - 128 lines long
python-impl/evogit/api.py:343
↓ 1 callers
Method
_one_restful_request
(self, args)
python-impl/evogit/utils/llm.py:52
↓ 1 callers
Function
call_concorde
(cities, distance)
config/evox_main.py:33
↓ 1 callers
Function
checkout
Checkout the specified commit.
python-impl/evogit/utils/git.py:519
↓ 1 callers
Method
crossover
(self, parents)
experiments/evogit_algorithm.py:47
↓ 1 callers
Function
decode_result
(output, illegal_value)
python-impl/evogit/api.py:181
↓ 1 callers
Function
delete_remote_branches
(config: EvoGitConfig)
python-impl/evogit/utils/git.py:51
↓ 1 callers
Function
delete_remote_notes
(config: EvoGitConfig)
python-impl/evogit/utils/git.py:70
↓ 1 callers
Function
evaluate
(config, pool, pop)
evox_extension.py:228
↓ 1 callers
Function
evogit_crossover
(config, pop)
evox_extension.py:99
↓ 1 callers
Function
evogit_git_crossover
(config, pop)
evox_extension.py:59
↓ 1 callers
Function
evogit_llm_crossover
(config, llm_backend, seeds, pop)
evox_extension.py:123
↓ 1 callers
Function
evogit_llm_mutation
(config, llm_backend, seeds, pop)
evox_extension.py:114
↓ 1 callers
Function
evogit_mutation
(config, llm_backend, pop)
evox_extension.py:91
↓ 1 callers
Function
extract_class_signature
(node, code)
python-impl/evogit/utils/prompt.py:30
↓ 1 callers
Function
extract_function_signature
(node, code)
python-impl/evogit/utils/prompt.py:19
↓ 1 callers
Function
fetch_from_remote
Fetch the notes from the remote repository.
python-impl/evogit/utils/git.py:808
↓ 1 callers
Function
fetch_notes_from_remote
Fetch the notes from the remote repository.
python-impl/evogit/utils/git.py:859
↓ 1 callers
Function
get_linter_feedback
(project_path: str, project_type: str, async_run: bool = False)
python-impl/evogit/utils/prompt.py:152
↓ 1 callers
Function
get_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 callers
Function
get_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 callers
Function
git_crossover
(config, pop)
evox_extension.py:85
↓ 1 callers
Function
git_merge
(config: EvoGitConfig, commit1: str, commit2: str)
python-impl/evogit/api.py:235
↓ 1 callers
Function
git_rebase
(config: EvoGitConfig, commit1: str, commit2: str)
python-impl/evogit/api.py:255
↓ 1 callers
Function
has_staged_changes
Check if there are staged changes in the specified worktree.
python-impl/evogit/utils/git.py:902
↓ 1 callers
Function
init_population
(config, pop_size)
evox_extension.py:301
↓ 1 callers
Function
is_normal_branch
(branch)
python-impl/evogit/utils/git.py:233
↓ 1 callers
Function
list_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 callers
Function
llm_crossover
(config, llm_backend, pop)
evox_extension.py:138
↓ 1 callers
Function
llm_mutation
(config, llm_backend, pop)
evox_extension.py:132
↓ 1 callers
Function
load_vectors
(config: EvoGitConfig, commits: list[str])
python-impl/evogit/api.py:500
↓ 1 callers
Method
mutation
(self, pop)
experiments/evogit_algorithm.py:53
↓ 1 callers
Function
population_is_correct
(population)
config/evox_main.py:29
↓ 1 callers
Function
read_file
Read the content of the file in the specified commit.
python-impl/evogit/utils/git.py:461
↓ 1 callers
Function
valid_plan
(data, plan)
config/bin_packing_main.py:23
↓ 1 callers
Function
visit
(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
Function
add_file_in_worktree
( config: EvoGitConfig, worktree: str, new_content: Union[str, bytes], file_path: str, )
python-impl/evogit/utils/git.py:363
Function
add_note
Add a note to the current commit. If overwrite is True, force overwrite the existing note.
python-impl/evogit/utils/git.py:274
Function
add_temp_worktree
checkout the branch in a new worktree and return the path of the worktree.
python-impl/evogit/utils/git.py:531
Function
append_note
Append a note to the current commit.
python-impl/evogit/utils/git.py:299
Function
batch_read_files
(config: EvoGitConfig, commits: list[str])
python-impl/evogit/utils/git.py:478
Function
branches_track_commits
Create branches that track the specified commits.
python-impl/evogit/utils/git.py:654
Function
cleanup_temp_worktrees
Remove all the worktrees in the .phylox_evaluate directory.
python-impl/evogit/utils/git.py:562
Function
clone_git_repo
(config: EvoGitConfig)
python-impl/evogit/utils/git.py:133
Function
commit_changes_in_worktree
Commit the changes in the specified worktree. Assume that the changes are already staged.
python-impl/evogit/utils/git.py:388
Function
continue_merge
Continue the merge process.
python-impl/evogit/utils/git.py:600
Function
continue_rebase
Continue the rebase process.
python-impl/evogit/utils/git.py:612
Function
count_conflicts
Count the number of conflicts in the current working directory.
python-impl/evogit/utils/git.py:494
Function
create_git_dir
(git_dir, force_create=False)
python-impl/evogit/utils/git.py:31
Function
delete_tags
Delete the specified tags.
python-impl/evogit/utils/git.py:264
Function
diff_prompt_constructor
(file_list, diff, prev_note, new_note)
experiments/evogit_llm_main.py:120
Function
diff_prompt_constructor
(file_list, diff, prev_note, new_note)
experiments/evogit_web_main.py:125
Function
diff_view
View the diff between two commits.
python-impl/evogit/utils/git.py:882
Method
do
(self, parents)
evox_extension.py:182
Method
do
(self, pop)
evox_extension.py:201
Method
do
(self, pop)
evox_extension.py:222
Method
evaluate
(self, pop)
evox_extension.py:265
Method
evaluate
(self, pop)
evox_extension.py:276
Method
evaluate
(self, pop)
evox_extension.py:294
Function
evaluate_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
Function
extract_signatures
(code, language)
python-impl/evogit/utils/prompt.py:42
Function
fast_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
Function
fetch_remote
Fetch remote branches and notes
python-impl/evogit/api.py:104
Function
get_commit_by_tag
( config: EvoGitConfig, tag: str, worktree: Optional[str] = None )
python-impl/evogit/utils/git.py:189
Function
get_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
Function
get_language_by_extension
Get the appropriate language parser based on file extension.
python-impl/evogit/utils/prompt.py:140
Function
get_lower_bound
(config)
evox_extension.py:38
next →
1–100 of 155, ranked by callers