<commit_before>// Copyright 2012 GAEGo Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// Copyright 2012 The Gorilla Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build !appengine

package context

import (
	"net/http"

	"appengine"
	appenginetesting "github.com/tenntenn/gae-go-testing"
)

type Context appengine.Context

var cntx appengine.Context

// New returns a new testing context.
func NewContext(r *http.Request) appengine.Context {
	if cntx == nil {
		var err error<commit_msg>refactor: switched appenginetesting to <NAME>'s branch github.com/icub3d/appenginetesting<commit_after>// Copyright 2012 GAEGo Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// Copyright 2012 The Gorilla Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build !appengine

package context

import (
	"net/http"

	"appengine"
	"github.com/icub3d/appenginetesting"
)

type Context appengine.Context

var cntx appengine.Context

// New returns a new testing context.
func NewContext(r *http.Request) appengine.Context {
	if cntx == nil {
		var err error
{'fraction_non_alphanumeric': 0.08255563531945441, 'fraction_numerical': 0.012921751615218953, 'mean_word_length': 3.6936026936026938, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '2835834', 'n_tokens_mistral': 437, 'n_tokens_neox': 415, 'n_words': 174}