Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SaveRankingQuality ¶
func SaveRankingQuality(newQualities []RankingQuality)
Types ¶
type BasicTestCase ¶
type BasicTestCase struct { Description string `json:"test_case_description"` AllDocuments []string `json:"all_documents"` ExpectedDocuments []string `json:"documents_expected_to_match"` ValidQueries []string `json:"valid_queries"` InvalidQueries []string `json:"invalid_queries"` }
func ParseBasicTestCases ¶
func ParseBasicTestCases() []BasicTestCase
type RankingQuality ¶
type RankingQuality struct { Description string `json:"test_case_description"` FastRankingQuality float64 `json:"fast_ranking_quality"` FuzzRankingQuality float64 `json:"fuzz_ranking_quality"` }
func ParseRankingQuality ¶
func ParseRankingQuality() []RankingQuality
type RankingTestCase ¶
type RankingTestCase struct { Description string `json:"test_case_description"` AllDocuments []string `json:"all_documents"` ExpectedDocuments []string `json:"expected_documents_order"` AnyOrderClasses [][]string `json:"any_order_classes"` Queries []string `json:"queries"` }
func ParseRankingTestCases ¶
func ParseRankingTestCases() []RankingTestCase
Click to show internal directories.
Click to hide internal directories.