Spaces:
Runtime error
Runtime error
Sync from GitHub (main)
Browse files
AGENTS.md
CHANGED
|
@@ -19,11 +19,6 @@ This repository contains the LLM-based Cancer Risk Assessment Assistant.
|
|
| 19 |
- **CLI Demo**: `uv run python apps/cli/main.py`
|
| 20 |
- **Tests**: `uv run pytest`
|
| 21 |
|
| 22 |
-
The multi-page Streamlit interface for expert feedback can be launched with `uv run streamlit run apps/streamlit_ui/main.py`.
|
| 23 |
-
The first page, **User Profile**, allows experts to load or create a profile stored in `st.session_state.user_profile`.
|
| 24 |
-
The second page, **Configuration**, lets experts choose the model and knowledge base modules while previewing the generated prompt.
|
| 25 |
-
The third page, **Assessment**, runs the AI analysis, displays a results dashboard, and provides export and chat options.
|
| 26 |
-
|
| 27 |
## Coding Standards
|
| 28 |
|
| 29 |
### Coding Philosophy
|
|
|
|
| 19 |
- **CLI Demo**: `uv run python apps/cli/main.py`
|
| 20 |
- **Tests**: `uv run pytest`
|
| 21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
## Coding Standards
|
| 23 |
|
| 24 |
### Coding Philosophy
|
GEMINI.md
CHANGED
|
@@ -23,14 +23,11 @@ This repository contains the LLM-based Cancer Risk Assessment Assistant.
|
|
| 23 |
|
| 24 |
## Running commands
|
| 25 |
- As the repository uses uv, the uv should be used to run all commands, e.g., "uv run python ..." NOT "python ...".
|
|
|
|
|
|
|
|
|
|
| 26 |
|
| 27 |
-
These guidelines apply to the entire repository.
|
| 28 |
-
interface for expert feedback can be launched with `uv run streamlit run
|
| 29 |
-
apps/streamlit_ui/main.py`.
|
| 30 |
-
The first page, **User Profile**, allows experts to load or create a profile
|
| 31 |
-
stored in `st.session_state.user_profile`.
|
| 32 |
-
The second page, **Configuration**, lets experts choose the model and knowledge base modules while previewing the generated prompt.
|
| 33 |
-
The third page, **Assessment**, runs the AI analysis, displays a results dashboard, and provides export and chat options.
|
| 34 |
|
| 35 |
## Important Note for Developers
|
| 36 |
|
|
|
|
| 23 |
|
| 24 |
## Running commands
|
| 25 |
- As the repository uses uv, the uv should be used to run all commands, e.g., "uv run python ..." NOT "python ...".
|
| 26 |
+
- **FastAPI Server**: `uv run uvicorn apps.api.main:app --reload`
|
| 27 |
+
- **CLI Demo**: `uv run python apps/cli/main.py`
|
| 28 |
+
- **Tests**: `uv run pytest`
|
| 29 |
|
| 30 |
+
These guidelines apply to the entire repository.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
|
| 32 |
## Important Note for Developers
|
| 33 |
|
pyproject.toml
CHANGED
|
@@ -26,8 +26,7 @@ dependencies = [
|
|
| 26 |
"openpyxl>=3.1.0",
|
| 27 |
"python-dotenv",
|
| 28 |
"pyyaml",
|
| 29 |
-
"reportlab>=4.0.0"
|
| 30 |
-
"streamlit>=1.46.0"
|
| 31 |
]
|
| 32 |
description = "LLM-based Cancer Risk Assessment Assistant"
|
| 33 |
name = "sentinel"
|
|
@@ -70,7 +69,6 @@ ignore = [
|
|
| 70 |
"B904", # raise from err (requires manual review)
|
| 71 |
"C408", # unnecessary dict call (plotly API requires dict())
|
| 72 |
"C901", # too complex
|
| 73 |
-
"E402", # module level import not at top of file (streamlit apps need this)
|
| 74 |
"E501", # line too long, handled by formatter
|
| 75 |
"F841", # unused variable (sometimes needed for future use)
|
| 76 |
"RUF002", # ambiguous hyphen (requires manual review)
|
|
|
|
| 26 |
"openpyxl>=3.1.0",
|
| 27 |
"python-dotenv",
|
| 28 |
"pyyaml",
|
| 29 |
+
"reportlab>=4.0.0"
|
|
|
|
| 30 |
]
|
| 31 |
description = "LLM-based Cancer Risk Assessment Assistant"
|
| 32 |
name = "sentinel"
|
|
|
|
| 69 |
"B904", # raise from err (requires manual review)
|
| 70 |
"C408", # unnecessary dict call (plotly API requires dict())
|
| 71 |
"C901", # too complex
|
|
|
|
| 72 |
"E501", # line too long, handled by formatter
|
| 73 |
"F841", # unused variable (sometimes needed for future use)
|
| 74 |
"RUF002", # ambiguous hyphen (requires manual review)
|
uv.lock
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|