Skip to content

Commit 2344500

Browse files
Merge pull request #23 from OSSFE/tweaks
Tweaks
2 parents e8ca7e1 + 95b7342 commit 2344500

File tree

3 files changed

+79
-57
lines changed

3 files changed

+79
-57
lines changed

book/README.md

Lines changed: 32 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -44,37 +44,34 @@ Number of presentations: 2
4444

4545
## ☕ Break: 8:10 - 8:30 (EST)
4646

47-
Take the opportunity to make yourself tea or coffee
47+
Take the opportunity to make yourself tea or coffee and network with other attendees in the lobby!
4848

4949

50-
## Session A: 8:30 - 9:30 (EST)
50+
## Session B: 8:30 - 9:30 (EST)
5151

52-
Room: MIT
52+
Room: Apache
5353

5454
*Chair*: TBC
5555

5656
Number of presentations: 3
5757

58-
| ID | Title | Presenter | Institution |
59-
|:-----|:----------------------------------------------------------------------|:---------------|:------------------------|
60-
| A1 | [Worry sea improve place throughout grow.](abstracts/emily-worry.md) | Caitlin Rivera | Sexton Inc |
61-
| A2 | [Be idea story movie less still visit.](abstracts/kevin-be.md) | Susan Bradley | Rowe, Craig and Johnson |
62-
| A3 | [Record ask recently court now decision.](abstracts/ronnie-record.md) | Todd Vazquez | King-Huynh |
58+
| ID | Title | Presenter | Institution |
59+
|:-----|:---------------------------------------------------------------------|:------------|:--------------|
60+
| B2 | [Ahead if blue lawyer.](abstracts/scott-ahead.md) | James Meyer | Watson-Ali |
61+
| B3 | [Heart save democratic second themselves.](abstracts/jacob-heart.md) | Lisa Bauer | Robertson Ltd |
6362

6463

65-
## Session B: 8:30 - 9:30 (EST)
64+
## Session P2: 11:20 - 11:50 (EST)
6665

67-
Room: Apache
66+
Room: MIT
6867

6968
*Chair*: TBC
7069

71-
Number of presentations: 3
70+
Number of presentations: 1
7271

73-
| ID | Title | Presenter | Institution |
74-
|:-----|:---------------------------------------------------------------------|:-------------|:--------------|
75-
| B1 | [Note picture peace when cell every.](abstracts/jessica-note.md) | Janice Henry | Hill Ltd |
76-
| B2 | [Ahead if blue lawyer.](abstracts/scott-ahead.md) | James Meyer | Watson-Ali |
77-
| B3 | [Heart save democratic second themselves.](abstracts/jacob-heart.md) | Lisa Bauer | Robertson Ltd |
72+
| ID | Title | Presenter | Institution |
73+
|:-----|:--------------------------------------------------------------------------------|:------------|:---------------|
74+
| P3 | [Simply enough list commercial table hospital quite.](abstracts/john-simply.md) | Jacob Rubio | White and Sons |
7875

7976

8077
## 🖼️ Poster Session: 9:30 - 10:40 (EST)
@@ -90,9 +87,12 @@ Room: BSD
9087

9188
A series of tutorials will be available to attend for the following packages:
9289

93-
- 📦 example 1
94-
- 📦 example 2
95-
- 📦 example 3
90+
| ID | Title | Presenter | Institution |
91+
|:-----|:----------------------------------------------------------------------|:---------------|:------------------------|
92+
| T1 | [Worry sea improve place throughout grow.](abstracts/emily-worry.md) | Caitlin Rivera | Sexton Inc |
93+
| T2 | [Be idea story movie less still visit.](abstracts/kevin-be.md) | Susan Bradley | Rowe, Craig and Johnson |
94+
| T3 | [Record ask recently court now decision.](abstracts/ronnie-record.md) | Todd Vazquez | King-Huynh |
95+
| T4 | [Note picture peace when cell every.](abstracts/jessica-note.md) | Janice Henry | Hill Ltd |
9696

9797

9898
## 🗣️ Panel Session: 10:40 - 11:20 (EST)
@@ -110,24 +110,6 @@ A panel session will be held with the following members:
110110
| Aiden Fowler | [MIT](https://www.mit.edu/) |
111111

112112

113-
## Session P2: 11:20 - 11:50 (EST)
114-
115-
Room: MIT
116-
117-
*Chair*: TBC
118-
119-
Number of presentations: 1
120-
121-
| ID | Title | Presenter | Institution |
122-
|:-----|:--------------------------------------------------------------------------------|:------------|:---------------|
123-
| P3 | [Simply enough list commercial table hospital quite.](abstracts/john-simply.md) | Jacob Rubio | White and Sons |
124-
125-
126-
## 🍽️ Lunch break: 11:50 - 12:50 (EST)
127-
128-
Or dinner break if in the EU
129-
130-
131113
## Session C: 12:50 - 13:50 (EST)
132114

133115
Room: MIT
@@ -143,6 +125,14 @@ Number of presentations: 3
143125
| C3 | [Option must idea whole very current.](abstracts/derek-option.md) | Ian Greene | Moore-Miller |
144126

145127

128+
## 🍽️ Lunch break: 11:50 - 12:50 (EST)
129+
130+
Or dinner break for Europe! Or breakfast for the West Coast!
131+
132+
The Gather Town will remain open for networking during the break!
133+
134+
135+
146136
## Session D: 12:50 - 13:50 (EST)
147137

148138
Room: Apache
@@ -158,11 +148,6 @@ Number of presentations: 3
158148
| D3 | [Feel situation note body interview six full.](abstracts/taylor-feel.md) | Adriana Lee | Montes, Barnett and Walker |
159149

160150

161-
## ☕ Break: 13:50 - 14:10 (EST)
162-
163-
Take the opportunity to make yourself tea or coffee
164-
165-
166151
## Session E: 14:10 - 15:10 (EST)
167152

168153
Room: MIT
@@ -178,6 +163,11 @@ Number of presentations: 3
178163
| E3 | [Quite now travel add rock group decade of.](abstracts/joshua-quite.md) | Bradley Mendez | Wright-Jefferson |
179164

180165

166+
## ☕ Break: 13:50 - 14:10 (EST)
167+
168+
Take the opportunity to make yourself tea or coffee and network with other attendees in the lobby!
169+
170+
181171
## Session F: 14:10 - 15:10 (EST)
182172

183173
Room: Apache

generate_fake_abstracts.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ def abstract_id_to_session_id(abstract_id: int) -> str:
4848
return "S_P1"
4949
elif abstract_id == 3:
5050
return "S_P2"
51+
elif 4 <= abstract_id <= 7:
52+
return "S_demo"
5153
else:
5254
session_index = (abstract_id - 4) // 3
5355
session_ids = ["S_A", "S_B", "S_C", "S_D", "S_E", "S_F"]
@@ -97,6 +99,12 @@ def main(argv: Sequence[str] | None = None) -> int:
9799

98100
for i in range(args["N"]):
99101
num_authors = fake.random_int(1, 5)
102+
if abstract_id_to_session_id(i + 1) == "S_poster":
103+
decision = "poster"
104+
elif abstract_id_to_session_id(i + 1) == "S_demo":
105+
decision = "demo"
106+
else:
107+
decision = "oral"
100108
data = {
101109
"Abstract ID": int(i + 1),
102110
"Name": fake.name(),
@@ -109,16 +117,8 @@ def main(argv: Sequence[str] | None = None) -> int:
109117
[f"{fake.name()}, {fake.company()}" for _ in range(num_authors)]
110118
),
111119
"Link to open-source software repository (if applicable)": fake.url(),
112-
"Recommendation": (
113-
"oral"
114-
if abstract_id_to_session_id(i + 1) != "S_poster"
115-
else "poster"
116-
),
117-
"Decision": (
118-
"oral"
119-
if abstract_id_to_session_id(i + 1) != "S_poster"
120-
else "poster"
121-
),
120+
"Recommendation": decision,
121+
"Decision": decision,
122122
"slot_id": abstract_id_to_slot_id(i),
123123
}
124124
writer.writerow(data)

generate_timetable.py

Lines changed: 37 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,7 @@
108108
109109
A series of tutorials will be available to attend for the following packages:
110110
111-
- 📦 example 1
112-
- 📦 example 2
113-
- 📦 example 3
111+
{demos}
114112
"""
115113
)
116114

@@ -131,15 +129,18 @@
131129
"""\
132130
## ☕ Break: {time_slot}
133131
134-
Take the opportunity to make yourself tea or coffee
132+
Take the opportunity to make yourself tea or coffee and network with other attendees in the lobby!
135133
"""
136134
)
137135

138136
lunch_template = dedent(
139137
"""\
140138
## 🍽️ Lunch break: {time_slot}
141139
142-
Or dinner break if in the EU
140+
Or dinner break for Europe! Or breakfast for the West Coast!
141+
142+
The Gather Town will remain open for networking during the break!
143+
143144
"""
144145
)
145146

@@ -310,6 +311,7 @@ def main():
310311

311312
df_presentation = df[df["Decision"] == "oral"].copy()
312313
df_poster = df[df["Decision"] == "poster"].copy()
314+
df_demo = df[df["Decision"] == "demo"].copy()
313315

314316
df_presentation.loc[:, "slot_number"] = (
315317
df_presentation["slot_id"].str.extract(r"(\d+)").astype(int)
@@ -411,9 +413,39 @@ def main():
411413

412414
# create item for demos session
413415
S_demos_time_slot = session_to_time("S_demos")
416+
417+
data = []
418+
for index, (_, item) in enumerate(df_demo.iterrows(), start=1):
419+
# filename is last-name of author + first word of title
420+
last_name = item["List of authors and affiliation"].split(",")[0].split()[0]
421+
first_word_title = item["Title"].replace("-", " ").split()[0]
422+
filename = f"{last_name}-{first_word_title}.md".lower()
423+
424+
# remove invalid characters
425+
filename = (
426+
filename.replace(" ", "")
427+
.replace("/", "")
428+
.replace(":", "")
429+
.replace(",", "")
430+
)
431+
432+
title = f'[{item["Title"]}](abstracts/{filename})'
433+
presenter = item["Name"]
434+
435+
institution_of_first_author = ""
436+
try:
437+
author_affiliation_list = item["List of authors and affiliation"].split(";")
438+
parts = author_affiliation_list[0].strip().split(",", 1) # Split only at the first comma
439+
institution_of_first_author = parts[1].strip()
440+
except:
441+
pass
442+
data.append({"ID": f"T{index}", "Title": title, "Presenter": presenter, "Institution": institution_of_first_author})
443+
df_table = pd.DataFrame(data)
444+
table = df_table.to_markdown(index=False)
414445
demo_session_str = demo_session.format(
415446
time_slot=S_demos_time_slot,
416447
room=S_demos_time_slot.room,
448+
demos=table,
417449
)
418450
tables.insert(5, demo_session_str)
419451

0 commit comments

Comments
 (0)