Add audit reports, fix local run shim/entrypoint, mount root API routes, and include report limitation note#12
Open
Spbd1 wants to merge 1 commit into
Conversation
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.
Motivation
uvicorncommand so HTTP smoke tests and the Chrome-friendly dashboard can be exercised.Description
uvicornshim and console entry-point support souvicorn backend.app.main:appis available after editable install (uvicorn/__init__.py,build_backend.py)./apiso endpoints like/taxonomy,/taxonomy-workbench/coverage, and/settings/model-providersare reachable (changes inbackend/app/main.py).LIMITATIONS_NOTEacross JSON, Markdown, and HTML report exporters so generated reports contain the same limitations text (engine/argument_risk_engine/reports/json_export.py,.../markdown.py,.../html.py).AUDIT_REPORT.md,PRIORITIZED_FIXES.md,TAXONOMY_IMPORT_EXPORT_REPORT.md,DASHBOARD_USABILITY_REPORT.md,MODEL_PROVIDER_SECURITY_REPORT.md,FALSE_POSITIVE_RISKS.md,FINAL_RELEASE_CHECKLIST.md).Testing
pip install -e .[dev]— PASS (editable install completed).python -m compileall backend engine tests uvicorn build_backend.py— PASS (modules compiled).pytest— PASS (42 passed, 4 collection warnings from the local FastAPI test-client shim).cd frontend && npm installandcd frontend && npm run build— PASS (build produceddist/).python -m ruff check ... --fixrun and reported fixed import ordering for the shim — PASS.uvicorn backend.app.main:app --reload --port 8002and exercisedGET /health,POST /analyze,GET /taxonomy,GET /taxonomy-workbench/coverage,GET /taxonomy-workbench/quality-report,GET /settings/model-providers, provider test,POST /evaluation/run, andPOST /reports/from-analysis; endpoints responded as expected (quality report endpoint returnedok: falseand the evaluation run surfacing a high false-positive rate was observed and recorded in the audit).python scripts/export_taxonomy_excel.py /tmp/are-taxonomy-audit.xlsxand importing into a temporary root viaimport_workbook(...)— PASS mechanically; import validation reported errors/warnings which are documented as unresolved high-priority items.Codex Task