<commit_before>/**
 * @fileoverview Generating Sheets language for sheets blocks.
 * @author <EMAIL> (<NAME>)
 */
Blockly.Sheets['sheets_start'] = function(block) {
  var value_name = Blockly.Sheets.valueToCode(block, 'NAME', Blockly.Sheets.ORDER_ATOMIC);
  var code = '=' + value_name;
  return code;
};

Blockly.Sheets['sheets_cell'] = function(block) {
  var text_column = block.getFieldValue('column');
  var text_row = block.getFieldValue('row');
  var value_inputcell = Blockly.Sheets.valueToCode(block, 'inputCell', Blockly.Sheets.ORDER_ATOMIC);
  var code = text_column + text_row;
  // TODO: Change ORDER_NONE to the correct strength.
  return [code, Blockly.Sheets.ORDER_ATOMIC];
};
<commit_msg>Changed nothing<commit_after>/**
 * @fileoverview Generating Sheets language for sheets blocks.
 * @author <EMAIL> (<NAME>)
 */
Blockly.Sheets['sheets_start'] = function(block) {
  var value_name = Blockly.Sheets.valueToCode(block, 'NAME', Blockly.Sheets.ORDER_ATOMIC);
  var code = '=' + value_name;
  return code;
};

Blockly.Sheets['sheets_cell'] = function(block) {
  var text_column = block.getFieldValue('column');
  if (text_column.length > 1 || !(text_column.charCodeAt(0) >= 65 && text_column.charCodeAt(0) <= 90)) {
    return "FAIL COLUMN";
  }
  var text_row = block.getFieldValue('row');
  if ((text_row.charCodeAt(0) === 48) || isNaN(text_row)) {
    return "FAIL ROW";
  }
  var value_inputcell = Blockly.Sheets.valueToCode(block, 'inputCell', Blockly.Sheets.ORDER_ATOMIC);
  var code = text_column + text_row;
  // TODO: Change ORDER_NONE to the correct strength.
  return [code, Blockly.Sheets.ORDER_ATOMIC];
};

{'fraction_non_alphanumeric': 0.14871481028151776, 'fraction_numerical': 0.006119951040391677, 'mean_word_length': 5.011029411764706, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 9, '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': '907826', 'n_tokens_mistral': 573, 'n_tokens_neox': 569, 'n_words': 118}