Files
HSAP/docs/DATA_LAKE_GAP.md
jiacheng.lin 1bde0fe430 feat: Add support for ADAS project in labeling and export processes
- Implemented class name loading for ADAS campaigns in `_class_names_for_campaign`.
- Enhanced annotation parsing to support cuboid and 2D rectangle labels in `_parse_ls_annotations`.
- Updated catalog building to include ADAS packs and batches in `build_catalog_signature`.
- Added ADAS cuboid promotion logic in `adas_cuboid.py`, supporting both quaternion_json and YOLO HBB formats.
- Introduced validation for ADAS batches to check for YOLO HBB labels in `adas_cuboid.py`.
- Modified delivery scanning to include ADAS project deliveries in `scan.py`.
- Extended job execution to handle ADAS exports for YOLO format in `runner.py`.
- Updated labeling export logic to accommodate ADAS project in `export_cuboid_batch.py`.
- Enhanced format conversion to support rectangle labels in `format_converter.py`.
- Improved CVAT task handling in `service.py` to ensure task ID updates on each labeling job.
- Updated web API endpoints to reflect ADAS project changes in `hsap-api.ts`.
- Added ADAS catalog types and UI components for displaying ADAS packs and batches in `dmsCatalog.ts`, `CatalogPage.tsx`, and `ExportPage.tsx`.
- Adjusted workflow registry to align with new ADAS project structure.
2026-07-16 16:03:04 +08:00

2.2 KiB
Raw Blame History

数据入湖清单 vs HSAP 实现差距

对照 DATA_LAKE_CHECKLIST.md 阶段 AE 与当前 as_platform 能力。

阶段 清单要求 HSAP 现状 差距
A 上传接入 zip/目录上传、进度、candidate_id POST /api/v1/data/upload/fileDatasetCandidate 表;analyzed 后可 POST .../promote-inbox 无统一 lake/staging/ 路径约定;进度条依赖前端 upload
A staging 区隔离 候选写入 DB + 磁盘路径 未强制 lake/staging/<project>/<candidate_id>/ 目录规范
B 自动分析 上传后异步 quality worker inspect-upload、部分 catalog 刷新 无独立 QualityWorker JobDMS/Lane 报告未统一落 quality.json
B DMS/Lane 指标 Catalog、catalogDms、validate 脚本 Catalog 已展示采样指标(条/饼/竖柱/雷达/划分柱/散点/密度);上传触发全自动
C 审核流 自动提交审核单 approvalssubmit API 已有;与送标 register 联动
C 通过/驳回规范 approve/reject 已有
D 版本入湖 审核后晋级 curated ingest_incrementalregister_batch stage 主路径在 ml.py/as.py,非 candidate→lake 闸门
D catalog 索引更新 GET /catalog refresh 已有
E 运维安全 失败可读、重试 Job 队列、approval 备注 部分;上传重试靠前端

已有可复用组件

  • 数据候选:platform/as_platform/db/models.pyDatasetCandidate
  • 上传 APIserver.pyupload/fileinspect-upload
  • 审核:audit/queue.py/api/v1/system/audit/*
  • 入湖 CLIas.py build / add + ingest_incremental.py

建议下一里程碑(未在本汇总 plan 全量实现)

  1. 统一 staging 根目录与环境变量 AS_LAKE_STAGING_ROOT
  2. 上传完成 → 入队 quality_analyze Job → 写 quality.json
  3. 审核通过后调用现有 ingest_incremental 并更新 batch.meta stage

验收脚本

bash HSAP/scripts/smoke_manifest_alignment.sh
bash HSAP/scripts/smoke_platform_api.sh
curl -sS -H "Authorization: Bearer $TOKEN" http://127.0.0.1:8787/api/v1/pending/gates