<commit_before>﻿using CSharpGL;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GridViewer
{
    class UIColorPaletteRenderer : UIRenderer
    {
        List<UIText> labelList = new List<UIText>();
        const int marginLeft = 50;
        const int marginRight = 50;
        /// <summary>
        /// </summary>
        /// <param name="anchor"></param>
        /// <param name="margin"></param>
        /// <param name="size"></param>
        /// <param name="zNear"></param>
        /// <param name="zFar"></param><commit_msg>add comment<commit_after>﻿using CSharpGL;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GridViewer
{
    /// <summary>
    /// color palette.
    /// 在窗口固定位置显示的色标。
    /// </summary>
    class UIColorPaletteRenderer : UIRenderer
    {
        List<UIText> labelList = new List<UIText>();
        const int marginLeft = 50;
        const int marginRight = 50;
        /// <summary>
        /// </summary>
        /// <param name="anchor"></param>
        /// <param name="margin"></param>
        /// <param name="size"></param>
        /// <param name="zNear"></param>
        /// <param name="zFar"></param>
{'fraction_non_alphanumeric': 0.161698956780924, 'fraction_numerical': 0.005961251862891207, 'mean_word_length': 2.3828715365239295, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, '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': '4256597', 'n_tokens_mistral': 413, 'n_tokens_neox': 401, 'n_words': 91}