Browse / Agent tools

davidaustinm/prefigure

A package for authoring mathematical diagrams

    Works.Tested on 2026-11-24. From the README alone, on Linux with Luna.

    For maintainers

    Keep your README agent-ready

    Paste this prompt into your coding agent to tighten onboarding time and keep the README reproducible.

    Improve the README and setup experience of davidaustinm/prefigure so a small coding agent can install and verify it from scratch on a fresh Linux machine (Python 3, Node 22, standard tools).
    Latest Coldpass Linux status: Works in 12:07 (tested 2026-11-24).
    README deviations recorded during setup: README suggests pip install prefig[pycairo], but repository metadata warns that the installed prefig package does not provide an extra named pycairo.; The documented PDF conversion was attempted; prefig pdf could not locate the SVG at the expected path even after building. The converter's lookup path handling did not find an existing SVG..
    Please review the README and setup scripts to keep agent onboarding fast and reliable:
    1. Fix any documented command that required extra steps or workarounds.
    2. Pin dependency versions in a lockfile and document a fast verification command.
    3. Keep prerequisites, platform notes, and expected output concise and exact.
    Also review the recorded check notes (known vulnerabilities, download-and-run lines) and address any unintended dependency advisories or committed sample tokens.

    Shareable status badge

    Add a live Coldpass Linux verification badge to your README.

    Coldpass status for davidaustinm/prefigure
    [![Coldpass status](https://coldpass.dev/badge/davidaustinm--prefigure.svg)](https://coldpass.dev/repo/davidaustinm--prefigure/)

    What we checked

    Is it safe?Review first. Found: known vulnerabilities, download-and-run lines.Each check
    • Malware: none found in its 879 pinned dependency versions or the 47 Python and npm packages installed during our run (OSV malware advisories).
    • Secrets in its files: none found by gitleaks.
    • Known vulnerabilities in its dependencies: 36 OSV advisories: dompurify 3.4.15 (GHSA-6688-9rhm-gjv2); dompurify 3.4.15 (GHSA-c6gr-qvv4-5v3f); dompurify 3.4.15 (GHSA-cg2g-xh64-v4q7); dompurify 3.4.15 (GHSA-mrv2-3pqr-j5jr); dompurify 3.4.15 (GHSA-p98j-92pf-mc4p); heapless 0.8.0 (RUSTSEC-2026-0574); heapless 0.8.0 (RUSTSEC-2026-0575); heapless 0.8.0 (RUSTSEC-2026-0576); heapless 0.8.0 (RUSTSEC-2026-0577); heapless 0.8.0 (RUSTSEC-2026-0578); heapless 0.8.0 (RUSTSEC-2026-0579); heapless 0.8.0 (RUSTSEC-2026-0580); heapless 0.8.0 (RUSTSEC-2026-0581); heapless 0.8.0 (RUSTSEC-2026-0582); i_tree 0.8.3 (RUSTSEC-2025-0165); lxml 5.2.2 (GHSA-vfmq-68hx-4jfw); lxml 5.2.2 (PYSEC-2026-87); lxml 6.0.2 (GHSA-vfmq-68hx-4jfw); lxml 6.0.2 (PYSEC-2026-87); pip 24.0 (GHSA-4xh5-x5gv-qwph); pip 24.0 (GHSA-58qw-9mgm-455v); pip 24.0 (GHSA-6vgw-5pg2-w6jp); pip 24.0 (GHSA-jp4c-xjxw-mgf9); pip 24.0 (GHSA-qwm4-qh6w-59xr); pip 24.0 (GHSA-wf93-45jw-7689); pip 24.0 (PYSEC-2026-1795); pip 24.0 (PYSEC-2026-1796); pip 24.0 (PYSEC-2026-196); pip 24.0 (PYSEC-2026-2875); pip 24.0 (PYSEC-2026-2876); pip 24.0 (PYSEC-2026-3721); pytest 8.3.4 (GHSA-6w46-j5rx-g56g); pytest 8.3.4 (PYSEC-2026-1845); quick-xml 0.37.5 (RUSTSEC-2026-0194); quick-xml 0.37.5 (RUSTSEC-2026-0195); ttf-parser 0.25.1 (RUSTSEC-2026-0192).
    • Lines that download and run a program: 1 line in its source, including test, fixture and vendored files (a text match; we did not see them run).
    • Planted fake secret files: repo code opened none.
    • Planted fake credential: not seen in unencrypted outgoing traffic. Encrypted traffic can't be read.
    • Hosts the repo's own code contacted: none.

    From our newest run of each setup (Nov 24, 2026). A quiet run is not a safety guarantee.

    Can a small agent set it up?Yes (Luna, 12:07)The run

    2:18 Install finished

    8:12 First use worked

    Test history

    • Nov 24, 2026 · 80826a547ecd · linux / Luna · passed · run JSON
    Does it do what the README says?2 of 2 claims held up. A claim is one README promise we ran and checked.Evidence

    “PreFigure is a Python package for authoring mathematical diagrams.”

    “PreFigure creates SVG images from source files.”

    Does the repo’s own CI pass?Success.GitHub checks

    GitHub’s check status for the default branch at the commit we tested. We did not run their CI.

    Needs keys, a login or a browser?No.Details

    None seen

    What does it depend on?Python 3.12.3 (README minimum 3.8.5), Node.js/npm, liblouis (system package installed), librsvg2-bin, Cairo development dependenciesDependencies

    Software the test agent reported the README needed.

    Local or hosted?Local: runs on your machineHow we tell

    From the README and the endpoint we tested.

    Is the README accurate?2 steps differed from it.Deviations
    • README suggests pip install prefig[pycairo], but repository metadata warns that the installed prefig package does not provide an extra named pycairo.
    • The documented PDF conversion was attempted; prefig pdf could not locate the SVG at the expected path even after building. The converter's lookup path handling did not find an existing SVG.
    What did it do when we ran it?During our run, it tried to read credential-like files. Its source has lines that download and run a program.What we saw

    Linux / Haiku

    • Its source has 1 line that download and run a program (a text match; we did not see them run).
    • While installing, git-remote-https looked up github.com.
    • While installing, node looked up registry.npmjs.org.
    • While installing, pip, python3 looked up files.pythonhosted.org, pypi.org.
    • We found no known-malicious packages among the 47 Python and npm packages we observed (checked against OSV malicious-package advisories).

    Linux / Luna

    • A repo process tried to read a credential-like file (saved web login); the file was not there or access was denied. We never record file contents.
    • Its source has 1 line that download and run a program (a text match; we did not see them run).
    • While installing, git-remote-https looked up github.com.
    • While installing, http looked up archive.ubuntu.com, security.ubuntu.com, a name on our local network.
    • While installing, node looked up registry.npmjs.org.
    • While installing, python looked up files.pythonhosted.org, pypi.org.
    • We found no known-malicious packages among the 51 Python and npm packages we observed (checked against OSV malicious-package advisories).

    Ships 21 other compiled files (21 Python wheel): packages/playground/pyodide_packages/click-8.1.7-py3-none-any.whl, packages/playground/pyodide_packages/cycler-0.12.1-py3-none-any.whl, packages/playground/pyodide_packages/decorator-5.1.1-py3-none-any.whl, packages/playground/pyodide_packages/fonttools-4.51.0-py3-none-any.whl, packages/playground/pyodide_packages/kiwisolver-1.4.5-cp312-cp312-pyodide_2024_0_wasm32.whl, +16 more.

    What we checked: OSV vulnerability and malware advisories for pinned dependencies, OSV malicious-package advisories for observed Python and npm packages, secret-pattern scanning (gitleaks), compiled files shipped in the repo, and the connection attempts, host name lookups, file writes and credential-file reads we traced from repo processes while we installed and ran it. Expected package-manager and cache activity is left out. Where a setup's record is missing, capped or cut short, it says so above, and these checks may not have run for it.

    What we didn't check: host names looked up by programs with their own resolver, such as Go programs; whether a connection got through; other UDP traffic; environment variables it read; minified JavaScript; programs packed inside archives or Git LFS; packages beyond the Python and npm inventory; or what the code is meant to do.

    A quiet run is not a safety guarantee.

    Is it maintained?MaintainedActivity

    actively maintained: last commit 0 days ago; 73 commits and 18 merged PRs in 90 days; 5 open issues, 0 open PRs; 25 of 30 recent threads got a maintainer reply, median first reply 20.0h; no releases

    AboutStars: 10 · Forks: 13 · Contributors: 6 · Owner account since Feb 20, 2014Source

    Recorded GitHub repository and owner account metadata.

    LicenseSPDX: GPL-3.0 · commercial use: copyleft termsSource

    From GitHub’s license detection. The repository’s license text gives the terms.

    Cost to runFree in this testDetails

    Peak guest RAM: 689 MiB

    Guest disk change: 1,575 MiB

    GPU need: not captured

    Paid service: not captured