RQ1: Can Neural Machine Translation be employed

to learn meaningful code changes?

Results for RQ1:

  • Vocabulary
  • Datasets
  • Perfect Predictions
  • Distribution of Method Pairs
  • Hyperparameter Search Configurations

Vocabulary

Vocabulary

Datasets

Datasets

Perfect Predictions

Perfect Predictions

Distribution of Method Pairs

The plot shows the density of the distribution of method pairs by length (i.e., number of tokens). The vertical red lines represents our cut points (i.e., 50 and 100 tokens).

The plot shows that the highest density of method pairs falls in the two intervals.

Hyperparameter Search Configurations

The table shows the ten different configurations of the hyperparameters tested. The one highlighted in green is the configuration achieving the best results on the validation set

Hyperparameter Search