<commit_before>namespace $ {
	
	export class $mol_app_bench_list_tsx {
	
		static data = {
			sample : '' ,
			items : [] as {
				id : number
				title : string
				content : string
			}[]
		}
		
		static selected = null as number
		
		static onClick( item : { id : number } , event : MouseEvent ) {
			this.selected = item.id
			this.render()
		}

		static render() {
			return (
				<div id="list" className="list">
					<div
						id="list-header"
						className="list-header"
						>
						{ this.data.sample }
					</div> ,
					{ this.data.items.map( item => (
						<div
							id={ 'list-item#' + item.id }
							className={ `list-item list-item-selected-${ this.selected === item.id }`  }
							onclick={ this.onClick.bind( item ) }
							>
							<div
								id={ 'list-item#' + item.id + '-title' }
								className="list-item-title"
								>
								{ item.title }
							</div>
							<div
								id={ 'list-item#' + item.id + '-content' }
								className="list-item-content"
								childNodes={[ item.content ]}
								>
								{ item.content }
							</div>
						</div>
					) ) }
				</div>
			)
		}
		
	}
}
<commit_msg>Fixed binding in tsx bench sample.<commit_after>namespace $ {
	
	export class $mol_app_bench_list_tsx {
	
		static data = {
			sample : '' ,
			items : [] as {
				id : number
				title : string
				content : string
			}[]
		}
		
		static selected = null as number
		
		static onClick( item : { id : number } , event : MouseEvent ) {
			this.selected = item.id
			this.render()
		}

		static render() {
			return (
				<div id="list" className="list">
					<div
						id="list-header"
						className="list-header"
						>
						{ this.data.sample }
					</div> ,
					{ this.data.items.map( item => (
						<div
							id={ 'list-item#' + item.id }
							className={ `list-item list-item-selected-${ this.selected === item.id }`  }
							onclick={ this.onClick.bind( this , item ) }
							>
							<div
								id={ 'list-item#' + item.id + '-title' }
								className="list-item-title"
								>
								{ item.title }
							</div>
							<div
								id={ 'list-item#' + item.id + '-content' }
								className="list-item-content"
								childNodes={[ item.content ]}
								>
								{ item.content }
							</div>
						</div>
					) ) }
				</div>
			)
		}
		
	}
}

{'fraction_non_alphanumeric': 0.15965665236051502, 'fraction_numerical': 0.0, 'mean_word_length': 1.664, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 25, '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': '4484066', 'n_tokens_mistral': 1193, 'n_tokens_neox': 774, 'n_words': 156}