Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

wrong import relationship in table edges

Open
#2,409 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
66/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
c, python
Domain
devtools

Research direction

Locate the import-resolution code in the C sources (search for where import statements are parsed and matched to candidate source files when building table edges). Check how a candidate target is chosen: plain module-name matching likely lets a local app/core/logging.py win over Python's standard-library logging, even though the import is not from that file. Done means an import of a stdlib/top-level module no longer draws an edge to an unrelated local file of the same name — reproduce with a small project containing both app/core/logging.py and import logging, and verify the edges table afterwards.

Written by the indexing model from the issue text.

Description

1.the screenshot of wrong data in table edges

Image

2.import script from source file is below:
import logging

the logging import is not from the target :file:app/core/logging.py,it's from the standard library.

Dominant language
C
Stars
73.2k
Forks
4.7k
Avg merge
2h 16m
Merged PRs (30d)
423

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from colbymchenry/codegraph

All issues in colbymchenry/codegraph

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.