···33targetRank: 1
4455**github.com/sourcegraph/sourcegraph/ui/assets/assets.go**
66-30: return nil, errors.New("assets are not configured for this binary, please see ui/assets")
77-34: panic("assets are not configured for this binary, please see ui/assets")
8633:func (p FailingAssetsProvider) Assets() http.FileSystem {
77+14: Assets() http.FileSystem
88+1:package assets
99hidden 12 more line matches
10101111github.com/sourcegraph/sourcegraph/schema/schema.go
+25-25
internal/e2e/testdata/generate_unit_test.txt
···11queryString: generate unit test
22query: (and substr:"generate" substr:"unit" substr:"test")
33-targetRank: 1
44-55-**github.com/sourcegraph/cody/lib/shared/src/chat/recipes/generate-test.ts**
66-16: public title = 'Generate Unit Test'
77-14:export class GenerateTest implements Recipe {
88-15: public id: RecipeID = 'generate-unit-test'
99-hidden 3 more line matches
1010-1111-github.com/sourcegraph/sourcegraph/client/jetbrains/README.md
1212-40:- Generate unit test
1313-41:- Generate docstring
1414-61:Cody is powered by Sourcegraph’s code graph and uses context of your codebase to extend its capabilities. By using context from entire repositories, Cody is able to give more accurate answers and generate idiomatic code.
1515-hidden 7 more line matches
1616-1717-github.com/sourcegraph/cody/vscode/CHANGELOG.md
1818-298:- The `/test` (Generate Unit Test) command was updated to use file dependencies and test examples when fetching context, in order to produce better results. To use this command, select code in your editor and run the `/test` command. It is recommended to set up test files before running the command to get optimal results. [pull/683](https://github.com/sourcegraph/cody/pull/683) [pull/602](https://github.com/sourcegraph/cody/pull/602)
1919-218:- The `Generate Unit Tests` command has been improved with an enhanced context fetching process that produces test results with better quality. [pull/907](https://github.com/sourcegraph/cody/pull/907)
2020-264:- The `Generate Unit Tests` command has been improved with an enhanced context fetching process that produces test results with better quality. [pull/907](https://github.com/sourcegraph/cody/pull/907)
2121-hidden 17 more line matches
2222-2323-github.com/sourcegraph/sourcegraph/doc/cody/overview/install-jetbrains.md
2424-158:- Generate unit test
2525-138:Log in to your Sourcegraph instance and go to `settings` / `access token` (`https://<your-instance>.sourcegraph.com/users/<your-instance>/settings/tokens`). From here, generate a new access token.
2626-159:- Generate docstring
2727-hidden 3 more line matches
33+targetRank: 11
284295github.com/sourcegraph/sourcegraph/cmd/frontend/internal/insights/resolvers/insight_series_resolver.go
306300:func (j *seriesResolverGenerator) Generate(ctx context.Context, series types.InsightViewSeries, baseResolver baseInsightResolver, filters types.InsightViewFilters, options types.SeriesDisplayOptions) ([]graphqlbackend.InsightSeriesResolver, error) {
···3713187:func (rpt *Report) selectOutputUnit(g *graph.Graph) {
381475: SampleUnit string // Unit for the sample data from the profile.
3915hidden 48 more line matches
1616+1717+github.com/sourcegraph/sourcegraph/internal/codeintel/autoindexing/internal/inference/lua/test.lua
1818+9: generate = function(_, paths)
1919+6: patterns = { pattern.new_path_basename "sg-test" },
2020+8: -- Invoked as part of unit tests for the autoindexing service
2121+hidden 1 more line matches
2222+2323+github.com/golang/go/src/cmd/internal/testdir/testdir_test.go
2424+273:type test struct {
2525+74:func Test(t *testing.T) {
2626+263:type testCommon struct {
2727+hidden 120 more line matches
2828+2929+github.com/golang/go/src/cmd/vendor/github.com/google/pprof/profile/profile.go
3030+65: Unit string // seconds, nanoseconds, bytes, etc
3131+77: NumUnit map[string][]string
3232+68: unitX int64
3333+hidden 44 more line matches
3434+3535+github.com/golang/go/src/cmd/link/internal/loader/loader.go
3636+79: unit *sym.CompilationUnit
3737+1544:func (l *Loader) SymUnit(i Sym) *sym.CompilationUnit {
3838+228: generatedSyms Bitmap // symbols that generate their content, indexed by ext sym idx
3939+hidden 50 more line matches
40404141hidden 245 more file matches
···11queryString: sourcegraph/server docker image build
22query: (and substr:"sourcegraph/server" substr:"docker" substr:"image" substr:"build")
33-targetRank: 1
44-55-**github.com/sourcegraph/sourcegraph/dev/tools.go**
66-7: // zoekt-* used in sourcegraph/server docker image build
77-1://go:build tools
88-2:// +build tools
33+targetRank: 14
94105github.com/sourcegraph/sourcegraph/dev/sg/internal/images/images.go
116458: Build int
···363145: latestReleaseKubernetesBuild = newPingResponse("5.1.8")
373250: latestReleaseDockerComposeOrPureDocker = newPingResponse("5.1.8")
3833hidden 19 more line matches
3434+3535+github.com/sourcegraph/sourcegraph/doc/admin/deploy/docker-single-container/index.md
3636+1:# Docker Single Container Deployment
3737+294:### Insiders build
3838+238:### File system performance on Docker for Mac
3939+hidden 52 more line matches
39404041hidden 15 more file matches
-61
query/boost.go
···11-package query
22-33-type ExperimentalPhraseBoostOptions struct {
44- // The phrase needs to contain atleast this many terms. This is based on the
55- // parsed query.
66- //
77- // Defaults to 3.
88- MinTerms int
99-1010- // Boost is how much to multiply the phrase match scores by.
1111- //
1212- // Defaults to 20.
1313- Boost float64
1414-}
1515-1616-// ExperimentalPhraseBoost transforms q into a query containing exact matches
1717-// to phrase boosted. opts control how and when the boosting is done.
1818-//
1919-// Note: This is a temporary API and will be removed in future commits.
2020-func ExpirementalPhraseBoost(q Q, phrase string, opts ExperimentalPhraseBoostOptions) Q {
2121- if opts.MinTerms == 0 {
2222- opts.MinTerms = 3
2323- }
2424- if opts.Boost == 0 {
2525- opts.Boost = 20
2626- }
2727-2828- contentAtoms := 0
2929- caseSensitive := false
3030- VisitAtoms(q, func(q Q) {
3131- switch s := q.(type) {
3232- case *Regexp:
3333- // Check atom is for content
3434- if s.Content || (s.Content == s.FileName) {
3535- caseSensitive = s.CaseSensitive
3636- contentAtoms++
3737- }
3838- case *Substring:
3939- if s.Content || (s.Content == s.FileName) {
4040- caseSensitive = s.CaseSensitive
4141- contentAtoms++
4242- }
4343- }
4444- })
4545-4646- if contentAtoms < opts.MinTerms {
4747- return q
4848- }
4949-5050- return NewOr(
5151- &Boost{
5252- Boost: opts.Boost,
5353- Child: &Substring{
5454- Pattern: phrase,
5555- Content: true,
5656- CaseSensitive: caseSensitive,
5757- },
5858- },
5959- q,
6060- )
6161-}
-7
web/server.go
···240240 return nil, err
241241 }
242242243243- // Experimental: The query string and boost exact phrases of it.
244244- if phraseBoost, err := strconv.ParseFloat(qvals.Get("phrase-boost"), 64); err == nil {
245245- q = query.ExpirementalPhraseBoost(q, queryStr, query.ExperimentalPhraseBoostOptions{
246246- Boost: phraseBoost,
247247- })
248248- }
249249-250243 repoOnly := true
251244 query.VisitAtoms(q, func(q query.Q) {
252245 _, ok := q.(*query.Repo)