Ranking Review

Queries

{{ range .Entries }}
NDCG Score{{ .Score }}
{{range .Snippets}}
Relevance Score{{ .Label }}
Expected Ranking{{ .ExpectedRank }}
Predicted Ranking{{ .Rank }}
Features
{{ $features := .Features }} {{ range $index, $label := .FeatureLabels }}
{{ $label }}{{ index $features $index }}
{{ end }}
{{ .Title }}
{{ if .IsSO }}
{{ if .SOPage.Question.ShowID }}

{{printf "ID: %d" .SOPage.Question.ID}}

{{ end }} {{ if .SOPage.Question.ShowTitle }}

{{printf "Title: %s" .SOPage.Question.Title}}

{{ end }} {{if .SOPage.Question.ShowTags }}

{{printf "Tags: %s" .SOPage.Question.Tags}}

{{ end }}

{{printf "Body: %s" .SOPage.Question.Body}}

{{ if .SOPage.Question.ShowCode }}

{{printf "Code: %s" .SOPage.Question.Code}}

{{ end }} {{ if .SOPage.Question.ShowScore }}

{{printf "Score: %d" .SOPage.Question.Score}}

{{ end }} {{ if .SOPage.Question.ShowVC }}

{{printf "ViewCount: %d" .SOPage.Question.ViewCount}}

{{ end }} {{ if .SOPage.Question.ShowAC }}

{{printf "AnswerCount: %d" .SOPage.Question.AnswerCount}}

{{ end }} {{ if .SOPage.Question.ShowCC }}

{{printf "CommentCount: %d" .SOPage.Question.CommentCount}}

{{ end }} {{ if .SOPage.Question.ShowFC }}

{{printf "FavoriteCount: %d" .SOPage.Question.FavoriteCount}}

{{ end }} {{ if .SOPage.Question.ShowAAID }}

{{printf "AcceptedAnswerID: %d" .SOPage.Question.AcceptedAnswerID}}

{{ end }}
{{range $k,$ans := .SOPage.Answers }}
{{ if $ans.ShowID }}

{{printf "ID: %d" $ans.ID}}

{{ end }} {{ if $ans.ShowTitle }}

{{printf "Title: %s" $ans.Title}}

{{ end }} {{if $ans.ShowTags }}

{{printf "Tags: %s" $ans.Tags}}

{{ end }}

{{printf "Body: %s" $ans.Body}}

{{ if $ans.ShowCode }}

{{printf "Code: %s" $ans.Code}}

{{ end }} {{ if $ans.ShowScore }}

{{printf "Score: %d" $ans.Score}}

{{ end }} {{ if $ans.ShowVC }}

{{printf "ViewCount: %d" $ans.ViewCount}}

{{ end }} {{ if $ans.ShowAC }}

{{printf "AnswerCount: %d" $ans.AnswerCount}}

{{ end }} {{ if $ans.ShowCC }}

{{printf "CommentCount: %d" $ans.CommentCount}}

{{ end }} {{ if $ans.ShowFC }}

{{printf "FavoriteCount: %d" $ans.FavoriteCount}}

{{ end }} {{ if $ans.ShowAAID }}

{{printf "AcceptedAnswerID: %d" $ans.AcceptedAnswerID}}

{{ end }}
{{ end }} {{else}}
{{colorize .Code}}
{{end}}
{{end}}
{{ end }}