<commit_before>// package containers provides for running a bunch of skiaserve instances in containers.
package containers

import (
	"encoding/json"
	"fmt"
	"net/http"
	"net/http/httptest"
	"net/http/httputil"
	"net/url"
	"regexp"
	"sort"
	"strconv"
	"sync"
	"time"

	"go.skia.org/infra/debugger/go/runner"
	"go.skia.org/infra/go/httputils"
	"go.skia.org/infra/go/login"
	"go.skia.org/infra/go/metrics2"
	"go.skia.org/infra/go/sklog"
)

const (
	// MAX_CONTAINERS is the max number of concurrent skiaserve instances we
	// support in the hosted environment.
	MAX_CONTAINERS = 200

	// START_PORT Is the beginning of the range of ports the skiaserve instances
	// will communicate on.
	START_PORT = 20000

	// START_WAIT_NUM poll the newly started skiaserve this many times before giving up.
	START_WAIT_NUM = 50
<commit_msg>debugger: Move to a different port than Prometheus.<commit_after>// package containers provides for running a bunch of skiaserve instances in containers.
package containers

import (
	"encoding/json"
	"fmt"
	"net/http"
	"net/http/httptest"
	"net/http/httputil"
	"net/url"
	"regexp"
	"sort"
	"strconv"
	"sync"
	"time"

	"go.skia.org/infra/debugger/go/runner"
	"go.skia.org/infra/go/httputils"
	"go.skia.org/infra/go/login"
	"go.skia.org/infra/go/metrics2"
	"go.skia.org/infra/go/sklog"
)

const (
	// MAX_CONTAINERS is the max number of concurrent skiaserve instances we
	// support in the hosted environment.
	MAX_CONTAINERS = 200

	// START_PORT Is the beginning of the range of ports the skiaserve instances
	// will communicate on.
	START_PORT = 30000

	// START_WAIT_NUM poll the newly started skiaserve this many times before giving up.
	START_WAIT_NUM = 50

{'fraction_non_alphanumeric': 0.10781990521327015, 'fraction_numerical': 0.013033175355450236, 'mean_word_length': 3.839541547277937, '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': '1769153', 'n_tokens_mistral': 660, 'n_tokens_neox': 614, 'n_words': 169}