Skip to content

conflict issues (#6)#7

Closed
Siddharthakhandelwal wants to merge 0 commit into
mainfrom
Rudraksh
Closed

conflict issues (#6)#7
Siddharthakhandelwal wants to merge 0 commit into
mainfrom
Rudraksh

Conversation

@Siddharthakhandelwal

Copy link
Copy Markdown
Collaborator
  • started the work on backend

  • Add confidence metrics module and update requirements

  • added the docs and rearranged the files

  • Add /api/stability endpoint with stability models and tighten sequence validation (Add /api/stability endpoint with stability models and tighten sequence validation #5)

  • Remove issue markdown file and provide issue text inline

  • Modularize stability computation with isolated service logic

  • Add detailed backend feature and architecture docs

  • Fix stability request length validation after cleaning


@Siddharthakhandelwal Siddharthakhandelwal self-assigned this Mar 18, 2026
@Siddharthakhandelwal Siddharthakhandelwal added the enhancement New feature or request label Mar 18, 2026
Comment thread backend/main.py Outdated
try:
from .stability import compute_stability_metrics
except ImportError:
from stability import compute_stability_metrics

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 88e78c6cb0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread backend/main.py Outdated
Comment on lines +157 to +158
class StabilityRequest(BaseModel):
sequence: str = Field(..., description="Amino-acid sequence (single letter codes)")

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Wire the new stability models into an API route

This change imports compute_stability_metrics() and adds StabilityRequest/StabilityResponse, but backend/main.py still registers no @app.post("/api/stability") handler—I checked backend.main.app.routes, and only /api/health, /api/predict, /api/uniprot/*, and /api/analyze are exposed. Any client following the new backend docs or expecting the advertised stability screen will get a 404, so the feature added here is unreachable.

Useful? React with 👍 / 👎.

Comment thread backend/main.py Outdated
Comment on lines +130 to +131
class SolubilityRequest(BaseModel):
sequence: str = Field(..., min_length=10, max_length=2000, description="Amino-acid sequence (single letter codes)")

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Expose the advertised solubility endpoints

These new solubility DTOs are never used by a route, and there is still no @app.post("/api/solubility") or @app.get("/api/solubility/search") anywhere in backend/main.py (repo search only finds those paths in the new docs). As a result, every request to the documented solubility API returns 404 and the new backend capability is unavailable.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant