<commit_before>
var BlobFileSource = Source.createComponent("BlobFileSource");

BlobFileSource.defineMethod("construct", function construct() {

  if (!this.fileHandler) this.fileHandler = new BlobFileHandler();

});

BlobFileSource.defineMethod("init", function init(content, jointSource, sourceId) {

  if (content) {
    this.fileHandler.blob = content["0"];
    this.fileHandler.didUpdate();
  }

});

BlobFileSource.defineMethod("didUpdate", function didUpdate() {

  this.fileHandler.blob = content["0"];
  this.fileHandler.didUpdate();

});

BlobFileSource.defineMethod("destruct", function destruct() {

  this.fileHandler.destroy();<commit_msg>Fix file handling for BlobFileSource<commit_after>
var BlobFileSource = Source.createComponent("BlobFileSource");

BlobFileSource.defineMethod("construct", function construct() {

  if (!this.fileHandler) this.fileHandler = new BlobFileHandler();

});

BlobFileSource.defineMethod("init", function init(content, jointSource, sourceId) {

  if (content) {
    this.fileHandler.blob = content["0"];
    this.fileHandler.didUpdate();
  }

});

BlobFileSource.defineMethod("didUpdate", function didUpdate() {

  this.fileHandler.blob = this.content["0"];
  this.fileHandler.didUpdate();

});

BlobFileSource.defineMethod("destruct", function destruct() {

  this.fileHandler.destroy();
{'fraction_non_alphanumeric': 0.14617691154422788, 'fraction_numerical': 0.0029985007496251873, 'mean_word_length': 6.026315789473684, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2866710', 'n_tokens_mistral': 396, 'n_tokens_neox': 385, 'n_words': 67}