{"slug":"code-search-context","article":{"kind":"article","title":"Code search and context selection","category":"AI Engineering Subjects","entityType":"pattern","homepage":"https://chronoscope.hopperlabs.ai/#/code-search-context","summary":"Code search supplies relevant definitions, usages or examples to a coding model as context for a task.","sources":["source:public-bfa33fb94ffffa83","source:public-60f9f9112209b32d","source:public-5b0e30f6771d021b","source:public-020e17b619765f34"],"relations":[{"rel":"covered-in","to":"article:ai-engineering"},{"to":"article:anysphere","rel":"shares-milestones"},{"to":"article:context-selection","rel":"shares-milestones"},{"to":"article:cursor","rel":"shares-milestones"}],"id":"article:code-search-context","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"},"sections":[{"kind":"section","article":"article:code-search-context","title":"RepoCoder retrieves cross-file context during code completion","text":"The system alternated repository retrieval and generation to supply information from outside the file being edited.","order":0,"sources":["source:public-bfa33fb94ffffa83","source:public-60f9f9112209b32d"],"id":"section:chronoscope-code-search-context","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"}],"events":[{"kind":"event","title":"RepoCoder retrieves cross-file context during code completion","date":"2023-03-22","articles":["article:code-search-context","article:context-selection"],"detail":"The system alternated repository retrieval and generation to supply information from outside the file being edited.","chronoscope":"https://chronoscope.hopperlabs.ai/#/ai-engineering/x/2023-repocoder-retrieves-cross-file-context-during-code-completion","sources":["source:public-60f9f9112209b32d"],"ownerRef":{"schemaVersion":"hopper.exact-resource-ref.v1","productId":"hopper.domain-app.chronoscope","resourceType":"chronoscope.pack-entry","resourceId":"ai-engineering:2023-repocoder-retrieves-cross-file-context-during-code-completion","version":"29199f6068c0848e5fab","digest":"sha256:98955ec130a7d5b4ae9418e5c0e966b0a39d770441a39b6620d58a53bcecc8e9"},"id":"event:chronoscope-2e0831a0e410a074","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"},{"kind":"event","title":"GitHub makes its redesigned code search generally available","date":"2023-05-08","articles":["article:code-search-context"],"detail":"GitHub rolled out its new search engine and code navigation experience to developers looking for definitions and uses across repositories.","chronoscope":"https://chronoscope.hopperlabs.ai/#/ai-engineering/x/2023-github-makes-its-redesigned-code-search-generally-available","sources":["source:public-5b0e30f6771d021b"],"ownerRef":{"schemaVersion":"hopper.exact-resource-ref.v1","productId":"hopper.domain-app.chronoscope","resourceType":"chronoscope.pack-entry","resourceId":"ai-engineering:2023-github-makes-its-redesigned-code-search-generally-available","version":"29199f6068c0848e5fab","digest":"sha256:3d76762543d4f410a2c17ddef4594a871440c29b72cc315367541fdd2544f97e"},"id":"event:chronoscope-f2628cdfa58f746e","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"},{"kind":"event","title":"GraphCoder retrieves context from a repository code graph","date":"2024-06-11","articles":["article:code-search-context","article:repository-maps"],"detail":"The researchers used structural relationships between program elements to select relevant context for repository-level completion.","chronoscope":"https://chronoscope.hopperlabs.ai/#/ai-engineering/x/2024-graphcoder-retrieves-context-from-a-repository-code-graph","sources":["source:public-020e17b619765f34"],"ownerRef":{"schemaVersion":"hopper.exact-resource-ref.v1","productId":"hopper.domain-app.chronoscope","resourceType":"chronoscope.pack-entry","resourceId":"ai-engineering:2024-graphcoder-retrieves-context-from-a-repository-code-graph","version":"29199f6068c0848e5fab","digest":"sha256:425ee92eba8158fbdf0e84803194e91b0a68dabef9a46ceb3f7aba6a7bd2a78f"},"id":"event:chronoscope-7580bf0352bef3ae","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"}],"examples":[],"links":[],"sources":[{"kind":"source","title":"Code search and context selection in Chronoscope","url":"https://chronoscope.hopperlabs.ai/#/code-search-context","id":"source:public-bfa33fb94ffffa83","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"},{"kind":"source","title":"RepoCoder retrieves cross-file context during code completion","url":"https://arxiv.org/abs/2303.12570","id":"source:public-60f9f9112209b32d","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"},{"kind":"source","title":"GitHub makes its redesigned code search generally available","url":"https://github.blog/changelog/2023-05-08-the-new-code-search-and-code-view-is-now-generally-available/","id":"source:public-5b0e30f6771d021b","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"},{"kind":"source","title":"GraphCoder retrieves context from a repository code graph","url":"https://arxiv.org/abs/2406.07003","id":"source:public-020e17b619765f34","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"}],"related":[{"slug":"ai-engineering","title":"AI Engineering","category":"Agent engineering","entityType":"collection","rel":"covered-in"},{"slug":"anysphere","title":"Anysphere","category":"AI Engineering Subjects","entityType":"organization","rel":"shares-milestones"},{"slug":"context-selection","title":"Context selection","category":"AI Engineering Subjects","entityType":"pattern","rel":"shares-milestones"},{"slug":"cursor","title":"Cursor","category":"AI Engineering Subjects","entityType":"app","rel":"shares-milestones"}],"backlinks":[{"slug":"aider","title":"Aider","category":"AI Engineering Subjects","entityType":"app","rel":"shares-milestones"},{"slug":"anysphere","title":"Anysphere","category":"AI Engineering Subjects","entityType":"organization","rel":"shares-milestones"},{"slug":"codestral","title":"Codestral","category":"AI Engineering Subjects","entityType":"model","rel":"shares-milestones"},{"slug":"context-selection","title":"Context selection","category":"AI Engineering Subjects","entityType":"pattern","rel":"shares-milestones"},{"slug":"cursor","title":"Cursor","category":"AI Engineering Subjects","entityType":"app","rel":"shares-milestones"},{"slug":"repository-maps","title":"Repository maps","category":"AI Engineering Subjects","entityType":"pattern","rel":"shares-milestones"}],"history":[{"id":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z","message":"Publish the illustrated encyclopedia and connect verified public subject catalogs"}]}
