<commit_before>/// <reference path="gooobject.ts"/>


interface Transition {
	id: string;
	name: string;
	sortValue: number;

	/**
	 * If this property is not present, the transition is not connected
	 * to another state.
	 */
	targetState?: string;
}

interface Action {
	id: string;
	name: string;
	sortValue: number;

	type: string;

	/**
	 * @additionalProperties true
	 */
	options?: {
		transitions?: {
			[key: string]: string
		}
	}
}

interface State {
	id: string;
	name: string;
	sortValue: number;

	// The position of the state in the graph.
	position?: Vector2;

	actions?: {
		// listId is Action's id
		[listId: string]: Action;
	}

	transitions?: {
		// listid is Transition's id
		[listId: string]: Transition;
	}<commit_msg>Make fsm actions and transitions have optional names.<commit_after>/// <reference path="gooobject.ts"/>


interface Transition {
	id: string;
	name?: string;
	sortValue: number;

	/**
	 * If this property is not present, the transition is not connected
	 * to another state.
	 */
	targetState?: string;
}

interface Action {
	id: string;
	name?: string;
	sortValue: number;

	type: string;

	/**
	 * @additionalProperties true
	 */
	options?: {
		transitions?: {
			[key: string]: string
		}
	}
}

interface State {
	id: string;
	name?: string;
	sortValue: number;

	// The position of the state in the graph.
	position?: Vector2;

	actions?: {
		// listId is Action's id
		[listId: string]: Action;
	}

	transitions?: {
		// listid is Transition's id
		[listId: string]: Transition;
	}
{'fraction_non_alphanumeric': 0.13211249182472204, 'fraction_numerical': 0.0013080444735120995, 'mean_word_length': 3.3098591549295775, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '7620794', 'n_tokens_mistral': 547, 'n_tokens_neox': 493, 'n_words': 163}