<commit_before>//
//  Container.swift
//  Few
//
//  Created by <NAME> on 8/27/14.
//  Copyright (c) 2014 <NAME>. All rights reserved.
//

import Foundation
import CoreGraphics

/// Containers (surprise!) contain other elements.
public class Container: Element, ArrayLiteralConvertible {
	private let children: [Element]

	public init(_ children: [Element]) {
		self.children = children
		super.init()
	}

	public required init(arrayLiteral elements: Element...) {
		self.children = elements
		super.init()
	}

	public required init(copy: Element, frame: CGRect, hidden: Bool, alpha: CGFloat, key: String?) {
		let container = copy as Container
		children = container.children
		super.init(copy: copy, frame: frame, hidden: hidden, alpha: alpha, key: key)
	}

	// MARK: Element

	public override func realize() -> ViewType? {
		return ViewType(frame: frame)
	}

	public override func getChildren() -> [Element] {
		return children
	}
}
<commit_msg>Bail on array literal convertible again.<commit_after>//
//  Container.swift
//  Few
//
//  Created by <NAME> on 8/27/14.
//  Copyright (c) 2014 <NAME>. All rights reserved.
//

import Foundation
import CoreGraphics

/// Containers (surprise!) contain other elements.
public class Container: Element {
	private let children: [Element]

	public init(_ children: [Element]) {
		self.children = children
		super.init()
	}

	public convenience init(_ elements: Element...) {
		self.init(elements)
	}

	public required init(copy: Element, frame: CGRect, hidden: Bool, alpha: CGFloat, key: String?) {
		let container = copy as Container
		children = container.children
		super.init(copy: copy, frame: frame, hidden: hidden, alpha: alpha, key: key)
	}

	// MARK: Element

	public override func realize() -> ViewType? {
		return ViewType(frame: frame)
	}

	public override func getChildren() -> [Element] {
		return children
	}
}

{'fraction_non_alphanumeric': 0.12513368983957218, 'fraction_numerical': 0.009625668449197862, 'mean_word_length': 3.701005025125628, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, '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': '4517208', 'n_tokens_mistral': 607, 'n_tokens_neox': 553, 'n_words': 190}