An Empirical Study of Frequent Code Edit Patterns In Machine Learning Systems

Refactoring Type : Split Parameter | Total : 24 | Precision : 91.67% | True Positives :22 | Evaluated : 24 | Not Evaluated : 10

Project RefactoringType RefactoringLink CommitLink TrueRefactoring? Description File
PIQuIL/QuCumber Split Parameter RefactoringLinkCommitLinkYes Split Parameter target_psi : Any to [target : Any, space : Any] in method package compute_numerical_KL(self PosGradsUtils, target Any, space Any, all_bases Any) : void from class org.tests.grads_utils.PosGradsUtils tests/grads_utils.py
PIQuIL/QuCumber Split Parameter RefactoringLinkCommitLinkYes Split Parameter data : Any to [data_samples : Any, space : Any] in method package compute_numerical_NLL(self PosGradsUtils, data_samples Any, space Any, data_bases Any) : void from class org.tests.grads_utils.PosGradsUtils tests/grads_utils.py
PIQuIL/QuCumber Split Parameter RefactoringLinkCommitLinkYes Split Parameter data : Any to [data_samples : Any, space : Any] in method package algorithmic_gradNLL(self PosGradsUtils, data_samples Any, space Any, data_bases Any) : void from class org.tests.grads_utils.PosGradsUtils tests/grads_utils.py
pymanopt/pymanopt Split Parameter RefactoringLinkCommitLinkYes Split Parameter self : Oblique to [X : Any, Y : Any] in method package dist(self Oblique, X Any, Y Any) : void from class org.pymanopt.manifolds.oblique.Oblique pymanopt/manifolds/oblique.py
rusty1s/pytorch_geometric Split Parameter RefactoringLinkCommitLinkYes Split Parameter index : Any to [edge_index : Any, edge_attr : Any] in method package forward(self ChebConv, x Any, edge_index Any, edge_attr Any) : void from class org.torch_geometric.nn.modules.cheb_conv.ChebConv torch_geometric/nn/modules/cheb_conv.py
rusty1s/pytorch_geometric Split Parameter RefactoringLinkCommitLinkYes Split Parameter index : Any to [edge_index : Any, edge_attr : Any] in method package forward(self GraphConv, x Any, edge_index Any, edge_attr Any) : void from class org.torch_geometric.nn.modules.graph_conv.GraphConv torch_geometric/nn/modules/graph_conv.py
cornellius-gp/gpytorch Split Parameter RefactoringLinkCommitLinkYes Split Parameter noise : Any to [likelihood : Any, n_train : Any] in method package exact_predictive_mean(self LazyEvaluatedKernelVariable, full_mean Any, train_labels Any, n_train Any, likelihood Any, precomputed_cache Any) : void from class org.gpytorch.lazy.lazy_evaluated_kernel_variable.LazyEvaluatedKernelVariable gpytorch/lazy/lazy_evaluated_kernel_variable.py
regel/loudml Split Parameter RefactoringLinkCommitLinkYes Split Parameter measurement : Any to [doc_type : Any, index : Any] in method package insert_times_data(self ElasticsearchDataSource, ts Any, data Any, tags Any, index Any, doc_type Any, doc_id Any, timestamp_field Any) : void from class org.loudml_elastic.loudml.elastic.ElasticsearchDataSource loudml-elastic/loudml/elastic.py
keiffster/program-y Split Parameter RefactoringLinkCommitLinkYes Split Parameter grammar : Any to [text : Any, action : Any] in method package schedule_every_n_seconds(self ProgramyScheduler, userid Any, clientid Any, action Any, text Any, seconds Any) : void from class org.src.programy.scheduling.scheduler.ProgramyScheduler src/programy/scheduling/scheduler.py
keiffster/program-y Split Parameter RefactoringLinkCommitLinkYes Split Parameter grammar : Any to [text : Any, action : Any] in method package schedule_every_n_minutes(self ProgramyScheduler, userid Any, clientid Any, action Any, text Any, minutes Any) : void from class org.src.programy.scheduling.scheduler.ProgramyScheduler src/programy/scheduling/scheduler.py
keiffster/program-y Split Parameter RefactoringLinkCommitLinkYes Split Parameter grammar : Any to [text : Any, action : Any] in method package schedule_every_n_hours(self ProgramyScheduler, userid Any, clientid Any, action Any, text Any, hours Any) : void from class org.src.programy.scheduling.scheduler.ProgramyScheduler src/programy/scheduling/scheduler.py
keiffster/program-y Split Parameter RefactoringLinkCommitLinkYes Split Parameter grammar : Any to [text : Any, action : Any] in method package schedule_every_n_days(self ProgramyScheduler, userid Any, clientid Any, action Any, text Any, days Any) : void from class org.src.programy.scheduling.scheduler.ProgramyScheduler src/programy/scheduling/scheduler.py
keiffster/program-y Split Parameter RefactoringLinkCommitLinkYes Split Parameter grammar : Any to [text : Any, action : Any] in method package schedule_every_n_weeks(self ProgramyScheduler, userid Any, clientid Any, action Any, text Any, weeks Any) : void from class org.src.programy.scheduling.scheduler.ProgramyScheduler src/programy/scheduling/scheduler.py
keiffster/program-y Split Parameter RefactoringLinkCommitLinkYes Split Parameter grammar : Any to [text : Any, action : Any] in method package schedule_every_n(self ProgramyScheduler, userid Any, clientid Any, action Any, text Any, weeks Any, days Any, hours Any, minutes Any, seconds Any) : void from class org.src.programy.scheduling.scheduler.ProgramyScheduler src/programy/scheduling/scheduler.py
keiffster/program-y Split Parameter RefactoringLinkCommitLinkYes Split Parameter grammar : Any to [text : Any, action : Any] in method package schedule_at_datetime(self ProgramyScheduler, userid Any, clientid Any, action Any, text Any, schedule Any) : void from class org.src.programy.scheduling.scheduler.ProgramyScheduler src/programy/scheduling/scheduler.py
keiffster/program-y Split Parameter RefactoringLinkCommitLinkYes Split Parameter grammar : Any to [text : Any, action : Any] in method package schedule_as_cron(self ProgramyScheduler, userid Any, clientid Any, action Any, text Any, year Any, month Any, day Any, week Any, day_of_week Any, hour Any, minute Any, second Any) : void from class org.src.programy.scheduling.scheduler.ProgramyScheduler src/programy/scheduling/scheduler.py
keiffster/program-y Split Parameter RefactoringLinkCommitLinkYes Split Parameter output : Any to [output_func : Any, eol : Any] in method package output(self TemplateNode, tabs Any, output_func Any, eol Any, verbose Any) : void from class org.src.programy.parser.template.nodes.base.TemplateNode src/programy/parser/template/nodes/base.py
arnomoonens/yarll Split Parameter RefactoringLinkCommitLinkYes Split Parameter thread_id : Any to [cluster : Any, task_id : Any] in method package make_thread(self A3C, task_id Any, cluster Any) : void from class org.agents.a3c.A3C agents/a3c.py
brian-team/brian2 Split Parameter RefactoringLinkCommitLinkYes Split Parameter clock : Any to [order : Any, dt : Any, when : Any] in method package __init__(self PoissonGroup, N Any, rates Any, dt Any, when Any, order Any, name Any, codeobj_class Any) : void from class org.brian2.groups.poissongroup.PoissonGroup brian2/groups/poissongroup.py
tensorflow/cleverhans Split Parameter RefactoringLinkCommitLinkYes Split Parameter x : Any to [sess : Any, X : Any] in method package fgsm(sess Any, model Any, X Any, eps Any, back Any, clip_min Any, clip_max Any) : void from class org.cleverhans.attacks.PyDummyClass1 cleverhans/attacks.py
uber/pyro Split Parameter RefactoringLinkCommitLinkYes Split Parameter self : Flatten to [x : Any, y : Any] in method package log_abs_det_jacobian(self Flatten, x Any, y Any) : void from class org.tests.distributions.test_transforms.Flatten tests/distributions/test_transforms.py
sepandhaghighi/pycm Split Parameter RefactoringLinkCommitLinkNo Split Parameter overall_accuracy : Any to [item1 : Any, item2 : Any] in method package SE_calc(item1 Any, item2 Any) : void from class org.pycm.pycm_overall_func.PyDummyClass1 pycm/pycm_overall_func.py
facebookresearch/pytext Split Parameter RefactoringLinkCommitLinkYes Split Parameter encoder : Any to [right_encoder : Any, left_encoder : Any] in method package __init__(self TwoTowerClassificationModel, right_encoder Any, left_encoder Any, decoder Any, output_layer Any, stage Any) : void from class org.pytext.models.two_tower_classification_model.TwoTowerClassificationModel pytext/models/two_tower_classification_model.py
SpiNNakerManchester/sPyNNaker Split Parameter RefactoringLinkCommitLinkNo Split Parameter machine_graph : Any to [application_vertex : Any, application_graph : Any] in method package _reserve_memory_regions(self SynapticManager, spec Any, machine_vertex Any, vertex_slice Any, machine_graph Any, all_syn_block_sz Any, graph_mapper Any, application_graph Any, application_vertex Any) : void from class org.spynnaker.pyNN.models.neuron.synaptic_manager.SynapticManager spynnaker/pyNN/models/neuron/synaptic_manager.py