Build Taxonomy Workbench#3
Open
Spbd1 wants to merge 1 commit into
Open
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
Description
GET /taxonomy,GET /taxonomy/{risk_id},GET /taxonomy/search,GET /taxonomy/categories, andGET /taxonomy/summary(backend files:backend/app/api/routes_taxonomy.py,backend/app/schemas/taxonomy.py,backend/app/services/taxonomy_service.py).GET /taxonomy-workbench/packs,GET /taxonomy-workbench/coverage,GET /taxonomy-workbench/quality-report,POST /taxonomy-workbench/validate,POST /taxonomy-workbench/import-excel,GET /taxonomy-workbench/export-excel, andPATCH /taxonomy-workbench/entries/{risk_id}/activation(backend files:backend/app/api/routes_taxonomy_workbench.py,backend/app/schemas/taxonomy_workbench.py,backend/app/services/taxonomy_workbench_service.py).engine/argument_risk_engine/taxonomy/indexer.py,engine/argument_risk_engine/taxonomy/quality_audit.py)..xlsxgenerated from current pack (import/export implemented in workbench service and engine exporter/importer).TaxonomyPage,TaxonomyTable,TaxonomyFilters,TaxonomyDetailDrawer, and workbench panels for import/export, quality, coverage, and activation (files underfrontend/src/components/taxonomy*andfrontend/src/components/taxonomy_workbench/*), plus client API methods (frontend/src/api/client.ts,frontend/src/api/types.ts) and styling (frontend/src/styles/global.css).python-multipartadded topyproject.tomlto support real FastAPI uploads.Testing
pytest -q, all tests passed (17 passed, 3 warnings).npm run build --prefix frontend, which produced the dist build successfully.python -m ruff check ...over the modified backend/engine/test files and fixed import/style issues;ruffchecks passed.Codex Task