<commit_before>function doGet(e){
  
  //Logger.log("doGet invoked!");
  var rowNum = e.parameter.rowNum;
  var data = e.parameter.data;
  
  var ss = SpreadsheetApp.openById("xxxxxx").getSheetByName("自動モニタリング"); // xxxxxx はシートID

  //Logger.log(e);
  //Logger.log(rowNum);
  //Logger.log(data);
  
  ss.getRange(rowNum, 6).setValue(data);

  return ContentService.createTextOutput(JSON.stringify({content:"post ok", rowNum:rowNum, data:data})).setMimeType(ContentService.MimeType.JSON);
}<commit_msg>Updated to treat lastModified==""<commit_after>function doGet(e){
  
  var rowNum = e.parameter.rowNum;
  var date = e.parameter.date;
  var status = e.parameter.status
  var responseTime = e.parameter.responseTime
  var lastModified = e.parameter.lastModified

  if (lastModified == "") {lastModified=" ";}
    
  var ss = SpreadsheetApp.openById("<SpreadSheetID>").getSheetByName("自動モニタリング");

  ss.getRange(rowNum, 4).setValue(date);
  ss.getRange(rowNum, 5).setValue(status);
  ss.getRange(rowNum, 6).setValue(responseTime);
  ss.getRange(rowNum, 7).setValue(lastModified);

  return ContentService.createTextOutput(JSON.stringify({content:"post ok", rowNum:rowNum})).setMimeType(ContentService.MimeType.JSON);
}
{'fraction_non_alphanumeric': 0.1561216105176664, 'fraction_numerical': 0.004108463434675432, 'mean_word_length': 5.310880829015544, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '3679415', 'n_tokens_mistral': 432, 'n_tokens_neox': 423, 'n_words': 63}