Skip to content

feat: interaction smoke test script for CI#25

Merged
SPerekrestova merged 1 commit intomainfrom
feat/smoke-test
Mar 25, 2026
Merged

feat: interaction smoke test script for CI#25
SPerekrestova merged 1 commit intomainfrom
feat/smoke-test

Conversation

@SPerekrestova
Copy link
Copy Markdown
Owner

Summary

  • Add scripts/smoke_test_interactions.py for live/local interaction validation
  • Tests 5 known drug pairs: 4 must-detect (warfarin+ibuprofen, phenelzine+fluoxetine, ritonavir+simvastatin, methotrexate+trimethoprim) and 1 must-be-safe (acetaminophen+amoxicillin)
  • Accepts BASE_URL arg and API_KEY env var
  • Exits non-zero if any dangerous pair returns safe=true
  • Ready for CI integration after uncapped DrugBank DB deploys (~April 1)

Test plan

  • Syntax validated
  • Run against live server after DB update to verify all pairs detected
  • Add to CI pipeline after Docker build step

🤖 Generated with Claude Code

Tests 5 known drug pairs against the live or local service:
4 must-detect (warfarin+ibuprofen, phenelzine+fluoxetine,
ritonavir+simvastatin, methotrexate+trimethoprim) and
1 must-be-safe (acetaminophen+amoxicillin).

Exits non-zero if any dangerous pair returns safe=true.
Will be added to CI after the uncapped DrugBank DB is deployed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@SPerekrestova SPerekrestova merged commit 19a346b into main Mar 25, 2026
3 checks passed
@SPerekrestova SPerekrestova deleted the feat/smoke-test branch March 25, 2026 10:46
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