MCPcopy Create free account

hub / github.com/JetBrains-Research/lca-baselines / functions

Functions3,518 in github.com/JetBrains-Research/lca-baselines

↓ 5 callersMethodbuild
(self)
library_based_code_generation/results/bm25/codellama/CodeLlama-7b-Instruct-hf/23.py:114
↓ 5 callersMethodcount_messages_tokens
Estimates the number of tokens for a given list of messages. Note: Currently, for some agents (e.g., OpenAI) the returned number might be sli
bug_localization/src/utils/tokenization_utils.py:143
↓ 5 callersMethodcreate_mesh
(self)
library_based_code_generation/results/bm25/mistralai/Mistral-7B-Instruct-v0.3/138.py:22
↓ 5 callersFunctioncreate_stub_as
(name, network, internet_exchange, web_server=False)
library_based_code_generation/results/codellama/CodeLlama-7b-Instruct-hf/106.py:6
↓ 5 callersFunctioncreate_tor_node
(node_type)
library_based_code_generation/results/bm25/mistralai/Mistral-7B-Instruct-v0.3/119.py:13
↓ 5 callersMethoddistribute_workers
(self)
library_based_code_generation/results/mistralai/Mistral-7B-Instruct-v0.3/93.py:20
↓ 5 callersMethodget_focus
(self)
library_based_code_generation/results/gpt-4-0125-preview/142.py:11
↓ 5 callersFunctionload_config
(file_path)
module_summarization/utils/files_utils.py:4
↓ 5 callersFunctionload_planet
(name)
library_based_code_generation/results/mistralai/Mistral-7B-Instruct-v0.3/29.py:13
↓ 5 callersMethodmake_query
(self, query_string: str)
library_based_code_generation/src/context/parsed_file.py:102
↓ 5 callersFunctionmenu_button
(caption, callback)
library_based_code_generation/results/gpt-4-0125-preview/6.py:4
↓ 5 callersMethodopen_box
(self, box)
library_based_code_generation/results/gpt-4-0125-preview/6.py:73
↓ 5 callersFunctionparse_changed_files_from_diff
Parse change file names from diff :param diff_str: diff in string format gather from `get_git_diff_between_commits` :return: list of chan
bug_localization/src/utils/git_utils.py:89
↓ 5 callersMethodpredict
(self, texts)
library_based_code_generation/results/bm25/gpt-4-0125-preview/71.py:47
↓ 5 callersMethodpredict
(self, input_ids, attention_mask)
library_based_code_generation/results/bm25/mistralai/Mistral-7B-Instruct-v0.3/71.py:23
↓ 5 callersMethodprint_selected_nodes
(self)
library_based_code_generation/results/bm25/mistralai/Mistral-7B-Instruct-v0.3/23.py:26
↓ 5 callersFunctionrun
(show_plots)
library_based_code_generation/results/gpt-3.5-turbo-0125/36.py:6
↓ 5 callersMethodsetData
(self, nodes, edges)
library_based_code_generation/results/mistralai/Mixtral-8x7B-Instruct-v0.1/49.py:14
↓ 5 callersMethodset_focus
(self, focus)
library_based_code_generation/results/bm25/gpt-4-0125-preview/142.py:13
↓ 5 callersMethodset_layout_direction
(self, direction)
library_based_code_generation/results/bm25/mistralai/Mistral-7B-Instruct-v0.3/128.py:20
↓ 5 callersMethodset_pipe_style
(self, style)
library_based_code_generation/results/mistralai/Mistral-7B-Instruct-v0.3/128.py:84
↓ 5 callersMethodupdate
(self, event)
library_based_code_generation/results/bm25/mistralai/Mistral-7B-Instruct-v0.3/52.py:19
↓ 4 callersFunctionCosSinData
(mesh)
library_based_code_generation/results/mistralai/Mixtral-8x7B-Instruct-v0.1/15.py:21
↓ 4 callersMethod__init__
(self, display)
library_based_code_generation/results/bm25/codellama/CodeLlama-7b-Instruct-hf/6.py:97
↓ 4 callersMethod_sort_filepathes
(self, path_from, list_of_filepathes)
project_level_code_completion/composers/path_distance_composer.py:21
↓ 4 callersMethodattach
(self)
library_based_code_generation/results/bm25/mistralai/Mistral-7B-Instruct-v0.3/132.py:46
↓ 4 callersMethodattack
(self)
library_based_code_generation/results/mistralai/Mistral-7B-Instruct-v0.3/93.py:77
↓ 4 callersMethodbuild_model
(cls, checkpoint, **kwargs)
project_level_code_completion/model_hub/model_classes.py:14
↓ 4 callersFunctioncalculate_force
(coords, charges)
library_based_code_generation/results/codellama/CodeLlama-7b-Instruct-hf/141.py:16
↓ 4 callersMethodchat
(self, diff: str)
commit_message_generation/src/prompts/base_prompt.py:21
↓ 4 callersFunctioncheck_file_exists
(file_path, default_path)
library_based_code_generation/results/bm25/gpt-4-0125-preview/16.py:7
↓ 4 callersFunctioncheck_file_exists
(file_path)
library_based_code_generation/results/mistralai/Mistral-7B-Instruct-v0.3/16.py:11
↓ 4 callersMethodclear_session
(self)
library_based_code_generation/results/bm25/mistralai/Mistral-7B-Instruct-v0.3/128.py:32
↓ 4 callersFunctionclicked
(plot, points)
library_based_code_generation/results/gpt-3.5-turbo-0125/86.py:22
↓ 4 callersMethodclose
(self)
library_based_code_generation/results/bm25/mistralai/Mistral-7B-Instruct-v0.3/108.py:51
↓ 4 callersMethodcpu_percent
(interval=None, percpu=False)
library_based_code_generation/results/gpt-4-0125-preview/91.py:17
↓ 4 callersFunctioncreate_bvh_tree
(objects)
library_based_code_generation/results/mistralai/Mixtral-8x7B-Instruct-v0.1/8.py:52
↓ 4 callersMethodcreate_mesh
(self)
library_based_code_generation/results/mistralai/Mistral-7B-Instruct-v0.3/138.py:18
↓ 4 callersFunctioncreate_stub_as
(base, asn, exchange)
library_based_code_generation/results/gpt-4-0125-preview/102.py:7
↓ 4 callersFunctioncreate_stub_as
(emulator, asn, exchange)
library_based_code_generation/results/bm25/gpt-4-0125-preview/102.py:4
↓ 4 callersFunctionestimate_randoms
(sinograms)
library_based_code_generation/results/bm25/mistralai/Mixtral-8x7B-Instruct-v0.1/48.py:68
↓ 4 callersFunctionevaluate_openai
(model_name, use_bm25=False)
library_based_code_generation/src/evaluation/evaluate.py:74
↓ 4 callersMethodexpand
(self)
library_based_code_generation/results/mistralai/Mistral-7B-Instruct-v0.3/93.py:38
↓ 4 callersMethodgenerate_random_data
(self, size, unique_colors=False, transform_invariant=True)
library_based_code_generation/results/bm25/mistralai/Mixtral-8x7B-Instruct-v0.1/86.py:44
↓ 4 callersFunctionget_diff_between_commits
Get git diff between `first_commit` and `second_commit` https://matthew-brett.github.io/pydagogue/git_diff_dots.html :param repo_path: path t
bug_localization/src/utils/git_utils.py:63
↓ 4 callersMethodhighlight_clicked_points
(self, scatter_plot)
library_based_code_generation/results/bm25/mistralai/Mixtral-8x7B-Instruct-v0.1/86.py:54
↓ 4 callersMethodhighlight_point
(self, pos, plot)
library_based_code_generation/results/mistralai/Mixtral-8x7B-Instruct-v0.1/86.py:47
↓ 4 callersFunctionis_test_file
(file_path: str)
bug_localization/src/utils/file_utils.py:37
↓ 4 callersMethodnavigate_to_node
(self, node_number)
library_based_code_generation/results/mistralai/Mixtral-8x7B-Instruct-v0.1/23.py:29
↓ 4 callersFunctionnormalize
Normalize and tokenize text. This is lifted from NIST mteval-v11a.pl.
commit_message_generation/src/metrics/reused_implementations/b_norm.py:53
↓ 4 callersMethodonClicked
(self, scatter)
library_based_code_generation/results/bm25/gpt-4-0125-preview/86.py:60
↓ 4 callersMethodpaste
(self)
library_based_code_generation/results/mistralai/Mistral-7B-Instruct-v0.3/128.py:44
↓ 4 callersFunctionplot_screw
(axis, point, length, color='r', linewidth=2)
library_based_code_generation/results/mistralai/Mistral-7B-Instruct-v0.3/104.py:29
↓ 4 callersMethodpredict
(self, texts, max_length)
library_based_code_generation/results/gpt-4-0125-preview/71.py:35
↓ 4 callersMethodpredict
(self, texts)
library_based_code_generation/results/codellama/CodeLlama-7b-Instruct-hf/71.py:99
↓ 4 callersFunctionread_jsonl
(file_path)
ci-builds-repair/ci-builds-repair-benchmark/benchmark_utils.py:6
↓ 4 callersMethodrun
(self)
library_based_code_generation/results/codellama/CodeLlama-70b-Instruct-hf/20.py:34
↓ 4 callersMethodrun_simulation
(self, run_id)
library_based_code_generation/results/gpt-4-0125-preview/20.py:26
↓ 4 callersMethodsave_results
(self, results)
project_level_code_completion/eval/line_generators.py:116
↓ 4 callersMethodsend
(self)
library_based_code_generation/results/bm25/codellama/CodeLlama-70b-Instruct-hf/129.py:25
↓ 4 callersMethodsetData
(self, **kwds)
library_based_code_generation/results/bm25/gpt-4-0125-preview/49.py:13
↓ 4 callersMethodsetUp
(self)
library_based_code_generation/results/codellama/CodeLlama-70b-Instruct-hf/20.py:28
↓ 4 callersMethodset_position
(self, position)
library_based_code_generation/results/mistralai/Mixtral-8x7B-Instruct-v0.1/52.py:22
↓ 4 callersFunctionset_runtime_options
(args)
library_based_code_generation/results/bm25/codellama/CodeLlama-7b-Instruct-hf/140.py:21
↓ 4 callersMethodsetup
(self)
library_based_code_generation/results/codellama/CodeLlama-7b-Instruct-hf/20.py:11
↓ 4 callersFunctionsplitPuncts
(line)
commit_message_generation/src/metrics/reused_implementations/b_norm.py:166
↓ 4 callersMethodtrain
(self)
library_based_code_generation/results/codellama/CodeLlama-7b-Instruct-hf/82.py:9
↓ 4 callersFunctiontrim_context
(context, tokenizer, max_len)
module_summarization/utils/context_utils.py:18
↓ 4 callersMethodtruncate
Truncates a given list of messages to first `max_num_tokens` tokens. Note: A current version only truncates a last message, which might not b
bug_localization/src/utils/tokenization_utils.py:151
↓ 4 callersMethodupdate
(self, predictions: List[str], references: List[str])
commit_message_generation/src/metrics/b_norm.py:23
↓ 4 callersMethodupdate_graph
(self)
library_based_code_generation/results/bm25/mistralai/Mistral-7B-Instruct-v0.3/49.py:35
↓ 3 callersMethod__init__
(self)
library_based_code_generation/results/bm25/gpt-4-0125-preview/108.py:11
↓ 3 callersMethod__init__
(self)
library_based_code_generation/results/gpt-3.5-turbo-0125/83.py:34
↓ 3 callersMethod_get_at_pos
(self, pos)
library_based_code_generation/results/bm25/gpt-4-0125-preview/142.py:23
↓ 3 callersFunction_get_changed_lines_content
(changed_lines: list[tuple[int, str, str]])
bug_localization/src/data/preprocessing/analyze_data.py:21
↓ 3 callersMethod_get_line
(self, index)
library_based_code_generation/results/gpt-4-0125-preview/142.py:24
↓ 3 callersFunction_model
()
library_based_code_generation/results/bm25/mistralai/Mixtral-8x7B-Instruct-v0.1/122.py:7
↓ 3 callersFunction_solution
(config, scenarios, extensions)
library_based_code_generation/results/bm25/mistralai/Mixtral-8x7B-Instruct-v0.1/130.py:40
↓ 3 callersMethodattack
(self)
library_based_code_generation/results/gpt-4-0125-preview/93.py:74
↓ 3 callersFunctionb_external_dot_n
(x, coil_geoms)
library_based_code_generation/results/mistralai/Mixtral-8x7B-Instruct-v0.1/149.py:17
↓ 3 callersMethodbuild
(self)
library_based_code_generation/results/codellama/CodeLlama-7b-Instruct-hf/23.py:56
↓ 3 callersFunctioncalculate
(mol)
library_based_code_generation/results/bm25/mistralai/Mixtral-8x7B-Instruct-v0.1/127.py:4
↓ 3 callersMethodclear_session
(self)
library_based_code_generation/results/mistralai/Mistral-7B-Instruct-v0.3/128.py:32
↓ 3 callersMethodcomplete
(self, diff: str)
commit_message_generation/src/prompts/base_prompt.py:18
↓ 3 callersFunctionconvert_inputs
(tokenizer: Callable, texts: List[str], tags: List[List[int]], max_length: int)
library_based_code_generation/results/bm25/gpt-4-0125-preview/30.py:28
↓ 3 callersFunctionconvert_transformer_inputs
(tokenizer, sequence: str, max_seq_length: int)
library_based_code_generation/results/mistralai/Mixtral-8x7B-Instruct-v0.1/30.py:45
↓ 3 callersFunctioncount_symbols
(text: str)
bug_localization/src/data/preprocessing/analyze_data.py:59
↓ 3 callersFunctioncount_tokens
(text: str)
bug_localization/src/data/preprocessing/analyze_data.py:63
↓ 3 callersFunctioncreate_bending
(radius, extension, width, layer_thickness, name_prefix)
library_based_code_generation/results/gpt-4-0125-preview/31.py:32
↓ 3 callersFunctioncreate_bending
(radius, extension)
library_based_code_generation/results/bm25/mistralai/Mistral-7B-Instruct-v0.3/31.py:26
↓ 3 callersFunctioncreate_internet_exchange
(poa_server, name)
library_based_code_generation/results/bm25/mistralai/Mistral-7B-Instruct-v0.3/106.py:40
↓ 3 callersFunctioncreate_stub_as
(base_layer, web_service_layer, asn, exchange, prefix, web_content)
library_based_code_generation/results/gpt-4-0125-preview/106.py:7
↓ 3 callersFunctioncreate_stub_as
(emulator, asn, ix)
library_based_code_generation/results/bm25/gpt-4-0125-preview/106.py:7
↓ 3 callersFunctioncreate_stub_as
(emulation, internet_exchange)
library_based_code_generation/results/bm25/codellama/CodeLlama-70b-Instruct-hf/106.py:20
↓ 3 callersFunctioncreate_stub_as
(asn, exchange)
library_based_code_generation/results/bm25/mistralai/Mixtral-8x7B-Instruct-v0.1/102.py:4
↓ 3 callersFunctioncreate_stub_as
(asn, exchange)
library_based_code_generation/results/bm25/gpt-3.5-turbo-0125/102.py:3
↓ 3 callersFunctioncreate_stub_as
(asn, exchange)
library_based_code_generation/results/mistralai/Mistral-7B-Instruct-v0.3/102.py:6
↓ 3 callersFunctioncreate_stub_as
(asn, exchange)
library_based_code_generation/results/mistralai/Mixtral-8x7B-Instruct-v0.1/102.py:5
↓ 3 callersFunctioncreate_stub_as
(asn, exchange)
library_based_code_generation/results/gpt-3.5-turbo-0125/102.py:3
↓ 3 callersFunctioncurl
(v)
library_based_code_generation/results/mistralai/Mixtral-8x7B-Instruct-v0.1/15.py:10
← previousnext →101–200 of 3,518, ranked by callers