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

package geddit

import (
	"fmt"
)

type Redditor struct {
	ID      string  `json:"id"`
	Name    string  `json:"name"`
	Created float32 `json:"created_utc"`
	Gold    bool    `json:"is_gold"`
	Mod     bool    `json:"is_mod"`
	Mail    bool    `json:"has_mail"`
	ModMail bool    `json:"has_mod_mail"`
	Karma
}

type Preferences struct {
	Research               bool   `json:"research"`
	ShowStylesheets        bool   `json:"show_stylesheets"`
	ShowLinkFlair          bool   `json:"show_link_flair"`
	ShowTrending           bool   `json:"show_trending"`<commit_msg>fixup! Use OAuth2 to make reddit API requests<commit_after>// Copyright 2012 <NAME>. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package geddit

import (
	"fmt"
)

type Redditor struct {
	ID      string  `json:"id"`
	Name    string  `json:"name"`
	Created float64 `json:"created_utc"`
	Gold    bool    `json:"is_gold"`
	Mod     bool    `json:"is_mod"`
	Mail    bool    `json:"has_mail"`
	ModMail bool    `json:"has_mod_mail"`
	Karma
}

type Preferences struct {
	Research               bool   `json:"research"`
	ShowStylesheets        bool   `json:"show_stylesheets"`
	ShowLinkFlair          bool   `json:"show_link_flair"`
	ShowTrending           bool   `json:"show_trending"`
{'fraction_non_alphanumeric': 0.10430686406460296, 'fraction_numerical': 0.008748317631224764, 'mean_word_length': 2.9759358288770055, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '7002806', 'n_tokens_mistral': 500, 'n_tokens_neox': 484, 'n_words': 146}