Skip to content

Add modular analysis backend config and distribution schema - #112

Merged
khoroshevskyi merged 6 commits into
devfrom
modular-backend-schema
Aug 16, 2026
Merged

Add modular analysis backend config and distribution schema#112
khoroshevskyi merged 6 commits into
devfrom
modular-backend-schema

Conversation

@sanghoonio

Copy link
Copy Markdown
Member

Add ConfigAnalysis model with backend: "r" | "gtars" (defaults to "r") to support switching analysis engines via config. Add nullable JSONB columns (distributions on BedStats, bedset_stats on BedSets) and BedSetDistributions model for gtars output. Existing code and behavior unchanged — pure additive schema and config additions.

Changes:

  • ...

TODO:

  • Version of pepdbagent updated in __version__.py file
  • Changelog updated

Add ConfigAnalysis model with backend: "r" | "gtars" (defaults to "r")
to support switching analysis engines via config. Add nullable JSONB
columns (distributions on BedStats, bedset_stats on BedSets) and
BedSetDistributions model for gtars output. Existing code and behavior
unchanged — pure additive schema and config additions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The stddev/avg loop over BedStatsModel.model_fields was hitting
the new JSON `distributions` column, causing PostgreSQL to fail
with "function stddev(json) does not exist". Filter to float fields only.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@khoroshevskyi
khoroshevskyi changed the base branch from master to alembic August 16, 2026 03:38
@khoroshevskyi
khoroshevskyi changed the base branch from alembic to dev August 16, 2026 18:51
@khoroshevskyi
khoroshevskyi merged commit a2b1aea into dev Aug 16, 2026
4 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.

2 participants