Skip to content

Add reproducible Privacy Guard latency analysis - #25

Merged
johnnygreco merged 1 commit into
mainfrom
johnny/privacy-guard-latency-analysis
Jul 28, 2026
Merged

Add reproducible Privacy Guard latency analysis#25
johnnygreco merged 1 commit into
mainfrom
johnny/privacy-guard-latency-analysis

Conversation

@johnnygreco

Copy link
Copy Markdown
Collaborator

Summary

  • add a sanitized dataset of 96 Privacy Guard latency observations with prompt-token and aggregate entity counts
  • add a dependency-free, deterministic SVG renderer with a single fitted curve, entity-count color scale, and light/dark theme support
  • commit the generated latency-versus-prompt-size figure

Why

This preserves the proof-of-concept analysis as a reproducible artifact that a
dedicated documentation and Dev Note PR can consume later without copying data
or plotting logic.

Impact

This PR changes no Privacy Guard runtime behavior and does not add the figure to
a documentation page. It contains only the analysis bundle and generated SVG.

Validation

  • uv run ruff check analysis/render_latency_plot.py
  • uv run ruff format --check analysis/render_latency_plot.py
  • uv run ty check analysis/render_latency_plot.py
  • uv run python analysis/render_latency_plot.py --check
  • verified the sanitized CSV contains no email or customer-ID strings
  • visually verified the embedded SVG in light and dark color schemes

@github-actions

github-actions Bot commented Jul 28, 2026

Copy link
Copy Markdown

Documentation preview

The preview has been removed.

@johnnygreco
johnnygreco force-pushed the johnny/privacy-guard-latency-analysis branch from d4bb771 to 1408243 Compare July 28, 2026 19:07
@johnnygreco
johnnygreco marked this pull request as ready for review July 28, 2026 19:16
@johnnygreco
johnnygreco merged commit 388d6d6 into main Jul 28, 2026
9 checks passed
@johnnygreco
johnnygreco deleted the johnny/privacy-guard-latency-analysis branch July 29, 2026 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant