@carinadl/project-reviewer

4
1
flwr new @carinadl/project-reviewer

Project Reviewer

A simulated academic conference Program Committee (PC) review pipeline built on Flower's AgentApp framework. Five agents — an editorial Coordinator, three independent Reviewers (Technical Rigour, Novelty, Empirical Validation), and a PC Chair — collaboratively evaluate a paper or project submission and issue a formal ACCEPT/REJECT decision, mirroring how real conferences like NeurIPS, ICML, ICLR, or CVPR run peer review.

This is a demonstration of the review pattern, not a certified substitute for human peer review.

How it works

  1. Coordinator reads the raw submission and extracts a neutral, factual "Paper Dossier" (9 dimensions: title, domain, problem statement, methodology, claims, theoretical foundations, empirical setup, results, limitations). It is the only agent that ever sees the raw submission.
  2. Three Reviewers each assess the dossier through a different lens (technical soundness, novelty, empirical rigor), scoring it Q1-Q5 with a recommendation (Strong Accept → Strong Reject). The Novelty reviewer is grounded in real related-work abstracts fetched from arXiv, not just the model's own memory.
  3. PC Chair receives a scorecard matrix computed deterministically in Python (never by asking an LLM to do arithmetic), synthesizes consensus, adjudicates any reviewer disagreements, and issues the binding decision with a formal letter and actionable next steps.

Running it (Simulation via SuperGrid)

Only the model call happens inside the timed Flower run — fetching your submission's content happens locally first, for speed and because Flower's SuperGrid sandbox doesn't have general internet access:

pip install -e .

# Extract the submission (choose one):
python extract_submission.py --pdf path/to/paper.pdf > run_config_override.toml
python extract_submission.py --arxiv 2307.09288 > run_config_override.toml
python extract_submission.py --text writeup.txt > run_config_override.toml
python extract_submission.py --paste > run_config_override.toml   # then Ctrl+D

# Log in once, then run the review (free — no API key needed):
flwr login supergrid
flwr run . supergrid --run-config run_config_override.toml

A full review takes roughly 90-150 seconds (5 sequential model calls). Check on it with:

flwr list supergrid
flwr log <run-id> supergrid --show

Configuration

Set in pyproject.toml under [tool.flwr.app.config.agent], or override per run with --run-config:

KeyPurpose
paper_textThe submission text (populated by extract_submission.py)
related_papers_jsonReal arXiv abstracts for novelty grounding (populated by extract_submission.py)

Security

Every agent treats the submission (and any related-work text) as untrusted data, explicitly instructed never to follow embedded instructions. This was tested against a real prompt-injection attempt hidden in a test submission — the system correctly flagged and ignored it rather than complying.