<commit_before>#pragma once
#include "../range.hpp"

namespace frea {
	namespace random {
		template <class T, class RD>
		Range<T> GenRange(RD&& rd) {
			T rmin = rd(),
			 rmax = rd();
			if(rmin > rmax)
				std::swap(rmin, rmax);
			return {rmin, rmax};
		}
	}
}<commit_msg>Rangeランダム生成関数のバグ修正<commit_after>#pragma once
#include "../range.hpp"

namespace frea {
	namespace random {
		template <class T, class RD>
		Range<T> GenRange(RD&& rd) {
			auto	rmin = rd(),
					rmax = rd();
			if(rmin > rmax)
				std::swap(rmin, rmax);
			return {rmin, rmax};
		}
	}
}
{'fraction_non_alphanumeric': 0.1669626998223801, 'fraction_numerical': 0.0, 'mean_word_length': 3.208955223880597, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, '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': '6369692', 'n_tokens_mistral': 271, 'n_tokens_neox': 231, 'n_words': 56}