<commit_before>jsio('from shared.javascript import Class')

exports = Class(function(){
	
	this.init = function() {
		this._pool = {}
		this._counts = {}
		this._uniqueId = 0
	}
	
	this.add = function(name, callback) {
		if (!this._pool[name]) { 
			this._pool[name] = {}
			this._counts[name] = 0
		}
		this._counts[name]++
		var id = 'p' + this._uniqueId++
		this._pool[name][id] = callback
		return id
	}
	
	this.remove = function(name, id) {<commit_msg>Call the items going into the pool simply item rather than callback<commit_after>jsio('from shared.javascript import Class')

exports = Class(function(){
	
	this.init = function() {
		this._pool = {}
		this._counts = {}
		this._uniqueId = 0
	}
	
	this.add = function(name, item) {
		if (!this._pool[name]) { 
			this._pool[name] = {}
			this._counts[name] = 0
		}
		this._counts[name]++
		var id = 'p' + this._uniqueId++
		this._pool[name][id] = item
		return id
	}
	
	this.remove = function(name, id) {
{'fraction_non_alphanumeric': 0.1625, 'fraction_numerical': 0.004166666666666667, 'mean_word_length': 3.408256880733945, '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': '790796', 'n_tokens_mistral': 386, 'n_tokens_neox': 343, 'n_words': 75}