<commit_before>package main

import (
	"database/sql"
	"encoding/hex"
	"errors"
	"time"

	"github.com/go-kit/kit/metrics"
	"github.com/piotrkowalczuk/mnemosyne"
	"github.com/piotrkowalczuk/protot"
)

const (
	postgresSchema = `
		CREATE SCHEMA IF NOT EXISTS mnemosyne;
		CREATE TABLE IF NOT EXISTS mnemosyne.session (
			access_token BYTEA PRIMARY KEY,
			subject_id TEXT NOT NULL,
			bag bytea NOT NULL,
			expire_at TIMESTAMPTZ NOT NULL
		)
    `
)

var (
	tmpKey = []byte(hex.EncodeToString([]byte("1")))
)

type postgresStorage struct {
	db        *sql.DB
	tableName string<commit_msg>postgresSchemaSQL fix<commit_after>package main

import (
	"database/sql"
	"encoding/hex"
	"errors"
	"time"

	"github.com/go-kit/kit/metrics"
	"github.com/piotrkowalczuk/mnemosyne"
	"github.com/piotrkowalczuk/protot"
)

const (
	postgresSchema = `
		CREATE SCHEMA IF NOT EXISTS mnemosyne;
		CREATE TABLE IF NOT EXISTS mnemosyne.session (
			access_token BYTEA PRIMARY KEY,
			subject_id TEXT NOT NULL,
			bag bytea NOT NULL,
			expire_at TIMESTAMPTZ NOT NULL
		);
    `
)

var (
	tmpKey = []byte(hex.EncodeToString([]byte("1")))
)

type postgresStorage struct {
	db        *sql.DB
	tableName string
{'fraction_non_alphanumeric': 0.10699241786015164, 'fraction_numerical': 0.0016849199663016006, 'mean_word_length': 3.7903225806451615, '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': '2337926', 'n_tokens_mistral': 497, 'n_tokens_neox': 460, 'n_words': 100}