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

Fix missing lcc_step in cc and l2c

Đã đóng
#47 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

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

@mszell đang làm issue này rồi.

Từ ngày 4/10/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

bug

lcc_step is null on part of the baseline in 188 cities.

The <city>-linkbikenet-<strategy>-existing_bike_network.geojson files carry an lcc_step per
edge: the step at which the edge becomes part of the largest connected component. In the new export
this value is missing on more than 1% of edges in 229 city × strategy baselines across 188 cities,
and on at least one edge in 314 cities.

largest_to_second is unaffected in every city, so the cause is probably specific to the other two
strategies.

Worst cases (share of baseline edges / of baseline length without lcc_step):

City Strategy Edges Length
lida_by closest_components 82% 41%
olsztyn_pl closest_components 40% 24%
plock_pl largest_to_closest 28% 26%
amersfoort_nl closest_components 23% 23%
kielce_pl both 21% 18–19%
budapest_hu closest_components 13% 10%
berlin_de largest_to_closest 13% 13%

The three per-strategy baselines no longer contain the same edges.

In 357 cities the three -existing_bike_network files differ in edge count, by up to 11%. For
example, aachen_de has 3481 / 3430 / 3477 edges for largest_to_closest / largest_to_second /
closest_components. In the previous export the three were identical (e.g. 5358 edges each for
budapest_hu). The website draws one shared baseline and colours it per strategy, so it needs the
same edge set (same u/v) in all three.

Ngôn ngữ chính
Python
Star
3
Fork
0
Merge trung bình
5 phút
Pull request đã merge (30 ngày)
23

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

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 BikeNetKit/LinkBikeNet

Tất cả issue của BikeNetKit/LinkBikeNet

Issue tương tự

Thêm issue về Python

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.