<commit_before>// +build appengine

package kami

import (
	"net/http"

	"golang.org/x/net/context"
	"google.golang.org/appengine"
)

func defaultContext(ctx context.Context, r *http.Request) context.Context {
	return appengine.WithContext(ctx, r)
}<commit_msg>Support AppEngine Flexible environment with Go 1.7 changes<commit_after>// +build appengine appenginevm

package kami

import (
	"net/http"

	"golang.org/x/net/context"
	"google.golang.org/appengine"
)

func defaultContext(ctx context.Context, r *http.Request) context.Context {
	return appengine.WithContext(ctx, r)
}
{'fraction_non_alphanumeric': 0.1226252158894646, 'fraction_numerical': 0.0034542314335060447, 'mean_word_length': 5.041666666666667, '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': '5285618', 'n_tokens_mistral': 211, 'n_tokens_neox': 197, 'n_words': 44}