You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+4-16Lines changed: 4 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,31 +31,19 @@ You'll need a (free) GitHub account, and Rhiju (or any DasLab org admin) needs t
31
31
role: Postdoctoral Fellow, Biochemistry
32
32
photo: /assets/images/people/jane-doe.jpg
33
33
status: current
34
-
role_order: 4
34
+
last_name: doe
35
35
---
36
36
```
37
37
38
38
5. Click **"Commit changes"** at the bottom.
39
39
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).
54
41
55
42
### Optional fields
56
43
57
44
-`cv_url:` — link to a CV (e.g., a Dropbox link)
58
45
-`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.
59
47
60
48
---
61
49
@@ -72,7 +60,7 @@ When a lab member leaves, you only edit one file — no need to move it between
72
60
end_year: 2026
73
61
```
74
62
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.)
76
64
77
65
4. Update the `role` line to include the date range, e.g.:
0 commit comments