<commit_before>###
  twilight.coffee

  view for twilight simulation
###
define [
  'exports'
], (twilight) ->

    canvas = document.getElementById("twilight")
    context = canvas.getContext("2d")
    canvas.width = 512
    canvas.height = 512

    twilight.paint = (data) ->
        context.clearRect(0, 0, 512, 512)
        for i in [0...256]
            for j in [0...256]
                [blue, yellow] = data[i][j]

                blue = blue * 4096
                blue = 255 if blue > 255
                hexB = Math.round(blue).toString(16)
                hexB = '0' + hexB if hexB.length == 1

                yellow = yellow * 8192
                yellow = 255 if yellow > 255
                hexY = Math.round(yellow).toString(16)<commit_msg>change scale<commit_after>###
  twilight.coffee

  view for twilight simulation
###
define [
  'exports'
], (twilight) ->

    canvas = document.getElementById("twilight")
    context = canvas.getContext("2d")
    canvas.width = 512
    canvas.height = 512

    twilight.paint = (data) ->
        context.clearRect(0, 0, 512, 512)
        for i in [0...256]
            for j in [0...256]
                [blue, yellow] = data[i][j]

                blue = blue * 192
                blue = 255 if blue > 255
                hexB = Math.round(blue).toString(16)
                hexB = '0' + hexB if hexB.length == 1

                yellow = yellow * 320
                yellow = 255 if yellow > 255
                hexY = Math.round(yellow).toString(16)
{'fraction_non_alphanumeric': 0.12442091330244871, 'fraction_numerical': 0.06353408338848444, 'mean_word_length': 1.597938144329897, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '4729084', 'n_tokens_mistral': 554, 'n_tokens_neox': 438, 'n_words': 120}