<commit_before>package warrant

import (
	"encoding/json"
	"fmt"
	"net/http"
	"net/url"
	"strconv"

	"github.com/pivotal-cf-experimental/warrant/internal/documents"
	"github.com/pivotal-cf-experimental/warrant/internal/network"
)

// Query is a representation of a search query used to list resources.
type Query struct {
	// Filter is a string representation of a filtering expression as specified in the SCIM spec.
	Filter string
	// SortBy is a string representation of what field to sort the users by.
	SortBy string
}

// TODO: Score password strength
// TODO: Verify a user
// TODO: Query for user info<commit_msg>Nevermind<commit_after>package warrant

import (
	"encoding/json"
	"fmt"
	"net/http"
	"net/url"
	"strconv"

	"github.com/pivotal-cf-experimental/warrant/internal/documents"
	"github.com/pivotal-cf-experimental/warrant/internal/network"
)

// Query is a representation of a search query used to list resources.
type Query struct {
	// Filter is a string representation of a filtering expression as specified in the SCIM spec.
	Filter string
	// SortBy is a string representation of what field to sort the users by.
	SortBy string
}

// TODO: Verify a user
// TODO: Query for user info
{'fraction_non_alphanumeric': 0.09060681629260182, 'fraction_numerical': 0.0, 'mean_word_length': 3.894308943089431, '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': '1020336', 'n_tokens_mistral': 379, 'n_tokens_neox': 366, 'n_words': 135}