<commit_before>//  Copyright (c) 2015 <NAME>. All rights reserved.

public struct SetDifferential<T: Hashable>: DifferentialType {
	public init(inserted: Set<T>, deleted: Set<T>) {
		self.inserted = inserted
		self.deleted = deleted
	}

	public let inserted: Set<T>
	public let deleted: Set<T>


	// MARK: DifferentialType

	public static func differentiate(#before: Set<T>, after: Set<T>) -> SetDifferential {
		return SetDifferential(inserted: after.subtract(before), deleted: before.subtract(after))
	}
}<commit_msg>Initialize SetDifferential with any arbitrary sequence.<commit_after>//  Copyright (c) 2015 <NAME>. All rights reserved.

public struct SetDifferential<T: Hashable>: DifferentialType {
	public init<S1: SequenceType, S2: SequenceType where S1.Generator.Element == T, S2.Generator.Element == T>(inserted: S1, deleted: S2) {
		self.inserted = Set(inserted)
		self.deleted = Set(deleted)
	}

	public let inserted: Set<T>
	public let deleted: Set<T>


	// MARK: DifferentialType

	public static func differentiate(#before: Set<T>, after: Set<T>) -> SetDifferential {
		return SetDifferential(inserted: after.subtract(before), deleted: before.subtract(after))
	}
}
{'fraction_non_alphanumeric': 0.12489379779099405, 'fraction_numerical': 0.0118946474086661, 'mean_word_length': 5.232804232804233, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 20, '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': '1767281', 'n_tokens_mistral': 402, 'n_tokens_neox': 359, 'n_words': 103}