Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

wrong import relationship in table edges

Đang mở
#2,409 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
66/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
c, python
Lĩnh vực
devtools

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
C
Star
73.2k
Fork
4.7k
Merge trung bình
2 giờ 16 phút
Pull request đã merge (30 ngày)
423

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của colbymchenry/codegraph

Tất cả issue của colbymchenry/codegraph

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.