<commit_before>package main

import (
	"flag"
	"fmt"
	"io/ioutil"
	"log"
	"net/http"
	"os/exec"
	"strings"
)

var (
	address = flag.String("address", "127.0.0.1:50500", "The address to listen on")
)

func main() {
	flag.Parse()
	if *address == "" {
		log.Fatal("address flag is missing")
	}

	prefixHandlers := map[string]func(remainingURL string, w http.ResponseWriter, r *http.Request){
		"/exec-wait": func(remainingURL string, w http.ResponseWriter, r *http.Request) {
			if r.Method != "POST" {
				writeResponseError(w, http.StatusNotFound, "Only POST method allowed")<commit_msg>feat: change default listening tcp port, conficts with some docker proc<commit_after>package main

import (
	"flag"
	"fmt"
	"io/ioutil"
	"log"
	"net/http"
	"os/exec"
	"strings"
)

var (
	address = flag.String("address", "127.0.0.1:50505", "The address to listen on")
)

func main() {
	flag.Parse()
	if *address == "" {
		log.Fatal("address flag is missing")
	}

	prefixHandlers := map[string]func(remainingURL string, w http.ResponseWriter, r *http.Request){
		"/exec-wait": func(remainingURL string, w http.ResponseWriter, r *http.Request) {
			if r.Method != "POST" {
				writeResponseError(w, http.StatusNotFound, "Only POST method allowed")
{'fraction_non_alphanumeric': 0.15772357723577235, 'fraction_numerical': 0.01788617886178862, 'mean_word_length': 4.422907488986784, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '5176299', 'n_tokens_mistral': 475, 'n_tokens_neox': 442, 'n_words': 111}