Repository navigation
Conversation
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Several schema definitions accept malformed SystemOne questions instead of rejecting them before inference.
Review effort: Balanced
Findings: 1
Open (1)
What changed in this PR
Adds a production-oriented FastAPI runtime for serving CLEF-Flash through its native SystemOne decision interface.
Changes:
- Adds validated SystemOne endpoints, health probes, bounded requests, and serialized inference.
- Loads the released joint-schema model through an injectable adapter.
- Adds locked packaging, a non-root container, documentation, and no-CUDA tests.
| File | Description |
|---|---|
.dockerignore |
Excludes development artifacts. |
Dockerfile |
Builds and runs the non-root server image. |
README.md |
Documents setup, execution, and probes. |
pyproject.toml |
Defines dependencies and tooling. |
uv.lock |
Locks runtime and model dependencies. |
src/clef_server/__init__.py |
Declares the package. |
src/clef_server/adapter.py |
Loads and invokes the released model module. |
src/clef_server/app.py |
Implements HTTP serving and lifecycle management. |
src/clef_server/schemas.py |
Defines request validation schemas. |
tests/test_adapter.py |
Tests adapter loading failures and invocation. |
tests/test_app.py |
Tests endpoints, safety, readiness, and concurrency. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This was referenced Oct 1, 2026
This was referenced Oct 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Summary
Testing
uv run ruff format --check .uv run ruff check .uv run pytest(16 passed)uv lock --checkuv buildLimitations
Closes #70
Related to #69