<commit_before>/* eslint-disable */
import FakeXMLHttpRequest from 'fake-xml-http-request';

/**
 * Monkey patch FakeXMLHttpRequest and remove `response` based on the work in:
 * https://github.com/pretenderjs/FakeXMLHttpRequest/pull/53/files
 *
 * which caused the issue described under:
 *
 * https://github.com/pretenderjs/FakeXMLHttpRequest/issues/54
 *
 */

function open(method, url, async, username, password) {
  this.method = method;
  this.url = url;<commit_msg>Actually patching open. Thanks to <NAME><commit_after>/* eslint-disable */
import FakeXMLHttpRequest from 'fake-xml-http-request';

/**
 * Monkey patch FakeXMLHttpRequest and remove `response` based on the work in:
 * https://github.com/pretenderjs/FakeXMLHttpRequest/pull/53/files
 *
 * which caused the issue described under:
 *
 * https://github.com/pretenderjs/FakeXMLHttpRequest/issues/54
 *
 */

FakeXMLHttpRequest.prototype.open = function(method, url, async, username, password) {
  this.method = method;
  this.url = url;
{'fraction_non_alphanumeric': 0.12574850299401197, 'fraction_numerical': 0.007984031936127744, 'mean_word_length': 4.510989010989011, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '7955', 'n_tokens_mistral': 314, 'n_tokens_neox': 307, 'n_words': 74}