Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JetBrains-Research/lca-baselines
/ functions
Functions
3,518 in github.com/JetBrains-Research/lca-baselines
⨍
Functions
3,518
◇
Types & classes
568
↳
Endpoints
39
↓ 3 callers
Function
curl_curl_solution
(solution, mesh)
library_based_code_generation/results/bm25/codellama/CodeLlama-7b-Instruct-hf/15.py:9
↓ 3 callers
Function
curl_recovery
(solution, mesh)
library_based_code_generation/results/codellama/CodeLlama-7b-Instruct-hf/15.py:7
↓ 3 callers
Method
cut
(self)
library_based_code_generation/results/bm25/mistralai/Mistral-7B-Instruct-v0.3/128.py:41
↓ 3 callers
Method
deselect_all
(self)
library_based_code_generation/results/bm25/codellama/CodeLlama-7b-Instruct-hf/23.py:79
↓ 3 callers
Method
draw
(self)
library_based_code_generation/results/bm25/codellama/CodeLlama-7b-Instruct-hf/52.py:25
↓ 3 callers
Function
draw_boxes
(img, boxes)
library_based_code_generation/results/mistralai/Mistral-7B-Instruct-v0.3/83.py:40
↓ 3 callers
Method
duplicate
(self, node)
library_based_code_generation/results/bm25/mistralai/Mistral-7B-Instruct-v0.3/128.py:72
↓ 3 callers
Method
duplicate
(self, node)
library_based_code_generation/results/mistralai/Mistral-7B-Instruct-v0.3/128.py:71
↓ 3 callers
Function
error
(u, t)
library_based_code_generation/results/codellama/CodeLlama-7b-Instruct-hf/1.py:56
↓ 3 callers
Function
evaluate
(args)
project_level_code_completion/eval/eval.py:11
↓ 3 callers
Function
evaluate_accuracy
(model, dataloader)
library_based_code_generation/results/bm25/mistralai/Mixtral-8x7B-Instruct-v0.1/40.py:89
↓ 3 callers
Method
expand
(self)
library_based_code_generation/results/gpt-4-0125-preview/93.py:32
↓ 3 callers
Function
extract_json_from_output
Tries to extract a JSON object from LLM output. Handles plain JSON, JSON with code blocks, and noisy outputs. Args: llm_output (
bug_localization/src/baselines/backbone/utils.py:5
↓ 3 callers
Function
get_device
()
library_based_code_generation/results/mistralai/Mistral-7B-Instruct-v0.3/54.py:13
↓ 3 callers
Method
get_index_of_node
(self, x, y)
library_based_code_generation/results/bm25/codellama/CodeLlama-7b-Instruct-hf/23.py:89
↓ 3 callers
Function
get_parser
(language)
bug_localization/src/baselines/context_composers/tree_sitter/utils.py:30
↓ 3 callers
Method
get_prompt
(self, instruction: str)
library_based_code_generation/src/models/example_generation_model.py:18
↓ 3 callers
Function
get_repo_content_on_commit
Get repo content on specific commit :param repo_path: path to directory where repo is cloned :param commit_sha: commit shat on what stage
bug_localization/src/utils/git_utils.py:131
↓ 3 callers
Method
get_results
(self, job_ids_file=None, result_filename=None)
ci-builds-repair/ci-builds-repair-benchmark/benchmark.py:148
↓ 3 callers
Function
get_router_by_asn_and_name
(asn, name)
library_based_code_generation/results/bm25/mistralai/Mistral-7B-Instruct-v0.3/106.py:59
↓ 3 callers
Method
get_selected_nodes
(self)
library_based_code_generation/results/bm25/codellama/CodeLlama-7b-Instruct-hf/23.py:86
↓ 3 callers
Function
inference
(args)
project_level_code_completion/model_hub/model_inference.py:94
↓ 3 callers
Method
invert_selection
(self)
library_based_code_generation/results/bm25/mistralai/Mistral-7B-Instruct-v0.3/128.py:66
↓ 3 callers
Function
make_stub_as
(poa_server, asn, ix)
library_based_code_generation/results/bm25/mistralai/Mistral-7B-Instruct-v0.3/106.py:43
↓ 3 callers
Method
open
(self)
library_based_code_generation/results/bm25/gpt-4-0125-preview/108.py:15
↓ 3 callers
Method
paste
(self)
library_based_code_generation/results/bm25/mistralai/Mistral-7B-Instruct-v0.3/128.py:44
↓ 3 callers
Function
preprocess
(args, composer_args)
project_level_code_completion/eval/preprocess.py:46
↓ 3 callers
Method
print_selected_nodes
(self)
library_based_code_generation/results/bm25/codellama/CodeLlama-7b-Instruct-hf/23.py:76
↓ 3 callers
Function
recover_curl
(u)
library_based_code_generation/results/mistralai/Mistral-7B-Instruct-v0.3/15.py:9
↓ 3 callers
Method
reset
(self)
library_based_code_generation/results/mistralai/Mistral-7B-Instruct-v0.3/13.py:24
↓ 3 callers
Method
reset_zoom
(self)
library_based_code_generation/results/bm25/mistralai/Mistral-7B-Instruct-v0.3/128.py:17
↓ 3 callers
Method
reset_zoom
(self)
library_based_code_generation/results/mistralai/Mistral-7B-Instruct-v0.3/128.py:17
↓ 3 callers
Function
save_jsonl_data
Save repo data to a jsonl file :param repo_owner: repo owner :param repo_name: repo name :param data: repo data to be saved :para
bug_localization/src/utils/jsonl_utils.py:118
↓ 3 callers
Method
select_node
(self, node)
library_based_code_generation/results/bm25/codellama/CodeLlama-7b-Instruct-hf/23.py:83
↓ 3 callers
Method
setData
(self, **kwds)
library_based_code_generation/results/gpt-4-0125-preview/49.py:14
↓ 3 callers
Method
set_background_grid
(self, grid_type)
library_based_code_generation/results/bm25/mistralai/Mistral-7B-Instruct-v0.3/128.py:88
↓ 3 callers
Method
simulate
(self)
library_based_code_generation/results/bm25/mistralai/Mistral-7B-Instruct-v0.3/13.py:41
↓ 3 callers
Function
sort_files_by_relevance
( repo_content: dict, issue_text: str, tokenizer_name: str = "tiktoken", model
bug_localization/src/baselines/context_composers/utils.py:27
↓ 3 callers
Function
spin_the_wheel
(wheel)
library_based_code_generation/results/bm25/mistralai/Mistral-7B-Instruct-v0.3/98.py:35
↓ 3 callers
Method
take_spectrum
(self)
library_based_code_generation/results/gpt-4-0125-preview/108.py:56
↓ 3 callers
Function
test
(epoch)
library_based_code_generation/results/bm25/mistralai/Mistral-7B-Instruct-v0.3/40.py:46
↓ 3 callers
Function
truncate_image
Truncate the image outside a cylinder of the same diameter as the image xy-section size.
library_based_code_generation/results/bm25/gpt-4-0125-preview/110.py:7
↓ 3 callers
Function
visualize_results
(simulation_results, unmixing_results)
library_based_code_generation/results/bm25/gpt-4-0125-preview/53.py:53
↓ 3 callers
Method
walk
(node)
library_based_code_generation/src/context/parsed_file.py:161
↓ 3 callers
Method
zoom_in
(self)
library_based_code_generation/results/mistralai/Mistral-7B-Instruct-v0.3/128.py:11
↓ 3 callers
Method
zoom_out
(self)
library_based_code_generation/results/mistralai/Mistral-7B-Instruct-v0.3/128.py:14
↓ 2 callers
Function
__init__
(self, func)
library_based_code_generation/results/mistralai/Mixtral-8x7B-Instruct-v0.1/142.py:7
↓ 2 callers
Method
__init__
(self)
library_based_code_generation/results/bm25/gpt-4-0125-preview/122.py:27
↓ 2 callers
Method
__init__
(self, backbone, projection_head, prediction_head)
library_based_code_generation/results/mistralai/Mixtral-8x7B-Instruct-v0.1/134.py:29
↓ 2 callers
Method
_base_prompt
(self, diff: str)
commit_message_generation/src/prompts/base_prompt.py:15
↓ 2 callers
Method
_filter_func_class
(code: str)
project_level_code_completion/composers/function_class_half_mask.py:7
↓ 2 callers
Method
_forget_half
(file_content: str)
project_level_code_completion/composers/half_memory_composer.py:7
↓ 2 callers
Function
_integrals
(intor\_mo)
library_based_code_generation/results/bm25/mistralai/Mixtral-8x7B-Instruct-v0.1/127.py:27
↓ 2 callers
Function
_line
(self)
library_based_code_generation/results/mistralai/Mixtral-8x7B-Instruct-v0.1/142.py:127
↓ 2 callers
Function
_poses
(objects, num\_poses, floor\_height, **kwargs)
library_based_code_generation/results/bm25/mistralai/Mixtral-8x7B-Instruct-v0.1/117.py:63
↓ 2 callers
Method
_resolve_directories
(self)
project_level_code_completion/eval/eval_pipeline.py:100
↓ 2 callers
Function
_scene
(file\_path, texture\_dir, obj\_name, **kwargs)
library_based_code_generation/results/bm25/mistralai/Mixtral-8x7B-Instruct-v0.1/117.py:7
↓ 2 callers
Function
_tasks
(self)
library_based_code_generation/results/bm25/mistralai/Mixtral-8x7B-Instruct-v0.1/13.py:67
↓ 2 callers
Function
_text
(self)
library_based_code_generation/results/bm25/mistralai/Mixtral-8x7B-Instruct-v0.1/6.py:13
↓ 2 callers
Function
add_data_to_grid_bucket
(grid_bucket)
library_based_code_generation/results/bm25/mistralai/Mixtral-8x7B-Instruct-v0.1/107.py:6
↓ 2 callers
Method
aggregate_metric
(self, metric_result)
project_level_code_completion/eval/line_generators.py:105
↓ 2 callers
Method
analyze_results
(self, jobs_results=None, jobs_results_file=None)
ci-builds-repair/ci-builds-repair-benchmark/benchmark.py:161
↓ 2 callers
Method
apply_boundary_conditions
(self, A, b)
library_based_code_generation/results/mistralai/Mistral-7B-Instruct-v0.3/138.py:75
↓ 2 callers
Function
apply_transform
(attenuation_image, transform, transform_type)
library_based_code_generation/results/gpt-4-0125-preview/16.py:10
↓ 2 callers
Function
batchify_text_data
(texts, batch_size)
library_based_code_generation/results/codellama/CodeLlama-7b-Instruct-hf/71.py:36
↓ 2 callers
Function
batchify_text_data
(texts, batch_size)
library_based_code_generation/results/bm25/codellama/CodeLlama-7b-Instruct-hf/71.py:25
↓ 2 callers
Function
bleuFromMaps
(m1, m2)
commit_message_generation/src/metrics/reused_implementations/b_norm.py:195
↓ 2 callers
Method
build
(self)
library_based_code_generation/results/bm25/mistralai/Mistral-7B-Instruct-v0.3/76.py:63
↓ 2 callers
Function
calculate_CIS_excited_states
(molecule)
library_based_code_generation/results/bm25/gpt-3.5-turbo-0125/127.py:3
↓ 2 callers
Function
calculate_force
(mol, mm_coords, mm_charges, method='HF')
library_based_code_generation/results/bm25/gpt-4-0125-preview/141.py:12
↓ 2 callers
Function
calculate_force
(coords, charges)
library_based_code_generation/results/bm25/codellama/CodeLlama-7b-Instruct-hf/141.py:15
↓ 2 callers
Function
calculate_force
(mf, mm_coords, mm_charges)
library_based_code_generation/results/bm25/mistralai/Mistral-7B-Instruct-v0.3/141.py:21
↓ 2 callers
Function
calculate_force_qm_mm
(qm_density, mm_coordinates, mm_charges)
library_based_code_generation/results/gpt-3.5-turbo-0125/141.py:20
↓ 2 callers
Function
calculate_mass_matrix
(biform, space)
library_based_code_generation/results/bm25/mistralai/Mixtral-8x7B-Instruct-v0.1/24.py:41
↓ 2 callers
Function
calculate_qm_mm_force
(mol, mm_coords, mm_charges, method='HF')
library_based_code_generation/results/gpt-4-0125-preview/141.py:12
↓ 2 callers
Function
check_setup
(name)
ci-builds-repair/ci-builds-repair-benchmark/benhmark_functions.py:31
↓ 2 callers
Method
chrono_boost
(self, unit_type_id, building_type_id=None)
library_based_code_generation/results/mistralai/Mistral-7B-Instruct-v0.3/35.py:89
↓ 2 callers
Function
cis_calculation
(mol, chi)
library_based_code_generation/results/mistralai/Mistral-7B-Instruct-v0.3/127.py:17
↓ 2 callers
Method
cleanUp
(self)
library_based_code_generation/results/codellama/CodeLlama-70b-Instruct-hf/20.py:37
↓ 2 callers
Method
clear_connections_of
(self, node)
library_based_code_generation/results/mistralai/Mistral-7B-Instruct-v0.3/128.py:53
↓ 2 callers
Method
clear_selection
(self)
library_based_code_generation/results/mistralai/Mistral-7B-Instruct-v0.3/128.py:62
↓ 2 callers
Method
clear_undo_history
(self)
library_based_code_generation/results/mistralai/Mistral-7B-Instruct-v0.3/128.py:35
↓ 2 callers
Function
coil_length
(coils)
library_based_code_generation/results/bm25/mistralai/Mistral-7B-Instruct-v0.3/25.py:21
↓ 2 callers
Function
collect_good_context
(row)
module_summarization/utils/context_utils.py:14
↓ 2 callers
Method
collect_results
(self)
library_based_code_generation/results/gpt-4-0125-preview/13.py:64
↓ 2 callers
Method
compose_chat
(self, dp: dict, model_name: str)
bug_localization/src/baselines/context_composers/filepath_composer.py:18
↓ 2 callers
Method
compute
(self)
commit_message_generation/src/metrics/b_norm.py:28
↓ 2 callers
Function
compute_cis
(mol)
library_based_code_generation/results/gpt-4-0125-preview/127.py:5
↓ 2 callers
Function
compute_li_cape_cin
(sounding, parcel_temperature, parcel_humidity)
library_based_code_generation/results/mistralai/Mistral-7B-Instruct-v0.3/81.py:35
↓ 2 callers
Method
compute_matrices_and_vectors
(self)
library_based_code_generation/results/bm25/mistralai/Mistral-7B-Instruct-v0.3/138.py:105
↓ 2 callers
Function
compute_parcel_profile
(sounding, parcel_type='dry', lcl=None)
library_based_code_generation/results/bm25/mistralai/Mistral-7B-Instruct-v0.3/81.py:33
↓ 2 callers
Function
compute_significant_tornado_parameter
(sounding, lcl, lfc, most_unstable_parcel_theta, bunkers_storm_motion_vector)
library_based_code_generation/results/mistralai/Mistral-7B-Instruct-v0.3/81.py:70
↓ 2 callers
Function
convert_transformer_outputs
(outputs: ModelOutput, num_tags: int)
library_based_code_generation/results/mistralai/Mixtral-8x7B-Instruct-v0.1/30.py:57
↓ 2 callers
Function
coulomb_integrals
(mol1, mol2, mo_coeff1, mo_coeff2)
library_based_code_generation/results/mistralai/Mistral-7B-Instruct-v0.3/127.py:7
↓ 2 callers
Function
count_lines
(text: str)
bug_localization/src/data/preprocessing/analyze_data.py:71
↓ 2 callers
Function
count_ngrams
(words, n=4)
commit_message_generation/src/metrics/reused_implementations/b_norm.py:73
↓ 2 callers
Method
cpu_percent
(interval=None, percpu=False)
library_based_code_generation/results/bm25/gpt-4-0125-preview/91.py:12
↓ 2 callers
Method
cpu_percent
(self, interval=1)
library_based_code_generation/results/mistralai/Mixtral-8x7B-Instruct-v0.1/91.py:15
↓ 2 callers
Function
create_acquisition_model
(sensitivity_model, norm_data=None, attenuation_data=None)
library_based_code_generation/results/mistralai/Mixtral-8x7B-Instruct-v0.1/16.py:10
↓ 2 callers
Function
create_autonomous_system
(poa_server, asn)
library_based_code_generation/results/bm25/mistralai/Mistral-7B-Instruct-v0.3/106.py:51
← previous
next →
201–300 of 3,518, ranked by callers