<commit_before>// package core contains the core data structures and functionality
// leveraged y the other other Goed packages.
package core

import "os"

const Version = "0.0.3"
const ApiVersion = "v1"

var Trace = false

// Ed is thew editor singleton
var Ed Editable

// Colors is the number of colors to use in the terminal
var Colors int

// Home represent the goed "home" folder.
var Home string

// testing : whether we are in "unit test" mode.
var Testing bool

// ConfigFile holds the path to the config file currently in use.
var ConfFile string

// LogFile holds the path of the log file currently in use.
var LogFile *os.File

// terminal as defined by $SHELL
var Terminal string

var Bus ActionDispatcher

var ApiPort int

var Socket string // instance RPC socket

var InstanceId int64 // instance ID

type CursorMvmt byte

const (
	CursorMvmtRight CursorMvmt = iota
	CursorMvmtLeft
	CursorMvmtUp
	CursorMvmtDown
	CursorMvmtPgDown
	CursorMvmtPgUp
	CursorMvmtHome
	CursorMvmtEnd
	CursorMvmtTop
	CursorMvmtBottom
)

type ViewType int

const (
	ViewTypeStandard ViewType = iota
	ViewTypeInteractive
)
<commit_msg>Use fixed constant values for cursorMvmt<commit_after>// package core contains the core data structures and functionality
// leveraged y the other other Goed packages.
package core

import "os"

const Version = "0.0.3"
const ApiVersion = "v1"

var Trace = true

// Ed is thew editor singleton
var Ed Editable

// Colors is the number of colors to use in the terminal
var Colors int

// Home represent the goed "home" folder.
var Home string

// testing : whether we are in "unit test" mode.
var Testing bool

// ConfigFile holds the path to the config file currently in use.
var ConfFile string

// LogFile holds the path of the log file currently in use.
var LogFile *os.File

// terminal as defined by $SHELL
var Terminal string

var Bus ActionDispatcher

var ApiPort int

var Socket string // instance RPC socket

var InstanceId int64 // instance ID

type CursorMvmt byte

const (
	CursorMvmtRight  CursorMvmt = 0
	CursorMvmtLeft              = 1
	CursorMvmtUp                = 2
	CursorMvmtDown              = 3
	CursorMvmtPgDown            = 4
	CursorMvmtPgUp              = 5
	CursorMvmtHome              = 6
	CursorMvmtEnd               = 7
	CursorMvmtTop               = 8
	CursorMvmtBottom            = 9
)

type ViewType int

const (
	ViewTypeStandard ViewType = iota
	ViewTypeInteractive
)

{'fraction_non_alphanumeric': 0.04907216494845361, 'fraction_numerical': 0.009072164948453608, 'mean_word_length': 3.0433333333333334, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1243567', 'n_tokens_mistral': 767, 'n_tokens_neox': 750, 'n_words': 312}