Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Reviews mathematical validity, empirical evidence, reproducibility, figures and drafts of modeling submissions against checklist questions.
50% 50%0 ptsof checks passed
Scored 50% with the skill and 50% without it.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
#!/usr/bin/env python3
"""make_contact_sheet.py -- build a labeled contact sheet FROM the compiled PDF.
The contact sheet MUST be built from the rendered PDF (via pdftoppm), never
from the source image files: a source-only sheet cannot catch typeset-stage
clipping, scaling, or caption defects. This script rasterises every page of a
compiled PDF and tiles the page images into a single labeled grid PNG for the
chart-quality review.
Prerequisites: poppler-utils (pdftoppm) on PATH, and matplotlib for tiling.
Usage:
make_contact_sheet.py <file.pdf> -o sheet.png [--dpi 60]
make_contact_sheet.py --self-test
"""
from __future__ import annotations
import argparse
import glob
import math
import os
import shutil
import subprocess
import sys
import tempfile
def _require_pdftoppm():
if shutil.which("pdftoppm") is None:
sys.exit(
"make_contact_sheet: 'pdftoppm' not found. Install poppler-utils "
"(macOS: 'brew install poppler'; Debian: 'apt-get install poppler-utils')."
)
def _import_matplotlib():
try:
import matplotlib
except ImportError:Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.