Skip to content

Commit 4fa8241

Browse files
committed
Drop role_order; replace with simpler pi: true flag
role_order was a numeric scale (1=PI, 2=manager, 3=specialist, ...) that lost meaning once we switched to last-name alphabetical sorting. The only remaining use was identifying the PI to pin to the end of the current-members list. Replaced with an explicit boolean pi: true flag on Rhiju Das only — clearer intent, no semantic numeric scale to remember. - _people/*.md: removed role_order from all 8 current entries; added pi: true to rhiju-das.md. - people.md: where_exp 'p.role_order != 1' -> 'p.pi != true', and where: 'role_order', 1 -> where: 'pi', true. - tools/scrape_content.py and tools/migrate_people.py: drop role_order derivation, replace with _is_pi() returning a boolean. - CONTRIBUTING.md: drop the role_order section; document pi: true as the optional flag for the PI.
1 parent 6893c1f commit 4fa8241

12 files changed

Lines changed: 18 additions & 51 deletions

CONTRIBUTING.md

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -31,31 +31,19 @@ You'll need a (free) GitHub account, and Rhiju (or any DasLab org admin) needs t
3131
role: Postdoctoral Fellow, Biochemistry
3232
photo: /assets/images/people/jane-doe.jpg
3333
status: current
34-
role_order: 4
34+
last_name: doe
3535
---
3636
```
3737

3838
5. Click **"Commit changes"** at the bottom.
3939

40-
### What goes in `role_order`
41-
42-
Lower numbers sort to the top of the people grid. Pick the first that applies:
43-
44-
- **1** — Principal Investigator
45-
- **2** — Lab manager
46-
- **3** — Research specialist / scientist
47-
- **4** — Postdoctoral fellow
48-
- **5** — Ph.D. student
49-
- **6** — Rotation student
50-
- **7** — Undergraduate / intern
51-
- **9** — Other
52-
53-
Within the same `role_order`, members are sorted alphabetically by name.
40+
The `last_name` is used for sorting (alphabetical, case-insensitive) — write it lowercased. Members are listed alphabetically by `last_name`. The principal investigator is pinned to the end (see below).
5441

5542
### Optional fields
5643

5744
- `cv_url:` — link to a CV (e.g., a Dropbox link)
5845
- `profile_url:` — link to a Stanford profile page
46+
- `pi: true` — pins this person to the end of the current-members list. Only the principal investigator should have this.
5947

6048
---
6149

@@ -72,7 +60,7 @@ When a lab member leaves, you only edit one file — no need to move it between
7260
end_year: 2026
7361
```
7462
75-
…and remove `role_order` (it's only used for current members). Replace it with the year they left.
63+
`end_year` is the year they left. (You can also remove `pi`, `cv_url`, etc. if no longer relevant — but `last_name` should stay; it sorts within their year.)
7664

7765
4. Update the `role` line to include the date range, e.g.:
7866

_people/ann-kladwang.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@ name: Ann Kladwang
33
role: Research Specialist II Biochemistry
44
photo: /assets/images/people/AnnK.jpeg
55
status: current
6-
role_order: 3
76
last_name: kladwang
87
---

_people/chaitanya-joshi.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@ name: Chaitanya Joshi
33
role: Postdoctoral Associate Biochemistry
44
photo: /assets/images/people/ChaitanyaJ.png
55
status: current
6-
role_order: 4
76
last_name: joshi
87
---

_people/hamish-blair.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@ name: Hamish Blair
33
role: Ph.D. Student Mathematics
44
photo: /assets/images/people/HamishB.jpg
55
status: current
6-
role_order: 5
76
last_name: blair
87
---

_people/jigyasa-verma.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@ name: Jigyasa Verma
33
role: Postdoctoral Associate Biochemistry Department
44
photo: /assets/images/people/JigyasaV.jpg
55
status: current
6-
role_order: 4
76
last_name: verma
87
---

_people/matthew-liu.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@ name: Matthew Liu
33
role: Ph.D Rotation Student Computer Science
44
photo: /assets/images/people/MatthewL.jpg
55
status: current
6-
role_order: 6
76
last_name: liu
87
---

_people/rachael-kretsch.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@ name: Rachael Kretsch
33
role: "Postdoctoral associate Biophysics Joint: Wah Chiu Lab"
44
photo: /assets/images/people/RachaelK.jpg
55
status: current
6-
role_order: 4
76
last_name: kretsch
87
---

_people/rhiju-das.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ photo: /assets/images/people/RhijuD_2026.jpg
55
cv_url: "https://www.dropbox.com/scl/fi/ga8tuc3djn4fvwboxu33r/RhijuDas_Curriculum-Vitae.pdf?rlkey=grz747a7kzf8nv8edyoilr1o6&dl=0"
66
profile_url: "https://profiles.stanford.edu/rhiju-das"
77
status: current
8-
role_order: 1
98
last_name: das
9+
pi: true
1010
---

_people/vivian-wu.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@ name: Vivian Wu
33
role: Lab Manager HHMI
44
photo: /assets/images/people/VivianW.jpg
55
status: current
6-
role_order: 2
76
last_name: wu
87
---

people.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ permalink: /people/
77
---
88

99
{% assign all_current = site.people | where: "status", "current" %}
10-
{% assign non_pi = all_current | where_exp: "p", "p.role_order != 1" | sort_natural: "last_name" %}
11-
{% assign pi = all_current | where: "role_order", 1 %}
10+
{% assign non_pi = all_current | where_exp: "p", "p.pi != true" | sort_natural: "last_name" %}
11+
{% assign pi = all_current | where: "pi", true %}
1212
{% assign current = non_pi | concat: pi %}
1313

1414
{% comment %}

0 commit comments

Comments
 (0)