<commit_before>package dev

type QuorumSpec interface {
	ReadQF(replies []*State) (*State, bool)
	WriteQF(replies []*WriteResponse) (*WriteResponse, bool)
	IDs() []uint32
}<commit_msg>dev: godoc for qspec interface<commit_after>package dev

// QuorumSpec is the interface that wraps every quorum function in addition to a
// general method for querying the IDs of configuration/quorum spec-combination.
// All interface methods except IDs are generated for each specific use case.
type QuorumSpec interface {
	// ReadQF is the quorum function for the Read RPC method.
	ReadQF(replies []*State) (*State, bool)
	// WriteQF is the quorum function for the Write RPC method.
	WriteQF(replies []*WriteResponse) (*WriteResponse, bool)
	// IDs returns a slice containing the Gorums identifiers for every node
	// in the configuration for the quorum specification.
	IDs() []uint32
}
{'fraction_non_alphanumeric': 0.08705612829324169, 'fraction_numerical': 0.004581901489117984, 'mean_word_length': 4.865771812080537, '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': '2527268', 'n_tokens_mistral': 257, 'n_tokens_neox': 251, 'n_words': 106}