chore: import upstream snapshot with attribution
CI / benchmark (push) Has been skipped
install-script / posix-syntax (push) Successful in 6m1s
CI / build-onnx (push) Failing after 6m43s
init-smoke / dry-run (push) Failing after 15m57s
security / govulncheck (push) Has been cancelled
security / trivy-fs (push) Has been cancelled
CI / test (1.26, ubuntu-latest) (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
CI / test (1.26, macos-latest) (push) Has been cancelled
CI / build-windows (push) Has been cancelled
CI / lint (push) Has been cancelled
install-script / powershell-syntax (push) Has been cancelled
install-script / install (macos-14) (push) Has been cancelled
install-script / install (ubuntu-latest) (push) Has been cancelled

This commit is contained in:
wehub-resource-sync
2026-07-13 12:33:42 +08:00
commit a06f331eb8
3186 changed files with 689843 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
{"_id":"d1","title":"binary search","text":"func binarySearch(a []int, x int) int finds an element in a sorted slice"}
{"_id":"d2","title":"quick sort","text":"func quickSort(a []int) sorts a slice in place"}
{"_id":"d3","title":"hash map lookup","text":"func (m *HashMap) Get(key string) any returns the value stored under key"}
+3
View File
@@ -0,0 +1,3 @@
query-id corpus-id score
q1 d1 2
q2 d3 1
1 query-id corpus-id score
2 q1 d1 2
3 q2 d3 1
+3
View File
@@ -0,0 +1,3 @@
{"_id":"q1","text":"search a sorted array for an element"}
{"_id":"q2","text":"look up a value in a map by its key"}
{"_id":"q3","text":"a query with no relevance judgement"}
+2
View File
@@ -0,0 +1,2 @@
{"id":"t1","query":"parse the authentication token from a request","relevant":["c1"],"candidates":[{"id":"c1","text":"func parseAuthToken(req Request) Token validates and decodes the bearer token"},{"id":"c2","text":"func renderTemplate(name string, data any) string expands an HTML template"}]}
{"id":"t2","query":"render an HTML template with data","relevant":[{"id":"c2","score":3}],"candidates":[{"id":"c1","text":"func parseAuthToken(req Request) Token validates and decodes the bearer token"},{"id":"c2","text":"func renderTemplate(name string, data any) string expands an HTML template"}]}