Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 26 additions & 6 deletions profile/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ Contributors who have supported and advanced the BHoM.
<col width="55"/>
<col width="55"/>
<col width="55"/>
<col width="55"/>
<col width="55"/>
<col width="55"/>
<col width="55"/>
<col width="55"/>
<col width="55"/>
</colgroup>
<tr>
<td align="center" valign="top" width="55">
Expand All @@ -62,6 +56,8 @@ Contributors who have supported and advanced the BHoM.
<td align="center" valign="top" width="55">
<a href="https://github.com/al-fisher" title="@al-fisher"><img src="https://github.com/al-fisher.png?size=45" width="45" height="45" style="border-radius: 50%" /><br/><sub><b>Al Fisher</b></sub></a>
</td>
</tr>
<tr>
<td align="center" valign="top" width="55">
<a href="https://github.com/AlaaAlfakara" title="@AlaaAlfakara"><img src="https://github.com/AlaaAlfakara.png?size=45" width="45" height="45" style="border-radius: 50%" /><br/><sub><b>Alaa Alfaka…</b></sub></a>
</td>
Expand Down Expand Up @@ -100,6 +96,8 @@ Contributors who have supported and advanced the BHoM.
<td align="center" valign="top" width="55">
<a href="https://github.com/Arne-Martensen" title="@Arne-Martensen"><img src="https://github.com/Arne-Martensen.png?size=45" width="45" height="45" style="border-radius: 50%" /><br/><sub><b>Arne Marten…</b></sub></a>
</td>
</tr>
<tr>
<td align="center" valign="top" width="55">
<a href="https://github.com/arvidsigurdsson" title="@arvidsigurdsson"><img src="https://github.com/arvidsigurdsson.png?size=45" width="45" height="45" style="border-radius: 50%" /><br/><sub><b>Arvid Sigur…</b></sub></a>
</td>
Expand Down Expand Up @@ -138,6 +136,8 @@ Contributors who have supported and advanced the BHoM.
<td align="center" valign="top" width="55">
<a href="https://github.com/DanielJonssonBH" title="@DanielJonssonBH"><img src="https://github.com/DanielJonssonBH.png?size=45" width="45" height="45" style="border-radius: 50%" /><br/><sub><b>Daniel Jons…</b></sub></a>
</td>
</tr>
<tr>
<td align="center" valign="top" width="55">
<a href="https://github.com/DarienC" title="@DarienC"><img src="https://github.com/DarienC.png?size=45" width="45" height="45" style="border-radius: 50%" /><br/><sub><b>DarienC</b></sub></a>
</td>
Expand Down Expand Up @@ -176,6 +176,8 @@ Contributors who have supported and advanced the BHoM.
<td align="center" valign="top" width="55">
<a href="https://github.com/EKAdebo" title="@EKAdebo"><img src="https://github.com/EKAdebo.png?size=45" width="45" height="45" style="border-radius: 50%" /><br/><sub><b>Ellie Adebo…</b></sub></a>
</td>
</tr>
<tr>
<td align="center" valign="top" width="55">
<a href="https://github.com/emilsvedjer" title="@emilsvedjer"><img src="https://github.com/emilsvedjer.png?size=45" width="45" height="45" style="border-radius: 50%" /><br/><sub><b>Emil Svedjer</b></sub></a>
</td>
Expand Down Expand Up @@ -214,6 +216,8 @@ Contributors who have supported and advanced the BHoM.
<td align="center" valign="top" width="55">
<a href="https://github.com/geirsoderin" title="@geirsoderin"><img src="https://github.com/geirsoderin.png?size=45" width="45" height="45" style="border-radius: 50%" /><br/><sub><b>Geir Soderin</b></sub></a>
</td>
</tr>
<tr>
<td align="center" valign="top" width="55">
<a href="https://github.com/gideontamir16" title="@gideontamir16"><img src="https://github.com/gideontamir16.png?size=45" width="45" height="45" style="border-radius: 50%" /><br/><sub><b>Gideon Tamir</b></sub></a>
</td>
Expand Down Expand Up @@ -252,6 +256,8 @@ Contributors who have supported and advanced the BHoM.
<td align="center" valign="top" width="55">
<a href="https://github.com/johannaisak" title="@johannaisak"><img src="https://github.com/johannaisak.png?size=45" width="45" height="45" style="border-radius: 50%" /><br/><sub><b>Johanna Isa…</b></sub></a>
</td>
</tr>
<tr>
<td align="center" valign="top" width="55">
<a href="https://github.com/JohannaOlin1" title="@JohannaOlin1"><img src="https://github.com/JohannaOlin1.png?size=45" width="45" height="45" style="border-radius: 50%" /><br/><sub><b>Johanna Olin</b></sub></a>
</td>
Expand Down Expand Up @@ -290,6 +296,8 @@ Contributors who have supported and advanced the BHoM.
<td align="center" valign="top" width="55">
<a href="https://github.com/kprusicka" title="@kprusicka"><img src="https://github.com/kprusicka.png?size=45" width="45" height="45" style="border-radius: 50%" /><br/><sub><b>Karolina Pr…</b></sub></a>
</td>
</tr>
<tr>
<td align="center" valign="top" width="55">
<a href="https://github.com/Kar-Myl" title="@Kar-Myl"><img src="https://github.com/Kar-Myl.png?size=45" width="45" height="45" style="border-radius: 50%" /><br/><sub><b>Kartheek My…</b></sub></a>
</td>
Expand Down Expand Up @@ -328,6 +336,8 @@ Contributors who have supported and advanced the BHoM.
<td align="center" valign="top" width="55">
<a href="https://github.com/fraguada" title="@fraguada"><img src="https://github.com/fraguada.png?size=45" width="45" height="45" style="border-radius: 50%" /><br/><sub><b>Luis E. Fra…</b></sub></a>
</td>
</tr>
<tr>
<td align="center" valign="top" width="55">
<a href="https://github.com/msandmer" title="@msandmer"><img src="https://github.com/msandmer.png?size=45" width="45" height="45" style="border-radius: 50%" /><br/><sub><b>Madelene Sa…</b></sub></a>
</td>
Expand Down Expand Up @@ -366,6 +376,8 @@ Contributors who have supported and advanced the BHoM.
<td align="center" valign="top" width="55">
<a href="https://github.com/MatildaSvenssonBH" title="@MatildaSvenssonBH"><img src="https://github.com/MatildaSvenssonBH.png?size=45" width="45" height="45" style="border-radius: 50%" /><br/><sub><b>Matilda Sve…</b></sub></a>
</td>
</tr>
<tr>
<td align="center" valign="top" width="55">
<a href="https://github.com/teocomi" title="@teocomi"><img src="https://github.com/teocomi.png?size=45" width="45" height="45" style="border-radius: 50%" /><br/><sub><b>Matteo Comi…</b></sub></a>
</td>
Expand Down Expand Up @@ -404,6 +416,8 @@ Contributors who have supported and advanced the BHoM.
<td align="center" valign="top" width="55">
<a href="https://github.com/ncbrown2" title="@ncbrown2"><img src="https://github.com/ncbrown2.png?size=45" width="45" height="45" style="border-radius: 50%" /><br/><sub><b>Nathan Brown</b></sub></a>
</td>
</tr>
<tr>
<td align="center" valign="top" width="55">
<a href="https://github.com/Nazeefa710" title="@Nazeefa710"><img src="https://github.com/Nazeefa710.png?size=45" width="45" height="45" style="border-radius: 50%" /><br/><sub><b>Nazeefa Bus…</b></sub></a>
</td>
Expand Down Expand Up @@ -442,6 +456,8 @@ Contributors who have supported and advanced the BHoM.
<td align="center" valign="top" width="55">
<a href="https://github.com/peterjamesnugent" title="@peterjamesnugent"><img src="https://github.com/peterjamesnugent.png?size=45" width="45" height="45" style="border-radius: 50%" /><br/><sub><b>Peter Nugent</b></sub></a>
</td>
</tr>
<tr>
<td align="center" valign="top" width="55">
<a href="https://github.com/PiotrBuda" title="@PiotrBuda"><img src="https://github.com/PiotrBuda.png?size=45" width="45" height="45" style="border-radius: 50%" /><br/><sub><b>PiotrBuda</b></sub></a>
</td>
Expand Down Expand Up @@ -480,6 +496,8 @@ Contributors who have supported and advanced the BHoM.
<td align="center" valign="top" width="55">
<a href="https://github.com/svaz00" title="@svaz00"><img src="https://github.com/svaz00.png?size=45" width="45" height="45" style="border-radius: 50%" /><br/><sub><b>Sam Vazquez</b></sub></a>
</td>
</tr>
<tr>
<td align="center" valign="top" width="55">
<a href="https://github.com/samuelbasimalla" title="@samuelbasimalla"><img src="https://github.com/samuelbasimalla.png?size=45" width="45" height="45" style="border-radius: 50%" /><br/><sub><b>Samuel Basi…</b></sub></a>
</td>
Expand Down Expand Up @@ -518,6 +536,8 @@ Contributors who have supported and advanced the BHoM.
<td align="center" valign="top" width="55">
<a href="https://github.com/WojciechBuda00" title="@WojciechBuda00"><img src="https://github.com/WojciechBuda00.png?size=45" width="45" height="45" style="border-radius: 50%" /><br/><sub><b>wojciech bu…</b></sub></a>
</td>
</tr>
<tr>
<td align="center" valign="top" width="55">
<a href="https://github.com/LMarkowski" title="@LMarkowski"><img src="https://github.com/LMarkowski.png?size=45" width="45" height="45" style="border-radius: 50%" /><br/><sub><b>Łukasz Mark…</b></sub></a>
</td>
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate_wall_of_honour.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def enrich_display_names(
return contributors


GRID_COLS = 12
GRID_COLS = 6
AVATAR_SIZE = 45
CELL_WIDTH = 55
NAME_MAX_LEN = 12 # truncate longer display names with an ellipsis; full name in title attr
Expand Down
12 changes: 6 additions & 6 deletions scripts/tests/test_generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def test_render_wall_single_row():
# Centered wrapper
assert "<div align=\"center\">" in md
# Empty padding cells fill row to GRID_COLS width
assert md.count("<td width=\"55\"></td>") == 10
assert md.count("<td width=\"55\"></td>") == 4


def test_render_wall_stats_with_repo_count():
Expand All @@ -256,12 +256,12 @@ def test_render_wall_pluralization_singular():


def test_render_wall_two_rows_with_remainder():
contributors = {f"user{i}": {"avatar_url": f"https://x/{i}", "contributions": 1, "name": f"User {i}"} for i in range(14)}
contributors = {f"user{i}": {"avatar_url": f"https://x/{i}", "contributions": 1, "name": f"User {i}"} for i in range(8)}
md = render_wall(contributors, "2026-06-08")
assert md.count("<tr>") == 2
# 14 populated cells (links present) + 10 empty padding cells in the second row
assert md.count("<a href") == 14
assert md.count("<td width=\"55\"></td>") == 10
# 8 populated cells (links present) + 4 empty padding cells in the second row
assert md.count("<a href") == 8
assert md.count("<td width=\"55\"></td>") == 4


def test_render_wall_truncates_long_names_with_ellipsis():
Expand Down Expand Up @@ -299,7 +299,7 @@ def test_render_wall_uses_colgroup_for_uniform_column_widths():
contributors = {"alice": {"avatar_url": "x", "contributions": 1, "name": "Alice"}}
md = render_wall(contributors, "2026-06-08")
assert "<colgroup>" in md
assert md.count("<col width=\"55\"/>") == 12 # one <col> per GRID_COLS
assert md.count("<col width=\"55\"/>") == 6 # one <col> per GRID_COLS


def test_render_wall_sort_is_case_insensitive_and_unicode():
Expand Down