<commit_before>package main

import (
	"log"

	"github.com/kolo/xmlrpc"
)

// https://warehouse.pypa.io/api-reference/xml-rpc/

func main() {
	client, _ := xmlrpc.NewClient("https://pypi.python.org/pypi", nil)
	defer client.Close()
	var result [10]interface{}
	err := client.Call("top_packages", 10, &result)
	if err != nil {
		log.Fatal(err)
	}
	// print(result[0].(string))
	for i, r := range result {
		println(i, r)<commit_msg>var result []interface{}<commit_after>package main

import (
	"log"

	"github.com/kolo/xmlrpc"
)

// https://warehouse.pypa.io/api-reference/xml-rpc/

func main() {
	client, _ := xmlrpc.NewClient("https://pypi.python.org/pypi", nil)
	defer client.Close()
	var result []interface{}
	err := client.Call("top_packages", 10, &result)
	if err != nil {
		log.Fatal(err)
	}
	// print(result[0].(string))
	for i, r := range result {
		println(i, r)
{'fraction_non_alphanumeric': 0.1928817451205511, 'fraction_numerical': 0.009184845005740528, 'mean_word_length': 3.8715083798882683, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '1489530', 'n_tokens_mistral': 358, 'n_tokens_neox': 339, 'n_words': 65}