Skip to content

Add modular analysis backend config and distribution schema#112

Open
sanghoonio wants to merge 2 commits intomasterfrom
modular-backend-schema
Open

Add modular analysis backend config and distribution schema#112
sanghoonio wants to merge 2 commits intomasterfrom
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>
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