Skip to content

Use the TripSit drug database for the combo checker - #302

Merged
LunaUrsa merged 1 commit into
uatfrom
codex/292-combo-drug-database
Nov 8, 2026
Merged

LunaUrsa merged 1 commit into
uatfrom
codex/292-combo-drug-database

Conversation

@LunaUrsa

@LunaUrsa LunaUrsa commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Use the installed TripSit drug database as the combo checker’s source and remove the stale local matrix. Map the DXM label to the database’s dextromethorphan key.

Closes #292

Type of change

  • Bug fix

Checklist

  • Branch is based on uat and targets uat
  • Lint passes (npx eslint .)
  • npx next build succeeds locally
  • No secrets, .env values, or user data included

Test plan

  • Added regression tests for DXM + MXE in both orders. They assert the Unsafe rating and the serotonin syndrome note.
  • Direct assertions against the updated module passed for both orders and confirmed every selectable pair resolves.
  • Jest could not start locally because Node could not read a dependency through the Windows UNC checkout.

@LunaUrsa
LunaUrsa merged commit c0342a1 into uat Nov 8, 2026
7 checks 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.

Combo checker shows outdated ratings: DXM + MXE shows as low risk, the drug database says Unsafe

1 participant