<commit_before>package boxpacker

import (
	aelog "google.golang.org/appengine/log"
	"golang.org/x/net/context"
)

func Report(ctx context.Context, packedBoxes *MinHeap) {

	aelog.Infof(ctx, "These items fitted into %d box(es).\n", packedBoxes.Len())
	for _, pb := range *packedBoxes {
		packedBox := pb.(PackedBox)
		boxType := packedBox.Box
		aelog.Infof(ctx, "This box is a %s, it is %d in wide, %d in long and %d in high.\n", boxType.Reference, boxType.OuterWidth, boxType.OuterLength, boxType.OuterDepth)
		aelog.Infof(ctx, "The combined weight of this box and the items inside it is %d lbs.", packedBox.BoxWeight());
		aelog.Infof(ctx, "The items in this box are:\n");
		itemsInTheBox := packedBox.Items

		for _, i := range itemsInTheBox {
			item := i.(Item)
			aelog.Infof(ctx, "%s", item.Description)
		}

	}
}
<commit_msg>remove app engine specific code<commit_after>package boxpacker

import ("log")

func Report(packedBoxes *MinHeap) {

	log.Printf("These items fitted into %d box(es).\n", packedBoxes.Len())
	for _, pb := range *packedBoxes {
		packedBox := pb.(PackedBox)
		boxType := packedBox.Box
		log.Printf("This box is a %s, it is %d in wide, %d in long and %d in high.\n", boxType.Reference, boxType.OuterWidth, boxType.OuterLength, boxType.OuterDepth)
		log.Printf("The combined weight of this box and the items inside it is %d lbs.", packedBox.BoxWeight());
		log.Printf("The items in this box are:\n");
		itemsInTheBox := packedBox.Items

		for _, i := range itemsInTheBox {
			item := i.(Item)
			log.Printf("%s", item.Description)
		}

	}
}

{'fraction_non_alphanumeric': 0.14094387755102042, 'fraction_numerical': 0.0, 'mean_word_length': 4.1107491856677525, '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': '4340833', 'n_tokens_mistral': 582, 'n_tokens_neox': 554, 'n_words': 161}