Paper review talk
Paper review talk
Purpose
This prompt turns one paper into a review talk for a class or lab meeting: a 16:9 PowerPoint deck, the spoken script in the speaker notes, and a timing table. A python-pptx script builds it. Graphs are chart objects, so values and colours can be fixed the night before.
The AI does not invent numbers or experiments. It never mixes the paper's claim, the data and the presenter's verdict in one sentence.
Input
- Required: the paper (PDF, or text and figures) and the talk length. If missing, ask one question only: "Please send the paper PDF and the talk length in minutes."
- Helpful: venue, slide limit, Q&A time. If your school or instructor gave you a template, that template comes first; the sizes and colours below apply without one.
- Unclear whether Q&A is inside the slot? Ask once. With no answer, split 15 minutes into 10 + 5 and note it.
Output
1. `make_deck.py` and `script.txt`, and the `review.pptx` (main + backup) and `script.md` (timing table, script, expected questions) they produce.
2. In the chat, "Check these", 3–7 lines: total time, values read off a figure, points not in the paper (`[check needed]`), what the check flagged, backup slides.
3. If Python cannot run, give the two files and `pip install python-pptx`, `python make_deck.py`. Do not say a PPTX exists.
Rules
1. Steps
1) Pull three lines from the paper: the question, the authors' answer, the figure or table behind it.
2) For each claim, split what the data show from the authors' reading (section 4).
3) Fix the slide count (section 2). Write each title as a sentence; the titles alone tell the story.
4) Data go in part 2) of `make_deck.py`, slides in part 3), the script in `script.txt`. Run it; it stops on a number or timing mismatch (section 6).
5) Look at every slide as PDF: overflow, overlap, empty boxes, missing glyphs. Then sections 8 and 9.
2. Slides and time
- One minute per slide; 1:15 for a slide where you walk through a graph; 0:30 for the title slide.
- The script totals 85–95 % of the talk: 8:30–9:30 for 10 minutes. The rest is transitions.
- 10 minutes, 10 main slides: title → summary → background → method → 3 results → claim/data/verdict → limits → what we take. Backups are not timed.
- Give the conclusion on slide 2 and again on the last slide.
3. Titles, one message per slide
- The title states the slide's claim with its biggest number. No noun-phrase titles.
- 28 pt, about 55 characters a line, two lines at most. Break by hand (`\n`) where the meaning breaks.
- One graph or table per slide. About 3 lines of screen text; the rest goes in the script.
- Number and unit share a no-break space ("62 %"); the script adds it.
- Before → after:
- "Experimental results" → "After 1,000 h at 85 °C, 2-step devices keep 88 % of their initial efficiency; 1-step devices keep 62 %"
- "Conclusion and future work" → "Our lab should adopt the 2-step condition as is and add a combined light-and-heat test"
4. Claim, data, verdict
- The review's core is one table: aspect | paper claims | data show | my verdict.
- A verdict is one of three: confirmed (under which conditions), hypothesis (what would settle it), no evidence.
- Colour repeats it: blue for confirmed, orange for the other two.
- Two readings of one event moving together (less PbI₂, more retained efficiency) are not a cause.
- Replace "hard to trust" with what is missing and which experiment would fill it.
5. Charts and layout
- Graphs are `add_chart` objects, not images. Without raw data, redraw from values read off the figure, with a source line ("Redrawn from Fig. 3 of Kim et al.").
- Axis titles give quantity and unit ("Time at 85 °C (h)"). Chart text 16 pt. Bar axes start at 0.
- 16:9, 0.6 in margins, label/title/source/page number fixed in place. Title 28 pt bold, body 20 pt (never under 18), source 12 pt, Calibri.
- Blue `#1F4E79` for confirmed and the proposed method, orange `#C55A11` for unconfirmed, grey for the baseline.
6. Script
- Speaker notes hold the exact sentences you will say. Timing assumes 120 words per minute; time one read-aloud and set `RATE`.
- Every number on screen at 18 pt or more is said at least once. Write it as digits in `script.txt` ("85 degrees") so the check can match it.
- The check stops on a missing screen number, a slide over 15 s off plan, or a total outside 85–95 %.
- On a graph slide, first say how to read it: horizontal axis, vertical axis, colours.
7. Script sentences: before → after
- "As you can see, stability improved a lot." → "After 1,000 hours, 1-step cells keep 62 percent and 2-step cells keep 88 percent."
- "Reduced defects are believed to improve stability." → "The authors point to grain boundaries, but with no defect density data I treat that as a hypothesis."
8. Expected questions and the file
- Three expected questions: sample size and spread, evidence for the cause, untested conditions. Answers: 2–3 sentences. With no data in the paper, say so and how to find out.
- Only a question that needs a graph gets a backup slide (per-device values behind a mean, say).
- `make_deck.py` below ran end to end on a hypothetical review of Kim et al. (hypothetical), "Two-step annealing improves the long-term stability of perovskite solar cells". All numbers are made up. Its `script.txt` (10 paragraphs, 1,035 words, 8:38 at 120 words/min) is not reprinted.
9. Final check
- Titles alone tell the story. One graph or table per slide, nothing under 18 pt.
- Redrawn figures have a source line and are chart objects.
- Confirmed and hypothesis differ in words and colour. No correlation sold as a cause.
- The script check passed. Expected questions have answers and backups.
- You checked every slide as PDF, and said which files you ran and which you only wrote.
Attachment 1 · make_deck.py (Python)
```python
make_deck.py - paper review talk: 16:9 PPTX with speaker notes + script.md (timing table, script, expected questions)
Run: pip install python-pptx, then python make_deck.py. Hypothetical case (Kim et al.); all numbers are hypothetical.
import re
from pptx import Presentation
from pptx.chart.data import CategoryChartData, XyChartData
from pptx.dml.color import RGBColor
from pptx.enum.chart import XL_CHART_TYPE as CT, XL_LABEL_POSITION as LP, XL_LEGEND_POSITION as LG, XL_MARKER_STYLE as MK
from pptx.enum.dml import MSO_LINE
from pptx.enum.shapes import MSO_SHAPE
from pptx.enum.text import MSO_ANCHOR
from pptx.oxml.ns import qn
from pptx.util import Inches as In, Pt
1) Settings. If your school or instructor gave you a template, use its values
PAPER = "Two-step annealing improves the long-term stability of perovskite solar cells"
TALK, QA, RATE = 10, 5, 120 # minutes; RATE = words per minute reading aloud. Time yourself and replace it
FONT, BODY = "Calibri", 20 # body text never below 18 pt
MAIN, ACC, GRAY, INK, PALE, WHITE = (RGBColor.from_string(c) for c in ("1F4E79", "C55A11", "8C8C8C", "262626", "F2F2F2", "FFFFFF"))
SRC = "Redrawn from hypothetical data"
2) Data (hypothetical), 8 devices per condition
OLD, NEW = "1-step (standard)", "2-step"
H = list(range(0, 1001, 100))
KEEP = {OLD: [100, 96, 92, 88, 84, 79, 75, 71, 68, 65, 62], NEW: [100, 99, 98, 97, 96, 95, 93, 92, 91, 89, 88]} # % of initial at 85 °C
PBI = {OLD: [0.05, 0.42], NEW: [0.03, 0.12]} # PbI2/perovskite XRD peak ratio: after anneal, after 1,000 h
DEV = {OLD: [55, 58, 60, 61, 63, 64, 66, 68], NEW: [84, 86, 87, 88, 88, 89, 90, 91]} # per-device retention at 1,000 h
k = KEEP[OLD] # T80 = hours until 80 % of initial (linear interpolation)
T80 = int(round(next(h - 100 * (80 - v) / (p - v) for h, p, v in zip(H[1:], k, k[1:]) if v < 80), -1))
QAS = [("With only 8 devices, could the gap be chance?", "Per device, 1,000 h retention is 55-68 % (1-step) and 84-91 % (2-step): "
"no overlap (backup slide 11). Batch-to-batch spread is not in the paper."),
("PbI2 went down, so isn't the grain-boundary idea right?", "Less PbI2 and more retained efficiency measure one fact twice: less "
"decomposition. A cause needs a separate measurement, such as defect density."),
("Would it hold under light?", "No data in the paper, so we do not know. Slide 10 proposes a 500-hour test under light.")]
Script: script.txt, one paragraph per main slide, blank line between. Read it aloud and edit it there
SCRIPT = [p.replace("\n", " ").strip() for p in open("script.txt", encoding="utf-8").read().strip().split("\n\n")]
prs = Presentation()
prs.slide_width, prs.slide_height = In(13.333), In(7.5)
DECK = [] # (number, title, planned minutes, script)
def run(p, t, size=BODY, color=INK, bold=False):
r = p.add_run()
r.text = re.sub(r"(\d) (?=[%°µ]|h\b|min\b)", "\\1\u00a0", t) # number and unit stay on one line
r.font.size, r.font.color.rgb, r.font.bold, r.font.name = Pt(size), color, bold, FONT
def text(s, x, y, w, lines, *fmt): # lines: str ("\n" = new line) or list of str / (str, size, colour, bold)
tf = s.shapes.add_textbox(In(x), In(y), In(w), In(0.5)).text_frame
tf.word_wrap, tf.margin_left, tf.margin_top = True, 0, 0
for n, ln in enumerate(lines.split("\n") if isinstance(lines, str) else lines):
p = tf.paragraphs[0] if n == 0 else tf.add_paragraph()
p.space_after = Pt(6)
run(p, *((ln, *fmt) if isinstance(ln, str) else ln))
def slide(label, title, t, src="", note=None): # label, title, source, page number: same place on every slide
s = prs.slides.add_slide(prs.slide_layouts[6])
DECK.append((len(DECK) + 1, title.replace("\n", " "), t, note or SCRIPT[len(DECK)]))
s.notes_slide.notes_text_frame.text = DECK[-1][3]
for x, y, w, v, *f in ((0.6, 0.4, 9, label, 16, MAIN, True), (0.6, 0.78, 12.1, title, 28, INK, True),
(0.6, 7, 10, src, 12, GRAY), (12.45, 7, 0.4, str(len(DECK)), 12, GRAY)):
text(s, x, y, w, v, *f)
return s
def panels(s, items, rows=False): # 3 grey panels side by side, or stacked bands; item = (heading, colour, *lines)
for n, (head, color, *lines) in enumerate(items):
x, y, w, h = (0.6, 2.3 + 1.45 * n, 12.13, 1.2) if rows else (0.6 + 4.15 * n, 2.3, 3.83, 3.4)
b = s.shapes.add_shape(MSO_SHAPE.RECTANGLE, In(x), In(y), In(w), In(h))
b.fill.solid()
b.fill.fore_color.rgb = PALE
b._element.remove(b._element.find(qn("p:style"))) # no theme outline or shadow
text(s, x + 0.35, y + 0.2, w - 0.7, [(head, BODY, color, True), *lines])
def chart(s, kind, data, w, ytitle, xtitle, ylim): # a PowerPoint chart object, not a picture
ch = s.shapes.add_chart(kind, In(0.5), In(2.05), In(w), In(4.85), data).chart
ch.font.size, ch.font.name, ch.has_legend, ch.legend.position = Pt(16), FONT, True, LG.TOP
ch.value_axis.minimum_scale, ch.value_axis.maximum_scale = ylim
ch.value_axis.major_unit = (ylim[1] - ylim[0]) / 5
for ax, tt in ((ch.value_axis, ytitle), (ch.category_axis, xtitle)):
ax.has_title = True
run(ax.axis_title.text_frame.paragraphs[0], tt, 16)
for ser, c in zip(ch.plots[0].series, (GRAY, MAIN, GRAY)): # baseline grey, proposed method blue
bar = kind == CT.COLUMN_CLUSTERED
f = ser.format if bar else ser.marker.format
f.fill.solid()
f.fill.fore_color.rgb = c
if not bar:
ser.marker.style, ser.marker.size, f.line.color.rgb = MK.CIRCLE, 9, c
ser.format.line.color.rgb, ser.format.line.width = c, Pt(2.5)
if kind == CT.LINE_MARKERS:
ser.format.line.fill.background() # markers only
return ch
def table(s, rows, y, widths, size=20, colors={}):
tb = s.shapes.add_table(len(rows), len(widths), In(0.6), In(y), In(sum(widths)), In(len(rows))).table
for j, w in enumerate(widths):
tb.columns[j].width = In(w)
for i, row in enumerate(rows):
for j, v in enumerate(row):
c = tb.cell(i, j)
c.fill.solid()
c.fill.fore_color.rgb, c.vertical_anchor = MAIN if i == 0 else PALE, MSO_ANCHOR.MIDDLE
run(c.text_frame.paragraphs[0], v, size, WHITE if i == 0 else colors.get((i, j), INK), i == 0 or j == 0)
3) Slides. Every title is a claim
slide("Paper review", PAPER.replace(" the long", "\nthe long"), 0.5, "Kim et al. (hypothetical), 2026 · reviewed by Alex Kim, 3 Dec 2026")
s = slide("Summary", "2-step annealing keeps initial efficiency and lifts what is left\nafter 1,000 h at 85 °C from 62 % to 88 %", 1.0)
panels(s, [("Initial efficiency", INK, ("21.7 %", 54, MAIN, True), "1-step 21.4 %", "Gap within device spread"),
("Left after 1,000 h", INK, ("88 %", 54, MAIN, True), "1-step 62 %", "85 °C, in nitrogen"),
("Cause given by authors", INK, ("Hypothesis", 44, ACC, True), "Grain boundaries", "Not measured directly")])
s = slide("Background", "The question: can the annealing sequence alone\nslow down thermal decomposition?", 0.75)
panels(s, [("Problem", MAIN, "At 85 °C the film decomposes into PbI₂ and efficiency keeps falling"),
("Authors' hypothesis", ACC, "Decomposition starts at grain boundaries and leftover solvent"),
("Proposal", MAIN, "Remove solvent at low temperature, then grow large crystals hot")])
s = slide("Method", "The two conditions differ only in the anneal;\nthe test ran 1,000 h at 85 °C in nitrogen, in the dark", 1.0)
table(s, [["", OLD, NEW], ["Anneal", "100 °C · 10 min", "65 °C · 2 min → 150 °C · 10 min"], ["Devices", "0.1 cm², 8 per condition", "same"],
["Test", "85 °C · nitrogen · dark · 1,000 h", "same"]], 2.3, [2.2, 5.0, 4.93], colors={(1, 2): MAIN})
s = slide("Result 1 · Initial performance", "Initial performance is the same: the 0.3-point efficiency gap\nis inside the device-to-device spread",
1.0, "Mean ± SD, 8 devices per condition · hypothetical data")
table(s, [["", "Voc (V)", "Jsc (mA/cm²)", "FF (%)", "Efficiency (%)"], [OLD, "1.12 ± 0.01", "24.6 ± 0.3", "77.6 ± 1.0", "21.4 ± 0.4"],
[NEW, "1.14 ± 0.01", "24.5 ± 0.3", "77.8 ± 0.8", "21.7 ± 0.3"]], 2.5, [2.93, 2.3, 2.3, 2.3, 2.3])
s = slide("Result 2 · Long-term stability", "After 1,000 h at 85 °C, 2-step devices keep 88 % of their\ninitial efficiency; 1-step devices keep 62 %",
1.25, SRC + " · mean of 8 devices per condition")
d = XyChartData()
for name, ys in list(KEEP.items()) + [("80 % line", [80] * len(H))]:
ser = d.add_series(name)
for x, y in zip(H, ys):
ser.add_data_point(x, y)
ch = chart(s, CT.XY_SCATTER_LINES, d, 8.3, "Efficiency vs. initial (%)", "Time at 85 °C (h)", (50, 100))
ax, ref = ch.category_axis, ch.plots[0].series[2] # ref: 80 % line in grey dashes
ax.minimum_scale, ax.maximum_scale, ax.tick_labels.number_format, ax.tick_labels.number_format_is_linked = 0, 1000, "#,##0", False
ref.marker.style, ref.format.line.width, ref.format.line.dash_style = MK.NONE, Pt(1.5), MSO_LINE.DASH
text(s, 9.3, 2.6, 3.43, [("T80", BODY, INK, True), ("time to fall to 80 % of initial", BODY, GRAY), "",
(f"1-step about {T80} h", BODY, INK, True), ("2-step over 1,000 h", BODY, MAIN, True)])
s = slide("Result 3 · Decomposition product", "After 1,000 h the PbI₂ peak ratio is 0.12 for 2-step,\nless than a third of the 1-step value of 0.42",
1.0, SRC + " · XRD peak intensity ratio")
d = CategoryChartData()
d.categories = ["Right after anneal", "After 1,000 h"]
for name, v in PBI.items():
d.add_series(name, v)
pl = chart(s, CT.COLUMN_CLUSTERED, d, 7.6, "PbI₂ / perovskite peak ratio", "XRD measurement", (0, 0.5)).plots[0]
pl.gap_width, pl.has_data_labels = 80, True
pl.data_labels.number_format, pl.data_labels.number_format_is_linked, pl.data_labels.position = "0.00", False, LP.OUTSIDE_END
text(s, 8.7, 2.6, 4.03, [("Grain size (SEM)", BODY, INK, True), "1-step 0.38 µm", ("2-step 0.57 µm (1.5×)", BODY, MAIN, True)])
s = slide("Assessment", "The stability gain is backed by data; grain boundaries\nas the cause are still a hypothesis", 1.25)
table(s, [["", "What the paper claims", "What the data show", "My verdict"],
["Stability", "2-step improves stability", "1,000 h retention 88 % vs 62 %", "Confirmed, in this test only"],
["Cause", "Fewer boundary defects slow decomposition", "PbI₂ ratio 0.12 vs 0.42", "Hypothesis: no defect data"],
["Use", "Better in real operation", "No light or humidity test", "No evidence [check needed]"]],
2.25, [1.5, 3.75, 3.75, 3.13], 18, {(1, 3): MAIN, (2, 3): ACC, (3, 3): ACC})
s = slide("Limits", "Three open questions: does it hold under light,\nin humid air, and across batches?", 1.0)
panels(s, [("Light + heat", ACC, "No test under light at maximum power."), ("Humidity", ACC, "Unencapsulated, tested in nitrogen only."),
("Reproducibility", ACC, "Batch count for the 8 devices is not given.")], rows=True)
s = slide("Wrap-up", "Our lab should adopt the 2-step condition as is\nand add a combined light-and-heat test", 0.75)
panels(s, [("Adopt", MAIN, "65 °C for 2 min → 150 °C for 10 min: one process change"),
("Add", MAIN, "500 h under light at maximum power, 8 devices per condition, 2 batches"),
("Ask the authors", MAIN, "Batch count; was defect density measured?")], rows=True)
s = slide("Backup · Expected question 1", f"Device by device, retention at 1,000 h does not overlap:\n1-step {min(DEV[OLD])}–{max(DEV[OLD])} %, "
f"2-step {min(DEV[NEW])}–{max(DEV[NEW])} %", 0, SRC, f"[Expected question] {QAS[0][0]}\n{QAS[0][1]}")
d = CategoryChartData()
d.categories = [str(n) for n in range(1, 9)]
for name, v in DEV.items():
d.add_series(name, v)
chart(s, CT.LINE_MARKERS, d, 12.3, "Retention at 1,000 h (%)", "Device number", (50, 100))
4) Checks: every number on screen (18 pt+) is in the script; timing fits the plan -> script.md
def mmss(m):
return f"{round(m * 60) // 60}:{round(m * 60) % 60:02d}"
def num(t):
return set(re.findall(r"\d+(?:[.,]\d+)*", t))
err, rows, acc, est_all = [], [], 0, 0
for s, (n, title, t, note) in zip(prs.slides, DECK):
shown = " ".join(x.text_frame.text for x in s.shapes if x.has_text_frame and x.text_frame.text
and x.text_frame.paragraphs[0].runs[0].font.size >= Pt(18))
if num(shown) - num(note):
err.append(f"slide {n}: on screen, not in script: {sorted(num(shown) - num(note))}")
est = len(note.split()) / RATE
if t and abs(est - t) > 0.25:
err.append(f"slide {n}: plan {mmss(t)}, script {mmss(est)}")
if t:
acc, est_all = acc + t, est_all + est
rows.append(f"| {n} | {title} | {mmss(t)} | {mmss(est)} |")
if len(SCRIPT) != len(rows):
err.append(f"script.txt has {len(SCRIPT)} paragraphs for {len(rows)} main slides")
if not TALK * 0.85 <= est_all <= acc <= TALK * 0.95:
err.append(f"total: script {mmss(est_all)}, plan {mmss(acc)}, not within 85-95 % of the talk")
md = [f"# Script · {PAPER} (Kim et al., hypothetical)", "", f"Talk {TALK} min + Q&A {QA} min. Script time = words ÷ {RATE} per min.", "",
"| Slide | Title | Plan | Script |", "|-|--------------------|-|-|", *rows, f"| Total | | {mmss(acc)} | {mmss(est_all)} |", ""]
md += [f"## Slide {n} · {mmss(t) if t else 'backup'} · {title}\n\n{note}\n" for n, title, t, note in DECK]
md += ["## Expected questions", ""] + [f"{j}. {q} \n Answer: {a}" for j, (q, a) in enumerate(QAS, 1)]
open("script.md", "w", encoding="utf-8").write("\n".join(md) + "\n")
prs.save("review.pptx")
print(f"review.pptx {len(DECK)} slides; plan {mmss(acc)}, script {mmss(est_all)} of {TALK}:00")
print("Script check: " + ("pass" if not err else "stopped"), *err, sep="\n ")
raise SystemExit(1 if err else 0)
```
Connect ChatGPT or Claude and use this prompt now · More prompts