<commit_before>'use strict';

var path = require('path');
var SHA256 = require('sha.js').sha256;

exports.imageList = [
    'cat.jpg',
    'cat-blur.jpg',
    'cells.jpg',
    'ecoli.png',
    'xtc.jpg',
    'grey8.png',
    'grey16.png',
    'rgb8.png',
    'rgb16.png',
    'BW11x11.png',
    'BW15x15.png',
    'BW15x15transparent.png'
];

exports.getImage = function getImage(name) {
    return path.resolve(__dirname, 'img', name);
};

exports.getHash = function getHash(img) {
    if (!img.length) {
        img = img.data;<commit_msg>Update image list<commit_after>'use strict';

var path = require('path');
var SHA256 = require('sha.js').sha256;

exports.imageList = [
    'BW11x11.png',
    'BW15x15.png',
    'BW15x15notTransparent.png',
    'BW15x15transparent.png',
    'BW2x2.png',
    'BW3x3.png',
    'BW4x4.png',
    'BW5x5.png',
    'BW7x7.png',
    'BWGrid5x5.png',
    'ColorGrid5x5.png',
    'cat-blur.jpg',
    'cat.jpg',
    'cells.jpg',
    'ecoli.png',
    'grey16.png',
    'grey8.png',
    'isolateCells.png',
    'rgb32bits.png',
    'rgb64bits.png',
    'rgb8bits.png',
    'xtc.jpg'
];

exports.getImage = function getImage(name) {
    return path.resolve(__dirname, 'img', name);
};

exports.getHash = function getHash(img) {
    if (!img.length) {
        img = img.data;
{'fraction_non_alphanumeric': 0.1858678955453149, 'fraction_numerical': 0.05222734254992319, 'mean_word_length': 2.9129129129129128, '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': '554984', 'n_tokens_mistral': 573, 'n_tokens_neox': 522, 'n_words': 81}