<commit_before>package main

//go:generate go run generate.go ../protocol/input/json.json ../../protocol/jsonrpc/build_test.go
//go:generate go run generate.go ../protocol/output/json.json ../../protocol/jsonrpc/unmarshal_test.go
//go:generate go run generate.go ../protocol/input/query.json ../../protocol/query/build_test.go
//go:generate go run generate.go ../protocol/output/query.json ../../protocol/query/unmarshal_test.go
//go:generate go run generate.go ../protocol/input/ec2.json ../../protocol/ec2query/build_test.go
//go:generate go run generate.go ../protocol/output/ec2.json ../../protocol/ec2query/unmarshal_test.go
//go:generate go run generate.go ../protocol/input/rest-json.json ../../protocol/restjson/build_test.go
//go:generate go run generate.go ../protocol/input/rest-xml.json ../../protocol/restxml/build_test.go
//go:generate go run generate.go ../protocol/output/rest-xml.json ../../protocol/restxml/unmarshal_test.go

import (
	"bytes"
	"encoding/json"
	"fmt"
	"net/url"
	"os"
	"regexp"
	"strconv"<commit_msg>Refactor go:generate commands for protocol tests<commit_after>package main

//go:generate go run generate.go input/json.json ../../protocol/jsonrpc/build_test.go
//go:generate go run generate.go output/json.json ../../protocol/jsonrpc/unmarshal_test.go
//go:generate go run generate.go input/query.json ../../protocol/query/build_test.go
//go:generate go run generate.go output/query.json ../../protocol/query/unmarshal_test.go
//go:generate go run generate.go input/ec2.json ../../protocol/ec2query/build_test.go
//go:generate go run generate.go output/ec2.json ../../protocol/ec2query/unmarshal_test.go
//go:generate go run generate.go input/rest-json.json ../../protocol/restjson/build_test.go
//go:generate go run generate.go input/rest-xml.json ../../protocol/restxml/build_test.go
//go:generate go run generate.go output/rest-xml.json ../../protocol/restxml/unmarshal_test.go

import (
	"bytes"
	"encoding/json"
	"fmt"
	"net/url"
	"os"
	"regexp"
	"strconv"
{'fraction_non_alphanumeric': 0.17676514772158236, 'fraction_numerical': 0.00400600901352028, 'mean_word_length': 3.44, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, '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': '1673733', 'n_tokens_mistral': 675, 'n_tokens_neox': 639, 'n_words': 132}