Skip to content

The proof is in the pudding: test suites#37

Merged
tottenjordan merged 3 commits intomainfrom
proof-pudding
Mar 26, 2026
Merged

The proof is in the pudding: test suites#37
tottenjordan merged 3 commits intomainfrom
proof-pudding

Conversation

@tottenjordan
Copy link
Copy Markdown
Owner

Summary

  • Frontend tests (vitest): 36 tests covering parseTrendsMarkdown, extractItems, GCS URI building, form validation logic, and WIDGET_LAYOUTS config consistency
  • Agent pipeline tests (pytest): 23 tests covering Pydantic schema validation (AdCopy, FinalAdCopy, VisualConceptFinal, ResearchFeedback), pipeline structure (sub-agent ordering, output_keys, output_schemas, tool assignments), and the finalizer ad_copy_critique context fix

Test plan

  • cd frontend && npm test — 36/36 passing
  • uv run pytest tests/ -v — 23/23 passing

🤖 Generated with Claude Code

tottenjordan and others added 3 commits March 26, 2026 19:57
Frontend (vitest): parseTrendsMarkdown, extractItems, GCS URI building,
form validation, widget layout configs (36 tests).
Agent pipeline (pytest): Pydantic schema validation, pipeline structure,
output keys, sub-agent ordering, finalizer context (23 tests).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Area 3: memorize tool, artifact name sanitization, save_search_trends (11 tests)
Area 4: citation regex, state initialization, rate limit logic (15 tests)
Area 5: SSE line parsing, API URL construction (11 tests)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Runs vitest on push to main and PRs that touch frontend/.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@tottenjordan tottenjordan merged commit d3c3966 into main Mar 26, 2026
1 check passed
@tottenjordan tottenjordan deleted the proof-pudding branch March 26, 2026 21:11
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