<commit_before>package model

import (
	"github.com/Konstantin8105/GoFea/input/force"
	"github.com/Konstantin8105/GoFea/input/point"
)

type nodeForce2d struct {
	nodeForce  force.NodeDim2
	pointIndex point.Index
}

// Sorting
type nodeForceByPoint []nodeForce2d

func (a nodeForceByPoint) Len() int { return len(a) }

//func (a nodeForceByPoint) Swap(i, j int)       { a[i], a[j] = a[j], a[i] }
//func (a nodeForceByPoint) Less(i, j int) bool  { return a[i].pointIndex < a[j].pointIndex }
func (a nodeForceByPoint) Equal(i, j int) bool { return a[i].pointIndex == a[j].pointIndex }
func (a nodeForceByPoint) Name(i int) int      { return int(a[i].pointIndex) }<commit_msg>remove wrong comments<commit_after>package model

import (
	"github.com/Konstantin8105/GoFea/input/force"
	"github.com/Konstantin8105/GoFea/input/point"
)

type nodeForce2d struct {
	nodeForce  force.NodeDim2
	pointIndex point.Index
}

// Sorting
type nodeForceByPoint []nodeForce2d

func (a nodeForceByPoint) Len() int            { return len(a) }
func (a nodeForceByPoint) Swap(i, j int)       { a[i], a[j] = a[j], a[i] }
func (a nodeForceByPoint) Less(i, j int) bool  { return a[i].pointIndex < a[j].pointIndex }
func (a nodeForceByPoint) Equal(i, j int) bool { return a[i].pointIndex == a[j].pointIndex }
func (a nodeForceByPoint) Name(i int) int      { return int(a[i].pointIndex) }
{'fraction_non_alphanumeric': 0.13970588235294118, 'fraction_numerical': 0.016176470588235296, 'mean_word_length': 4.337254901960784, 'pattern_counts': {'":': 0, '<': 5, '<?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': '3846115', 'n_tokens_mistral': 529, 'n_tokens_neox': 518, 'n_words': 124}