<commit_before>package flare.vis.scale
{
	import flare.util.Dates;
	import flare.util.Maths;
	
	/**
	 * Scale for timelines represented using <code>Date</code> values. This
	 * scale represents a linear, quantitative time line. The class attempts
	 * to automatically configure date value labels based on the time span
	 * between the earliest and latest date in the scale. The label formatting
	 * pattern can also be manually set using the <code>labelFormat</code>
	 * property.
	 */
	public class TimeScale extends Scale
	{
		private var _dmin:Date;
		private var _dmax:Date;
		private var _smin:Date;
		private var _smax:Date;
		private var _autofmt:Boolean = true;
		
		/**
		 * Creates a new TimeScale.
		 * @param min the minimum (earliest) date value
		 * @param max the maximum (latest) date value
		 * @param flush the flush flag for scale padding
		 * @param labelFormat the formatting pattern for value labels
		 */
		public function TimeScale(min:Date=null, max:Date=null,
			flush:Boolean=false, labelFormat:String=null)
		{
			this.dataMin = min==null ? new Date(0) : min;
			this.dataMax = max==null ? new Date(0) : max;
			this.flush = flush;
			this.labelFormat = labelFormat;
		}
		
		/** @inheritDoc */
		public override function clone():Scale {<commit_msg>Updated Flare/Flex integration<commit_after>package flare.vis.scale
{
	import flare.util.Dates;
	import flare.util.Maths;
	
	/**
	 * Scale for timelines represented using <code>Date</code> values. This
	 * scale represents a linear, quantitative time line. The class attempts
	 * to automatically configure date value labels based on the time span
	 * between the earliest and latest date in the scale. The label formatting
	 * pattern can also be manually set using the <code>labelFormat</code>
	 * property.
	 */
	public class TimeScale extends Scale
	{
		private var _dmin:Date = new Date(0);
		private var _dmax:Date = new Date(0);
		private var _smin:Date;
		private var _smax:Date;
		private var _autofmt:Boolean = true;
		
		/**
		 * Creates a new TimeScale.
		 * @param min the minimum (earliest) date value
		 * @param max the maximum (latest) date value
		 * @param flush the flush flag for scale padding
		 * @param labelFormat the formatting pattern for value labels
		 */
		public function TimeScale(min:Date=null, max:Date=null,
			flush:Boolean=false, labelFormat:String=null)
		{
			if (min) this.dataMin = min;
			if (max) this.dataMax = max;
			this.flush = flush;
			this.labelFormat = labelFormat;
		}
		
		/** @inheritDoc */
		public override function clone():Scale {
{'fraction_non_alphanumeric': 0.09161793372319688, 'fraction_numerical': 0.0015594541910331384, 'mean_word_length': 3.6824817518248176, 'pattern_counts': {'":': 0, '<': 11, '<?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': '1067360', 'n_tokens_mistral': 837, 'n_tokens_neox': 723, 'n_words': 278}