Skip to content

feat(demo): mixture per-ingredient reads + taste-palette match - #71

Merged
rvnminers-A-and-N merged 1 commit into
mainfrom
feat/demo-mixture-reads-palette
Jun 30, 2026
Merged

rvnminers-A-and-N merged 1 commit into
mainfrom
feat/demo-mixture-reads-palette

Conversation

@rvnminers-A-and-N

Copy link
Copy Markdown
Collaborator

The last two mixture asks.

Per-ingredient reads

Mixture mode now shows each ingredient read individually β€” structure + name + tastes + GRAS + any structural-alert/tox flags β€” above the hazard screen.

Single-molecule palette match

predict.palette_match() unions the ingredients' tastes and finds single labeled molecules whose known taste-label set best matches (Jaccard), each clickable to analyze. Honestly framed: a blend's real palette β‰  the union of its parts (suppression/synergy needs the customer's formulation data) β€” this is a structural-label approximation.

Verified: glucose + caffeine β†’ ingredients [Hexose sweet/bitter, Caffeine bitter]; palette {sweet, bitter} β†’ isoleucine / a flavanone / … at 100% match. 22 tests pass.

…tte match

Mixture mode now shows, in addition to the documented-hazard screen:
- each INGREDIENT read individually (structure + name + tastes + GRAS + any
  structural-alert/tox flags);
- SINGLE MOLECULES with a similar taste palette to the blend β€” predict.palette_match()
  unions the ingredients' tastes and finds labeled molecules whose known taste-label
  set best matches (Jaccard), each clickable to analyze. Framed honestly: a blend's
  real palette isn't the union of its parts (suppression/synergy needs their data) β€”
  this is a structural-label approximation.

Verified: glucose + caffeine -> ingredients [Hexose sweet/bitter, Caffeine bitter];
palette {sweet,bitter} -> isoleucine / a flavanone / ... at 100% label match.

Signed-off-by: Austin L. <86896075+rvnminers-A-and-N@users.noreply.github.com>
@rvnminers-A-and-N
rvnminers-A-and-N merged commit 9d79448 into main Jun 30, 2026
3 checks passed
@rvnminers-A-and-N
rvnminers-A-and-N deleted the feat/demo-mixture-reads-palette branch June 30, 2026 18:45
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