<commit_before>package adt

import (
	"bytes"
	"encoding/binary"
	"errors"
	"fmt"
	"io"
	"math"
	"os"
	"path/filepath"
	"strings"
	"time"

	log "github.com/Sirupsen/logrus"
)

const (
	HeaderLength           = 400
	ColumnDescriptorLength = 200
	MagicHeader            = "Advantage Table"
)

var (
	ErrMagicHeaderNotFound = errors.New("adt: magic header missing")
	ErrMultiplePKs         = errors.New("adt: multiple primary keys")
)

type Table struct {
	Name         string
	RecordCount  uint32
	DataOffset   uint16
	RecordLength uint32
	Columns      []*Column<commit_msg>logrus: use new import path<commit_after>package adt

import (
	"bytes"
	"encoding/binary"
	"errors"
	"fmt"
	"io"
	"math"
	"os"
	"path/filepath"
	"strings"
	"time"

	log "github.com/sirupsen/logrus"
)

const (
	HeaderLength           = 400
	ColumnDescriptorLength = 200
	MagicHeader            = "Advantage Table"
)

var (
	ErrMagicHeaderNotFound = errors.New("adt: magic header missing")
	ErrMultiplePKs         = errors.New("adt: multiple primary keys")
)

type Table struct {
	Name         string
	RecordCount  uint32
	DataOffset   uint16
	RecordLength uint32
	Columns      []*Column
{'fraction_non_alphanumeric': 0.10276338514680483, 'fraction_numerical': 0.02072538860103627, 'mean_word_length': 3.184115523465704, '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': '4053642', 'n_tokens_mistral': 426, 'n_tokens_neox': 407, 'n_words': 97}