Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 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.