<commit_before>"use strict"

const createDataReader = require('../createDataReader')

module.exports = (args) => {
  const reader = createDataReader(args)

  const load = () => {
    const tileWidth = 320
    const tileHeight = 66

    const tbox = reader.readByteArray(tileWidth * tileHeight)

    return {
      tbox
    }
  }

  return {
    load
  }
}<commit_msg>declarative verge1 BOX.RAW loader<commit_after>"use strict"

const createDataReader = require('../createDataReader')
const {readFormat, T} = require('../readFormat')

module.exports = (args) => {
  const reader = createDataReader(args)

  return {
    load: () => readFormat({
      format: {tbox: T.list(T.u8, 320 * 66)},
      reader
    })
  }
}
{'fraction_non_alphanumeric': 0.13986013986013987, 'fraction_numerical': 0.016783216783216783, 'mean_word_length': 3.138728323699422, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '5435871', 'n_tokens_mistral': 247, 'n_tokens_neox': 228, 'n_words': 52}