POLISCI 158 · Section 3

Section Assignment 3

Reproduce a figure with your agent

Graded: Pass / No-Pass Due: before your Section 4 meeting (exact deadline on Canvas) Submit: one link on Canvas
Back to the lab

What to do

Pick one figure, then reproduce it with your agent using the same steps as in the lab: describe the figure and its likely source, ask for a download script and a plot script, read the report, and check the result against the original.

Option A: not sure which figure? Some that work

Data, not pixels. Your numbers must come from the original data source, downloaded by a script. Don't let the agent read values off the picture of the figure: that's tracing, not reproducing.

What to submit

One link to your GitHub repository. It should contain four things:

ps158-reproduce/ ├── get_data.py # downloads the data from the original source ├── plot.py # redraws the figure from that data ├── figure.png # your reproduction (any file name is fine) └── README.md # a few lines: which figure, where the data come from

The data files your script downloads can stay in the repository too.

The README can be short: a few lines saying which figure you reproduced and where your data come from. Anything else is up to you, for example how close you got or what you would do next. Your agent can write it.

To pass

Bonus (optional): extend it

Once your reproduction matches, take it one step further. Add one more figure and 2–3 sentences in your README on what changed. For example:

How to submit

Paste this on Canvas:

https://github.com/YOUR-USERNAME/ps158-reproduce

Want to keep your repository private? Contact your TA before you submit, so we can make sure we can see it.