Documentation
¶
Overview ¶
Package guideaudit runs a fixed set of guide-type questions through the ask pipeline and records verdicts: pages read, whether the key facts appear, whether Sources is present, the Tactics label and the time taken. It stores phrases and verdicts only, never page text. See docs/guide-audit.md.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByCategory ¶
ByCategory is the pass rate per category as a Markdown table, categories in order of first appearance.
func Categories ¶
Categories lists the distinct categories, sorted.
func TacticsLabel ¶
TacticsLabel is the source label of the footer ("Tactics: guides"), "" when it has none.
Types ¶
type Result ¶
type Result struct {
Entry
Lookup bool // the pipeline offered guide pages for this question
Pages int // guide pages read (offline runs: 0)
FactsFound int
Sources bool
Tactics string // "guides", "general WoW knowledge" or ""
Took time.Duration
Err string
}
Result is the verdict for one question.
Directories
¶
| Path | Synopsis |
|---|---|
|
Command cmd is `make guide-audit`: it runs the question set in internal/ask/testdata/guide_audit.yaml through the real ask pipeline with guide lookups on, using the configured API client and the live guide sites, and writes the verdict table.
|
Command cmd is `make guide-audit`: it runs the question set in internal/ask/testdata/guide_audit.yaml through the real ask pipeline with guide lookups on, using the configured API client and the live guide sites, and writes the verdict table. |