Versions in this module Expand all Collapse all v1 v1.0.2 Aug 5, 2026 Changes in this version + func GetFileOffset(filePath string) int + func GetPBRace(modeKey string) (float64, []float64) + func SaveFileOffset(filePath string, offset int) error + func SavePBRace(modeKey string, wpm float64, samples []float64) error v1.0.1 Aug 5, 2026 Changes in this version + var DB *sql.DB + func CloseDB() + func GetDBFilePath() (string, error) + func GetKeyMetrics() map[rune]KeyMetric + func GetTopSlowestBigrams(limit int) []string + func GetTopWeakKeys(limit int) []rune + func InitDB() error + func RecordBigramHit(bigram string, latencyMs int64) error + func RecordKeyHit(keyChar string, isError bool, latencyMs int64) error + func SaveTestRun(mode string, wpm, rawWPM, accuracy, consistency float64, durationSec int) error + type KeyMetric struct + Accuracy float64 + AvgLatency float64 + Char rune + ErrorCount int + TotalHits int v1.0.0 Aug 5, 2026