<commit_before>import "dom.jsx";

class Config {
	static const var quantity = 360;
	static const var size     = 2.0;
	static const var decay    = 0.98;
	static const var speed    = 6.0;
}


class Spark {
	static const var rad = Math.PI * 2;

	var posX : number;
	var posY : number;
	var velX : number;
	var velY : number;
	var size : number;

	function constructor(posX : number, posY : number, size : number) {
		var angle    = Math.random() * rad;
		var velocity = Math.random() * speed;

		this.velX = Math.cos(angle) * velocity;
		this.velY = Math.sin(angle) * velocity;
	}

	function draw(view : FireworkView, color : string) : boolean {
		this.posX += velX;<commit_msg>s/const var/const/g<commit_after>import "js/dom.jsx";
import "js/dom/canvas2d.jsx";

class Config {
	static const quantity = 360;
	static const size     = 2.0;
	static const decay    = 0.98;
	static const speed    = 6.0;
}


class Spark {
	static const rad = Math.PI * 2;

	var posX : number;
	var posY : number;
	var velX : number;
	var velY : number;
	var size : number;

	function constructor(posX : number, posY : number, size : number) {
		var angle    = Math.random() * rad;
		var velocity = Math.random() * speed;

		this.velX = Math.cos(angle) * velocity;
		this.velY = Math.sin(angle) * velocity;
	}

	function draw(view : FireworkView, color : string) : boolean {
		this.posX += velX;
{'fraction_non_alphanumeric': 0.1256391526661797, 'fraction_numerical': 0.016800584368151936, 'mean_word_length': 3.1515151515151514, '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': '5687347', 'n_tokens_mistral': 521, 'n_tokens_neox': 481, 'n_words': 149}