<commit_before>package main

import (
	"bytes"
	"flag"
	"github.com/tdewolff/minify"
	"github.com/tdewolff/minify/js"
	"golang.org/x/net/html"
	"golang.org/x/net/html/atom"
	"io"
	"log"
	"os"
	"path/filepath"
	"strings"
)

func getHTMLNodeAttr(n *html.Node, tagName string, attrKey string) string {
	if n.Type == html.ElementNode && n.Data == tagName {
		for _, a := range n.Attr {<commit_msg>Run minify.go through goimports.<commit_after>package main

import (
	"bytes"
	"flag"
	"io"
	"log"
	"os"
	"path/filepath"
	"strings"

	"github.com/tdewolff/minify"
	"github.com/tdewolff/minify/js"
	"golang.org/x/net/html"
	"golang.org/x/net/html/atom"
)

func getHTMLNodeAttr(n *html.Node, tagName string, attrKey string) string {
	if n.Type == html.ElementNode && n.Data == tagName {
		for _, a := range n.Attr {
{'fraction_non_alphanumeric': 0.1662531017369727, 'fraction_numerical': 0.0, 'mean_word_length': 3.950920245398773, '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': '6252627', 'n_tokens_mistral': 360, 'n_tokens_neox': 348, 'n_words': 65}