<commit_before>"use strict";

function buildTopicElement(topic){
  let title = "<h2>" + topic.title + "</h2>";
  let author = "<small>" + topic.author + "</small>";
  let body = "<p>" + topic.body + "</p>";

  return { title: title, author: author, body: body };
}<commit_msg>Refactor the code to use the object initializer shorthand<commit_after>"use strict";

function buildTopicElement(topic){
  let title = "<h2>" + topic.title + "</h2>";
  let author = "<small>" + topic.author + "</small>";
  let body = "<p>" + topic.body + "</p>";

  return { title, author, body };
}
{'fraction_non_alphanumeric': 0.20347826086956522, 'fraction_numerical': 0.006956521739130435, 'mean_word_length': 4.142857142857143, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1437750', 'n_tokens_mistral': 185, 'n_tokens_neox': 180, 'n_words': 57}