Skip to content

refactor: deduplicate recording artifacts and use JPEG thumbnails#65

Merged
abrichr merged 1 commit into
mainfrom
fix/deduplicate-recording-artifacts
Mar 2, 2026
Merged

refactor: deduplicate recording artifacts and use JPEG thumbnails#65
abrichr merged 1 commit into
mainfrom
fix/deduplicate-recording-artifacts

Conversation

@abrichr
Copy link
Copy Markdown
Member

@abrichr abrichr commented Mar 2, 2026

Summary

  • Remove docs/artifacts/full/ — was a copy of waa_recordings/ PNGs (2.7 MB of duplicates)
  • Thumbnails now link to originals in waa_recordings/ for full-res click-through
  • Switch thumbnails from PNG to JPEG — 1.5 MB vs 3.0 MB (PNG thumbnails were actually larger than the originals due to LANCZOS resampling)
  • Un-gitignore waa_recordings/ — research data should be tracked; ~/oa/recordings/ backup protects against git stash -u
  • Untrack benchmark_results/ — mock test output that was committed before .gitignore was added (52 files)

Savings

Before After Saved
42 full-res PNG copies (2.7 MB) 0 (link to originals) -2.7 MB
42 PNG thumbnails (3.0 MB) 42 JPEG thumbnails (1.5 MB) -1.5 MB
52 mock benchmark files 0 (already gitignored) ~small
Total ~4.2 MB removed

Test plan

  • Verify docs/demo_review.md renders on GitHub with clickable thumbnails linking to full-res originals
  • Run python scripts/generate_demo_review.py and confirm no docs/artifacts/full/ directory is created

🤖 Generated with Claude Code

- Remove docs/artifacts/full/ (was a copy of waa_recordings/ PNGs)
- Thumbnails now link to originals in waa_recordings/ for full-res
- Switch thumbnails from PNG to JPEG (1.5 MB vs 3.0 MB for same images)
- Un-gitignore waa_recordings/ (research data, should be tracked)
- Gitignore docs/artifacts/full/ instead (regenerable)
- Untrack benchmark_results/ (mock test output, already gitignored)
- Move os import to module level in generate_demo_review.py

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@abrichr abrichr merged commit f60df10 into main Mar 2, 2026
1 check passed
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