HCP-Coder logo

HCP-Coder

Hambaobao/HCP-Coder

Hierarchical Context Pruning for code completion using pre-trained large language models

GraphCanon updated Oct 7, 2026 · GitHub synced Oct 7, 2026

31views this month

17 stars2 forksLast push Nov 17, 2024 Python MIT

Decision brief

Hierarchical Context Pruning (HCP) for optimizing real-world code completion tasks with repository-level pre-trained models

Good fit when

  • When deploying a solution that requires precise and context-aware code completions within the bounds of project repositories, leveraging HCP-Coder can enhance efficiency
  • Suitable if you have a large codebase where traditional methods of code completion do not adequately handle hierarchical or contextual nuances

Avoid when

  • Avoid using for smaller projects that do not require extensive context pruning since the setup and overhead might outweigh benefits
  • Not ideal when working with languages that lack comprehensive pre-trained models, as HCP-Coder's performance hinges on repository-level pre-training

Observed Jul 16, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Dormant (688d since push)
As of Oct 7, 2026
Provenance
Not a fork · Personal account
As of Oct 7, 2026
Security (OSV)
49 low (49 low)
As of Jul 11, 2026

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

pip install HCP-Coder
PyPI

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

HCP-Coder provides an approach to optimize real-world code completion tasks with repository-level pre-trained models.

Capability facts

Languages
python

Source: github.language · Oct 7, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Oct 7, 2026)

- Run `pip install -r requirements.txt` to install all requirements.
Source link

Tags

README

Requirements Run to install all requirements.  

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.