diff --git a/.cspell.json b/.cspell.json index 545877922e3..09a12d9caab 100644 --- a/.cspell.json +++ b/.cspell.json @@ -1,4 +1,6 @@ { + "version": "0.2", + "language": "en", "import": [ "@cspell/dict-cpp/cspell-ext.json", "@cspell/dict-docker/cspell-ext.json", @@ -15,7 +17,6 @@ "@cspell/dict-shell/cspell-ext.json" ], "ignorePaths": [ - "**/.cspell.json", "**/*.ai", "**/*.drawio", "**/*.hdf5", @@ -29,8 +30,8 @@ "**/*.png", "**/*.sum", "**/*.svg", + "**/.cspell.json", "**/.git/objects/**", - "**/hack/cspell/.cspell.json", "**/cmd/agent/core/faiss/faiss", "**/cmd/agent/core/ngt/ngt", "**/cmd/agent/sidecar/sidecar", @@ -47,9 +48,149 @@ "**/cmd/tools/benchmark/job/job", "**/cmd/tools/benchmark/operator/operator", "**/cmd/tools/cli/loadtest/loadtest", + "**/hack/cspell/**", "**/internal/core/algorithm/ngt/assets/index", "**/internal/test/data/agent/ngt/validIndex" ], + "patterns": [ + { + "name": "Ignore_addr_suffix", + "pattern": "/\\b\\w*addr\\b/" + }, + { + "name": "Ignore_addrs_suffix", + "pattern": "/\\b\\w*addrs\\b/" + }, + { + "name": "Ignore_buf_suffix", + "pattern": "/\\b\\w*buf\\b/" + }, + { + "name": "Ignore_cancel_suffix", + "pattern": "/\\b\\w*cancel\\b/" + }, + { + "name": "Ignore_cfg_suffix", + "pattern": "/\\b\\w*cfg\\b/" + }, + { + "name": "Ignore_ch_suffix", + "pattern": "/\\b\\w*ch\\b/" + }, + { + "name": "Ignore_cnt_suffix", + "pattern": "/\\b\\w*cnt\\b/" + }, + { + "name": "Ignore_conf_suffix", + "pattern": "/\\b\\w*conf\\b/" + }, + { + "name": "Ignore_conn_suffix", + "pattern": "/\\b\\w*conn\\b/" + }, + { + "name": "Ignore_ctx_suffix", + "pattern": "/\\b\\w*ctx\\b/" + }, + { + "name": "Ignore_dim_suffix", + "pattern": "/\\b\\w*dim\\b/" + }, + { + "name": "Ignore_dur_suffix", + "pattern": "/\\b\\w*dur\\b/" + }, + { + "name": "Ignore_env_suffix", + "pattern": "/\\b\\w*env\\b/" + }, + { + "name": "Ignore_err_suffix", + "pattern": "/\\b\\w*err\\b/" + }, + { + "name": "Ignore_error_suffix", + "pattern": "/\\b\\w*error\\b/" + }, + { + "name": "Ignore_errors_suffix", + "pattern": "/\\b\\w*errors\\b/" + }, + { + "name": "Ignore_errs_suffix", + "pattern": "/\\b\\w*errs\\b/" + }, + { + "name": "Ignore_idx_suffix", + "pattern": "/\\b\\w*idx\\b/" + }, + { + "name": "Ignore_len_suffix", + "pattern": "/\\b\\w*len\\b/" + }, + { + "name": "Ignore_mu_suffix", + "pattern": "/\\b\\w*mu\\b/" + }, + { + "name": "Ignore_opt_suffix", + "pattern": "/\\b\\w*opt\\b/" + }, + { + "name": "Ignore_opts_suffix", + "pattern": "/\\b\\w*opts\\b/" + }, + { + "name": "Ignore_pool_suffix", + "pattern": "/\\b\\w*pool\\b/" + }, + { + "name": "Ignore_req_suffix", + "pattern": "/\\b\\w*req\\b/" + }, + { + "name": "Ignore_res_suffix", + "pattern": "/\\b\\w*res\\b/" + }, + { + "name": "Ignore_size_suffix", + "pattern": "/\\b\\w*size\\b/" + }, + { + "name": "Ignore_vec_suffix", + "pattern": "/\\b\\w*vec\\b/" + } + ], + "ignoreRegExpList": [ + "Ignore_addr_suffix", + "Ignore_addrs_suffix", + "Ignore_buf_suffix", + "Ignore_cancel_suffix", + "Ignore_cfg_suffix", + "Ignore_ch_suffix", + "Ignore_cnt_suffix", + "Ignore_conf_suffix", + "Ignore_conn_suffix", + "Ignore_ctx_suffix", + "Ignore_dim_suffix", + "Ignore_dur_suffix", + "Ignore_env_suffix", + "Ignore_err_suffix", + "Ignore_error_suffix", + "Ignore_errors_suffix", + "Ignore_errs_suffix", + "Ignore_idx_suffix", + "Ignore_len_suffix", + "Ignore_mu_suffix", + "Ignore_opt_suffix", + "Ignore_opts_suffix", + "Ignore_pool_suffix", + "Ignore_req_suffix", + "Ignore_res_suffix", + "Ignore_size_suffix", + "Ignore_vec_suffix" + ], "ignoreWords": [ "AQUASECURITY", "Addrs", @@ -82,6 +223,7 @@ "GACHE", "GETOBJECT", "GHACTION", + "GOARCH", "GOBIN", "GOLANGCILINT", "GOLINES", @@ -93,6 +235,7 @@ "GOTESTS", "Gache", "Gocqlx", + "Gofumpt", "Goleak", "IDRPC", "INITCONTAINER", @@ -133,6 +276,7 @@ "QUICKACK", "RDONLY", "READREPLICA", + "RECVORIGDSTADDR", "REVIEWDOG", "ROOTDIR", "RUSTUP", @@ -174,149 +318,474 @@ "ZEROLOG", "ZSTD", "Zstd", + "accesskey", + "accesslog", + "adal", "addrs", + "adipisicing", + "afero", + "aggr", + "ajstarks", + "aknishid", "akrylysov", + "aliqua", + "aliquip", + "alives", + "amet", + "amqp", + "ando", + "antihax", "anypb", "apiextensions", "apimachinery", "apiserver", + "appengine", "aquasecurity", + "armon", + "astcopy", + "astequal", + "atof", + "atol", + "atot", + "aute", + "autobuild", "autoclean", "automaxprocs", "autoremove", + "autorest", + "autoscaler", + "azcore", + "azidentity", "backoffmetrics", + "batchv", "bbolt", + "bdbs", + "benbjohnson", + "benchjob", + "benchjobs", + "benchmem", + "benchscenario", + "bento", + "beorn", "bigann", "binfmt", + "bjns", + "blackfriday", + "bmizerany", + "boolint", + "boombuler", + "brnd", + "buckhash", "bufbuild", + "buger", "buildbase", "buildkit", "buildx", + "bulkinsert", + "burstable", "bvecs", + "bytefmt", "bzrignore", "canceld", + "capi", "cbmetrics", + "cenkalti", + "cespare", "chatops", + "chunkreader", + "chzyer", + "cillum", "circuitbreaker", "clientip", + "clientmock", + "clientset", + "cloudfoundry", + "cloudsql", "cloudstorage", "clusterrole", + "clusterrolebinding", + "clusterrolebindings", + "clusterroles", + "cmder", + "cmdflag", + "cmps", + "cnts", "cockroachdb", "codegen", + "collatz", + "colorstring", + "commandhistory", + "commodo", + "concurency", "configmap", + "configsources", + "conflint", + "consequat", + "consistetncy", + "contributorsrc", + "conv", + "copylocks", "corev", + "cpuguy", + "cpuid", "crds", + "creack", + "createandsave", + "crlfmt", + "crorg", "cstring", "ctxio", + "cupidatat", + "customresourcedefinitions", + "cvspq", "daemonset", "dataspace", + "datelier", + "davecgh", + "dbuild", + "dbus", + "dcmake", + "deafult", + "debg", + "debugd", + "debugf", "decbytes", + "deepcopy", + "deepsource", + "dejavu", + "deletecollection", + "deleter", + "demangle", + "denisenkom", + "deserunt", "devcontainer", "devcontainers", "devel", + "devigned", + "dgryski", "dicoverer", + "difflib", + "diskv", "distroless", + "dnaeon", + "dnsa", + "dockerfiles", + "dolore", + "dotdc", "dotproduct", "dpkg", + "dset", + "duis", + "durationpb", + "dylib", + "easyjson", + "ecrud", + "eiusmod", "elif", + "elit", "emap", + "emicklei", + "enim", + "envkey", "envoyproxy", "eoptions", + "errcheck", "errdetails", + "errgroup", + "errgroup", + "errord", + "errorf", + "errorln", "esac", "eucjp", + "evanphx", + "eventstream", + "excepteur", + "exhaustruct", "extendee", + "extldflags", "faild", "faiss", "fastime", + "fastopen", + "fastuuid", + "fatald", + "felixge", + "fgprof", + "finalizer", + "finalizers", + "firestore", + "fitos", + "flamegraph", "flot", "fmap", + "fname", "fnum", + "fogleman", + "fopenmp", + "fortytw", + "fpdf", + "frankban", + "freelist", + "freetype", "fsnotify", + "fugiat", "fuid", + "funakoshi", "fvecs", "gache", + "gbackoff", "gcsblob", "genproto", "getobject", + "getstarted", "gfortran", "ghaction", + "ghcrorg", + "gitfiles", + "glfw", "glog", + "goarch", + "goautoneg", "gobc", + "gobin", + "gobwas", + "gocache", "goccy", "gocloud", "gocql", "gocqlx", "gocraft", + "godbus", + "godebug", + "godeltaprof", + "godoc", + "gofpdf", + "gofpdi", + "gofrs", "gofumpt", + "gofuzz", + "gogrep", "goimports", + "gojsonpointer", + "gojsonreference", + "gojsonschema", "golangci", + "golangcilint", "goleak", "golines", + "gomaxprocs", + "gomega", "gomnd", + "gomodifytags", + "gomodules", + "gonic", "gonum", + "gopath", "gopkg", "gopls", + "goprivate", + "goproxy", "gopter", + "goroot", + "goroutines", "gorules", + "gostub", "gotest", "gotestfmt", "gotests", "gotmpl", + "gotool", + "gover", + "govet", "gpgsign", + "graphviz", + "gregjones", + "grimaud", + "groundtruth", + "groupcache", + "grpclog", + "grpcmock", + "grpcreplay", + "hadolint", + "hailocab", + "hanwen", + "healthcheck", "healthz", + "helmignore", "hgignore", + "hiroto", "hlts", + "hoge", + "honnef", + "horizontalpodautoscalers", + "hostport", + "hrichik", + "hrichiksite", + "httpcache", + "httpfs", + "httphead", + "httpreplay", + "iancoleman", + "ianlancetaylor", + "iblob", "iconfig", "idelay", + "idrpc", + "idxs", "iface", + "igmp", + "imds", + "incididunt", + "inconshreveable", "indegree", + "indexmapkey", + "indexmapvalue", + "infod", + "infof", + "infoln", "infometrics", + "ingester", "initcontainer", + "initdb", + "inmemory", "innerproduct", + "insuffcient", "inuse", + "irure", + "isatty", "ivecs", "jaccard", + "jackc", + "jaegertracing", + "jessevdk", "jitted", + "jmespath", + "jmoiron", + "joho", + "josharian", + "jrnlw", + "jsonparser", + "jsonpointer", + "jsonreference", + "jstemmer", + "junsei", + "kadowaki", + "kato", + "katz", + "kbps", "keepalive", + "keepalives", + "keepidle", + "kevindiu", "keyspace", + "kiichiro", + "kisielk", "klauspost", "klog", "kmrmt", + "koichi", + "kosarak", + "kosuke", "kpango", "kprofefe", "kubeconfig", "kubelinter", + "kubeval", "kvsdb", + "kvstore", + "kvvk", + "kylelemons", + "labelmap", + "labore", + "laboris", + "laborum", "languagetool", "ldconfig", + "ldflags", + "leaktest", "leanovate", + "lenmapkey", + "lenmapvalue", + "leodido", + "lfaiss", "libaec", "libhdf", "liblapack", "libomp", "libopenblas", + "lifecycler", + "liggitt", + "liusy", "livenesss", + "lngt", + "loadbalancer", "loadtest", + "localserial", "localtime", + "logex", + "logfmt", + "logr", "logrus", + "ltsv", + "lucasb", + "lycorp", + "mailru", "mallocs", + "mapkey", + "mapvalue", + "mattn", + "matttproud", + "maxprocs", + "mazumder", + "mcache", + "memstats", + "mertics", + "metas", "metav", + "metricinterceptor", + "mfridman", + "miette", + "minburst", "mirr", + "misscheduled", + "mitchellh", "mktemp", "mktmp", "mnist", + "mnode", "moby", + "modocache", + "mollit", + "monochromegane", + "montanaflynn", + "morimoto", + "mountinfo", + "mpod", + "mspan", + "mssqldb", "mthe", "multiapis", + "multicluster", + "munnerz", + "nang", "nbits", + "ncos", + "neighors", + "networkpolicies", + "ngroup", + "ngtd", + "nhooyr", + "niemeyer", "nindent", "nlist", + "nobic", "nocie", "nogce", "nolint", "noninteractive", "nonroot", + "nopvq", "normalizedangle", "normalizedcosine", "normalizedl", @@ -324,3755 +793,2656 @@ "normcos", "norml", "nosql", + "nostrud", + "notests", + "npoints", + "ntotal", + "nulla", + "nvim", + "nvimlog", + "nxadm", + "nytimes", + "objc", "objs", + "objx", + "occaecat", + "ocsql", + "officia", + "okamura", "oneof", "onnx", + "onsi", "opencensus", + "opencontainers", + "osdk", + "ospace", "otelgrpc", + "otlpmetric", + "otlpmetricgrpc", "otlptrace", + "otlptracegrpc", "outdegree", + "outf", + "pariatur", + "pbdocs", + "pbgos", + "peakrate", + "persistentvolumeclaims", + "peterbourgon", + "pflag", + "pgio", + "pgmock", + "pgpassfile", + "pgproto", + "pgroup", + "pgservicefile", + "pgtype", + "phpdave", + "pierrec", "pipefail", + "pipeliner", "planetscale", + "pmezard", + "poddisruptionbudgets", + "podname", "pogreb", "poinc", "pointradius", "portforward", "pprof", + "prashantv", "preriodically", + "priorityclasses", "profefe", + "progressbar", + "proident", + "promtail", "prost", + "protobuf", "protoc", "protocolbuffers", + "protohelpers", "protoimpl", + "protojson", "protoreflect", + "protos", "protovalidate", "pstartf", "pstopf", + "ptop", "pyroscope", + "quantizer", "quasilyte", + "queryx", + "quickack", + "quicktest", + "quis", + "ratelimit", + "rdonly", "readreplica", + "readyz", "rebalance", + "rebalancing", + "recvorigdstaddr", + "regist", + "registerers", + "replayers", "replicasets", + "repr", + "reprehenderit", + "represets", + "rerank", "resered", "retryable", "reviewdog", "rgba", + "rintaro", "rinx", "roccd", + "rogpeppe", "rolebindings", + "rootdir", + "roundtripper", "rpcs", "ruleguard", + "russross", + "rustc", "rustup", + "ruudk", "sarif", + "saveindex", + "sbinet", + "schollz", "scylladb", + "secretkey", + "secretmanager", + "semconv", + "sendemail", + "sergi", + "serversscheme", + "serviceaccounts", "sess", + "sgroup", + "shiraishi", + "shlex", + "shmem", + "shogo", + "shopspring", + "shurcoo", "signingkey", "signoff", + "singleflight", + "sint", + "sirupsen", + "siyuan", "sjis", "skipcq", + "smallscreen", "snapshotter", + "snapshotv", + "softprops", "sparsejaccard", + "spdystream", "spjac", + "sptag", + "sqlexp", + "sqlmock", + "sqlx", "srvs", "sspan", + "stackdriver", + "starlark", "statefulset", + "statefulsets", + "staticcheck", + "stdinfo", + "stdr", + "stix", "stmts", + "stockout", + "stoewer", + "storageclass", "stos", + "strcase", + "streaminsert", "stretchr", + "strg", + "strictgoimports", + "strparse", "struct", + "structs", + "subquantizers", "substr", + "subtests", + "sunt", "svcs", "syft", + "tabwriter", + "tada", "tagalign", + "taisuou", + "takuyaymd", + "tcql", + "technote", "telepresence", + "tempor", + "testfunc", "textlint", "tgts", + "thedrow", + "threadcreate", + "timelimit", "timepicker", "timeutil", + "tlsca", "tmpdir", "tmpfs", + "tmpl", "tmproj", "tolerations", + "tonistiigi", + "toolsmith", "tparse", + "traceinterceptor", "traefik", + "treeprint", "trunc", + "typeparams", "tzdata", + "udpa", + "ugorji", + "ullamco", "ultiple", + "unbackupped", "unixgram", "unixpacket", "unmarshal", + "unparam", "upsert", "upserted", "urlopener", "usecase", + "usecases", + "userdefined", "vald", "vald's", "valdbenchmarkjob", "valdbenchmarkjobs", + "valdbenchmarkoperator", "valdbenchmarkoperatorrelease", + "valdbenchmarkoperatorreleases", "valdbenchmarkscenario", "valdbenchmarkscenarios", + "valdchart", + "valdcli", "valdhelmoperatorrelease", "valdhelmoperatorreleases", + "valdmirrortarget", + "valdmirrortargets", + "valdname", "valdrelease", "valdreleases", "vals", "vankichi", + "vbjs", + "vbor", + "vbors", + "vbss", "vdaas", + "vdctl", "vecs", "vectorizer", + "velit", + "veniam", + "versin", + "vfsgen", "vhor", + "vhors", + "vmap", + "vmdata", + "vmexe", "vmhwm", + "vmlck", + "vmlib", "vmpeak", + "vmpin", + "vmpte", "vmrss", + "vmstk", + "vmswap", + "volumesnapshot", "volumesnapshots", + "voluptate", + "voronoi", "vqueue", "vtproto", + "warnd", + "warnf", + "warningf", + "warningln", "wfci", + "whitesource", + "wiretype", + "wlhf", + "workdir", + "worktree", + "wrapf", + "wrapperspb", "xaxis", + "xeipuuv", + "xids", + "xlab", + "xxhash", + "xzvf", "yahoojapan", "yamlfmt", "yaxes", "yaxis", + "ykadowak", + "yukawa", + "yusuke", + "zapr", + "zchee", + "zdtd", "zeebo", "zerolog", "zoneinfo", "zstd" ], - "ignoreRegExpList": [ - "\\b\\w*addr\\b", - "\\b\\w*buf\\b", - "\\b\\w*cfg\\b", - "\\b\\w*ch\\b", - "\\b\\w*conf\\b", - "\\b\\w*ctx\\b", - "\\b\\w*dur\\b", - "\\b\\w*err\\b", - "\\b\\w*group\\b", - "\\b\\w*len\\b", - "\\b\\w*opts\\b" - ], - "overrides": [ - { - "filename": ".all-contributorsrc", - "ignoreWords": [ - "Funakoshi", - "Grimaud", - "Hiroto", - "Hrichik", - "Kadowaki", - "Kato", - "Katz", - "Kiichiro", - "Koichi", - "Kosuke", - "Mazumder", - "Morimoto", - "Okamura", - "Rintaro", - "Shiraishi", - "Siyuan", - "YUKAWA", - "Yusuke", - "aknishid", - "ando", - "datelier", - "dotdc", - "hrichiksite", - "junsei", - "kevindiu", - "liusy", - "pgrimaud", - "taisuou", - "takuyaymd", - "thedrow", - "ykadowak", - "zchee" - ] - }, - { - "filename": ".commit_template", - "ignoreWords": [ - "bento", - "tada" - ] - }, - { - "filename": ".devcontainer/devcontainer.json", - "ignoreWords": [ - "PTRACE", - "commandhistory", - "seccomp", - "zshhistory" - ] - }, - { - "filename": ".devcontainer/postAttachCommand.sh", - "ignoreWords": [ - "commandhistory" - ] - }, - { - "filename": ".fossa.yml", - "ignoreWords": [ - "vdctl" - ] - }, - { - "filename": ".git/FETCH_HEAD", - "ignoreWords": [ - "binaryindex", - "enought", - "guildeline", - "rebalancer", - "valuesgo" - ] - }, - { - "filename": ".git/hooks/applypatch-msg.sample", - "ignoreWords": [ - "commitmsg" - ] - }, - { - "filename": ".git/hooks/fsmonitor-watchman.sample", - "ignoreWords": [ - "CHLD", - "binmode", - "clockid", - "msys" - ] - }, - { - "filename": ".git/hooks/pre-commit.sample", - "ignoreWords": [ - "allownonascii" - ] - }, - { - "filename": ".git/hooks/pre-rebase.sample", - "ignoreWords": [ - "Hamano", - "Junio", - "oneline" - ] - }, - { - "filename": ".git/hooks/pre-receive.sample", - "ignoreWords": [ - "echoback" - ] - }, - { - "filename": ".git/hooks/push-to-checkout.sample", - "ignoreWords": [ - "behaviour" - ] - }, - { - "filename": ".git/hooks/sendemail-validate.sample", - "ignoreWords": [ - "SENDEMAIL", - "Worktree", - "sendemail", - "worktree" - ] - }, - { - "filename": ".git/hooks/update.sample", - "ignoreWords": [ - "allowdeletetag", - "allowmodifytag", - "allowunannotated", - "newrev", - "oldrev", - "projectdesc" - ] - }, - { - "filename": ".git/packed-refs", - "ignoreWords": [ - "binaryindex", - "guildeline", - "rebalancer" - ] - }, - { - "filename": ".gitattributes", - "ignoreWords": [ - "contributorsrc" - ] - }, - { - "filename": ".gitfiles", - "ignoreWords": [ - "AUTOBUILD", - "Autobuild", - "CMYK", - "CONFLINT", - "DEEPSOURCE", - "Deepsource", - "HADOLINT", - "SHOGO", - "SOFTPROPS", - "Singleflight", - "TECHNOTE", - "accesslog", - "agentd", - "autobuild", - "benchmarkd", - "brandguidelines", - "clusterrolebinding", - "conflint", - "contributorsrc", - "conv", - "darkgray", - "deepsource", - "getstarted", - "gitfiles", - "gongt", - "hadolint", - "helmignore", - "kosarak", - "kustomization", - "lycorp", - "multicluster", - "networkpolicy", - "nytimes", - "priorityclass", - "promtail", - "serviceaccount", - "shogo", - "sidecard", - "singleflight", - "softprops", - "technote", - "testdata", - "textlintrc", - "tmpl", - "valdmirrortarget", - "vdctl", - "whitesource" - ] - }, - { - "filename": ".github/actions/docker-build/action.yaml", - "ignoreWords": [ - "opencontainers" - ] - }, - { - "filename": ".github/actions/e2e-deploy-vald-helm-operator/action.yaml", - "ignoreWords": [ - "PODNAME", - "podname" - ] - }, - { - "filename": ".github/actions/e2e-deploy-vald-readreplica/action.yaml", - "ignoreWords": [ - "PODNAME", - "podname" - ] - }, - { - "filename": ".github/actions/e2e-deploy-vald/action.yaml", - "ignoreWords": [ - "PODNAME", - "podname" - ] - }, - { - "filename": ".github/actions/notify-slack/action.yaml", - "ignoreWords": [ - "TECHNOTE", - "technote" - ] - }, - { - "filename": ".github/chatops_commands.md", - "ignoreWords": [ - "bento" - ] - }, - { - "filename": ".github/chatops_permissions.yaml", - "ignoreWords": [ - "datelier", - "kevindiu" - ] - }, - { - "filename": ".github/conflint.yaml", - "ignoreWords": [ - "kubeval" - ] - }, - { - "filename": ".github/dependabot.yml", - "ignoreWords": [ - "gomod" - ] - }, - { - "filename": ".github/helm/values/values-agent-sidecar.yaml", - "ignoreWords": [ - "ACCESSKEY", - "SECRETKEY" - ] - }, - { - "filename": ".github/helm/values/values-chaos.yaml", - "ignoreWords": [ - "serversscheme" - ] - }, - { - "filename": ".github/helm/values/values-profile.yaml", - "ignoreWords": [ - "GOMAXPROCS" - ] - }, - { - "filename": ".github/helm/values/values-readreplica.yaml", - "ignoreWords": [ - "snapclass" - ] - }, - { - "filename": ".github/workflows/_docker-image-scan.yaml", - "ignoreWords": [ - "imagename", - "opencontainers" - ] - }, - { - "filename": ".github/workflows/_docker-image.yaml", - "ignoreWords": [ - "DOCKERHUB", - "buildkitd", - "stargz" - ] - }, - { - "filename": ".github/workflows/backport.yml", - "ignoreWords": [ - "startswith" - ] - }, - { - "filename": ".github/workflows/build-binaries.yml", - "ignoreWords": [ - "SHOGO", - "shogo" - ] - }, - { - "filename": ".github/workflows/chatops.yml", - "ignoreWords": [ - "gentest" - ] - }, - { - "filename": ".github/workflows/codeql-analysis.yml", - "ignoreWords": [ - "AUTOBUILD", - "Autobuild", - "autobuild" - ] - }, - { - "filename": ".github/workflows/coverage.yml", - "ignoreWords": [ - "DEEPSOURCE", - "Deepsource", - "deepsource" - ] - }, - { - "filename": ".github/workflows/detect-internal-config-changes.yml", - "ignoreWords": [ - "interal" - ] - }, - { - "filename": ".github/workflows/dockers-gateway-mirror-image.yaml", - "ignoreWords": [ - "nirror" - ] - }, - { - "filename": ".github/workflows/e2e-chaos.yaml", - "ignoreWords": [ - "clusterwide" - ] - }, - { - "filename": ".github/workflows/e2e-max-dim.yml", - "ignoreWords": [ - "readlink" - ] - }, - { - "filename": ".github/workflows/e2e-profiling.yml", - "ignoreWords": [ - "threadcreate" - ] - }, - { - "filename": ".github/workflows/fossa.yml", - "ignoreWords": [ - "urllib" - ] - }, - { - "filename": ".github/workflows/labeler.yml", - "ignoreWords": [ - "shortstat" - ] - }, - { - "filename": ".github/workflows/release.yml", - "ignoreWords": [ - "GOPROXY", - "SOFTPROPS", - "goproxy", - "softprops" - ] - }, - { - "filename": ".github/workflows/reviewdog-hadolint.yml", - "ignoreWords": [ - "Dockerfiles", - "HADOLINT", - "dockerfiles", - "hadolint" - ] - }, - { - "filename": ".github/workflows/reviewdog-k8s.yml", - "ignoreWords": [ - "CONFLINT", - "conflint", - "kubeval" - ] - }, - { - "filename": ".github/workflows/reviewdog-markdown.yml", - "ignoreWords": [ - "testlint" - ] - }, - { - "filename": ".github/workflows/test-hack.yml", - "ignoreWords": [ - "notests", - "smallscreen" - ] - }, - { - "filename": ".github/workflows/unit-test.yaml", - "ignoreWords": [ - "notests", - "smallscreen" - ] - }, - { - "filename": ".gitignore", - "ignoreWords": [ - "MSVC", - "dylib", - "nvim", - "nvimlog", - "rustc", - "rustfmt" - ] - }, - { - "filename": ".golangci.yml", - "ignoreWords": [ - "Singleflight", - "asasalint", - "asciicheck", - "bidichk", - "bodyclose", - "contextcheck", - "copylocks", - "cyclop", - "decorder", - "depguard", - "dupl", - "dupword", - "durationcheck", - "errcheck", - "errchkjson", - "errname", - "errorlint", - "execinquery", - "exhaustruct", - "exportloopref", - "forbidigo", - "forcetypeassert", - "ginkgolinter", - "gocheckcompilerdirectives", - "gochecknoglobals", - "gochecknoinits", - "gocognit", - "goconst", - "gocritic", - "gocyclo", - "godox", - "gofmt", - "goheader", - "gomoddirectives", - "gomodguard", - "goprintffuncname", - "gosec", - "gosimple", - "gosmopolitan", - "govet", - "importas", - "ineffassign", - "interfacebloat", - "ireturn", - "loggercheck", - "logrlint", - "makezero", - "megacheck", - "musttag", - "nakedret", - "nestif", - "nilnil", - "nlreturn", - "nolintlint", - "nonamedreturns", - "nosprintfhostport", - "paralleltest", - "prealloc", - "predeclared", - "promlinter", - "rowserrcheck", - "singleflight", - "sqlclosecheck", - "staticcheck", - "stylecheck", - "testableexamples", - "testpackage", - "thelper", - "tparallel", - "unconvert", - "unparam", - "usestdlibvars", - "vetshadow", - "wastedassign", - "wrapcheck", - "wslissues" - ] - }, - { - "filename": ".prh.yaml", - "ignoreWords": [ - "Burstable", - "Flamegraph", - "Godoc", - "NGTD", - "besteffort", - "burstable", - "documentaion", - "flamegraph", - "godoc", - "ngtd", - "valdcli" - ] - }, - { - "filename": ".textlintrc", - "ignoreWords": [ - "AUTOBUILD", - "Autobuild", - "Godoc", - "NGTD", - "autobuild", - "godoc", - "idrequest", - "mevie", - "ngtd", - "rerank", - "sptag", - "subtest", - "vektor" - ] - }, - { - "filename": "CHANGELOG.md", - "ignoreWords": [ - "CFLAGS", - "CXXFLAGS", - "Cellebration", - "DEEPSOURCE", - "Deepsource", - "Dockerfiles", - "HADOLINT", - "Metas", - "Migratation", - "OSDK", - "PBDOCS", - "Singleflight", - "Stackdriver", - "Tutotial", - "WORKDIR", - "Workdir", - "alogrithm", - "ando", - "apiversion", - "bento", - "bidi", - "bulkinsert", - "cass", - "cheking", - "continous", - "conv", - "createindex", - "deeepsource", - "deepsource", - "depentency", - "devcontiner", - "dockerfiles", - "dotdc", - "exection", - "exhaustruct", - "exsiting", - "gache's", - "gorountine", - "hadolint", - "hrichiksite", - "informations", - "iocopy", - "junsei", - "libquadmath", - "lincense", - "liusy", - "makr", - "malloc", - "metas", - "minnum", - "multiplatforms", - "nvimlog", - "osdk", - "pacakge", - "pacicked", - "pbdocs", - "performace", - "priorityclasses", - "savedmodel", - "singleflight", - "slowloris", - "sptag", - "stackdriver", - "tada", - "takuyaymd", - "tensorlfow", - "tset", - "unkeyed", - "unneccessary", - "valdcli", - "vcache", - "vqueue's", - "workdir", - "yamls", - "ykadowak", - "zchee" - ] - }, - { - "filename": "CONTRIBUTING.md", - "ignoreWords": [ - "Firstname", - "Lastname", - "implmentes", - "newfeature" - ] - }, - { - "filename": "Makefile", - "ignoreWords": [ - "BLAS", - "CRORG", - "DBLA", - "DBUILD", - "DCMAKE", - "DFAISS", - "Dockerfiles", - "EXTLDFLAGS", - "GHCRORG", - "GOCACHE", - "GOPROXY", - "GROUNDTRUTH", - "MAKELISTS", - "NGTD", - "NPROCESSORS", - "NUMPANES", - "ONLN", - "Ofast", - "PBDOCS", - "PBGOS", - "PROTODIRS", - "PROTOS", - "RLENGTH", - "RSTART", - "STDDEV", - "armv", - "copress", - "crlfmt", - "dockerfiles", - "extldflags", - "fmerge", - "fopenmp", - "funroll", - "gitfiles", - "goproxy", - "groundtruth", - "gsub", - "laec", - "lgfortran", - "lhdf", - "libfaiss", - "llapack", - "lopenblas", - "lstdc", - "mtune", - "ncpu", - "ngtd", - "nproc", - "pbdocs", - "protos", - "pthread", - "relro", - "strictgoimports", - "toplevel" - ] - }, - { - "filename": "Makefile.d/bench.mk", - "ignoreWords": [ - "GROUNDTRUTH", - "benchmem", - "cpuprofile", - "groundtruth", - "memprofile", - "nvim" - ] - }, - { - "filename": "Makefile.d/build.mk", - "ignoreWords": [ - "EXTLDFLAGS", - "extldflags", - "linkmode", - "popd", - "pushd" - ] - }, - { - "filename": "Makefile.d/dependencies.mk", - "ignoreWords": [ - "GOCACHE", - "modcache", - "testcache" - ] - }, - { - "filename": "Makefile.d/docker.mk", - "ignoreWords": [ - "CRORG", - "GHCRORG", - "buildcache", - "mediatypes", - "npmjs" - ] - }, - { - "filename": "Makefile.d/e2e.mk", - "ignoreWords": [ - "ECRUD" - ] - }, - { - "filename": "Makefile.d/functions.mk", - "ignoreWords": [ - "APIV", - "EXTLDFLAGS", - "PBGOS", - "buildid", - "extldflags", - "modcacherw", - "netgo", - "osusergo", - "trimpath" - ] - }, - { - "filename": "Makefile.d/helm.mk", - "ignoreWords": [ - "valdmirrortarget", - "xzvf" - ] - }, - { - "filename": "Makefile.d/k3d.mk", - "ignoreWords": [ - "loadbalancer", - "storageclass" - ] - }, - { - "filename": "Makefile.d/k8s.mk", - "ignoreWords": [ - "CRORG", - "cainjector", - "jaegertracing", - "operatorusing", - "promtail", - "serrver" - ] - }, - { - "filename": "Makefile.d/kind.mk", - "ignoreWords": [ - "conntrack", - "netfilter" - ] - }, - { - "filename": "Makefile.d/minikube.mk", - "ignoreWords": [ - "hostpath", - "storageclass" - ] - }, - { - "filename": "Makefile.d/proto.mk", - "ignoreWords": [ - "PROTOS", - "protobufs", - "protos" - ] - }, - { - "filename": "Makefile.d/test.mk", - "ignoreWords": [ - "covermode", - "coverprofile", - "cweill", - "gotesttools", - "mfridman", - "notests", - "showteststatus" - ] - }, - { - "filename": "Makefile.d/tools.mk", - "ignoreWords": [ - "DBUILD", - "DCMAKE", - "DHDF", - "DZLIB", - "busa", - "crlfmt", - "fatih", - "gomodifytags", - "goplay", - "haya", - "honnef", - "josharian", - "libz", - "momotaro", - "mvdan", - "segmentio", - "staticcheck", - "strictgoimports", - "tlsv", - "xzvf" - ] - }, - { - "filename": "README.md", - "ignoreWords": [ - "Codacy", - "Funakoshi", - "Grimaud", - "Hiroto", - "Hrichik", - "Kadowaki", - "Kato", - "Katz", - "Kiichiro", - "Koichi", - "Kosuke", - "Mazumder", - "Morimoto", - "Okamura", - "Rintaro", - "Shiraishi", - "Siyuan", - "YUKAWA", - "Yusuke", - "aknishid", - "ando", - "datelier", - "junsei", - "kevindiu", - "liusy", - "lycorp", - "srcset", - "taisuou", - "takuyaymd", - "thedrow", - "zchee" - ] - }, - { - "filename": "apis/docs/v1/docs.md", - "ignoreWords": [ - "Bignum", - "Fixnum", - "STOCKOUT", - "Sint", - "hasn", - "sfixed", - "sint" - ] - }, - { - "filename": "apis/grpc/v1/payload/payload.pb.go", - "ignoreWords": [ - "wrapperspb" - ] - }, - { - "filename": "apis/grpc/v1/payload/payload.pb.json.go", - "ignoreWords": [ - "protojson" - ] - }, - { - "filename": "apis/grpc/v1/payload/payload_vtproto.pb.go", - "ignoreWords": [ - "Indexmapkey", - "Indexmapvalue", - "Lenmapkey", - "Lenmapvalue", - "mapkey", - "mapvalue", - "postmsg", - "protohelpers", - "vtmsg", - "vtpb", - "wiretype", - "wrapperspb" - ] - }, - { - "filename": "apis/grpc/v1/rpc/errdetails/error_details.pb.go", - "ignoreWords": [ - "STOCKOUT", - "durationpb" - ] - }, - { - "filename": "apis/grpc/v1/rpc/errdetails/error_details.pb.json.go", - "ignoreWords": [ - "protojson" - ] - }, - { - "filename": "apis/grpc/v1/rpc/errdetails/error_details_vtproto.pb.go", - "ignoreWords": [ - "Indexmapkey", - "Indexmapvalue", - "Lenmapkey", - "Lenmapvalue", - "durationpb", - "mapkey", - "mapvalue", - "protohelpers", - "wiretype" - ] - }, - { - "filename": "apis/proto/v1/agent/core/agent.proto", - "ignoreWords": [ - "createandsave" - ] - }, - { - "filename": "apis/proto/v1/payload/payload.proto", - "ignoreWords": [ - "objc" - ] - }, - { - "filename": "apis/proto/v1/rpc/errdetails/error_details.proto", - "ignoreWords": [ - "STOCKOUT", - "objc" - ] - }, - { - "filename": "apis/swagger/v1/agent/core/agent.swagger.json", - "ignoreWords": [ - "createandsave" - ] - }, - { - "filename": "assets/test/templates/common/fill.tmpl", - "ignoreWords": [ - "uintptr" - ] - }, - { - "filename": "assets/test/templates/common/function.tmpl", - "ignoreWords": [ - "Subtests", - "subtests" - ] - }, - { - "filename": "assets/test/templates/option/function.tmpl", - "ignoreWords": [ - "Subtests", - "subtests" - ] - }, - { - "filename": "buf.gen.yaml", - "ignoreWords": [ - "mfridman", - "neoeinstein", - "openapiv", - "pseudomuto" - ] - }, - { - "filename": "charts/vald-benchmark-operator/crds/valdbenchmarkjob.yaml", - "ignoreWords": [ - "vbjs" - ] - }, - { - "filename": "charts/vald-benchmark-operator/crds/valdbenchmarkoperatorrelease.yaml", - "ignoreWords": [ - "valdbenchmarkoperator", - "valdbenchmarkoperatorreleases", - "vbor", - "vbors" - ] - }, - { - "filename": "charts/vald-benchmark-operator/crds/valdbenchmarkscenario.yaml", - "ignoreWords": [ - "vbss" - ] - }, - { - "filename": "charts/vald-benchmark-operator/templates/clusterrole.yaml", - "ignoreWords": [ - "deletecollection" - ] - }, - { - "filename": "charts/vald-helm-operator/README.md", - "ignoreWords": [ - "readyz" - ] - }, - { - "filename": "charts/vald-helm-operator/crds/valdhelmoperatorrelease.yaml", - "ignoreWords": [ - "vhors" - ] - }, - { - "filename": "charts/vald-helm-operator/templates/clusterrole.yaml", - "ignoreWords": [ - "clusterrolebindings", - "clusterroles", - "customresourcedefinitions", - "horizontalpodautoscalers", - "networkpolicies", - "persistentvolumeclaims", - "poddisruptionbudgets", - "priorityclasses", - "serviceaccounts", - "statefulsets" - ] - }, - { - "filename": "charts/vald-helm-operator/values.yaml", - "ignoreWords": [ - "readyz" - ] - }, - { - "filename": "charts/vald-readreplica/Chart.yaml", - "ignoreWords": [ - "ykadowak" - ] - }, - { - "filename": "charts/vald-readreplica/templates/deployment.yaml", - "ignoreWords": [ - "valdchart", - "valdname" - ] - }, - { - "filename": "charts/vald-readreplica/templates/hpa.yaml", - "ignoreWords": [ - "valdchart", - "valdname" - ] - }, - { - "filename": "charts/vald-readreplica/templates/svc.yaml", - "ignoreWords": [ - "valdchart", - "valdname" - ] - }, - { - "filename": "charts/vald/README.md", - "ignoreWords": [ - "goroutines" - ] - }, - { - "filename": "charts/vald/crds/valdmirrortarget.yaml", - "ignoreWords": [ - "valdmirrortarget", - "valdmirrortargets", - "vmts" - ] - }, - { - "filename": "charts/vald/templates/_helpers.tpl", - "ignoreWords": [ - "envkey", - "rsslimit", - "vszlimit" - ] - }, - { - "filename": "charts/vald/templates/gateway/mirror/clusterrole.yaml", - "ignoreWords": [ - "valdmirrortargets" - ] - }, - { - "filename": "charts/vald/templates/index/job/readreplica/rotate/clusterrole.yaml", - "ignoreWords": [ - "persistentvolumeclaims" - ] - }, - { - "filename": "charts/vald/templates/index/job/readreplica/rotate/configmap.yaml", - "ignoreWords": [ - "envkey" - ] - }, - { - "filename": "charts/vald/values.schema.json", - "ignoreWords": [ - "goroutines" - ] - }, - { - "filename": "charts/vald/values.yaml", - "ignoreWords": [ - "goroutines" - ] - }, - { - "filename": "cmd/tools/cli/benchmark/core/main.go", - "ignoreWords": [ - "pfile", - "vmdata", - "vmexe", - "vmlib", - "vmlock", - "vmpin", - "vmpte", - "vmstack", - "vmswap" - ] - }, - { - "filename": "dockers/binfmt/Dockerfile", - "ignoreWords": [ - "tonistiigi" - ] - }, - { - "filename": "dockers/ci/base/Dockerfile", - "ignoreWords": [ - "graphviz" - ] - }, - { - "filename": "dockers/ci/base/README.md", - "ignoreWords": [ - "titile" - ] - }, - { - "filename": "dockers/dev/Dockerfile", - "ignoreWords": [ - "gomodifytags", - "graphviz", - "staticcheck" - ] - }, - { - "filename": "docs/api/build_proto.md", - "ignoreWords": [ - "PROTOS", - "chrono", - "nanos", - "protos", - "rustc" - ] - }, - { - "filename": "docs/contributing/coding-style.md", - "ignoreWords": [ - "Godoc", - "Roundtripper", - "Structs", - "Subtests", - "crlfmt", - "godoc", - "httputil", - "ioutil", - "roundtripper", - "structs", - "subtests" - ] - }, - { - "filename": "docs/overview/about-vald.md", - "ignoreWords": [ - "rebalancing", - "rerank" - ] - }, - { - "filename": "docs/overview/component/agent.md", - "ignoreWords": [ - "verctors" - ] - }, - { - "filename": "docs/overview/component/discoverer.md", - "ignoreWords": [ - "nodeby" - ] - }, - { - "filename": "docs/performance/continuous-benchmark.md", - "ignoreWords": [ - "vbor" - ] - }, - { - "filename": "docs/performance/loadtest.md", - "ignoreWords": [ - "GOMAXPROCS", - "maxprocs", - "streaminsert" - ] - }, - { - "filename": "docs/tutorial/get-started-with-faiss-agent.md", - "ignoreWords": [ - "cvspq", - "jrnlw" - ] - }, - { - "filename": "docs/tutorial/get-started.md", - "ignoreWords": [ - "cvspq", - "getstarted", - "jrnlw", - "loadbalancer" - ] - }, - { - "filename": "docs/tutorial/vald-agent-standalone-on-docker.md", - "ignoreWords": [ - "GOMAXPROCS", - "maxprocs" - ] - }, - { - "filename": "docs/tutorial/vald-multicluster-on-k8s.md", - "ignoreWords": [ - "brbsp", - "dnxbb", - "ghlpx", - "gzcr", - "hbklj", - "kgrdf", - "multicluster", - "vjbqx", - "vlmpg", - "wtlcv", - "xmws" - ] - }, - { - "filename": "docs/usecase/usage-example.md", - "ignoreWords": [ - "vectorizing" - ] - }, - { - "filename": "docs/user-guides/backup-configuration.md", - "ignoreWords": [ - "ACCESSS" - ] - }, - { - "filename": "docs/user-guides/capacity-planning.md", - "ignoreWords": [ - "Burstable", - "burstable" - ] - }, - { - "filename": "docs/user-guides/client-api-config.md", - "ignoreWords": [ - "Milli", - "achive", - "rerank" - ] - }, - { - "filename": "docs/user-guides/cluster-role-binding.md", - "ignoreWords": [ - "clusterrolebinding", - "finalizers", - "retrive", - "valdmirrortargets" - ] - }, - { - "filename": "docs/user-guides/deployment.md", - "ignoreWords": [ - "finalizers", - "valdhelmopratorreleases" - ] - }, - { - "filename": "example/helm/values-standalone-agent-ngt.yaml", - "ignoreWords": [ - "mnist's" - ] - }, - { - "filename": "example/helm/values-with-pyroscope.yaml", - "ignoreWords": [ - "serversscheme" - ] - }, - { - "filename": "example/helm/values.yaml", - "ignoreWords": [ - "Agnet", - "mnist's", - "serversscheme" - ] - }, - { - "filename": "example/manifest/scylla/configmap.yaml", - "ignoreWords": [ - "initdb" - ] - }, - { - "filename": "example/manifest/scylla/job.yaml", - "ignoreWords": [ - "cqlsh", - "initdb" - ] - }, - { - "filename": "go.mod", - "ignoreWords": [ - "adal", - "afero", - "ajstarks", - "amqp", - "ansiterm", - "antihax", - "appengine", - "armon", - "astcopy", - "astequal", - "autorest", - "azcore", - "azidentity", - "benbjohnson", - "beorn", - "blackfriday", - "bmizerany", - "boombuler", - "buger", - "bytefmt", - "campoy", - "cenkalti", - "cespare", - "chunkreader", - "chzyer", - "cloudfoundry", - "cloudsql", - "cmdflag", - "colorstring", - "configsources", - "cpuguy", - "cpuid", - "creack", - "davecgh", - "dbus", - "dejavu", - "demangle", - "denisenkom", - "devigned", - "dgryski", - "difflib", - "diskv", - "dnaeon", - "easyjson", - "embedmd", - "emicklei", - "errcheck", - "evanphx", - "eventstream", - "fastuuid", - "felixge", - "fgprof", - "filippo", - "firestore", - "flowrate", - "fogleman", - "fortytw", - "fpdf", - "frankban", - "freetype", - "glfw", - "goautoneg", - "gobwas", - "godbus", - "godebug", - "godeltaprof", - "gofpdf", - "gofpdi", - "gofrs", - "gofuzz", - "gogrep", - "gojsonpointer", - "gojsonreference", - "gojsonschema", - "gomega", - "gomodules", - "gonic", - "gostub", - "gotool", - "gover", - "gregjones", - "groupcache", - "grpcreplay", - "hailocab", - "hanwen", - "honnef", - "httpcache", - "httpfs", - "httphead", - "httpreplay", - "httpsnoop", - "iancoleman", - "ianlancetaylor", - "imdario", - "imds", - "inconshreveable", - "isatty", - "jackc", - "jessevdk", - "jmespath", - "jmoiron", - "joho", - "josharian", - "jsonparser", - "jsonpointer", - "jsonreference", - "jstemmer", - "kisielk", - "kyaml", - "kylelemons", - "leaktest", - "leodido", - "liggitt", - "logex", - "logfmt", - "logr", - "lucasb", - "mailru", - "mattn", - "matttproud", - "mergo", - "mitchellh", - "modocache", - "monochromegane", - "montanaflynn", - "mountinfo", - "mssqldb", - "munnerz", - "nhooyr", - "niemeyer", - "nxadm", - "objx", - "ocsql", - "onsi", - "otelhttp", - "otlpmetric", - "otlpmetricgrpc", - "otlptracegrpc", - "peterbourgon", - "pflag", - "pgio", - "pgmock", - "pgpassfile", - "pgproto", - "pgservicefile", - "pgtype", - "phpdave", - "pierrec", - "pmezard", - "prashantv", - "progressbar", - "quicktest", - "ratelimit", - "replayers", - "rogpeppe", - "russross", - "ruudk", - "sbinet", - "schollz", - "secretmanager", - "sergi", - "shlex", - "shopspring", - "shurcoo", - "sirupsen", - "spdystream", - "sqlexp", - "sqlmock", - "sqlx", - "starlark", - "stdinfo", - "stdr", - "stix", - "stoewer", - "strcase", - "strparse", - "tabwriter", - "toolsmith", - "treeprint", - "typeparams", - "udpa", - "ugorji", - "vfsgen", - "xeipuuv", - "xlab", - "xxhash", - "zapr" - ] - }, - { - "filename": "hack/benchmark/assets/x1b/loader.go", - "ignoreWords": [ - "fname" - ] - }, - { - "filename": "hack/benchmark/assets/x1b/loader_test.go", - "ignoreWords": [ - "fname" - ] - }, - { - "filename": "hack/benchmark/internal/db/nosql/cassandra/cassandra_test.go", - "ignoreWords": [ - "Metas", - "metas" - ] - }, - { - "filename": "hack/benchmark/internal/db/nosql/cassandra/testdata.json", - "ignoreWords": [ - "Adipisicing", - "Aliqua", - "Aliquip", - "Amet", - "Aute", - "Cillum", - "Commodo", - "Consequat", - "Cupidatat", - "Deserunt", - "Dolore", - "Duis", - "Eiusmod", - "Elit", - "Enim", - "Excepteur", - "Fugiat", - "Incididunt", - "Irure", - "Labore", - "Laboris", - "Laborum", - "Mollit", - "Nostrud", - "Nulla", - "Occaecat", - "Officia", - "Pariatur", - "Proident", - "Quis", - "Reprehenderit", - "Sint", - "Sunt", - "Tempor", - "Ullamco", - "Velit", - "Veniam", - "Voluptate", - "adipisicing", - "aliqua", - "aliquip", - "amet", - "aute", - "cillum", - "commodo", - "consequat", - "cupidatat", - "deserunt", - "dolore", - "duis", - "eiusmod", - "elit", - "enim", - "excepteur", - "fugiat", - "incididunt", - "irure", - "labore", - "laboris", - "laborum", - "mollit", - "nostrud", - "nulla", - "occaecat", - "officia", - "pariatur", - "proident", - "quis", - "reprehenderit", - "sint", - "sunt", - "tempor", - "ullamco", - "velit", - "veniam", - "voluptate" - ] - }, - { - "filename": "hack/benchmark/internal/starter/agent/core/ngt/option.go", - "ignoreWords": [ - "dtype", - "otype" - ] - }, - { - "filename": "hack/benchmark/src/singleflight/singleflight_bench_test.go", - "ignoreWords": [ - "durs", - "resultsmap", - "singlefligh", - "stdsingleflight" - ] - }, - { - "filename": "hack/docker/gen/main.go", - "ignoreWords": [ - "Inernal", - "TARGETOS", - "WORKDIR", - "Workdir", - "epkg", - "gomodifytags", - "graphviz", - "tmpl", - "tonistiigi", - "workdir" - ] - }, - { - "filename": "hack/go.mod.default", - "ignoreWords": [ - "adal", - "afero", - "ajstarks", - "amqp", - "antihax", - "appengine", - "armon", - "astcopy", - "astequal", - "autorest", - "azcore", - "azidentity", - "benbjohnson", - "beorn", - "blackfriday", - "bmizerany", - "boombuler", - "buger", - "bytefmt", - "cenkalti", - "cespare", - "chunkreader", - "chzyer", - "cloudfoundry", - "cloudsql", - "cmdflag", - "colorstring", - "configsources", - "cpuguy", - "cpuid", - "creack", - "davecgh", - "dbus", - "dejavu", - "demangle", - "denisenkom", - "devigned", - "dgryski", - "difflib", - "diskv", - "dnaeon", - "easyjson", - "emicklei", - "errcheck", - "evanphx", - "eventstream", - "fastuuid", - "firestore", - "fogleman", - "fortytw", - "fpdf", - "frankban", - "freetype", - "glfw", - "goautoneg", - "gobwas", - "godbus", - "godebug", - "godeltaprof", - "gofpdf", - "gofpdi", - "gofrs", - "gofuzz", - "gogrep", - "gojsonpointer", - "gojsonreference", - "gojsonschema", - "gomega", - "gomodules", - "gonic", - "gostub", - "gotool", - "gover", - "gregjones", - "groupcache", - "grpcreplay", - "hailocab", - "hanwen", - "honnef", - "httpcache", - "httpfs", - "httphead", - "httpreplay", - "iancoleman", - "ianlancetaylor", - "imds", - "inconshreveable", - "isatty", - "jackc", - "jessevdk", - "jmespath", - "jmoiron", - "joho", - "josharian", - "jsonparser", - "jsonpointer", - "jsonreference", - "jstemmer", - "kisielk", - "kylelemons", - "leaktest", - "leodido", - "liggitt", - "logex", - "logfmt", - "logr", - "lucasb", - "mailru", - "mattn", - "matttproud", - "mitchellh", - "modocache", - "monochromegane", - "montanaflynn", - "mountinfo", - "mssqldb", - "munnerz", - "nhooyr", - "niemeyer", - "nxadm", - "objx", - "ocsql", - "onsi", - "otlpmetric", - "otlpmetricgrpc", - "otlptracegrpc", - "peterbourgon", - "pflag", - "pgio", - "pgmock", - "pgpassfile", - "pgproto", - "pgservicefile", - "pgtype", - "phpdave", - "pierrec", - "pmezard", - "prashantv", - "progressbar", - "quicktest", - "replayers", - "rogpeppe", - "russross", - "ruudk", - "sbinet", - "schollz", - "secretmanager", - "sergi", - "shlex", - "shopspring", - "shurcoo", - "sirupsen", - "spdystream", - "sqlexp", - "sqlmock", - "sqlx", - "starlark", - "stdinfo", - "stdr", - "stix", - "stoewer", - "strcase", - "strparse", - "tabwriter", - "toolsmith", - "treeprint", - "typeparams", - "udpa", - "ugorji", - "vfsgen", - "xeipuuv", - "xlab", - "xxhash", - "zapr" - ] - }, - { - "filename": "hack/gorules/rules_test.go", - "ignoreWords": [ - "analysistest" - ] - }, - { - "filename": "hack/gorules/testdata/tests.go", - "ignoreWords": [ - "Fmts", - "newname" - ] - }, - { - "filename": "hack/license/gen/main.go", - "ignoreWords": [ - "Pipefile", - "contributorsrc", - "dirwalk", - "gitmodules", - "helmignore", - "tmpl", - "webp", - "whitesource" - ] - }, - { - "filename": "hack/tools/metrics/main.go", - "ignoreWords": [ - "lucasb", - "vgsvg" - ] - }, - { - "filename": "internal/backoff/backoff_test.go", - "ignoreWords": [ - "Timelimit", - "timelimit" - ] - }, - { - "filename": "internal/circuitbreaker/breaker_test.go", - "ignoreWords": [ - "resetted" - ] - }, - { - "filename": "internal/client/v1/client/client.go", - "ignoreWords": [ - "Upsertor" - ] - }, - { - "filename": "internal/client/v1/client/discoverer/discover_test.go", - "ignoreWords": [ - "copylocks", - "govet" - ] - }, - { - "filename": "internal/compress/gzip_option_test.go", - "ignoreWords": [ - "zdtd" - ] - }, - { - "filename": "internal/compress/lz4/lz4.go", - "ignoreWords": [ - "pierrec" - ] - }, - { - "filename": "internal/compress/zstd_option_test.go", - "ignoreWords": [ - "zdtd" - ] - }, - { - "filename": "internal/compress/zstd_test.go", - "ignoreWords": [ - "decom", - "vecotr" - ] - }, - { - "filename": "internal/config/backup_test.go", - "ignoreWords": [ - "healthcheck" - ] - }, - { - "filename": "internal/config/blob.go", - "ignoreWords": [ - "storaget" - ] - }, - { - "filename": "internal/config/blob_test.go", - "ignoreWords": [ - "CLOUDSTORAGECONFIG" - ] - }, - { - "filename": "internal/config/cassandra.go", - "ignoreWords": [ - "TLSCA" - ] - }, - { - "filename": "internal/config/cassandra_test.go", - "ignoreWords": [ - "localserial" - ] - }, - { - "filename": "internal/config/compress_test.go", - "ignoreWords": [ - "COMPRESSCORE", - "COMPRESSORREGISTERER" - ] - }, - { - "filename": "internal/config/config.go", - "ignoreWords": [ - "dnum", - "rdst", - "snum", - "vdst" - ] - }, - { - "filename": "internal/config/config_test.go", - "ignoreWords": [ - "GETACTUALVALUE", - "GETACTUALVALUES", - "GLOBALCONFIG", - "fname" - ] - }, - { - "filename": "internal/config/faiss.go", - "ignoreWords": [ - "Voronoi", - "subquantizers", - "subvector" - ] - }, - { - "filename": "internal/config/filter_test.go", - "ignoreWords": [ - "sufix" - ] - }, - { - "filename": "internal/config/gateway_test.go", - "ignoreWords": [ - "bmanager", - "efilter", - "ireplica" - ] - }, - { - "filename": "internal/config/grpc.go", - "ignoreWords": [ - "Dail" - ] - }, - { - "filename": "internal/config/grpc_test.go", - "ignoreWords": [ - "DIALOPTION", - "GRPCCLIENT", - "GRPCCLIENTKEEPALIVE", - "healthcheck" - ] - }, - { - "filename": "internal/config/observability_test.go", - "ignoreWords": [ - "servicename" - ] - }, - { - "filename": "internal/config/redis_test.go", - "ignoreWords": [ - "Timelimit", - "timelimit" - ] - }, - { - "filename": "internal/config/server_test.go", - "ignoreWords": [ - "GPRC", - "GRPCKEEPALIVE" - ] - }, - { - "filename": "internal/config/sidecar_test.go", - "ignoreWords": [ - "AGENTSIDECAR" - ] - }, - { - "filename": "internal/conv/conv.go", - "ignoreWords": [ - "Atobs" - ] - }, - { - "filename": "internal/core/algorithm/faiss/Capi.cpp", - "ignoreWords": [ - "IVFPQ", - "Quantizer", - "quantizer", - "xids" - ] - }, - { - "filename": "internal/core/algorithm/faiss/Capi.h", - "ignoreWords": [ - "Quantizer", - "quantizer", - "xids" - ] - }, - { - "filename": "internal/core/algorithm/faiss/faiss.go", - "ignoreWords": [ - "lfaiss", - "ntotal", - "strage", - "xids" - ] - }, - { - "filename": "internal/core/algorithm/faiss/option.go", - "ignoreWords": [ - "lfaiss" - ] - }, - { - "filename": "internal/core/algorithm/ngt/Makefile", - "ignoreWords": [ - "benchmem" - ] - }, - { - "filename": "internal/core/algorithm/ngt/ngt.go", - "ignoreWords": [ - "bulkinsert", - "bulkremove", - "cstats", - "lngt", - "ospace", - "stdlib" - ] - }, - { - "filename": "internal/core/algorithm/ngt/ngt_test.go", - "ignoreWords": [ - "bulkinsert", - "ospace" - ] - }, - { - "filename": "internal/core/algorithm/ngt/option.go", - "ignoreWords": [ - "dotp", - "dproduct", - "halffloat", - "innerp", - "iproduct", - "lngt", - "nang", - "nangle", - "ncos", - "ncosine", - "normalizedang", - "normalizedcos", - "sparsejac" - ] - }, - { - "filename": "internal/core/algorithm/ngt/option_test.go", - "ignoreWords": [ - "nang", - "ncos" - ] - }, - { - "filename": "internal/db/kvs/bbolt/bbolt_test.go", - "ignoreWords": [ - "testfunc" - ] - }, - { - "filename": "internal/db/kvs/bbolt/option.go", - "ignoreWords": [ - "Freelist" - ] - }, - { - "filename": "internal/db/kvs/bbolt/option_test.go", - "ignoreWords": [ - "Freelist" - ] - }, - { - "filename": "internal/db/kvs/pogreb/options.go", - "ignoreWords": [ - "deafult" - ] - }, - { - "filename": "internal/db/kvs/pogreb/pogreb.go", - "ignoreWords": [ - "deafult" - ] - }, - { - "filename": "internal/db/kvs/redis/delete.go", - "ignoreWords": [ - "Deleter" - ] - }, - { - "filename": "internal/db/kvs/redis/hook.go", - "ignoreWords": [ - "Cmder" - ] - }, - { - "filename": "internal/db/kvs/redis/option_test.go", - "ignoreWords": [ - "defult" - ] - }, - { - "filename": "internal/db/kvs/redis/redis.go", - "ignoreWords": [ - "Deleter", - "Pipeliner" - ] - }, - { - "filename": "internal/db/kvs/redis/redis_mock.go", - "ignoreWords": [ - "Cmder", - "Pipeliner" - ] - }, - { - "filename": "internal/db/kvs/redis/redis_test.go", - "ignoreWords": [ - "cslots", - "gotc" - ] - }, - { - "filename": "internal/db/nosql/cassandra/cassandra.go", - "ignoreWords": [ - "Queryx", - "cmps", - "configuation", - "wlhf" - ] - }, - { - "filename": "internal/db/nosql/cassandra/cassandra_test.go", - "ignoreWords": [ - "Debouncer", - "Queryx", - "cmps", - "dchf", - "selete", - "unavilable", - "wlhf" - ] - }, - { - "filename": "internal/db/nosql/cassandra/delete.go", - "ignoreWords": [ - "Deleter" - ] - }, - { - "filename": "internal/db/nosql/cassandra/option.go", - "ignoreWords": [ - "TLSCA", - "eachquorum", - "localone", - "localquorum", - "localserial" - ] - }, - { - "filename": "internal/db/nosql/cassandra/option_test.go", - "ignoreWords": [ - "TLSCA" - ] - }, - { - "filename": "internal/db/rdb/mysql/mysql_test.go", - "ignoreWords": [ - "insertbysql", - "loadcontext" - ] - }, - { - "filename": "internal/db/rdb/mysql/option_test.go", - "ignoreWords": [ - "valddb", - "valdmysql" - ] - }, - { - "filename": "internal/db/storage/blob/cloudstorage/cloudstorage.go", - "ignoreWords": [ - "iblob" - ] - }, - { - "filename": "internal/db/storage/blob/cloudstorage/cloudstorage_test.go", - "ignoreWords": [ - "iblob" - ] - }, - { - "filename": "internal/db/storage/blob/cloudstorage/option.go", - "ignoreWords": [ - "urlstr" - ] - }, - { - "filename": "internal/db/storage/blob/s3/reader/reader_test.go", - "ignoreWords": [ - "roop" - ] - }, - { - "filename": "internal/db/storage/blob/s3/sdk/s3/s3manager/s3manager.go", - "ignoreWords": [ - "mngr" - ] - }, - { - "filename": "internal/db/storage/blob/s3/session/session_test.go", - "ignoreWords": [ - "btop", - "forcepathstyle", - "httpclient", - "itop", - "maxretries" - ] - }, - { - "filename": "internal/errors/benchmark.go", - "ignoreWords": [ - "benchjob", - "benchscenario", - "tbenchjob", - "tbenchscenario" - ] - }, - { - "filename": "internal/errors/cassandra.go", - "ignoreWords": [ - "consistetncy", - "tcql" - ] - }, - { - "filename": "internal/errors/cassandra_test.go", - "ignoreWords": [ - "consistetncy", - "tcql" - ] - }, - { - "filename": "internal/errors/circuitbreaker.go", - "ignoreWords": [ - "errstr" - ] - }, - { - "filename": "internal/errors/compressor.go", - "ignoreWords": [ - "registerers" - ] - }, - { - "filename": "internal/errors/compressor_test.go", - "ignoreWords": [ - "leve", - "registerers" - ] - }, - { - "filename": "internal/errors/errors_test.go", - "ignoreWords": [ - "Unwarp", - "uncomparable", - "unwrapd" - ] - }, - { - "filename": "internal/errors/file.go", - "ignoreWords": [ - "fitos" - ] - }, - { - "filename": "internal/errors/file_test.go", - "ignoreWords": [ - "fitos" - ] - }, - { - "filename": "internal/errors/lb.go", - "ignoreWords": [ - "Insuffcient" - ] - }, - { - "filename": "internal/errors/mysql_test.go", - "ignoreWords": [ - "vaef" - ] - }, - { - "filename": "internal/errors/redis.go", - "ignoreWords": [ - "KVVK" - ] - }, - { - "filename": "internal/errors/redis_test.go", - "ignoreWords": [ - "KVVK" - ] - }, - { - "filename": "internal/errors/vald_test.go", - "ignoreWords": [ - "tvald" - ] - }, - { - "filename": "internal/file/file_test.go", - "ignoreWords": [ - "utiltest" - ] - }, - { - "filename": "internal/info/info.go", - "ignoreWords": [ - "procs", - "strs" - ] - }, - { - "filename": "internal/k8s/client/client.go", - "ignoreWords": [ - "applyconfigurations", - "applycorev", - "clientgoscheme", - "snapshotv", - "volumesnapshot" - ] - }, - { - "filename": "internal/k8s/job/job.go", - "ignoreWords": [ - "batchv" - ] - }, - { - "filename": "internal/k8s/option.go", - "ignoreWords": [ - "mertics" - ] - }, - { - "filename": "internal/k8s/reconciler.go", - "ignoreWords": [ - "mertics", - "mserver" - ] - }, - { - "filename": "internal/k8s/reconciler_test.go", - "ignoreWords": [ - "mertics" - ] - }, - { - "filename": "internal/k8s/types.go", - "ignoreWords": [ - "appsv", - "batchv", - "snapshotv", - "volumesnapshot" - ] - }, - { - "filename": "internal/k8s/vald/benchmark/api/v1/job_types.go", - "ignoreWords": [ - "deepcopy" - ] - }, - { - "filename": "internal/k8s/vald/benchmark/api/v1/scenario_types.go", - "ignoreWords": [ - "deepcopy" - ] - }, - { - "filename": "internal/k8s/vald/mirror/api/v1/target_types.go", - "ignoreWords": [ - "deepcopy" - ] - }, - { - "filename": "internal/k8s/vald/mirror/target/target.go", - "ignoreWords": [ - "mirrv" - ] - }, - { - "filename": "internal/log/format/format.go", - "ignoreWords": [ - "LTSV", - "ltsv" - ] - }, - { - "filename": "internal/log/format/format_test.go", - "ignoreWords": [ - "LTSV", - "ltsv" - ] - }, - { - "filename": "internal/log/glg/glg.go", - "ignoreWords": [ - "DEBG", - "dstr" - ] - }, - { - "filename": "internal/log/glg/glg_test.go", - "ignoreWords": [ - "DEBG" - ] - }, - { - "filename": "internal/log/level/level.go", - "ignoreWords": [ - "DEBG", - "ERRO", - "FATA" - ] - }, - { - "filename": "internal/log/logger/iface.go", - "ignoreWords": [ - "finalizer" - ] - }, - { - "filename": "internal/log/logger/type.go", - "ignoreWords": [ - "Atot" - ] - }, - { - "filename": "internal/log/logger/type_test.go", - "ignoreWords": [ - "Atot", - "ZEROL" - ] - }, - { - "filename": "internal/log/nop/nop.go", - "ignoreWords": [ - "finalizer" - ] - }, - { - "filename": "internal/log/option.go", - "ignoreWords": [ - "Atot" - ] - }, - { - "filename": "internal/log/retry/retry_test.go", - "ignoreWords": [ - "foramt", - "gotr", - "wantr" - ] - }, - { - "filename": "internal/net/control/control.go", - "ignoreWords": [ - "boolint" - ] - }, - { - "filename": "internal/net/control/control_test.go", - "ignoreWords": [ - "boolint" - ] - }, - { - "filename": "internal/net/control/control_unix.go", - "ignoreWords": [ - "uapi" - ] - }, - { - "filename": "internal/net/dialer.go", - "ignoreWords": [ - "nport", - "tconnectionstate", - "tder" - ] - }, - { - "filename": "internal/net/dialer_test.go", - "ignoreWords": [ - "Nums", - "copylocks", - "govet" - ] - }, - { - "filename": "internal/net/grpc/client.go", - "ignoreWords": [ - "gbackoff", - "parseable", - "rebalancing" - ] - }, - { - "filename": "internal/net/grpc/client_test.go", - "ignoreWords": [ - "gbackoff" - ] - }, - { - "filename": "internal/net/grpc/errdetails/errdetails.go", - "ignoreWords": [ - "iobjs" - ] - }, - { - "filename": "internal/net/grpc/logger/logger.go", - "ignoreWords": [ - "Errorln", - "Infoln", - "Warningf", - "Warningln", - "grpclog" - ] - }, - { - "filename": "internal/net/grpc/logger/logger_test.go", - "ignoreWords": [ - "Errorln", - "Infoln", - "Warningf", - "Warningln", - "grpclog" - ] - }, - { - "filename": "internal/net/grpc/option.go", - "ignoreWords": [ - "gbackoff", - "metricinterceptor", - "traceinterceptor" - ] - }, - { - "filename": "internal/net/grpc/pool/pool.go", - "ignoreWords": [ - "tdelay" - ] - }, - { - "filename": "internal/net/grpc/proto/proto.go", - "ignoreWords": [ - "protoiface" - ] - }, - { - "filename": "internal/net/grpc/server_test.go", - "ignoreWords": [ - "channelz" - ] - }, - { - "filename": "internal/net/http/client/option.go", - "ignoreWords": [ - "Alives", - "Keepalives" - ] - }, - { - "filename": "internal/net/http/client/option_test.go", - "ignoreWords": [ - "Alives", - "Keepalives" - ] - }, - { - "filename": "internal/net/http/dump/dump_test.go", - "ignoreWords": [ - "hoge" - ] - }, - { - "filename": "internal/net/http/metrics/pprof.go", - "ignoreWords": [ - "felixge", - "fgprof", - "godeltaprof", - "pyprof", - "threadcreate" - ] - }, - { - "filename": "internal/net/http/middleware/timeout_test.go", - "ignoreWords": [ - "extermemly" - ] - }, - { - "filename": "internal/net/http/transport/roundtrip.go", - "ignoreWords": [ - "Roundtripper", - "roundtripper" - ] - }, - { - "filename": "internal/net/net.go", - "ignoreWords": [ - "IGMP", - "hostport", - "igmp" - ] - }, - { - "filename": "internal/net/net_test.go", - "ignoreWords": [ - "IGMP", - "hostport", - "igmp" - ] - }, - { - "filename": "internal/observability/exporter/otlp/otlp.go", - "ignoreWords": [ - "otlpmetric", - "otlpmetricgrpc", - "otlptracegrpc", - "semconv" - ] - }, - { - "filename": "internal/observability/metrics/grpc/grpc.go", - "ignoreWords": [ - "Desctiption" - ] - }, - { - "filename": "internal/observability/metrics/mem/index/index.go", - "ignoreWords": [ - "mstats" - ] - }, - { - "filename": "internal/observability/metrics/mem/mem.go", - "ignoreWords": [ - "Memstats", - "Shmem", - "buckhash", - "mcache", - "mspan", - "oinsts", - "shmem", - "toal", - "vmdata", - "vmexe", - "vmlck", - "vmlib", - "vmpin", - "vmpte", - "vmstk", - "vmswap" - ] - }, - { - "filename": "internal/observability/metrics/mem/mem_test.go", - "ignoreWords": [ - "Memstats" - ] - }, - { - "filename": "internal/observability/trace/status.go", - "ignoreWords": [ - "RPCGRPC", - "ocodes", - "semconv" - ] - }, - { - "filename": "internal/params/params.go", - "ignoreWords": [ - "commnad" - ] - }, - { - "filename": "internal/runner/runner.go", - "ignoreWords": [ - "maxprocs", - "mfunc", - "timelocation" - ] - }, - { - "filename": "internal/safety/safety.go", - "ignoreWords": [ - "revcover", - "runtimer" - ] - }, - { - "filename": "internal/servers/option.go", - "ignoreWords": [ - "strg" - ] - }, - { - "filename": "internal/servers/option_test.go", - "ignoreWords": [ - "gsrv", - "strg" - ] - }, - { - "filename": "internal/servers/server/option.go", - "ignoreWords": [ - "accesslog", - "accessloginterceptor", - "metricinterceptor", - "recoverinterceptor", - "traceinterceptor" - ] - }, - { - "filename": "internal/servers/server/server_test.go", - "ignoreWords": [ - "prestart" - ] - }, - { - "filename": "internal/servers/servers_test.go", - "ignoreWords": [ - "strg" - ] - }, - { - "filename": "internal/strings/strings_benchmark_test.go", - "ignoreWords": [ - "tstr" - ] - }, - { - "filename": "internal/sync/errgroup/group_test.go", - "ignoreWords": [ - "acquireings", - "goroutne" - ] - }, - { - "filename": "internal/sync/semaphore/semaphore.go", - "ignoreWords": [ - "cancelation" - ] - }, - { - "filename": "internal/sync/semaphore/semaphore_example_test.go", - "ignoreWords": [ - "Collatz", - "collatz", - "nonpositive" - ] - }, - { - "filename": "internal/sync/semaphore/semaphore_test.go", - "ignoreWords": [ - "Doesnt", - "unacquired" - ] - }, - { - "filename": "internal/sync/singleflight/singleflight.go", - "ignoreWords": [ - "chans", - "dups" - ] - }, - { - "filename": "internal/sync/singleflight/singleflight_test.go", - "ignoreWords": [ - "DOCHAN", - "unparam" - ] - }, - { - "filename": "internal/test/data/hdf5/hdf5.go", - "ignoreWords": [ - "Keepalives", - "Neighors" - ] - }, - { - "filename": "internal/test/data/hdf5/option.go", - "ignoreWords": [ - "dataname" - ] - }, - { - "filename": "internal/test/data/vector/gen.go", - "ignoreWords": [ - "irand" - ] - }, - { - "filename": "internal/test/mock/grpc_testify_mock.go", - "ignoreWords": [ - "losm", - "usecases" - ] - }, - { - "filename": "internal/test/mock/k8s/client.go", - "ignoreWords": [ - "crclient" - ] - }, - { - "filename": "internal/timeutil/rate/rate.go", - "ignoreWords": [ - "ratelimit" - ] - }, - { - "filename": "internal/timeutil/rate/rate_test.go", - "ignoreWords": [ - "ratelimit" - ] - }, - { - "filename": "internal/timeutil/time_test.go", - "ignoreWords": [ - "dummystring", - "hoge" - ] - }, - { - "filename": "internal/unit/unit.go", - "ignoreWords": [ - "bytefmt", - "cloudfoundry" - ] - }, - { - "filename": "internal/version/version.go", - "ignoreWords": [ - "curv" - ] - }, - { - "filename": "internal/worker/worker_test.go", - "ignoreWords": [ - "testname" - ] - }, - { - "filename": "k8s/external/minio/deployment.yaml", - "ignoreWords": [ - "ACCESSKEY", - "SECRETKEY" - ] - }, - { - "filename": "k8s/external/minio/mb-job.yaml", - "ignoreWords": [ - "ACCESSKEY", - "SECRETKEY" - ] - }, - { - "filename": "k8s/metrics/grafana/dashboards/00-vald-cluster-overview.yaml", - "ignoreWords": [ - "Misscheduled", - "Qxya", - "misscheduled" - ] - }, - { - "filename": "k8s/metrics/grafana/dashboards/02-vald-discoverer.yaml", - "ignoreWords": [ - "Jkemc", - "Versin" - ] - }, - { - "filename": "k8s/metrics/grafana/dashboards/05-vald-index-manager.yaml", - "ignoreWords": [ - "jowe" - ] - }, - { - "filename": "k8s/metrics/grafana/dashboards/10-vald-benchmark-operator.yaml", - "ignoreWords": [ - "Versin", - "fdewjfx", - "jkxz" - ] - }, - { - "filename": "k8s/metrics/grafana/dashboards/99-vald-agent-memory.yaml", - "ignoreWords": [ - "Memstats", - "buckhash", - "mcache", - "mspan", - "vmdata", - "vmexe", - "vmlck", - "vmlib", - "vmpin", - "vmpte", - "vmstk", - "vmswap" - ] - }, - { - "filename": "k8s/metrics/jaeger/jaeger.yaml", - "ignoreWords": [ - "jaegertracing" - ] - }, - { - "filename": "k8s/metrics/loki/loki.yaml", - "ignoreWords": [ - "boltdb", - "ingester", - "inmemory", - "kvstore", - "lifecycler" - ] - }, - { - "filename": "k8s/metrics/loki/promtail.yaml", - "ignoreWords": [ - "labelmap", - "promtail", - "varlibdockercontainers", - "varlog" - ] - }, - { - "filename": "k8s/metrics/prometheus/configmap.yaml", - "ignoreWords": [ - "cadvisor", - "labelmap" - ] - }, - { - "filename": "k8s/metrics/pyroscope/README.md", - "ignoreWords": [ - "mafests" - ] - }, - { - "filename": "k8s/metrics/pyroscope/base/configmap.yaml", - "ignoreWords": [ - "labelmap" - ] - }, - { - "filename": "k8s/metrics/pyroscope/base/daemonset.yaml", - "ignoreWords": [ - "ebpfspy" - ] - }, - { - "filename": "k8s/metrics/pyroscope/base/kustomization.yaml", - "ignoreWords": [ - "clusterrolebinding" - ] - }, - { - "filename": "k8s/metrics/tempo/jaeger-agent.yaml", - "ignoreWords": [ - "jaegertracing" - ] - }, - { - "filename": "k8s/metrics/tempo/tempo.yaml", - "ignoreWords": [ - "blocklist", - "ingester", - "inmemory", - "kvstore", - "lifecycler" - ] - }, - { - "filename": "k8s/operator/helm/clusterrole.yaml", - "ignoreWords": [ - "clusterrolebindings", - "clusterroles", - "customresourcedefinitions", - "horizontalpodautoscalers", - "networkpolicies", - "persistentvolumeclaims", - "poddisruptionbudgets", - "priorityclasses", - "serviceaccounts", - "statefulsets" - ] - }, - { - "filename": "k8s/operator/helm/crds/valdhelmoperatorrelease.yaml", - "ignoreWords": [ - "vhors" - ] - }, - { - "filename": "k8s/operator/helm/operator.yaml", - "ignoreWords": [ - "readyz" - ] - }, - { - "filename": "k8s/tools/benchmark/job/clusterrolebinding.yaml", - "ignoreWords": [ - "rolebinding" - ] - }, - { - "filename": "k8s/tools/benchmark/job/serviceaccount.yaml", - "ignoreWords": [ - "Versoin" - ] - }, - { - "filename": "k8s/tools/benchmark/operator/clusterrole.yaml", - "ignoreWords": [ - "deletecollection" - ] - }, - { - "filename": "k8s/tools/benchmark/operator/crds/valdbenchmarkjob.yaml", - "ignoreWords": [ - "vbjs" - ] - }, - { - "filename": "k8s/tools/benchmark/operator/crds/valdbenchmarkoperatorrelease.yaml", - "ignoreWords": [ - "valdbenchmarkoperator", - "valdbenchmarkoperatorreleases", - "vbor", - "vbors" - ] - }, - { - "filename": "k8s/tools/benchmark/operator/crds/valdbenchmarkscenario.yaml", - "ignoreWords": [ - "vbss" - ] - }, - { - "filename": "pkg/agent/core/faiss/handler/grpc/search.go", - "ignoreWords": [ - "createing" - ] - }, - { - "filename": "pkg/agent/core/faiss/service/faiss.go", - "ignoreWords": [ - "Voronoi", - "ntotal", - "saveindex", - "subquantizers", - "tpath", - "tvald" - ] - }, - { - "filename": "pkg/agent/core/faiss/service/option.go", - "ignoreWords": [ - "bdbs", - "brnd" - ] - }, - { - "filename": "pkg/agent/core/faiss/usecase/agentd.go", - "ignoreWords": [ - "faissmetrics" - ] - }, - { - "filename": "pkg/agent/core/ngt/handler/grpc/flush.go", - "ignoreWords": [ - "Cnts", - "cnts" - ] - }, - { - "filename": "pkg/agent/core/ngt/handler/grpc/index_test.go", - "ignoreWords": [ - "exteneral" - ] - }, - { - "filename": "pkg/agent/core/ngt/handler/grpc/insert.go", - "ignoreWords": [ - "vmap" - ] - }, - { - "filename": "pkg/agent/core/ngt/handler/grpc/insert_test.go", - "ignoreWords": [ - "Testingcase", - "joind", - "nonexistid", - "pushinsert" - ] - }, - { - "filename": "pkg/agent/core/ngt/handler/grpc/object_test.go", - "ignoreWords": [ - "testfunc", - "tmock" - ] - }, - { - "filename": "pkg/agent/core/ngt/handler/grpc/update.go", - "ignoreWords": [ - "idis", - "vmap" - ] - }, - { - "filename": "pkg/agent/core/ngt/handler/grpc/update_test.go", - "ignoreWords": [ - "Testint" - ] - }, - { - "filename": "pkg/agent/core/ngt/service/ngt.go", - "ignoreWords": [ - "Nopvq", - "nkvs", - "nobic", - "nopvq", - "saveindex", - "toid", - "tvald" - ] - }, - { - "filename": "pkg/agent/core/ngt/service/ngt_test.go", - "ignoreWords": [ - "Nopvq", - "additionaldigits", - "kvald", - "metafile", - "nobic", - "nopvq", - "testfunc" - ] - }, - { - "filename": "pkg/agent/core/ngt/service/option.go", - "ignoreWords": [ - "bdbs", - "brnd" - ] - }, - { - "filename": "pkg/agent/core/ngt/usecase/agentd.go", - "ignoreWords": [ - "memmetrics", - "ngtmetrics" - ] - }, - { - "filename": "pkg/agent/internal/vqueue/queue.go", - "ignoreWords": [ - "uninserted" - ] - }, - { - "filename": "pkg/agent/internal/vqueue/stateful_test.go", - "ignoreWords": [ - "getvector" - ] - }, - { - "filename": "pkg/agent/sidecar/service/restorer/restorer.go", - "ignoreWords": [ - "Typeflag" - ] - }, - { - "filename": "pkg/discoverer/k8s/service/discover.go", - "ignoreWords": [ - "mnode", - "mpod", - "reconciation", - "svcsmap" - ] - }, - { - "filename": "pkg/discoverer/k8s/service/discover_test.go", - "ignoreWords": [ - "mnode", - "mpod" - ] - }, - { - "filename": "pkg/discoverer/k8s/usecase/discovered.go", - "ignoreWords": [ - "unbackupped" - ] - }, - { - "filename": "pkg/gateway/lb/handler/grpc/aggregation.go", - "ignoreWords": [ - "Aggr", - "Insuffcient", - "aggr", - "fdist", - "fmax", - "timeoutage" - ] - }, - { - "filename": "pkg/gateway/lb/handler/grpc/aggregation_test.go", - "ignoreWords": [ - "Aggr", - "aggr" - ] - }, - { - "filename": "pkg/gateway/lb/handler/grpc/handler.go", - "ignoreWords": [ - "Cnts", - "cnts", - "indegrees", - "outdegrees" - ] - }, - { - "filename": "pkg/gateway/lb/handler/grpc/handler_test.go", - "ignoreWords": [ - "Cnts", - "cnts" - ] - }, - { - "filename": "pkg/gateway/lb/handler/grpc/pairing_heap_test.go", - "ignoreWords": [ - "gids" - ] - }, - { - "filename": "pkg/gateway/lb/handler/grpc/search_benchmark_test.go", - "ignoreWords": [ - "Aggr", - "aggr", - "datas" - ] - }, - { - "filename": "pkg/gateway/mirror/handler/grpc/handler_test.go", - "ignoreWords": [ - "clientmock", - "cmap" - ] - }, - { - "filename": "pkg/gateway/mirror/service/discovery.go", - "ignoreWords": [ - "ctgt", - "ptgt" - ] - }, - { - "filename": "pkg/gateway/mirror/service/discovery_option.go", - "ignoreWords": [ - "datacenter" - ] - }, - { - "filename": "pkg/gateway/mirror/service/mirror_test.go", - "ignoreWords": [ - "grpcmock" - ] - }, - { - "filename": "pkg/gateway/mirror/usecase/vald.go", - "ignoreWords": [ - "mirrormetrics" - ] - }, - { - "filename": "pkg/index/job/creation/service/indexer_test.go", - "ignoreWords": [ - "clientmock", - "grpcmock" - ] - }, - { - "filename": "pkg/index/job/save/service/indexer_test.go", - "ignoreWords": [ - "clientmock", - "grpcmock" - ] - }, - { - "filename": "pkg/manager/index/usecase/indexer.go", - "ignoreWords": [ - "indexmetrics" - ] - }, - { - "filename": "pkg/tools/benchmark/job/config/config.go", - "ignoreWords": [ - "JOBNAME", - "JOBNAMESPACE" - ] - }, - { - "filename": "pkg/tools/benchmark/job/service/insert.go", - "ignoreWords": [ - "Prometeus" - ] - }, - { - "filename": "pkg/tools/benchmark/job/service/job.go", - "ignoreWords": [ - "Neighors", - "USERDEFINED", - "benchjob", - "userdefined" - ] - }, - { - "filename": "pkg/tools/benchmark/job/service/option.go", - "ignoreWords": [ - "Concurency", - "USERDEFINED", - "bjns", - "userdefined" - ] - }, - { - "filename": "pkg/tools/benchmark/job/service/option_test.go", - "ignoreWords": [ - "Concurency", - "bjns" - ] - }, - { - "filename": "pkg/tools/benchmark/job/usecase/benchmarkd.go", - "ignoreWords": [ - "Concurency", - "gcli", - "unbackupped", - "usecases", - "vcli" - ] - }, - { - "filename": "pkg/tools/benchmark/operator/service/operator.go", - "ignoreWords": [ - "Progation", - "benchjob", - "benchjobs", - "benchmarkjob", - "benchscenario", - "bjob", - "cbjl", - "cbsl", - "cjobs", - "rcticker", - "wating" - ] - }, - { - "filename": "pkg/tools/benchmark/operator/service/operator_test.go", - "ignoreWords": [ - "benchjobs", - "minsit", - "scneario" - ] - }, - { - "filename": "pkg/tools/benchmark/operator/usecase/benchmarkd.go", - "ignoreWords": [ - "benchmarkmetrics", - "unbackupped", - "usecases" - ] - }, - { - "filename": "pkg/tools/cli/loadtest/assets/dataset.go", - "ignoreWords": [ - "GROUNDTRUTH", - "groundtruth", - "kosarak", - "nytimes" - ] - }, - { - "filename": "pkg/tools/cli/loadtest/assets/hdf5_loader.go", - "ignoreWords": [ - "dset", - "npoints" - ] - }, - { - "filename": "pkg/tools/cli/loadtest/assets/hdf5_loader_test.go", - "ignoreWords": [ - "dset", - "npoints" - ] - }, - { - "filename": "pkg/tools/cli/loadtest/config/config.go", - "ignoreWords": [ - "streaminsert" - ] - }, - { - "filename": "rust/libs/ngt-rs/Cargo.toml", - "ignoreWords": [ - "miette" - ] - }, - { - "filename": "rust/libs/ngt-rs/build.rs", - "ignoreWords": [ - "BFLOAT", - "DNGT", - "dylib", - "fopenmp", - "gomp", - "miette", - "rustc" - ] - }, - { - "filename": "rust/libs/ngt-rs/src/input.cpp", - "ignoreWords": [ - "cpath", - "ngtresults", - "vquery" - ] - }, - { - "filename": "rust/libs/ngt-rs/src/lib.rs", - "ignoreWords": [ - "repr" - ] - }, - { - "filename": "rust/libs/observability/Cargo.toml", - "ignoreWords": [ - "reqwest", - "scopeguard", - "serde" - ] - }, - { - "filename": "rust/libs/observability/src/macros.rs", - "ignoreWords": [ - "Updown" - ] - }, - { - "filename": "rust/libs/proto/src/payload.v1.rs", - "ignoreWords": [ - "repr" - ] - }, - { - "filename": "tests/chaos/chart/README.md", - "ignoreWords": [ - "kbps", - "minburst", - "peakrate" - ] - }, - { - "filename": "tests/chaos/chart/templates/network/bandwidth.yaml", - "ignoreWords": [ - "minburst", - "peakrate" - ] - }, - { - "filename": "tests/chaos/chart/values.yaml", - "ignoreWords": [ - "kbps", - "minburst", - "peakrate" - ] - }, - { - "filename": "tests/e2e/crud/crud_test.go", - "ignoreWords": [ - "ECRUD" - ] - }, - { - "filename": "tests/e2e/kubernetes/client/client.go", - "ignoreWords": [ - "Clientset", - "clientcmd", - "clientset" - ] - }, - { - "filename": "tests/e2e/kubernetes/kubectl/kubectl.go", - "ignoreWords": [ - "rollouts", - "subcmds" - ] - }, - { - "filename": "tests/e2e/kubernetes/portforward/portforward.go", - "ignoreWords": [ - "genericclioptions", - "portforwarder", - "spdy", - "upgrader" - ] - }, - { - "filename": "tests/e2e/operation/stream.go", - "ignoreWords": [ - "evalidator", - "svalidator" - ] - } - ] -} \ No newline at end of file + "ignoreWordsMap": { + ".all-contributorsrc": [ + "Funakoshi", + "Grimaud", + "Hiroto", + "Hrichik", + "Kadowaki", + "Kato", + "Katz", + "Kiichiro", + "Koichi", + "Kosuke", + "Mazumder", + "Morimoto", + "Okamura", + "Rintaro", + "Shiraishi", + "Siyuan", + "YUKAWA", + "Yusuke", + "aknishid", + "ando", + "datelier", + "dotdc", + "hrichiksite", + "junsei", + "kevindiu", + "liusy", + "pgrimaud", + "taisuou", + "takuyaymd", + "thedrow", + "ykadowak", + "zchee" + ], + ".commit_template": [ + "bento", + "tada" + ], + ".devcontainer/devcontainer.json": [ + "PTRACE", + "commandhistory", + "seccomp", + "zshhistory" + ], + ".devcontainer/postAttachCommand.sh": [ + "commandhistory" + ], + ".fossa.yml": [ + "vdctl" + ], + ".git/hooks/applypatch-msg.sample": [ + "commitmsg" + ], + ".git/hooks/fsmonitor-watchman.sample": [ + "CHLD", + "binmode", + "clockid", + "msys" + ], + ".git/hooks/pre-commit.sample": [ + "allownonascii" + ], + ".git/hooks/pre-rebase.sample": [ + "Hamano", + "Junio", + "oneline" + ], + ".git/hooks/pre-receive.sample": [ + "echoback" + ], + ".git/hooks/push-to-checkout.sample": [ + "behaviour" + ], + ".git/hooks/sendemail-validate.sample": [ + "SENDEMAIL", + "Worktree", + "sendemail", + "worktree" + ], + ".git/hooks/update.sample": [ + "allowdeletetag", + "allowmodifytag", + "allowunannotated", + "newrev", + "oldrev", + "projectdesc" + ], + ".gitattributes": [ + "contributorsrc" + ], + ".gitfiles": [ + "CMYK", + "PROTOBUF", + "SHOGO", + "SOFTPROPS", + "TECHNOTE", + "accesslog", + "agentd", + "benchmarkd", + "brandguidelines", + "clusterrolebinding", + "conflint", + "contributorsrc", + "conv", + "darkgray", + "getstarted", + "gitfiles", + "gongt", + "helmignore", + "kosarak", + "kustomization", + "lycorp", + "multicluster", + "networkpolicy", + "nytimes", + "priorityclass", + "promtail", + "serviceaccount", + "sidecard", + "testdata", + "textlintrc", + "tmpl", + "valdmirrortarget", + "vdctl", + "whitesource" + ], + ".github/actions/docker-build/action.yaml": [ + "opencontainers" + ], + ".github/actions/notify-slack/action.yaml": [ + "technote" + ], + ".github/chatops_commands.md": [ + "bento" + ], + ".github/chatops_permissions.yaml": [ + "datelier", + "kevindiu" + ], + ".github/conflint.yaml": [ + "kubeval" + ], + ".github/dependabot.yml": [ + "gomod" + ], + ".github/helm/values/values-agent-sidecar.yaml": [ + "ACCESSKEY", + "SECRETKEY" + ], + ".github/helm/values/values-chaos.yaml": [ + "serversscheme" + ], + ".github/helm/values/values-profile.yaml": [ + "GOMAXPROCS" + ], + ".github/helm/values/values-readreplica.yaml": [ + "snapclass" + ], + ".github/workflows/_docker-image-scan.yaml": [ + "imagename", + "opencontainers" + ], + ".github/workflows/_docker-image.yaml": [ + "DOCKERHUB", + "buildkitd", + "stargz" + ], + ".github/workflows/backport.yml": [ + "startswith" + ], + ".github/workflows/build-binaries.yml": [ + "shogo" + ], + ".github/workflows/chatops.yml": [ + "gentest" + ], + ".github/workflows/detect-internal-config-changes.yml": [ + "INTCFG", + "interal" + ], + ".github/workflows/dockers-gateway-mirror-image.yaml": [ + "nirror" + ], + ".github/workflows/e2e-chaos.yaml": [ + "clusterwide" + ], + ".github/workflows/e2e-max-dim.yml": [ + "readlink" + ], + ".github/workflows/e2e-profiling.yml": [ + "threadcreate" + ], + ".github/workflows/fossa.yml": [ + "urllib" + ], + ".github/workflows/labeler.yml": [ + "shortstat" + ], + ".github/workflows/release.yml": [ + "goproxy", + "softprops" + ], + ".github/workflows/reviewdog-hadolint.yml": [ + "Dockerfiles" + ], + ".github/workflows/reviewdog-k8s.yml": [ + "CONFLINT", + "conflint", + "kubeval" + ], + ".github/workflows/reviewdog-markdown.yml": [ + "testlint" + ], + ".github/workflows/test-hack.yml": [ + "notests", + "smallscreen" + ], + ".github/workflows/unit-test.yaml": [ + "notests", + "smallscreen" + ], + ".gitignore": [ + "MSVC", + "dylib", + "nvim", + "nvimlog", + "rustc", + "rustfmt" + ], + ".golangci.yml": [ + "asasalint", + "asciicheck", + "bidichk", + "bodyclose", + "contextcheck", + "copylocks", + "cyclop", + "decorder", + "depguard", + "dupl", + "dupword", + "durationcheck", + "errcheck", + "errchkjson", + "errname", + "errorlint", + "execinquery", + "exhaustruct", + "exportloopref", + "forbidigo", + "forcetypeassert", + "ginkgolinter", + "gocheckcompilerdirectives", + "gochecknoglobals", + "gochecknoinits", + "gocognit", + "goconst", + "gocritic", + "gocyclo", + "godox", + "gofmt", + "goheader", + "gomoddirectives", + "gomodguard", + "goprintffuncname", + "gosec", + "gosimple", + "gosmopolitan", + "govet", + "importas", + "ineffassign", + "interfacebloat", + "ireturn", + "loggercheck", + "logrlint", + "makezero", + "megacheck", + "musttag", + "nakedret", + "nestif", + "nilnil", + "nlreturn", + "nolintlint", + "nonamedreturns", + "nosprintfhostport", + "paralleltest", + "prealloc", + "predeclared", + "promlinter", + "rowserrcheck", + "sqlclosecheck", + "staticcheck", + "stylecheck", + "testableexamples", + "testpackage", + "thelper", + "tparallel", + "unconvert", + "unparam", + "usestdlibvars", + "vetshadow", + "wastedassign", + "wrapcheck", + "wslissues" + ], + ".prh.yaml": [ + "Burstable", + "Flamegraph", + "besteffort", + "burstable", + "documentaion", + "flamegraph", + "valdcli" + ], + ".textlintrc": [ + "idrequest", + "mevie", + "rerank", + "sptag", + "subtest", + "vektor" + ], + "CHANGELOG.md": [ + "CFLAGS", + "CXXFLAGS", + "Cellebration", + "Dockerfiles", + "Metas", + "Migratation", + "OSDK", + "Stackdriver", + "Tutotial", + "alogrithm", + "ando", + "apiversion", + "bento", + "bidi", + "bulkinsert", + "cass", + "cheking", + "continous", + "conv", + "createindex", + "deeepsource", + "depentency", + "devcontiner", + "dotdc", + "errorgroup", + "exection", + "exhaustruct", + "exsiting", + "gache's", + "gorountine", + "hrichiksite", + "informations", + "iocopy", + "junsei", + "libquadmath", + "lincense", + "liusy", + "makr", + "malloc", + "minnum", + "multiplatforms", + "nvimlog", + "osdk", + "pacakge", + "pacicked", + "pbdocs", + "performace", + "priorityclasses", + "savedmodel", + "slowloris", + "sptag", + "stackdriver", + "tada", + "takuyaymd", + "tensorlfow", + "tset", + "unkeyed", + "unneccessary", + "valdcli", + "vcache", + "vqueue's", + "workdir", + "yamls", + "ykadowak", + "zchee" + ], + "CONTRIBUTING.md": [ + "Firstname", + "Lastname", + "implmentes", + "newfeature" + ], + "Makefile": [ + "BLAS", + "CRORG", + "DBLA", + "DBUILD", + "DCMAKE", + "DFAISS", + "EXTLDFLAGS", + "GHCRORG", + "GOCACHE", + "GOPROXY", + "MAKELISTS", + "NPROCESSORS", + "NUMPANES", + "ONLN", + "Ofast", + "PBDOCS", + "PBGOS", + "PROTOBUF", + "PROTODIRS", + "PROTOS", + "RLENGTH", + "RSTART", + "STDDEV", + "armv", + "copress", + "crlfmt", + "dockerfiles", + "fmerge", + "fopenmp", + "funroll", + "gitfiles", + "gsub", + "laec", + "lgfortran", + "lhdf", + "libfaiss", + "llapack", + "lopenblas", + "lstdc", + "mtune", + "ncpu", + "nproc", + "pthread", + "relro", + "strictgoimports", + "toplevel" + ], + "Makefile.d/bench.mk": [ + "benchmem", + "cpuprofile", + "memprofile", + "nvim" + ], + "Makefile.d/build.mk": [ + "EXTLDFLAGS", + "linkmode", + "popd", + "pushd" + ], + "Makefile.d/dependencies.mk": [ + "GOCACHE", + "PROTOBUF", + "modcache", + "testcache" + ], + "Makefile.d/docker.mk": [ + "CRORG", + "GHCRORG", + "buildcache", + "mediatypes", + "npmjs" + ], + "Makefile.d/e2e.mk": [ + "ECRUD" + ], + "Makefile.d/functions.mk": [ + "APIV", + "PBGOS", + "buildid", + "extldflags", + "modcacherw", + "netgo", + "osusergo", + "trimpath" + ], + "Makefile.d/helm.mk": [ + "valdmirrortarget", + "xzvf" + ], + "Makefile.d/k3d.mk": [ + "loadbalancer", + "storageclass" + ], + "Makefile.d/k8s.mk": [ + "CRORG", + "cainjector", + "jaegertracing", + "operatorusing", + "promtail", + "serrver" + ], + "Makefile.d/kind.mk": [ + "conntrack", + "netfilter" + ], + "Makefile.d/minikube.mk": [ + "hostpath", + "storageclass" + ], + "Makefile.d/proto.mk": [ + "PROTOS", + "protobufs" + ], + "Makefile.d/test.mk": [ + "covermode", + "coverprofile", + "cweill", + "gotesttools", + "mfridman", + "notests", + "showteststatus" + ], + "Makefile.d/tools.mk": [ + "DBUILD", + "DCMAKE", + "DHDF", + "DZLIB", + "busa", + "crlfmt", + "fatih", + "gomodifytags", + "goplay", + "haya", + "honnef", + "josharian", + "libz", + "momotaro", + "mvdan", + "segmentio", + "staticcheck", + "strictgoimports", + "tlsv", + "xzvf" + ], + "README.md": [ + "Codacy", + "Funakoshi", + "Grimaud", + "Hiroto", + "Hrichik", + "Kadowaki", + "Kato", + "Katz", + "Kiichiro", + "Koichi", + "Kosuke", + "Mazumder", + "Morimoto", + "Okamura", + "Rintaro", + "Shiraishi", + "Siyuan", + "YUKAWA", + "Yusuke", + "aknishid", + "ando", + "datelier", + "junsei", + "kevindiu", + "liusy", + "lycorp", + "srcset", + "taisuou", + "takuyaymd", + "thedrow", + "zchee" + ], + "apis/docs/v1/docs.md": [ + "Bignum", + "Fixnum", + "STOCKOUT", + "hasn", + "sfixed", + "sint" + ], + "apis/grpc/v1/payload/payload.pb.go": [ + "wrapperspb" + ], + "apis/grpc/v1/payload/payload.pb.json.go": [ + "protojson" + ], + "apis/grpc/v1/payload/payload_vtproto.pb.go": [ + "Indexmapkey", + "Indexmapvalue", + "Lenmapkey", + "Lenmapvalue", + "mapkey", + "mapvalue", + "postmsg", + "protohelpers", + "vtmsg", + "vtpb", + "wiretype", + "wrapperspb" + ], + "apis/grpc/v1/rpc/errdetails/error_details.pb.go": [ + "STOCKOUT", + "durationpb" + ], + "apis/grpc/v1/rpc/errdetails/error_details.pb.json.go": [ + "protojson" + ], + "apis/grpc/v1/rpc/errdetails/error_details_vtproto.pb.go": [ + "Indexmapkey", + "Indexmapvalue", + "Lenmapkey", + "Lenmapvalue", + "durationpb", + "mapkey", + "mapvalue", + "protohelpers", + "wiretype" + ], + "apis/proto/v1/agent/core/agent.proto": [ + "createandsave" + ], + "apis/proto/v1/payload/payload.proto": [ + "objc" + ], + "apis/proto/v1/rpc/errdetails/error_details.proto": [ + "STOCKOUT", + "objc" + ], + "apis/swagger/v1/agent/core/agent.swagger.json": [ + "createandsave" + ], + "assets/test/templates/common/fill.tmpl": [ + "uintptr" + ], + "assets/test/templates/common/function.tmpl": [ + "Subtests" + ], + "assets/test/templates/option/function.tmpl": [ + "Subtests" + ], + "buf.gen.yaml": [ + "mfridman", + "neoeinstein", + "openapiv", + "pseudomuto" + ], + "charts/vald-benchmark-operator/crds/valdbenchmarkjob.yaml": [ + "vbjs" + ], + "charts/vald-benchmark-operator/crds/valdbenchmarkoperatorrelease.yaml": [ + "valdbenchmarkoperator", + "valdbenchmarkoperatorreleases", + "vbor", + "vbors" + ], + "charts/vald-benchmark-operator/crds/valdbenchmarkscenario.yaml": [ + "vbss" + ], + "charts/vald-benchmark-operator/templates/clusterrole.yaml": [ + "deletecollection" + ], + "charts/vald-helm-operator/README.md": [ + "readyz" + ], + "charts/vald-helm-operator/crds/valdhelmoperatorrelease.yaml": [ + "vhors" + ], + "charts/vald-helm-operator/templates/clusterrole.yaml": [ + "clusterrolebindings", + "clusterroles", + "customresourcedefinitions", + "horizontalpodautoscalers", + "networkpolicies", + "persistentvolumeclaims", + "poddisruptionbudgets", + "priorityclasses", + "serviceaccounts", + "statefulsets" + ], + "charts/vald-helm-operator/values.yaml": [ + "readyz" + ], + "charts/vald-readreplica/Chart.yaml": [ + "ykadowak" + ], + "charts/vald-readreplica/templates/deployment.yaml": [ + "valdchart", + "valdname" + ], + "charts/vald-readreplica/templates/hpa.yaml": [ + "valdchart", + "valdname" + ], + "charts/vald-readreplica/templates/svc.yaml": [ + "valdchart", + "valdname" + ], + "charts/vald/README.md": [ + "goroutines" + ], + "charts/vald/crds/valdmirrortarget.yaml": [ + "valdmirrortarget", + "valdmirrortargets", + "vmts" + ], + "charts/vald/templates/_helpers.tpl": [ + "envkey", + "rsslimit", + "vszlimit" + ], + "charts/vald/templates/gateway/mirror/clusterrole.yaml": [ + "valdmirrortargets" + ], + "charts/vald/templates/index/job/readreplica/rotate/clusterrole.yaml": [ + "persistentvolumeclaims" + ], + "charts/vald/templates/index/job/readreplica/rotate/configmap.yaml": [ + "envkey" + ], + "charts/vald/values.schema.json": [ + "goroutines" + ], + "charts/vald/values.yaml": [ + "goroutines" + ], + "cmd/tools/cli/benchmark/core/main.go": [ + "pfile", + "vmdata", + "vmexe", + "vmlib", + "vmlock", + "vmpin", + "vmpte", + "vmstack", + "vmswap" + ], + "dockers/binfmt/Dockerfile": [ + "tonistiigi" + ], + "dockers/ci/base/Dockerfile": [ + "graphviz" + ], + "dockers/ci/base/README.md": [ + "titile" + ], + "dockers/dev/Dockerfile": [ + "gomodifytags", + "graphviz", + "staticcheck" + ], + "docs/api/build_proto.md": [ + "chrono", + "nanos", + "protos", + "rustc" + ], + "docs/contributing/coding-style.md": [ + "Roundtripper", + "Structs", + "crlfmt", + "httputil", + "ioutil", + "structs", + "subtests" + ], + "docs/overview/about-vald.md": [ + "rebalancing", + "rerank" + ], + "docs/overview/component/agent.md": [ + "verctors" + ], + "docs/overview/component/discoverer.md": [ + "nodeby" + ], + "docs/performance/continuous-benchmark.md": [ + "vbor" + ], + "docs/performance/loadtest.md": [ + "GOMAXPROCS", + "maxprocs", + "streaminsert" + ], + "docs/tutorial/get-started-with-faiss-agent.md": [ + "cvspq", + "jrnlw" + ], + "docs/tutorial/get-started.md": [ + "cvspq", + "getstarted", + "jrnlw", + "loadbalancer" + ], + "docs/tutorial/vald-agent-standalone-on-docker.md": [ + "GOMAXPROCS", + "maxprocs" + ], + "docs/tutorial/vald-multicluster-on-k8s.md": [ + "brbsp", + "dnxbb", + "ghlpx", + "gzcr", + "hbklj", + "kgrdf", + "multicluster", + "vjbqx", + "vlmpg", + "wtlcv", + "xmws" + ], + "docs/usecase/usage-example.md": [ + "vectorizing" + ], + "docs/user-guides/backup-configuration.md": [ + "ACCESSS" + ], + "docs/user-guides/capacity-planning.md": [ + "Burstable" + ], + "docs/user-guides/client-api-config.md": [ + "Milli", + "achive", + "rerank" + ], + "docs/user-guides/cluster-role-binding.md": [ + "clusterrolebinding", + "finalizers", + "retrive", + "valdmirrortargets" + ], + "docs/user-guides/deployment.md": [ + "finalizers", + "valdhelmopratorreleases" + ], + "example/helm/values-standalone-agent-ngt.yaml": [ + "mnist's" + ], + "example/helm/values-with-pyroscope.yaml": [ + "serversscheme" + ], + "example/helm/values.yaml": [ + "Agnet", + "mnist's", + "serversscheme" + ], + "example/manifest/scylla/configmap.yaml": [ + "initdb" + ], + "example/manifest/scylla/job.yaml": [ + "cqlsh", + "initdb" + ], + "go.mod": [ + "adal", + "afero", + "ajstarks", + "amqp", + "ansiterm", + "antihax", + "appengine", + "armon", + "astcopy", + "astequal", + "autorest", + "azcore", + "azidentity", + "benbjohnson", + "beorn", + "blackfriday", + "bmizerany", + "boombuler", + "buger", + "bytefmt", + "campoy", + "cenkalti", + "cespare", + "chunkreader", + "chzyer", + "cloudfoundry", + "cloudsql", + "cmdflag", + "colorstring", + "configsources", + "cpuguy", + "cpuid", + "creack", + "davecgh", + "dbus", + "dejavu", + "demangle", + "denisenkom", + "devigned", + "dgryski", + "difflib", + "diskv", + "dnaeon", + "easyjson", + "embedmd", + "emicklei", + "errcheck", + "evanphx", + "eventstream", + "fastuuid", + "felixge", + "fgprof", + "filippo", + "firestore", + "flowrate", + "fogleman", + "fortytw", + "fpdf", + "frankban", + "freetype", + "glfw", + "goautoneg", + "gobwas", + "godbus", + "godebug", + "godeltaprof", + "gofpdf", + "gofpdi", + "gofrs", + "gofuzz", + "gogrep", + "gojsonpointer", + "gojsonreference", + "gojsonschema", + "gomega", + "gomodules", + "gonic", + "gostub", + "gotool", + "gover", + "gregjones", + "groupcache", + "grpcreplay", + "hailocab", + "hanwen", + "honnef", + "httpcache", + "httpfs", + "httphead", + "httpreplay", + "httpsnoop", + "iancoleman", + "ianlancetaylor", + "imdario", + "imds", + "inconshreveable", + "isatty", + "jackc", + "jessevdk", + "jmespath", + "jmoiron", + "joho", + "josharian", + "jsonparser", + "jsonpointer", + "jsonreference", + "jstemmer", + "kisielk", + "kyaml", + "kylelemons", + "leaktest", + "leodido", + "liggitt", + "logex", + "logfmt", + "logr", + "lucasb", + "mailru", + "mattn", + "matttproud", + "mergo", + "mitchellh", + "modocache", + "monochromegane", + "montanaflynn", + "mountinfo", + "mssqldb", + "munnerz", + "nhooyr", + "niemeyer", + "nxadm", + "objx", + "ocsql", + "onsi", + "otelhttp", + "otlpmetric", + "otlpmetricgrpc", + "otlptracegrpc", + "peterbourgon", + "pflag", + "pgio", + "pgmock", + "pgpassfile", + "pgproto", + "pgservicefile", + "pgtype", + "phpdave", + "pierrec", + "pmezard", + "prashantv", + "progressbar", + "quicktest", + "ratelimit", + "replayers", + "rogpeppe", + "russross", + "ruudk", + "sbinet", + "schollz", + "secretmanager", + "sergi", + "shlex", + "shopspring", + "shurcoo", + "sirupsen", + "spdystream", + "sqlexp", + "sqlmock", + "sqlx", + "starlark", + "stdinfo", + "stdr", + "stix", + "stoewer", + "strcase", + "strparse", + "tabwriter", + "toolsmith", + "treeprint", + "typeparams", + "udpa", + "ugorji", + "vfsgen", + "xeipuuv", + "xlab", + "xxhash", + "zapr" + ], + "hack/benchmark/assets/x1b/loader.go": [ + "fname" + ], + "hack/benchmark/assets/x1b/loader_test.go": [ + "fname" + ], + "hack/benchmark/internal/db/nosql/cassandra/cassandra_test.go": [ + "metas" + ], + "hack/benchmark/internal/db/nosql/cassandra/testdata.json": [ + "Adipisicing", + "Aliqua", + "Aliquip", + "Amet", + "Aute", + "Cillum", + "Commodo", + "Consequat", + "Cupidatat", + "Deserunt", + "Dolore", + "Duis", + "Eiusmod", + "Elit", + "Enim", + "Excepteur", + "Fugiat", + "Incididunt", + "Irure", + "Labore", + "Laboris", + "Laborum", + "Mollit", + "Nostrud", + "Nulla", + "Occaecat", + "Officia", + "Pariatur", + "Proident", + "Quis", + "Reprehenderit", + "Sint", + "Sunt", + "Tempor", + "Ullamco", + "Velit", + "Veniam", + "Voluptate", + "adipisicing", + "aliqua", + "aliquip", + "amet", + "aute", + "cillum", + "commodo", + "consequat", + "cupidatat", + "deserunt", + "dolore", + "duis", + "eiusmod", + "elit", + "enim", + "excepteur", + "fugiat", + "incididunt", + "irure", + "labore", + "laboris", + "laborum", + "mollit", + "nostrud", + "nulla", + "occaecat", + "officia", + "pariatur", + "proident", + "quis", + "reprehenderit", + "sint", + "sunt", + "tempor", + "ullamco", + "velit", + "veniam", + "voluptate" + ], + "hack/benchmark/internal/starter/agent/core/ngt/option.go": [ + "dtype", + "otype" + ], + "hack/benchmark/src/singleflight/singleflight_bench_test.go": [ + "durs", + "resultsmap", + "singlefligh", + "stdsingleflight" + ], + "hack/docker/gen/main.go": [ + "Inernal", + "TARGETARCH", + "TARGETOS", + "WORKDIR", + "Workdir", + "epkg", + "gomodifytags", + "graphviz", + "tmpl", + "tonistiigi" + ], + "hack/go.mod.default": [ + "adal", + "afero", + "ajstarks", + "amqp", + "antihax", + "appengine", + "armon", + "astcopy", + "astequal", + "autorest", + "azcore", + "azidentity", + "benbjohnson", + "beorn", + "blackfriday", + "bmizerany", + "boombuler", + "buger", + "bytefmt", + "cenkalti", + "cespare", + "chunkreader", + "chzyer", + "cloudfoundry", + "cloudsql", + "cmdflag", + "colorstring", + "configsources", + "cpuguy", + "cpuid", + "creack", + "davecgh", + "dbus", + "dejavu", + "demangle", + "denisenkom", + "devigned", + "dgryski", + "difflib", + "diskv", + "dnaeon", + "easyjson", + "emicklei", + "errcheck", + "evanphx", + "eventstream", + "fastuuid", + "firestore", + "fogleman", + "fortytw", + "fpdf", + "frankban", + "freetype", + "glfw", + "goautoneg", + "gobwas", + "godbus", + "godebug", + "godeltaprof", + "gofpdf", + "gofpdi", + "gofrs", + "gofuzz", + "gogrep", + "gojsonpointer", + "gojsonreference", + "gojsonschema", + "gomega", + "gomodules", + "gonic", + "gostub", + "gotool", + "gover", + "gregjones", + "groupcache", + "grpcreplay", + "hailocab", + "hanwen", + "honnef", + "httpcache", + "httpfs", + "httphead", + "httpreplay", + "iancoleman", + "ianlancetaylor", + "imds", + "inconshreveable", + "isatty", + "jackc", + "jessevdk", + "jmespath", + "jmoiron", + "joho", + "josharian", + "jsonparser", + "jsonpointer", + "jsonreference", + "jstemmer", + "kisielk", + "kylelemons", + "leaktest", + "leodido", + "liggitt", + "logex", + "logfmt", + "logr", + "lucasb", + "mailru", + "mattn", + "matttproud", + "mitchellh", + "modocache", + "monochromegane", + "montanaflynn", + "mountinfo", + "mssqldb", + "munnerz", + "nhooyr", + "niemeyer", + "nxadm", + "objx", + "ocsql", + "onsi", + "otlpmetric", + "otlpmetricgrpc", + "otlptracegrpc", + "peterbourgon", + "pflag", + "pgio", + "pgmock", + "pgpassfile", + "pgproto", + "pgservicefile", + "pgtype", + "phpdave", + "pierrec", + "pmezard", + "prashantv", + "progressbar", + "quicktest", + "replayers", + "rogpeppe", + "russross", + "ruudk", + "sbinet", + "schollz", + "secretmanager", + "sergi", + "shlex", + "shopspring", + "shurcoo", + "sirupsen", + "spdystream", + "sqlexp", + "sqlmock", + "sqlx", + "starlark", + "stdinfo", + "stdr", + "stix", + "stoewer", + "strcase", + "strparse", + "tabwriter", + "toolsmith", + "treeprint", + "typeparams", + "udpa", + "ugorji", + "vfsgen", + "xeipuuv", + "xlab", + "xxhash", + "zapr" + ], + "hack/gorules/rules_test.go": [ + "analysistest" + ], + "hack/gorules/testdata/tests.go": [ + "Fmts", + "newname" + ], + "hack/license/gen/main.go": [ + "Pipefile", + "contributorsrc", + "dirwalk", + "gitmodules", + "helmignore", + "tmpl", + "webp", + "whitesource" + ], + "hack/tools/metrics/main.go": [ + "lucasb", + "vgsvg" + ], + "internal/backoff/backoff_test.go": [ + "timelimit" + ], + "internal/circuitbreaker/breaker_test.go": [ + "resetted" + ], + "internal/client/v1/client/client.go": [ + "Upsertor" + ], + "internal/client/v1/client/discoverer/discover_test.go": [ + "copylocks", + "govet" + ], + "internal/compress/gzip_option_test.go": [ + "zdtd" + ], + "internal/compress/lz4/lz4.go": [ + "pierrec" + ], + "internal/compress/zstd_option_test.go": [ + "zdtd" + ], + "internal/compress/zstd_test.go": [ + "decom", + "vecotr" + ], + "internal/config/backup_test.go": [ + "healthcheck" + ], + "internal/config/blob.go": [ + "storaget" + ], + "internal/config/blob_test.go": [ + "CLOUDSTORAGECONFIG" + ], + "internal/config/cassandra.go": [ + "TLSCA" + ], + "internal/config/cassandra_test.go": [ + "localserial" + ], + "internal/config/compress_test.go": [ + "COMPRESSCORE", + "COMPRESSORREGISTERER" + ], + "internal/config/config.go": [ + "dnum", + "rdst", + "snum", + "vdst" + ], + "internal/config/config_test.go": [ + "GETACTUALVALUE", + "GETACTUALVALUES", + "GLOBALCONFIG", + "fname" + ], + "internal/config/faiss.go": [ + "Voronoi", + "subquantizers", + "subvector" + ], + "internal/config/filter_test.go": [ + "sufix" + ], + "internal/config/gateway_test.go": [ + "bmanager", + "efilter", + "ireplica" + ], + "internal/config/grpc.go": [ + "Dail" + ], + "internal/config/grpc_test.go": [ + "DIALOPTION", + "GRPCCLIENT", + "GRPCCLIENTKEEPALIVE", + "healthcheck" + ], + "internal/config/observability_test.go": [ + "servicename" + ], + "internal/config/redis_test.go": [ + "Timelimit" + ], + "internal/config/server_test.go": [ + "GPRC", + "GRPCKEEPALIVE" + ], + "internal/config/sidecar_test.go": [ + "AGENTSIDECAR" + ], + "internal/conv/conv.go": [ + "Atobs" + ], + "internal/core/algorithm/faiss/Capi.cpp": [ + "IVFPQ", + "xids" + ], + "internal/core/algorithm/faiss/Capi.h": [ + "xids" + ], + "internal/core/algorithm/faiss/faiss.go": [ + "lfaiss", + "ntotal", + "strage", + "xids" + ], + "internal/core/algorithm/faiss/option.go": [ + "lfaiss" + ], + "internal/core/algorithm/ngt/Makefile": [ + "benchmem" + ], + "internal/core/algorithm/ngt/ngt.go": [ + "bulkinsert", + "bulkremove", + "cstats", + "lngt", + "ospace", + "stdlib" + ], + "internal/core/algorithm/ngt/ngt_test.go": [ + "bulkinsert", + "ospace" + ], + "internal/core/algorithm/ngt/option.go": [ + "dotp", + "dproduct", + "halffloat", + "innerp", + "iproduct", + "lngt", + "nang", + "nangle", + "ncos", + "ncosine", + "normalizedang", + "normalizedcos", + "sparsejac" + ], + "internal/core/algorithm/ngt/option_test.go": [ + "nang", + "ncos" + ], + "internal/db/kvs/bbolt/bbolt_test.go": [ + "testfunc" + ], + "internal/db/kvs/bbolt/option.go": [ + "Freelist" + ], + "internal/db/kvs/bbolt/option_test.go": [ + "Freelist" + ], + "internal/db/kvs/pogreb/options.go": [ + "deafult" + ], + "internal/db/kvs/pogreb/pogreb.go": [ + "deafult" + ], + "internal/db/kvs/redis/delete.go": [ + "Deleter" + ], + "internal/db/kvs/redis/hook.go": [ + "Cmder" + ], + "internal/db/kvs/redis/option_test.go": [ + "defult" + ], + "internal/db/kvs/redis/redis.go": [ + "Deleter", + "Pipeliner" + ], + "internal/db/kvs/redis/redis_mock.go": [ + "Cmder", + "Pipeliner" + ], + "internal/db/kvs/redis/redis_test.go": [ + "cslots", + "gotc" + ], + "internal/db/nosql/cassandra/cassandra.go": [ + "Queryx", + "cmps", + "configuation", + "wlhf" + ], + "internal/db/nosql/cassandra/cassandra_test.go": [ + "Debouncer", + "Queryx", + "cmps", + "dchf", + "selete", + "unavilable", + "wlhf" + ], + "internal/db/nosql/cassandra/delete.go": [ + "Deleter" + ], + "internal/db/nosql/cassandra/option.go": [ + "TLSCA", + "eachquorum", + "localone", + "localquorum", + "localserial" + ], + "internal/db/nosql/cassandra/option_test.go": [ + "TLSCA" + ], + "internal/db/rdb/mysql/mysql_test.go": [ + "insertbysql", + "loadcontext" + ], + "internal/db/rdb/mysql/option_test.go": [ + "valddb", + "valdmysql" + ], + "internal/db/storage/blob/cloudstorage/cloudstorage.go": [ + "iblob" + ], + "internal/db/storage/blob/cloudstorage/cloudstorage_test.go": [ + "iblob" + ], + "internal/db/storage/blob/cloudstorage/option.go": [ + "urlstr" + ], + "internal/db/storage/blob/s3/reader/reader_test.go": [ + "roop" + ], + "internal/db/storage/blob/s3/sdk/s3/s3manager/s3manager.go": [ + "mngr" + ], + "internal/db/storage/blob/s3/session/session_test.go": [ + "btop", + "forcepathstyle", + "httpclient", + "itop", + "maxretries" + ], + "internal/errors/benchmark.go": [ + "benchjob", + "benchscenario", + "tbenchjob", + "tbenchscenario" + ], + "internal/errors/cassandra.go": [ + "consistetncy", + "tcql" + ], + "internal/errors/cassandra_test.go": [ + "consistetncy", + "tcql" + ], + "internal/errors/circuitbreaker.go": [ + "errstr" + ], + "internal/errors/compressor.go": [ + "registerers" + ], + "internal/errors/compressor_test.go": [ + "leve", + "registerers" + ], + "internal/errors/errors_test.go": [ + "Unwarp", + "uncomparable", + "unwrapd" + ], + "internal/errors/file.go": [ + "fitos" + ], + "internal/errors/file_test.go": [ + "fitos" + ], + "internal/errors/lb.go": [ + "Insuffcient" + ], + "internal/errors/mysql_test.go": [ + "vaef" + ], + "internal/errors/redis.go": [ + "KVVK" + ], + "internal/errors/redis_test.go": [ + "KVVK" + ], + "internal/errors/vald_test.go": [ + "tvald" + ], + "internal/file/file_test.go": [ + "utiltest" + ], + "internal/info/info.go": [ + "procs", + "strs" + ], + "internal/k8s/client/client.go": [ + "applyconfigurations", + "applycorev", + "clientgoscheme", + "snapshotv", + "volumesnapshot" + ], + "internal/k8s/job/job.go": [ + "batchv" + ], + "internal/k8s/option.go": [ + "mertics" + ], + "internal/k8s/reconciler.go": [ + "mertics", + "mserver" + ], + "internal/k8s/reconciler_test.go": [ + "mertics" + ], + "internal/k8s/types.go": [ + "appsv", + "batchv", + "snapshotv", + "volumesnapshot" + ], + "internal/k8s/vald/benchmark/api/v1/job_types.go": [ + "deepcopy" + ], + "internal/k8s/vald/benchmark/api/v1/scenario_types.go": [ + "deepcopy" + ], + "internal/k8s/vald/mirror/api/v1/target_types.go": [ + "deepcopy" + ], + "internal/log/glg/glg.go": [ + "DEBG", + "dstr" + ], + "internal/log/glg/glg_test.go": [ + "DEBG" + ], + "internal/log/level/level.go": [ + "DEBG", + "ERRO", + "FATA" + ], + "internal/log/logger/iface.go": [ + "finalizer" + ], + "internal/log/logger/type.go": [ + "Atot" + ], + "internal/log/logger/type_test.go": [ + "Atot", + "ZEROL" + ], + "internal/log/nop/nop.go": [ + "finalizer" + ], + "internal/log/option.go": [ + "Atot" + ], + "internal/log/retry/retry_test.go": [ + "foramt", + "gotr", + "wantr" + ], + "internal/net/control/control.go": [ + "boolint" + ], + "internal/net/control/control_test.go": [ + "boolint" + ], + "internal/net/control/control_unix.go": [ + "uapi" + ], + "internal/net/dialer.go": [ + "nport", + "tconnectionstate", + "tder" + ], + "internal/net/dialer_test.go": [ + "Nums", + "copylocks", + "govet" + ], + "internal/net/grpc/client.go": [ + "gbackoff", + "parseable", + "rebalancing" + ], + "internal/net/grpc/client_test.go": [ + "gbackoff" + ], + "internal/net/grpc/errdetails/errdetails.go": [ + "iobjs" + ], + "internal/net/grpc/logger/logger.go": [ + "Errorln", + "Infoln", + "Warningf", + "Warningln", + "grpclog" + ], + "internal/net/grpc/logger/logger_test.go": [ + "Errorln", + "Infoln", + "Warningf", + "Warningln", + "grpclog" + ], + "internal/net/grpc/option.go": [ + "gbackoff", + "metricinterceptor", + "traceinterceptor" + ], + "internal/net/grpc/pool/pool.go": [ + "tdelay" + ], + "internal/net/grpc/proto/proto.go": [ + "protoiface" + ], + "internal/net/grpc/server_test.go": [ + "channelz" + ], + "internal/net/http/client/option.go": [ + "Alives", + "Keepalives" + ], + "internal/net/http/client/option_test.go": [ + "Alives", + "Keepalives" + ], + "internal/net/http/dump/dump_test.go": [ + "hoge" + ], + "internal/net/http/metrics/pprof.go": [ + "felixge", + "fgprof", + "godeltaprof", + "pyprof", + "threadcreate" + ], + "internal/net/http/middleware/timeout_test.go": [ + "extermemly" + ], + "internal/net/http/transport/roundtrip.go": [ + "roundtripper" + ], + "internal/net/net.go": [ + "hostport" + ], + "internal/net/net_test.go": [ + "hostport" + ], + "internal/observability/exporter/otlp/otlp.go": [ + "otlpmetric", + "otlpmetricgrpc", + "otlptracegrpc", + "semconv" + ], + "internal/observability/metrics/grpc/grpc.go": [ + "Desctiption" + ], + "internal/observability/metrics/mem/index/index.go": [ + "mstats" + ], + "internal/observability/metrics/mem/mem.go": [ + "Memstats", + "Shmem", + "buckhash", + "mcache", + "mspan", + "oinsts", + "shmem", + "toal", + "vmdata", + "vmexe", + "vmlck", + "vmlib", + "vmpin", + "vmpte", + "vmstk", + "vmswap" + ], + "internal/observability/metrics/mem/mem_test.go": [ + "Memstats" + ], + "internal/observability/trace/status.go": [ + "RPCGRPC", + "ocodes", + "semconv" + ], + "internal/params/params.go": [ + "commnad" + ], + "internal/runner/runner.go": [ + "maxprocs", + "mfunc", + "timelocation" + ], + "internal/safety/safety.go": [ + "revcover", + "runtimer" + ], + "internal/servers/option.go": [ + "strg" + ], + "internal/servers/option_test.go": [ + "gsrv", + "strg" + ], + "internal/servers/server/option.go": [ + "accesslog", + "accessloginterceptor", + "metricinterceptor", + "recoverinterceptor", + "traceinterceptor" + ], + "internal/servers/server/server_test.go": [ + "prestart" + ], + "internal/servers/servers_test.go": [ + "strg" + ], + "internal/strings/strings_benchmark_test.go": [ + "tstr" + ], + "internal/sync/errgroup/group_test.go": [ + "acquireings", + "goroutne" + ], + "internal/sync/semaphore/semaphore.go": [ + "cancelation" + ], + "internal/sync/semaphore/semaphore_example_test.go": [ + "Collatz", + "collatz", + "nonpositive" + ], + "internal/sync/semaphore/semaphore_test.go": [ + "Doesnt", + "unacquired" + ], + "internal/sync/singleflight/singleflight.go": [ + "chans", + "dups" + ], + "internal/sync/singleflight/singleflight_test.go": [ + "DOCHAN", + "unparam" + ], + "internal/test/data/hdf5/hdf5.go": [ + "Keepalives", + "Neighors" + ], + "internal/test/data/hdf5/option.go": [ + "dataname" + ], + "internal/test/data/vector/gen.go": [ + "irand" + ], + "internal/test/mock/grpc_testify_mock.go": [ + "losm", + "usecases" + ], + "internal/test/mock/k8s/client.go": [ + "crclient" + ], + "internal/timeutil/rate/rate.go": [ + "ratelimit" + ], + "internal/timeutil/rate/rate_test.go": [ + "ratelimit" + ], + "internal/timeutil/time_test.go": [ + "dummystring", + "hoge" + ], + "internal/unit/unit.go": [ + "bytefmt", + "cloudfoundry" + ], + "internal/version/version.go": [ + "curv" + ], + "internal/worker/worker_test.go": [ + "testname" + ], + "k8s/external/minio/deployment.yaml": [ + "ACCESSKEY", + "SECRETKEY" + ], + "k8s/external/minio/mb-job.yaml": [ + "ACCESSKEY", + "SECRETKEY" + ], + "k8s/metrics/grafana/dashboards/00-vald-cluster-overview.yaml": [ + "Misscheduled", + "Qxya", + "misscheduled" + ], + "k8s/metrics/grafana/dashboards/02-vald-discoverer.yaml": [ + "Jkemc", + "Versin" + ], + "k8s/metrics/grafana/dashboards/05-vald-index-manager.yaml": [ + "jowe" + ], + "k8s/metrics/grafana/dashboards/10-vald-benchmark-operator.yaml": [ + "Versin", + "fdewjfx", + "jkxz" + ], + "k8s/metrics/grafana/dashboards/99-vald-agent-memory.yaml": [ + "Memstats", + "buckhash", + "mcache", + "mspan", + "vmdata", + "vmexe", + "vmlck", + "vmlib", + "vmpin", + "vmpte", + "vmstk", + "vmswap" + ], + "k8s/metrics/jaeger/jaeger.yaml": [ + "jaegertracing" + ], + "k8s/metrics/loki/loki.yaml": [ + "boltdb", + "ingester", + "inmemory", + "kvstore", + "lifecycler" + ], + "k8s/metrics/loki/promtail.yaml": [ + "labelmap", + "promtail", + "varlibdockercontainers", + "varlog" + ], + "k8s/metrics/prometheus/configmap.yaml": [ + "cadvisor", + "labelmap" + ], + "k8s/metrics/pyroscope/README.md": [ + "mafests" + ], + "k8s/metrics/pyroscope/base/configmap.yaml": [ + "labelmap" + ], + "k8s/metrics/pyroscope/base/daemonset.yaml": [ + "ebpfspy" + ], + "k8s/metrics/pyroscope/base/kustomization.yaml": [ + "clusterrolebinding" + ], + "k8s/metrics/tempo/jaeger-agent.yaml": [ + "jaegertracing" + ], + "k8s/metrics/tempo/tempo.yaml": [ + "blocklist", + "ingester", + "inmemory", + "kvstore", + "lifecycler" + ], + "k8s/operator/helm/clusterrole.yaml": [ + "clusterrolebindings", + "clusterroles", + "customresourcedefinitions", + "horizontalpodautoscalers", + "networkpolicies", + "persistentvolumeclaims", + "poddisruptionbudgets", + "priorityclasses", + "serviceaccounts", + "statefulsets" + ], + "k8s/operator/helm/crds/valdhelmoperatorrelease.yaml": [ + "vhors" + ], + "k8s/operator/helm/operator.yaml": [ + "readyz" + ], + "k8s/tools/benchmark/job/clusterrolebinding.yaml": [ + "rolebinding" + ], + "k8s/tools/benchmark/job/serviceaccount.yaml": [ + "Versoin" + ], + "k8s/tools/benchmark/operator/clusterrole.yaml": [ + "deletecollection" + ], + "k8s/tools/benchmark/operator/crds/valdbenchmarkjob.yaml": [ + "vbjs" + ], + "k8s/tools/benchmark/operator/crds/valdbenchmarkoperatorrelease.yaml": [ + "valdbenchmarkoperator", + "valdbenchmarkoperatorreleases", + "vbor", + "vbors" + ], + "k8s/tools/benchmark/operator/crds/valdbenchmarkscenario.yaml": [ + "vbss" + ], + "pkg/agent/core/faiss/handler/grpc/search.go": [ + "createing" + ], + "pkg/agent/core/faiss/service/faiss.go": [ + "Voronoi", + "ntotal", + "saveindex", + "subquantizers", + "tpath", + "tvald" + ], + "pkg/agent/core/faiss/service/option.go": [ + "bdbs", + "brnd" + ], + "pkg/agent/core/faiss/usecase/agentd.go": [ + "faissmetrics" + ], + "pkg/agent/core/ngt/handler/grpc/flush.go": [ + "cnts" + ], + "pkg/agent/core/ngt/handler/grpc/index_test.go": [ + "exteneral" + ], + "pkg/agent/core/ngt/handler/grpc/insert.go": [ + "vmap" + ], + "pkg/agent/core/ngt/handler/grpc/insert_test.go": [ + "Testingcase", + "joind", + "nonexistid", + "pushinsert" + ], + "pkg/agent/core/ngt/handler/grpc/object_test.go": [ + "testfunc", + "tmock" + ], + "pkg/agent/core/ngt/handler/grpc/update.go": [ + "idis", + "vmap" + ], + "pkg/agent/core/ngt/handler/grpc/update_test.go": [ + "Testint" + ], + "pkg/agent/core/ngt/service/ngt.go": [ + "Nopvq", + "nkvs", + "nobic", + "nopvq", + "saveindex", + "toid", + "tvald" + ], + "pkg/agent/core/ngt/service/ngt_test.go": [ + "additionaldigits", + "kvald", + "metafile", + "nobic", + "nopvq", + "testfunc" + ], + "pkg/agent/core/ngt/service/option.go": [ + "bdbs", + "brnd" + ], + "pkg/agent/core/ngt/usecase/agentd.go": [ + "memmetrics", + "ngtmetrics" + ], + "pkg/agent/internal/vqueue/queue.go": [ + "uninserted" + ], + "pkg/agent/internal/vqueue/stateful_test.go": [ + "getvector" + ], + "pkg/agent/sidecar/service/restorer/restorer.go": [ + "Typeflag" + ], + "pkg/discoverer/k8s/handler/grpc/handler.go": [ + "ngroup", + "pgroup", + "sgroup" + ], + "pkg/discoverer/k8s/handler/grpc/handler_test.go": [ + "ngroup", + "pgroup", + "sgroup" + ], + "pkg/discoverer/k8s/service/discover.go": [ + "mnode", + "mpod", + "reconciation", + "svcsmap" + ], + "pkg/discoverer/k8s/service/discover_test.go": [ + "mnode", + "mpod" + ], + "pkg/discoverer/k8s/usecase/discovered.go": [ + "unbackupped" + ], + "pkg/gateway/lb/handler/grpc/aggregation.go": [ + "Insuffcient", + "fdist", + "fmax", + "timeoutage" + ], + "pkg/gateway/lb/handler/grpc/handler.go": [ + "cnts", + "indegrees", + "outdegrees" + ], + "pkg/gateway/lb/handler/grpc/handler_test.go": [ + "Cnts" + ], + "pkg/gateway/lb/handler/grpc/pairing_heap_test.go": [ + "gids" + ], + "pkg/gateway/lb/handler/grpc/search_benchmark_test.go": [ + "datas" + ], + "pkg/gateway/mirror/handler/grpc/handler_test.go": [ + "clientmock", + "cmap" + ], + "pkg/gateway/mirror/service/discovery.go": [ + "ctgt", + "ptgt" + ], + "pkg/gateway/mirror/service/discovery_option.go": [ + "datacenter" + ], + "pkg/gateway/mirror/service/mirror_test.go": [ + "grpcmock" + ], + "pkg/gateway/mirror/usecase/vald.go": [ + "mirrormetrics" + ], + "pkg/index/job/creation/service/indexer_test.go": [ + "clientmock", + "grpcmock" + ], + "pkg/index/job/save/service/indexer_test.go": [ + "clientmock", + "grpcmock" + ], + "pkg/manager/index/usecase/indexer.go": [ + "indexmetrics" + ], + "pkg/tools/benchmark/job/config/config.go": [ + "JOBNAME", + "JOBNAMESPACE" + ], + "pkg/tools/benchmark/job/service/insert.go": [ + "Prometeus" + ], + "pkg/tools/benchmark/job/service/job.go": [ + "Neighors", + "benchjob" + ], + "pkg/tools/benchmark/job/service/option.go": [ + "Concurency", + "bjns" + ], + "pkg/tools/benchmark/job/service/option_test.go": [ + "Concurency", + "bjns" + ], + "pkg/tools/benchmark/job/usecase/benchmarkd.go": [ + "Concurency", + "gcli", + "unbackupped", + "usecases", + "vcli" + ], + "pkg/tools/benchmark/operator/service/operator.go": [ + "Progation", + "benchjob", + "benchjobs", + "benchmarkjob", + "benchscenario", + "bjob", + "cbjl", + "cbsl", + "cjobs", + "rcticker", + "wating" + ], + "pkg/tools/benchmark/operator/service/operator_test.go": [ + "benchjobs", + "minsit", + "scneario" + ], + "pkg/tools/benchmark/operator/usecase/benchmarkd.go": [ + "benchmarkmetrics", + "unbackupped", + "usecases" + ], + "pkg/tools/cli/loadtest/assets/dataset.go": [ + "kosarak", + "nytimes" + ], + "pkg/tools/cli/loadtest/assets/hdf5_loader.go": [ + "dset", + "npoints" + ], + "pkg/tools/cli/loadtest/assets/hdf5_loader_test.go": [ + "dset", + "npoints" + ], + "pkg/tools/cli/loadtest/config/config.go": [ + "streaminsert" + ], + "rust/libs/ngt-rs/Cargo.toml": [ + "miette" + ], + "rust/libs/ngt-rs/build.rs": [ + "BFLOAT", + "DNGT", + "dylib", + "fopenmp", + "gomp", + "miette", + "rustc" + ], + "rust/libs/ngt-rs/src/input.cpp": [ + "cpath", + "ngtresults", + "vquery" + ], + "rust/libs/ngt-rs/src/lib.rs": [ + "repr" + ], + "rust/libs/observability/Cargo.toml": [ + "reqwest", + "scopeguard", + "serde" + ], + "rust/libs/observability/src/macros.rs": [ + "Updown" + ], + "rust/libs/proto/src/payload.v1.rs": [ + "repr" + ], + "tests/chaos/chart/README.md": [ + "kbps", + "minburst", + "peakrate" + ], + "tests/chaos/chart/templates/network/bandwidth.yaml": [ + "minburst", + "peakrate" + ], + "tests/chaos/chart/values.yaml": [ + "kbps", + "minburst", + "peakrate" + ], + "tests/e2e/crud/crud_test.go": [ + "ECRUD" + ], + "tests/e2e/kubernetes/client/client.go": [ + "Clientset", + "clientcmd", + "clientset" + ], + "tests/e2e/kubernetes/kubectl/kubectl.go": [ + "rollouts", + "subcmds" + ], + "tests/e2e/kubernetes/portforward/portforward.go": [ + "genericclioptions", + "portforwarder", + "spdy", + "upgrader" + ], + "tests/e2e/operation/stream.go": [ + "evalidator", + "svalidator" + ] + } +} diff --git a/hack/cspell/main.go b/hack/cspell/main.go index 9c2cea84ec7..31e9f16161c 100644 --- a/hack/cspell/main.go +++ b/hack/cspell/main.go @@ -2,277 +2,335 @@ package main import ( "bufio" + "cmp" "encoding/json" "flag" "fmt" "os" "regexp" - "sort" + "slices" "strings" + "sync" ) -type Override struct { - Filename string `json:"filename"` - IgnoreWords []string `json:"ignoreWords,omitempty"` +type CSpellConfig struct { + Version string `json:"version"` + Language string `json:"language"` + Import []string `json:"import"` + IgnorePaths []string `json:"ignorePaths"` + Patterns []PatternEntry `json:"patterns,omitempty"` + IgnoreRegExpList []string `json:"ignoreRegExpList,omitempty"` + IgnoreWords []string `json:"ignoreWords,omitempty"` + IgnoreWordsMap map[string][]string `json:"ignoreWordsMap,omitempty"` } -type CspellConfig struct { - Import []string `json:"import"` - IgnorePaths []string `json:"ignorePaths"` - IgnoreWords []string `json:"ignoreWords,omitempty"` - IgnoreRegExpList []string `json:"ignoreRegExpList,omitempty"` - Overrides []Override `json:"overrides"` +type PatternEntry struct { + Name string `json:"name"` + Pattern string `json:"pattern"` } -func main() { - var cspellOutputFile string - var configFile string - var wordThreshold int - - flag.StringVar(&cspellOutputFile, "output", "", "Path to the cspell output file") - flag.StringVar(&configFile, "config", ".cspell.json", "Path to the cspell config file") - flag.IntVar(&wordThreshold, "threshold", 10, "Word frequency threshold for adding to ignoreWords") - - flag.Parse() +type Override struct { + Files []string `json:"files"` + Words []string `json:"words"` +} - if cspellOutputFile == "" || configFile == "" { - flag.Usage() - os.Exit(1) +var ( + mandatoryImports = []string{ + "@cspell/dict-cpp/cspell-ext.json", + "@cspell/dict-docker/cspell-ext.json", + "@cspell/dict-en_us/cspell-ext.json", + "@cspell/dict-fullstack/cspell-ext.json", + "@cspell/dict-git/cspell-ext.json", + "@cspell/dict-golang/cspell-ext.json", + "@cspell/dict-k8s/cspell-ext.json", + "@cspell/dict-makefile/cspell-ext.json", + "@cspell/dict-markdown/cspell-ext.json", + "@cspell/dict-npm/cspell-ext.json", + "@cspell/dict-public-licenses/cspell-ext.json", + "@cspell/dict-rust/cspell-ext.json", + "@cspell/dict-shell/cspell-ext.json", } - // デフォルトの設定 - config := CspellConfig{ - Import: []string{ - "@cspell/dict-cpp/cspell-ext.json", - "@cspell/dict-docker/cspell-ext.json", - "@cspell/dict-en_us/cspell-ext.json", - "@cspell/dict-fullstack/cspell-ext.json", - "@cspell/dict-git/cspell-ext.json", - "@cspell/dict-golang/cspell-ext.json", - "@cspell/dict-k8s/cspell-ext.json", - "@cspell/dict-makefile/cspell-ext.json", - "@cspell/dict-markdown/cspell-ext.json", - "@cspell/dict-npm/cspell-ext.json", - "@cspell/dict-public-licenses/cspell-ext.json", - "@cspell/dict-rust/cspell-ext.json", - "@cspell/dict-shell/cspell-ext.json", - }, - IgnorePaths: []string{ - "**/*.ai", - "**/*.drawio", - "**/*.hdf5", - "**/*.key", - "**/*.lock", - "**/*.log", - "**/*.md5", - "**/*.pack", - "**/*.pdf", - "**/*.pem", - "**/*.png", - "**/*.sum", - "**/*.svg", - "**/.git/objects/**", - "**/cmd/agent/core/faiss/faiss", - "**/cmd/agent/core/ngt/ngt", - "**/cmd/agent/sidecar/sidecar", - "**/cmd/discoverer/k8s/discoverer", - "**/cmd/gateway/filter/filter", - "**/cmd/gateway/lb/lb", - "**/cmd/gateway/mirror/mirror", - "**/cmd/index/job/correction/index-correction", - "**/cmd/index/job/creation/index-creation", - "**/cmd/index/job/readreplica/rotate/readreplica-rotate", - "**/cmd/index/job/save/index-save", - "**/cmd/index/operator/index-operator", - "**/cmd/manager/index/index", - "**/cmd/tools/benchmark/job/job", - "**/cmd/tools/benchmark/operator/operator", - "**/cmd/tools/cli/loadtest/loadtest", - "**/internal/core/algorithm/ngt/assets/index", - "**/internal/test/data/agent/ngt/validIndex", - }, + mandatoryIgnorePaths = []string{ + "**/*.ai", + "**/*.drawio", + "**/*.hdf5", + "**/*.key", + "**/*.lock", + "**/*.log", + "**/*.md5", + "**/*.pack", + "**/*.pdf", + "**/*.pem", + "**/*.png", + "**/*.sum", + "**/*.svg", + "**/.cspell.json", + "**/.git/objects/**", + "**/cmd/agent/core/faiss/faiss", + "**/cmd/agent/core/ngt/ngt", + "**/cmd/agent/sidecar/sidecar", + "**/cmd/discoverer/k8s/discoverer", + "**/cmd/gateway/filter/filter", + "**/cmd/gateway/lb/lb", + "**/cmd/gateway/mirror/mirror", + "**/cmd/index/job/correction/index-correction", + "**/cmd/index/job/creation/index-creation", + "**/cmd/index/job/readreplica/rotate/readreplica-rotate", + "**/cmd/index/job/save/index-save", + "**/cmd/index/operator/index-operator", + "**/cmd/manager/index/index", + "**/cmd/tools/benchmark/job/job", + "**/cmd/tools/benchmark/operator/operator", + "**/cmd/tools/cli/loadtest/loadtest", + "**/hack/cspell/**", + "**/internal/core/algorithm/ngt/assets/index", + "**/internal/test/data/agent/ngt/validIndex", + } + suffixes = []string{ + "addr", + "addrs", + "buf", + "cancel", + "cfg", + "ch", + "cnt", + "conf", + "conn", + "ctx", + "dim", + "dur", + "env", + "err", + "error", + "errors", + "errs", + "idx", + "len", + "mu", + "opt", + "opts", + "pool", + "req", + "res", + "size", + "vec", } - // 既存の.cspell.jsonが存在する場合は読み込む - if _, err := os.Stat(configFile); err == nil { - data, err := os.ReadFile(configFile) - if err != nil { - fmt.Printf("Error reading existing cspell config file: %v\n", err) - os.Exit(1) - } - if err := json.Unmarshal(data, &config); err != nil { - fmt.Printf("Error parsing existing cspell config file: %v\n", err) - os.Exit(1) - } + sufReg = regexp.MustCompile(fmt.Sprintf("(%s)$", strings.Join(suffixes, "|"))) + + prexp = regexp.MustCompile(`Unknown word \((.*?)\) Suggestions`) +) + +func extractLine(line string) (filePath, word string, ok bool) { + filePath, line, ok = strings.Cut(line, ":") + if !ok || len(filePath) == 0 { + return "", "", false + } + _, s, ok := strings.Cut(line, " - ") + if ok { + line = s } + matches := prexp.FindStringSubmatch(line) + if len(matches) > 1 { + return filePath, matches[1], true + } + return "", "", false +} - file, err := os.Open(cspellOutputFile) +func parseCspellResult(filePath string, th int) (map[string][]string, map[string]bool, error) { + file, err := os.Open(filePath) if err != nil { - fmt.Printf("Error opening cspell output file: %v\n", err) - os.Exit(1) + return nil, nil, fmt.Errorf("could not open file: %w", err) } defer file.Close() - wordRegex := regexp.MustCompile(`Unknown word \(([^)]+)\)`) - fileWordsMap := make(map[string]map[string]struct{}) - wordFrequency := make(map[string]int) - wordVariations := make(map[string]map[string]struct{}) - suffixes := []string{ - "addr", "addrs", "buf", "cancel", "cfg", "ch", "cnt", "conf", "conn", "ctx", - "dim", "dur", "env", "err", "error", "errors", "errs", "group", "idx", - "len", "mu", "opt", "opts", "pool", "req", "res", "size", "vec", - } - + var ( + wg sync.WaitGroup + mu sync.Mutex + ) + wordsByFile := make(map[string][]string) + filesByWord := make(map[string][]string) scanner := bufio.NewScanner(file) for scanner.Scan() { line := scanner.Text() - parts := strings.SplitN(line, ":", 2) - if len(parts) < 2 { - continue - } - filename := parts[0] - wordMatch := wordRegex.FindStringSubmatch(line) - if len(wordMatch) == 2 { - word := wordMatch[1] - wordLower := strings.ToLower(word) // 大文字小文字を無視するため小文字に変換 + wg.Add(1) + go func() { + defer wg.Done() + // Extract the unknown word + if path, word, ok := extractLine(line); ok { + if sufReg.MatchString(word) { + return + } + lword := strings.ToLower(word) + mu.Lock() + w, ok := wordsByFile[path] + if !ok || w == nil { + w = make([]string, 0, 2) + } + wordsByFile[path] = append(w, word) - if _, exists := fileWordsMap[filename]; !exists { - fileWordsMap[filename] = make(map[string]struct{}) - } - if _, alreadyCounted := fileWordsMap[filename][wordLower]; !alreadyCounted { - wordFrequency[wordLower]++ - } - fileWordsMap[filename][wordLower] = struct{}{} + f, ok := filesByWord[word] + if !ok || f == nil { + f = make([]string, 0, 2) + } + filesByWord[word] = append(f, path) - // 大文字小文字のバリエーションを記録 - if _, exists := wordVariations[wordLower]; !exists { - wordVariations[wordLower] = make(map[string]struct{}) + if word != lword { + f, ok = filesByWord[lword] + if !ok || f == nil { + f = make([]string, 0, 2) + } + filesByWord[lword] = append(f, path) + } + mu.Unlock() } - wordVariations[wordLower][word] = struct{}{} - } + }() } - globalIgnoreWords := map[string]struct{}{} - globalIgnoreRegExpList := map[string]struct{}{} + wg.Wait() - for wordLower, count := range wordFrequency { - if count >= wordThreshold { - matchedSuffix := false - for _, suffix := range suffixes { - if strings.HasSuffix(wordLower, suffix) && len(wordLower) > len(suffix) { - globalIgnoreRegExpList[fmt.Sprintf("/\\w*%s$/", suffix)] = struct{}{} - matchedSuffix = true - break - } - } - if !matchedSuffix { - // バリエーションに基づき、登録するignoreWordsを決定 - for variation := range wordVariations[wordLower] { - globalIgnoreWords[variation] = struct{}{} + globalWords := make(map[string]bool) + for word, files := range filesByWord { + lword := strings.ToLower(word) + if word != lword { + lfiles, ok := filesByWord[lword] + if ok { + files = append(files, lfiles...) + slices.Sort(files) + files = slices.Compact(files) + if len(files) >= th { + globalWords[lword] = true + globalWords[word] = true } } + } else if len(files) >= th { + globalWords[word] = true } } - // ファイルごとにignoreWordsの設定 - for filename, words := range fileWordsMap { - wordList := []string{} - for wordLower := range words { - matchedSuffix := false - for _, suffix := range suffixes { - if strings.HasSuffix(wordLower, suffix) && len(wordLower) > len(suffix) { - matchedSuffix = true - break - } - } - // パターンにマッチする単語は個別のignoreWordsには登録しない - if !matchedSuffix { - for variation := range wordVariations[wordLower] { - if _, isGlobal := globalIgnoreWords[variation]; !isGlobal { - wordList = append(wordList, variation) - } - } - } - } + if err := scanner.Err(); err != nil { + return nil, nil, fmt.Errorf("error reading file: %w", err) + } - if len(wordList) == 0 { - continue - } + return wordsByFile, globalWords, nil +} - overrideFound := false - for i, override := range config.Overrides { - if override.Filename == filename { - config.Overrides[i].IgnoreWords = append(config.Overrides[i].IgnoreWords, wordList...) - config.Overrides[i].IgnoreWords = unique(config.Overrides[i].IgnoreWords) - sort.Strings(config.Overrides[i].IgnoreWords) - overrideFound = true - break - } - } - if !overrideFound { - config.Overrides = append(config.Overrides, Override{ - Filename: filename, - IgnoreWords: unique(wordList), - }) - } +func loadConfig(path string) (config *CSpellConfig, err error) { + file, err := os.Open(path) + if err != nil { + return nil, err } + defer file.Close() - // 空のIgnoreWordsを持つオーバーライドを削除 - filteredOverrides := []Override{} - for _, override := range config.Overrides { - if len(override.IgnoreWords) > 0 { - filteredOverrides = append(filteredOverrides, override) - } + config = new(CSpellConfig) + err = json.NewDecoder(file).Decode(config) + if err != nil { + return nil, err } - config.Overrides = filteredOverrides - - // OverridesをFilenameでソート - sort.Slice(config.Overrides, func(i, j int) bool { - return config.Overrides[i].Filename < config.Overrides[j].Filename - }) + return config, nil +} - // 重複するIgnoreWordsを削除し、ソート - for i := range config.Overrides { - config.Overrides[i].IgnoreWords = unique(config.Overrides[i].IgnoreWords) - sort.Strings(config.Overrides[i].IgnoreWords) +func saveConfig(path string, config *CSpellConfig) error { + file, err := os.Create(path) + if err != nil { + return err } + defer file.Close() - // グローバルignoreWordsとignoreRegExpListも同様に処理 - for word := range globalIgnoreWords { - config.IgnoreWords = append(config.IgnoreWords, word) + encoder := json.NewEncoder(file) + encoder.SetIndent("", " ") + return encoder.Encode(config) +} + +func addPatterns(config *CSpellConfig) { + if config.Patterns == nil { + config.Patterns = make([]PatternEntry, 0, len(suffixes)) } - for pattern := range globalIgnoreRegExpList { - config.IgnoreRegExpList = append(config.IgnoreRegExpList, pattern) + if config.IgnoreRegExpList == nil { + config.IgnoreRegExpList = make([]string, 0, len(suffixes)) } - config.IgnoreWords = unique(config.IgnoreWords) - sort.Strings(config.IgnoreWords) - config.IgnoreRegExpList = unique(config.IgnoreRegExpList) - sort.Strings(config.IgnoreRegExpList) + for _, suffix := range suffixes { + pat := fmt.Sprintf("/\\b\\w*%s\\b/", suffix) + name := fmt.Sprintf("Ignore_%s_suffix", suffix) + config.Patterns = append(config.Patterns, PatternEntry{ + Name: name, + Pattern: pat, + }) + config.IgnoreRegExpList = append(config.IgnoreRegExpList, name) + } + slices.SortFunc(config.Patterns, func(left, right PatternEntry) int { + return cmp.Compare(left.Name, right.Name) + }) + config.Patterns = slices.CompactFunc(config.Patterns, func(left, right PatternEntry) bool { + return left.Name == right.Name + }) + slices.Sort(config.IgnoreRegExpList) + config.IgnoreRegExpList = slices.Compact(config.IgnoreRegExpList) +} - // ファイルに出力 - outputData, err := json.MarshalIndent(config, "", " ") - if err != nil { - fmt.Printf("Error marshaling cspell config to JSON: %v\n", err) +func main() { + configPath := flag.String("config", ".cspell.json", "Path to the existing .cspell.json file") + outputPath := flag.String("output", "", "Path to the cspell output log") + threshold := flag.Int("threshold", 5, "Threshold for declaring global words") + + flag.Parse() + + if *outputPath == "" { + fmt.Println("Error: output path is required") os.Exit(1) } - if err := os.WriteFile(configFile, outputData, 0644); err != nil { - fmt.Printf("Error writing cspell config file: %v\n", err) - os.Exit(1) + config, err := loadConfig(*configPath) + if err != nil || config == nil { + config = new(CSpellConfig) } + config.Import = mandatoryImports + config.IgnorePaths = mandatoryIgnorePaths + config.Version = "0.2" + config.Language = "en" - fmt.Printf("cspell configuration updated successfully and saved to %s\n", configFile) -} + addPatterns(config) + + wordsByFile, globalWords, err := parseCspellResult(*outputPath, *threshold) + if err != nil { + fmt.Println("Error:", err) + return + } -// unique は文字列のスライスから重複を取り除きます -func unique(slice []string) []string { - seen := map[string]struct{}{} - result := []string{} - for _, item := range slice { - if _, found := seen[item]; !found { - seen[item] = struct{}{} - result = append(result, item) + if config.IgnoreWords == nil { + config.IgnoreWords = make([]string, 0, len(globalWords)) + } + for word := range globalWords { + config.IgnoreWords = append(config.IgnoreWords, word) + fmt.Println(config.IgnoreWords) + } + slices.Sort(config.IgnoreWords) + for _, word := range config.IgnoreWords { + globalWords[word] = true + } + if config.IgnoreWordsMap == nil { + config.IgnoreWordsMap = make(map[string][]string, len(wordsByFile)) + } + for filePath, words := range wordsByFile { + words = slices.DeleteFunc(words, func(word string) bool { + return globalWords[strings.ToLower(word)] + }) + if len(words) > 0 { + im, ok := config.IgnoreWordsMap[filePath] + if !ok || im == nil { + slices.Sort(words) + config.IgnoreWordsMap[filePath] = words + } else { + words = append(im, words...) + slices.Sort(words) + config.IgnoreWordsMap[filePath] = slices.Compact(words) + } } } - return result + + if err := saveConfig(*configPath, config); err != nil { + fmt.Println("Error: output path is required") + os.Exit(1) + } } diff --git a/hack/cspell/output.log b/hack/cspell/output.log deleted file mode 100644 index a4d0f08ed8a..00000000000 --- a/hack/cspell/output.log +++ /dev/null @@ -1,59 +0,0 @@ -.gitfiles:272:25 - Unknown word (japansearch) Suggestions: [] -.gitfiles:1300:24 - Unknown word (errgroup) Suggestions: [regroup, regroups, eardrop] -.gitfiles:1953:10 - Unknown word (PROTOBUF) Suggestions: [PROOF, PROTO, PROTON, PRONOUN, PROTEUS] -.github/workflows/e2e-max-dim.yml:84:19 - Unknown word (maxdim) Suggestions: [maxim, Maxim, maim, maxi, mxim] -.golangci.yml:64:7 - Unknown word (maintidx) Suggestions: [mantid, mantids, mantic, mantis, minted] -.golangci.yml:84:7 - Unknown word (tenv) Suggestions: [tend, tenn, tens, tent, Tenn] -.golangci.yml:102:9 - Unknown word (goerr) Suggestions: [goer, goers, gore, gored, goren] -apis/grpc/v1/payload/payload_vtproto.pb.go:7420:7 - Unknown word (pksize) Suggestions: [prize, size, csize, resize, SIZE] -apis/grpc/v1/payload/payload.pb.go:1250:43 - Unknown word (protobuf) Suggestions: [proof, proto, proton, protos, pronoun] -CHANGELOG.md:570:10 - Unknown word (vtpool) Suggestions: [vtol, VTOL, pool, tool, spool] -CHANGELOG.md:652:27 - Unknown word (poolsize) Suggestions: [poolside, poopsie, poolsides, plosive, police] -cmd/tools/cli/benchmark/core/main.go:48:3 - Unknown word (vmsize) Suggestions: [mize, size, csize, maize, resize] -go.mod:92:13 - Unknown word (docopt) Suggestions: [dcopy, dicot, dropt, dacoit, decoct] -go.mod:168:25 - Unknown word (hostpool) Suggestions: [hotpot, hostel, hotfoot, hotpots] -go.mod:176:19 - Unknown word (pgconn) Suggestions: [pocono, pkgconf, Pocono, pinon, pennon] -go.mod:189:18 - Unknown word (godotenv) Suggestions: [goodmen, godot, godown, gotten, godot's] -go.mod:312:15 - Unknown word (xerrors) Suggestions: [errors, error, error's, exmoors, extrorse] -hack/benchmark/internal/operation/util.go:30:14 - Unknown word (tserror) Suggestions: [terror, stertor, termor, terrors, error] -hack/gorules/testdata/tests.go:47:2 - Unknown word (ireq) Suggestions: [iraq, ired, ires, Iraq, ire] -internal/client/v1/client/discoverer/discover_test.go:255:6 - Unknown word (autoconn) Suggestions: [autoconf, autozone, AutoZone, altoona, autocue] -internal/core/algorithm/ngt/ngt_test.go:46:26 - Unknown word (epool) Suggestions: [pool, spool, zpool, Pool, ZPool] -internal/core/algorithm/ngt/ngt.go:490:2 - Unknown word (rsize) Suggestions: [resize, size, csize, SIZE, CSIZE] -internal/core/algorithm/ngt/ngt.go:604:2 - Unknown word (cvec) Suggestions: [cvc, cve, CVC, CVE, hevc] -internal/db/kvs/pogreb/pogreb_test.go:65:37 - Unknown word (pogres) Suggestions: [pores, pogges, pogies, ogres, pagers] -internal/db/rdb/mysql/dbr/dbr.go:49:19 - Unknown word (occures) Suggestions: [occurs, colures, ochres, accrues, accurse] -internal/db/storage/blob/cloudstorage/cloudstorage.go:27:15 - Unknown word (gcerrors) Suggestions: [errors, gerry's, guerdons, guerra's, guerrero] -internal/k8s/job/job.go:27:4 - Unknown word (serrors) Suggestions: [errors, serous, serows, senors, servos] -internal/net/dialer.go:341:4 - Unknown word (tconn) Suggestions: [conn, Conn, tenon, tron, ton] -internal/net/dialer.go:385:9 - Unknown word (tcancel) Suggestions: [cancel, trance, tranced, trances, cancer] -internal/net/dialer.go:398:11 - Unknown word (ttcancel) Suggestions: [cancel, trance, tranced, trances] -internal/net/grpc/client.go:204:3 - Unknown word (reconn) Suggestions: [recon, recoin, recons, racon, redon] -internal/net/grpc/client.go:958:2 - Unknown word (sconn) Suggestions: [scone, scorn, conn, Conn, cson] -internal/servers/server/server.go:422:9 - Unknown word (scancel) Suggestions: [spancel, cancel, scarce, sconce, seance] -internal/servers/servers_test.go:168:6 - Unknown word (gerrs) Suggestions: [gers, Gers, gears, ger's, germs] -internal/servers/servers_test.go:173:6 - Unknown word (werrs) Suggestions: [wears, weirs, errs, ewers, wrens] -internal/servers/starter/starter.go:162:7 - Unknown word (hopt) Suggestions: [holt, hoot, hope, hopi, hops] -internal/test/data/vector/gen.go:182:3 - Unknown word (fvec) Suggestions: [fec, face, hevc, f1ac, fave] -Makefile.d/tools.mk:188:62 - Unknown word (aarch) Suggestions: [arch, anarch, Arch, larch, march] -pkg/agent/core/faiss/service/faiss_test.go:124:6 - Unknown word (icnt) Suggestions: [int, INT, cnt, CNT, cine] -pkg/agent/core/faiss/service/faiss.go:92:3 - Unknown word (cimu) Suggestions: [chimu, Chimu, gimu, chum, icmp] -pkg/agent/core/faiss/service/faiss.go:119:3 - Unknown word (cowmu) Suggestions: [colum, coma, comb, come, comm] -pkg/agent/core/ngt/handler/grpc/index_test.go:2251:5 - Unknown word (rreq) Suggestions: [req, freq, reqs, reb, rec] -pkg/agent/core/ngt/handler/grpc/insert_test.go:213:4 - Unknown word (ivec) Suggestions: [idec, ives, iovec, Idec, Ives] -pkg/agent/core/ngt/handler/grpc/object_test.go:1403:6 - Unknown word (testvec) Suggestions: [tested, testee, tester, testes, testbed] -pkg/agent/core/ngt/handler/grpc/upsert.go:261:4 - Unknown word (ures) Suggestions: [rues, ukes, ur's, urbs, urds] -pkg/agent/core/ngt/service/ngt.go:1481:6 - Unknown word (dcnt) Suggestions: [dent, dint, dunt, DENT, cnt] -pkg/agent/core/ngt/service/ngt.go:1884:2 - Unknown word (ovec) Suggestions: [opec, oven, over, OPEC, iovec] -pkg/agent/internal/vqueue/queue.go:79:2 - Unknown word (didx) Suggestions: [dido, didy, Dido, did, dix] -pkg/agent/internal/vqueue/queue.go:88:2 - Unknown word (oidx) Suggestions: [oidc, OIDC, idx, iotx, odic] -pkg/agent/internal/vqueue/queue.go:246:3 - Unknown word (iidx) Suggestions: [idx, idex, idxx, dix, ida] -pkg/gateway/filter/handler/grpc/handler.go:2437:88 - Unknown word (tvec) Suggestions: [tver, Tver, tace, hevc, tael] -pkg/gateway/filter/usecase/vald.go:78:6 - Unknown word (iaddrs) Suggestions: [aiders, addr, caddis, laders, nadirs] -pkg/gateway/filter/usecase/vald.go:118:6 - Unknown word (eaddrs) Suggestions: [eads, ears, eagers, easers, eaters] -pkg/gateway/lb/handler/grpc/handler.go:3355:9 - Unknown word (ecancel) Suggestions: [cancel, emanuel, evangel, ecanceled, Emanuel] -pkg/tools/benchmark/job/service/job.go:306:2 - Unknown word (lres) Suggestions: [lees, lies, lues, lyes, lares] -pkg/tools/benchmark/job/service/job.go:307:2 - Unknown word (sres) Suggestions: [sees, shes, sr's, sues, seres] -pkg/tools/cli/loadtest/assets/large_dataset.go:50:3 - Unknown word (tdim) Suggestions: [trim, tim, Tim, dim, tami] -pkg/tools/cli/loadtest/assets/large_dataset.go:51:3 - Unknown word (qdim) Suggestions: [dim, hdmi, qadi, qaid, qcom] -tests/e2e/operation/stream.go:532:9 - Unknown word (linearsearch) Suggestions: []