atlas

Research map / Label-efficient and robust learning / Recognition and long-tail

CHICOT: A Developer-Assistance Toolkit for Code Search with High-Level Contextual Information

AAAI 2024 · Label-efficient and robust learning › Recognition and long-tail · approach: Dense features and foundation priors · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Presents CHICOT, a VSCode-integrated code search toolkit that retrieves function-plus-README-context pairs from GitHub to match high-level project context in developer queries.

Problem

Existing semantic code search matches only code-level specifications (functionality, logic, implementation) and ignores high-level project context such as purpose or domain, which developers need when reusing code.

Approach

Crawl GitHub functions paired with a context snippet extracted from each repository's README (LEAD-k summary), then rank function-context pairs by a weighted combination of query-function and query-context cosine similarities, with the weight w user-configurable.

Key results

Surprising findings

Limitations

Experimental setup

Datasets: CodeSearchNet MS MARCO GitHub repositories (20,000 with over 100 stars)

Benchmarks: Manually crafted context-dependent queries (25 queries)

Metrics: precision@10

Baselines: CodeSearchNet

Builds on: CodeSearchNet

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy