Team project board
Team project board
Purpose
One Excel file for a team project: roles, schedule, tasks, meeting notes, submission check. Enter owner, due date, and status per task; formulas do the rest.
The AI never invents who did what and never writes a sentence judging a teammate. Deadlines, page limits, and file-name rules come only from the course notice; otherwise `[check needed]`.
Input
- Required: teammates (names or A–D) and the final due date. If missing, ask only: "Who is on the team, and when is the final submission?"
- Helpful: rubric, talk length, format rules, meeting notes.
- From notes take only decisions and tasks. An unowned task stays blank and gets flagged.
- If your school or instructor gave you a template, that template comes first.
Output
1. `make_team.py` and its `team_board.xlsx` (5 sheets).
2. In the chat, 3–7 "Please check" lines: overdue tasks, due within 7 days, missing owners, failed checks, rules to confirm.
3. If Python cannot run, give the script and how to run it; never say the file was made.
Rules
1. Steps
1) Fill `PEOPLE`, `KICKOFF` (Monday of week 1), `STAGES`.
2) Tasks from notes go in `TASKS`; decisions with task numbers in `MEETINGS`.
3) Copy the notice's rules into `CHECKS`.
4) `python make_team.py`. After that, edit only blue cells.
2. Tasks
- One owner, one date; never "everyone" or "this week". One day to one week each.
- End with a deliverable: "chart work" → "Time-of-day chart in SVG".
- Status: Planned, In progress, Done, On hold.
- D-day = due − base date. D-3 = 3 days left, D+2 = 2 days past. 0–3 days left turns yellow.
3. Overdue stays visible
- Never move a passed due date. The row says "Overdue n d" and turns red; late work stays "Done n d late".
- To re-plan, add a task and set the old one to "On hold".
- Name the task, not the person: "Student C is late" → "Task 5 (chart) is 3 days overdue; stuck on axis ticks".
4. Schedule
- 7 week columns from Monday of week 1; one-day items get ◆.
- Stage status counts `Tasks`: "Done", "Overdue (n)", "Planned". Colors repeat it (green, red, blue); the words survive gray prints.
- This week is yellow, "▼ This week". Blank base date = today; fix it for report screenshots.
5. Meeting notes
- One row per decision: decision, a checkable reason (rubric item, TA feedback), task number.
- The last column pulls owner, date, status; red if missing, ownerless, or overdue.
- "C will handle the charts" → "Charts in SVG, no libraries" / "Deliverable is one index.html" / task 5
- "Talked about units" → "kW and kWh in separate columns" / "TA feedback" / task 6
- "Let's prep the talk well" → "Prepare 5 likely questions" / "Last year: 5 min of questions" / task 10
6. Team talk
- Senior students' advice: talk about direction, roles, frustrations only at kickoff (30 min) and wrap-up (15 min).
- Check-ins: task list only, 15–20 min, overdue first. Wrap-up: one win, one change each, no blame.
7. Submission check
- Number (min, max), file name (prefix, extension, no spaces), or confirm ("Done").
- Report ≤ 10 pages, talk 10 ± 1 min; verdicts show the gap ("Over by 1").
- `RE_Team3_Report_20261218.pdf` passes; "FINAL (really final)" gets "Breaks rule".
- These rules are hypothetical; the notice replaces them.
8. The file
Run on a hypothetical case: Renewable Energy team project, Students A–D, base date 2026-11-28. Needs `openpyxl`.
- Of 12 tasks: 4 done, 2 overdue (task 5 by 3 days, task 7 by 1), 2 due within 7 days, 1 without owner (task 10). Checks: 3 OK, 2 not checked, 3 off.
- After a LibreOffice recalculation, every D-day, overdue, Gantt cell, meeting link, and verdict matched Python.
9. Final check
- No ownerless task? Passed due dates unchanged? No red meeting links?
- "▼ This week" on the base date's week? Rules match the notice?
- Said whether you made the file or only gave the script?
Attachment 1 · make_team.py (Python)
```python
make_team.py: team project board, team_board.xlsx. Run: python make_team.py
Formulas compute D-day, overdue, Gantt colors, and verdicts.
import sys
from datetime import date
from openpyxl import Workbook
from openpyxl.formatting.rule import FormulaRule
from openpyxl.styles import Alignment, Border, Font, PatternFill, Side
from openpyxl.workbook.defined_name import DefinedName
from openpyxl.worksheet.datavalidation import DataValidation
def D(m, d):
return date(2026, m, d)
CASE = "Hypothetical case: Renewable Energy team project, Students A-D"
KICKOFF, BASE, WEEKS = D(11, 2), D(11, 28), 7 # Monday of week 1, base date, weeks
PEOPLE = [ # (name, role, deliverables, contact, free for meetings)
("Student A", "Lead, talk", "Schedule, slides, script", "a@example.com", "Tue 7-8 pm"),
("Student B", "Data", "Clean CSV, plots", "b@example.com", "Tue 7-8 pm, Thu 6 pm"),
("Student C", "Web", "index.html dashboard", "c@example.com", "Tue 7-8 pm"),
("Student D", "Report", "Report PDF, final check", "d@example.com", "Tue, Thu 7 pm")]
RULES = [
"One owner and one due date per task. 'Everyone' is not an owner.",
"Meeting notes: decision, reason, task number.",
"Never hide overdue work. Keep the due date.",
"Team talk (direction, roles, frustrations): kickoff and wrap-up only.",
"Answer the group chat within 24 h.",
"Wrap-up: one win, one change each. Blame no one."]
STAGES = [ # (stage, owner, start, end). start = end: one-day item
("Set direction", "Student A", D(11, 2), D(11, 6)), ("Data", "Student B", D(11, 5), D(11, 18)),
("Screen design", "Student C", D(11, 9), D(11, 17)), ("Build dashboard", "Student C", D(11, 16), D(12, 6)),
("Analysis and plots", "Student B", D(11, 23), D(12, 4)), ("Report", "Student D", D(11, 30), D(12, 9)),
("Talk prep", "Student A", D(12, 7), D(12, 14)), ("Final check", "Student D", D(12, 14), D(12, 16)),
("Talk", "Student A", D(12, 17), D(12, 17)), ("Report due", "Student D", D(12, 18), D(12, 18)),
("Wrap-up", "Student A", D(12, 18), D(12, 18))]
TASKS = [ # (task, stage, owner, due, status, done on, source)
("Topic and scope, one page", "Set direction", "Student A", D(11, 6), "Done", D(11, 6), "Meeting 1"),
("CSV columns: time, building, kW, kWh", "Data", "Student B", D(11, 10), "Done", D(11, 10), "Meeting 1"),
("Clean CSV for 5 buildings", "Data", "Student B", D(11, 18), "Done", D(11, 19), ""),
("Card and chart layout", "Screen design", "Student C", D(11, 17), "Done", D(11, 17), ""),
("Time-of-day chart in SVG", "Build dashboard", "Student C", D(11, 25), "In progress", None, "Meeting 2"),
("Building table with kW, kWh", "Build dashboard", "Student C", D(12, 2), "In progress", None, "Meeting 2"),
("Capacity factor on DC basis", "Analysis and plots", "Student B", D(11, 27), "In progress", None, "Meeting 3"),
("Report outline, page budget", "Report", "Student D", D(11, 30), "In progress", None, ""),
("Talk script draft (10 min)", "Talk prep", "Student A", D(12, 11), "Planned", None, ""),
("5 likely questions, answers", "Talk prep", "", D(12, 14), "Planned", None, "Meeting 3"),
("2 timed rehearsals", "Final check", "Student A", D(12, 16), "Planned", None, ""),
("File names and formats", "Final check", "Student D", D(12, 16), "Planned", None, "")]
MEETINGS = [ # (meeting, date, minutes, present, decision, reason, task no.)
("Meeting 1", D(11, 3), 30, "A B C D", "Topic: campus solar PV web dashboard", "Brief asks for a visualization", 1),
("Meeting 2", D(11, 17), 20, "A B C D", "Charts in SVG, no libraries", "Deliverable is one index.html", 5),
("Meeting 2", D(11, 17), 20, "A B C D", "kW and kWh in separate columns", "TA: units looked mixed", 6),
("Meeting 3", D(11, 26), 15, "A B C", "Capacity factor on DC basis", "Capacities mixed DC and AC", 7),
("Meeting 3", D(11, 26), 15, "A B C", "Keep chart due date 11/25, show overdue", "Team rule 3", 5),
("Meeting 3", D(11, 26), 15, "A B C", "Prepare 5 likely questions", "Last year: 5 min of questions", 10),
("Meeting 4", D(12, 18), 15, "(planned)", "One thing that worked, one to change", "Team rule 6", None)]
CHECKS = [ # (group, item, method, rule 1, rule 2, actual, owner)
("Rubric", "Rubric items with a page reference", "Number", 5, 5, 5, "Student D"),
("Rubric", "Self-grade again on 12/15", "Confirm", None, None, None, "Student D"),
("Format", "PDF, A4, 11 pt, units on axes", "Confirm", None, None, "Done", "Student D"),
("Length", "Report body pages", "Number", None, 10, 11, "Student D"),
("Length", "Talk minutes, 10 ± 1", "Number", 9, 11, 11.5, "Student A"),
("File name", "Report file name", "File name", "RE_Team3_Report_", ".pdf", "RE_Team3_Report_20261218.pdf", "Student D"),
("File name", "Slides file name", "File name", "RE_Team3_Slides_", ".pptx", "Team3 slides FINAL (really final).pptx", "Student A"),
("Submission", "Uploaded by 12/18 6 pm", "Confirm", None, None, None, "Student D")]
DAY, T0, S0 = 'm"/"d', 5, 6
T1, S1 = T0 + len(TASKS) - 1, S0 + len(STAGES) - 1
FONT, BLUE, LINE = "Calibri", "0000FF", Side(style="thin", color="BFBFBF")
FILL = {"head": "E7E6E6", "in": "FFF9E5", "red": "F8D7DA", "yel": "FFF2CC", "grn": "D9EAD3", "blu": "CFE2F3", "now": "FFF9C4", "org": "FCE4D6"}
def put(ws, ref, v, color="000000", bold=False, fill=None, fmt=None, size=10, h=None):
if ":" in ref:
ws.merge_cells(ref)
ref = ref.split(":")[0]
c = ws[ref]
c.value = v
c.font = Font(name=FONT, size=size, bold=bold, color=color)
c.alignment = Alignment(wrap_text=True, vertical="center", horizontal=h)
c.border = Border(left=LINE, right=LINE, top=LINE, bottom=LINE)
if fill:
c.fill = PatternFill("solid", fgColor=FILL[fill])
if fmt:
c.number_format = fmt
def inp(ws, ref, v, fmt=None): # input cells: blue on pale yellow
put(ws, ref, v, BLUE, fill="in", fmt=fmt)
def sheet(wb, title, widths, last, head, note=None): # one landscape A4 page, header in row 4
ws = wb.create_sheet(title)
for i, w in enumerate(widths):
ws.column_dimensions[chr(65 + i)].width = w
col = chr(64 + len(widths))
ws.print_area = f"A1:{col}{last}"
ws.page_setup.orientation, ws.page_setup.paperSize = "landscape", ws.PAPERSIZE_A4
ws.page_setup.fitToWidth = ws.page_setup.fitToHeight = 1
ws.sheet_properties.pageSetUpPr.fitToPage = True
ws.print_options.horizontalCentered = True
ws.oddFooter.center.text = "&A · &P / &N"
put(ws, f"A1:{col}1", f"{title} — {CASE}", bold=True, size=13)
if note:
put(ws, f"A2:{col}2", note, color="595959")
for j, h in enumerate(head):
put(ws, f"{chr(65 + j)}4", h, bold=True, fill="head")
return ws
def cf(ws, rng, formula, fill, bold=False): # first rule added wins (stopIfTrue)
ws.conditional_formatting.add(rng, FormulaRule(formula=[formula], fill=PatternFill("solid", fgColor=FILL[fill]),
font=Font(bold=True) if bold else None, stopIfTrue=True))
def dv(ws, rng, formula1):
v = DataValidation(type="list", formula1=formula1, allow_blank=True)
ws.add_data_validation(v)
v.add(rng)
def task(col): # one column of the Tasks sheet
return f"Tasks!${col}${T0}:${col}${T1}"
def build(out):
wb = Workbook()
wb.remove(wb.active)
1) Roles: per-person counts from the Tasks sheet
ws = sheet(wb, "Roles", [10, 18, 24, 15, 18, 7, 7, 8, 10], 10 + len(RULES),
["Name", "Role", "Deliverables", "Contact", "Free for meetings", "Tasks", "Done", "Overdue", "Due in 7 d"],
"Contacts are hypothetical. Counts come from Tasks.")
for i, p in enumerate(PEOPLE):
r = 5 + i
for j, v in enumerate(p):
inp(ws, f"{chr(65 + j)}{r}", v)
who = f"{task('D')},$A{r}"
put(ws, f"F{r}", f"=COUNTIF({who})")
put(ws, f"G{r}", f'=COUNTIFS({who},{task("F")},"Done")')
put(ws, f"H{r}", f'=COUNTIFS({who},{task("I")},"Overdue*")', bold=True)
put(ws, f"I{r}", f'=COUNTIFS({who},{task("E")},">="&base_day,{task("E")},"<="&(base_day+6),{task("F")},"<>Done")')
cf(ws, "H5:H8", "$H5>0", "red")
put(ws, "A10:I10", "Team rules", bold=True, fill="head")
for i, rule in enumerate(RULES):
put(ws, f"A{11 + i}", i + 1, h="center")
inp(ws, f"B{11 + i}:I{11 + i}", rule)
2) Schedule: per-stage counts; a week cell is colored when it overlaps the stage
wk = [chr(74 + k) for k in range(WEEKS)] # from column J
ws = sheet(wb, "Schedule", [5, 20, 10, 8, 8, 7, 7, 8, 13] + [11] * WEEKS, S1,
["No.", "Stage", "Owner", "Start", "End", "Tasks", "Done", "Overdue", "Status"],
"Blue planned, green done, red overdue, yellow this week, ◆ one day; Status says it in words. Blank base date = today.")
put(ws, "B3", "Monday of week 1", bold=True)
inp(ws, "C3:D3", KICKOFF, "yyyy-mm-dd")
put(ws, "E3:F3", "Base date", bold=True)
inp(ws, "G3:H3", BASE, "yyyy-mm-dd")
put(ws, "I3", "Date used", bold=True)
put(ws, "J3:L3", '=IF(G3="",TODAY(),G3)', bold=True, fmt="yyyy-mm-dd")
wb.defined_names["kickoff"] = DefinedName("kickoff", attr_text="Schedule!$C$3")
wb.defined_names["base_day"] = DefinedName("base_day", attr_text="Schedule!$J$3")
for j in range(9):
put(ws, f"{chr(65 + j)}5", None, fill="head")
for k, c in enumerate(wk):
put(ws, f"{c}4", f'=IF(AND(base_day>={c}5,base_day<={c}5+6),"▼ This week","Week {k + 1}")', bold=True, fill="head", h="center")
put(ws, f"{c}5", f"=kickoff+7*{k}", bold=True, fill="head", fmt=DAY, h="center")
for i, (name, who, s, e) in enumerate(STAGES):
r = S0 + i
put(ws, f"A{r}", i + 1, h="center")
for j, (v, f) in enumerate([(name, None), (who, None), (s, DAY), (e, DAY)]):
inp(ws, f"{chr(66 + j)}{r}", v, f)
put(ws, f"F{r}", f"=COUNTIF({task('C')},$B{r})")
put(ws, f"G{r}", f'=COUNTIFS({task("C")},$B{r},{task("F")},"Done")')
put(ws, f"H{r}", f'=COUNTIFS({task("C")},$B{r},{task("I")},"Overdue*")')
put(ws, f"I{r}", f'=IF(AND(F{r}>0,G{r}=F{r}),"Done",IF(H{r}>0,"Overdue ("&H{r}&")",IF(base_day<D{r},"Planned",'
f'IF(base_day>E{r},IF(F{r}=0,"Past","Should be done"),"In progress"))))', bold=True)
for c in wk:
put(ws, f"{c}{r}", f'=IF(AND($D{r}<={c}$5+6,$E{r}>={c}$5),IF($D{r}=$E{r},"◆",""),"")', h="center")
bars, ov, now = f"J{S0}:{wk[-1]}{S1}", f"$D{S0}<=J$5+6,$E{S0}>=J$5", "AND(base_day>=J$5,base_day<=J$5+6)"
cf(ws, bars, f'AND({ov},LEFT($I{S0},7)="Overdue")', "red")
cf(ws, bars, f'AND({ov},$I{S0}="Done")', "grn")
cf(ws, bars, f"AND({ov})", "blu")
cf(ws, bars, now, "now")
cf(ws, f"J4:{wk[-1]}5", now, "now", bold=True)
cf(ws, f"I{S0}:I{S1}", f'LEFT($I{S0},7)="Overdue"', "red")
ws.freeze_panes = "C6"
3) Tasks: owner, due date, status -> D-day, overdue
ws = sheet(wb, "Tasks", [5, 34, 18, 10, 7, 10, 8, 8, 14, 17, 10], T1,
["No.", "Task", "Stage", "Owner", "Due", "Status", "Done on", "D-day", "Overdue", "Missing", "Source"])
c = {x: f"{x}{T0}:{x}{T1}" for x in "BEFIJ"}
put(ws, "A2:K2", f'="Base date "&TEXT(base_day,"yyyy-mm-dd")&" · tasks "&COUNTA({c["B"]})&" · done "&COUNTIF({c["F"]},"Done")'
f'&" · overdue "&COUNTIF({c["I"]},"Overdue*")&" · due in 7 days "&COUNTIFS({c["E"]},">="&base_day,{c["E"]},"<="&(base_day+6),'
f'{c["F"]},"<>Done")&" · missing "&COUNTIF({c["J"]},"?*")', bold=True)
put(ws, "A3:K3", "D-3 = 3 days left, D+2 = 2 days past. Never move a passed due date. One owner.", color="595959")
for i, (what, stage, who, due, st, done, src) in enumerate(TASKS):
r = T0 + i
put(ws, f"A{r}", i + 1, h="center")
for j, (v, f) in enumerate([(what, None), (stage, None), (who or None, None), (due, DAY), (st, None), (done, DAY)]):
inp(ws, f"{chr(66 + j)}{r}", v, f)
put(ws, f"H{r}", f'=IF(F{r}="Done","Done",IF(E{r}="","",E{r}-base_day))', fmt='"D-"0;"D+"0;"D-day"', h="center")
put(ws, f"I{r}", f'=IF(AND(F{r}<>"Done",E{r}<>"",base_day>E{r}),"Overdue "&(base_day-E{r})&" d",'
f'IF(AND(F{r}="Done",G{r}>E{r}),"Done "&(G{r}-E{r})&" d late",""))', bold=True)
put(ws, f"J{r}", f'=IF(OR(D{r}="",E{r}=""),"Owner/due needed","")', bold=True)
inp(ws, f"K{r}", src or None)
rows = f"A{T0}:K{T1}"
cf(ws, rows, f'LEFT($I{T0},7)="Overdue"', "red")
cf(ws, rows, f'$J{T0}<>""', "org")
cf(ws, rows, f'AND($F{T0}<>"Done",ISNUMBER($H{T0}),$H{T0}>=0,$H{T0}<=3)', "yel")
dv(ws, f"C{T0}:C{T1}", f"Schedule!$B${S0}:$B${S1}")
dv(ws, f"D{T0}:D{T1}", "Roles!$A$5:$A$8")
dv(ws, f"F{T0}:F{T1}", '"Planned,In progress,Done,On hold"')
ws.freeze_panes = f"C{T0}"
4) Meetings: decision, reason, task number; the task is looked up in Tasks
last = 4 + len(MEETINGS)
ws = sheet(wb, "Meetings", [11, 7, 5, 9, 32, 28, 6, 56], last,
["Meeting", "Date", "Min", "Present", "Decision", "Reason", "Task", "Task check (from Tasks)"],
"One decision per row; task by number only.")
for i, (mt, day, mins, who, dec, why, no) in enumerate(MEETINGS):
r = 5 + i
for j, (v, f) in enumerate([(mt, None), (day, DAY), (mins, "0"), (who, None), (dec, None), (why, None), (no, "0")]):
inp(ws, f"{chr(65 + j)}{r}", v, f)
m = f"MATCH(G{r},{task('A')},0)"
put(ws, f"H{r}", f'=IF(G{r}="","No task",IFERROR(INDEX({task("B")},{m})&" · "&IF(INDEX({task("D")},{m})="","No owner",'
f'INDEX({task("D")},{m}))&" · "&TEXT(INDEX({task("E")},{m}),"m/d")&" · "&INDEX({task("F")},{m})'
f'&IF(INDEX({task("I")},{m})="",""," · "&INDEX({task("I")},{m})),"Not in Tasks sheet"))')
cf(ws, f"H5:H{last}", '$H5="No task"', "yel")
cf(ws, f"H5:H{last}", 'OR(ISNUMBER(SEARCH("No owner",$H5)),ISNUMBER(SEARCH("Not in",$H5)),ISNUMBER(SEARCH("Overdue",$H5)))', "red")
5) Submission check: number = min, max; file name = prefix, extension, no spaces; confirm = Done
last, n = 4 + len(CHECKS), len(CHECKS)
ws = sheet(wb, "Submission check", [10, 40, 9, 22, 7, 30, 14, 10], last,
["Group", "Item", "Method", "Rule 1", "Rule 2", "Actual", "Verdict", "Owner"])
g = f"G5:G{last}"
put(ws, "A2:H2", f'="OK "&COUNTIF({g},"OK")&" / {n} · not checked "&COUNTIF({g},"Not checked")&" · off "&({n}-COUNTIF({g},"OK")'
f'-COUNTIF({g},"Not checked"))&" (hypothetical rules; the course notice wins)"', bold=True)
put(ws, "A3:H3", "Number: min, max · File name: prefix, extension, no spaces · Confirm: Done", color="595959")
for i, (grp, what, how, a, b, real, who) in enumerate(CHECKS):
r = 5 + i
put(ws, f"A{r}", grp, bold=True)
put(ws, f"B{r}", what)
put(ws, f"C{r}", how, h="center")
for col, v in (("D", a), ("E", b), ("F", real), ("H", who)):
inp(ws, f"{col}{r}", v)
if how == "Number":
f = (f'=IF(F{r}="","Not checked",IF(AND(OR(D{r}="",F{r}>=D{r}),OR(E{r}="",F{r}<=E{r})),"OK",'
f'IF(AND(E{r}<>"",F{r}>E{r}),"Over by "&(F{r}-E{r}),"Short by "&(D{r}-F{r}))))')
elif how == "File name":
f = f'=IF(F{r}="","Not checked",IF(AND(LEFT(F{r},LEN(D{r}))=D{r},RIGHT(F{r},LEN(E{r}))=E{r},ISERROR(FIND(" ",F{r}))),"OK","Breaks rule"))'
else:
f = f'=IF(F{r}="Done","OK","Not checked")'
dv(ws, f"F{r}", '"Done"')
put(ws, f"G{r}", f, bold=True)
cf(ws, g, '$G5="Not checked"', "yel")
cf(ws, g, '$G5<>"OK"', "red")
wb.save(out)
print("saved", out, "| sheets:", ", ".join(wb.sheetnames))
if __name__ == "__main__":
build(sys.argv[1] if len(sys.argv) > 1 else "team_board.xlsx")
```
Connect ChatGPT or Claude and use this prompt now · More prompts