<commit_before>import CoreGraphics


public extension CGRect {

	public init(size: CGSize) {
		self.init(x: 0, y: 0, width: size.width, height: size.height)
	}

	public init(width: CGFloat, height: CGFloat) {
		self.init(x: 0, y: 0, width: width, height: height)
	}

	public var bottom: CGFloat {
		get { return origin.y + size.height }
		mutating set { origin.y = newValue - size.height }
	}

	public var bottomLeft: CGPoint {
		get { return CGPoint(x: left, y: bottom) }
		mutating set { left = newValue.x; bottom = newValue.y }
	}

	public var bottomRight: CGPoint {
		get { return CGPoint(x: right, y: bottom) }
		mutating set { right = newValue.x; bottom = newValue.y }
	}

	public var center: CGPoint {
		get { return CGPoint(x: left + (width / 2), y: top + (height / 2)) }
		mutating set { left = newValue.x - (width / 2); top = newValue.y - (height / 2) }
	}

	public var jheight: CGFloat {  // rename once the ambigous call problem is resolved
		get { return size.height }
		mutating set { size.height = newValue }
	}

	public var left: CGFloat {
		get { return origin.x }
		mutating set { origin.x = newValue }
	}

	public var right: CGFloat {
		get { return origin.x + size.width }
		mutating set { origin.x = newValue - size.width }
	}

	public var top: CGFloat {
		get { return origin.y }
		mutating set { origin.y = newValue }
	}

	public var topLeft: CGPoint {
		get { return origin }
		mutating set { origin = newValue }
	}

	public var topRight: CGPoint {
		get { return CGPoint(x: right, y: top) }
		mutating set { right = newValue.x; top = newValue.y }
	}

	public var jwidth: CGFloat {  // rename once the ambigous call problem is resolved
		get { return size.width }
		mutating set { size.width = newValue }
	}
}<commit_msg>Removed public jwidth & jheight from CGRect. Added internal width & height.<commit_after>import CoreGraphics


public extension CGRect {

	public init(size: CGSize) {
		self.init(x: 0, y: 0, width: size.width, height: size.height)
	}

	public init(width: CGFloat, height: CGFloat) {
		self.init(x: 0, y: 0, width: width, height: height)
	}

	public var bottom: CGFloat {
		get { return origin.y + size.height }
		mutating set { origin.y = newValue - size.height }
	}

	public var bottomLeft: CGPoint {
		get { return CGPoint(x: left, y: bottom) }
		mutating set { left = newValue.x; bottom = newValue.y }
	}

	public var bottomRight: CGPoint {
		get { return CGPoint(x: right, y: bottom) }
		mutating set { right = newValue.x; bottom = newValue.y }
	}

	public var center: CGPoint {
		get { return CGPoint(x: left + (width / 2), y: top + (height / 2)) }
		mutating set { left = newValue.x - (width / 2); top = newValue.y - (height / 2) }
	}

	var height: CGFloat {  // make public once the ambigous call problem is solved
		get { return size.height }
		mutating set { size.height = newValue }
	}

	public var left: CGFloat {
		get { return origin.x }
		mutating set { origin.x = newValue }
	}

	public var right: CGFloat {
		get { return origin.x + size.width }
		mutating set { origin.x = newValue - size.width }
	}

	public var top: CGFloat {
		get { return origin.y }
		mutating set { origin.y = newValue }
	}

	public var topLeft: CGPoint {
		get { return origin }
		mutating set { origin = newValue }
	}

	public var topRight: CGPoint {
		get { return CGPoint(x: right, y: top) }
		mutating set { right = newValue.x; top = newValue.y }
	}

	var width: CGFloat {  // make public once the ambigous call problem is solved
		get { return size.width }
		mutating set { size.width = newValue }
	}
}
{'fraction_non_alphanumeric': 0.11575381140598531, 'fraction_numerical': 0.004517221908526256, 'mean_word_length': 3.063073394495413, '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': '4431246', 'n_tokens_mistral': 1341, 'n_tokens_neox': 1221, 'n_words': 405}