iomgaa
266a1ab4bc
fix: use conda run --no-capture-output for unbuffered real-time logs
2026-07-15 14:02:13 -04:00
iomgaa
94728c5220
chore: set video-split diagnosis concurrency to 12 (overridable)
2026-07-15 13:57:59 -04:00
iomgaa
2844732126
refactor: self-contained two-phase video-split CLI entry
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-07-15 13:12:21 -04:00
iomgaa
6a21d80313
feat: add video-split config knobs and reproducible script
2026-07-15 12:54:25 -04:00
iomgaa
49b7be78ae
fix: derive OUTPUT from config output_dir so CONFIG override counts correctly
2026-07-14 21:12:48 -04:00
iomgaa
d84f9bf777
chore: harden generate_ar30.sh (drop no-op mock, add zero-gain early stop)
2026-07-14 21:08:00 -04:00
iomgaa
dec7346da3
feat(harness): add Action Recognition training experiment
...
- PerCategoryPoolStrategy: filter test pool by task_types
- RunConfig: add run_holdout_eval toggle (default true)
- load_config: fix YAML task_types list-to-tuple conversion
- Runner: conditionally skip _holdout_four_way when disabled
- CLI: add --no-run-holdout-eval flag
- New config/train_action_recognition.yaml (3 epochs, per_category)
- New scripts/train_action_recognition.sh (baseline + seed + train)
2026-07-14 00:58:54 -04:00
iomgaa
eecb86e27a
feat(question_gen): add generate-v2 CLI subcommand and experiment script
...
- Add generate-v2 subparser with --config, --store-dir, --db-path,
--seed, and --dry-run arguments to tools/generate_questions.py
- Implement _run_generate_v2 async handler: config loading, video
discovery, DI client construction, TreeIndex loading, pipeline
invocation, and result persistence
- Add scripts/generate_questions_v2.sh following build_trees.sh
conventions (source .env, conda run python path, MODE=mock support)
- Update app/question_gen/__init__.py to export full v2 public API:
run_pipeline_v2, PipelineConfig, PipelineResult, QuestionFamilySpec,
ALL_FAMILIES, CandidateQuestion, generate_one_v2, GateReport, run_gates
- Add QuestionGenStore.load_progress() for pipeline resumption
- Add integration tests for CLI help and dry-run behavior
- Update test_question_gen_api to match expanded __all__
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-07-12 00:04:42 -04:00
iomgaa
0290005129
fix(scripts): align build_trees.sh with project shell conventions
...
Codex 审查发现两处偏离既有脚本惯例:
1. conda activate 改为 PYTHON=$(conda run ...) + ${PYTHON} 模式
2. 追加 source .env 确保 TREE_BUILD_API_CONCURRENCY 等工程配置可用
2026-07-11 12:07:14 -04:00
iomgaa
928ec8c37b
feat(scripts): add batch tree build entry with smoke-test guide
2026-07-11 12:04:34 -04:00
iomgaa
658e62054e
feat(scripts): add generated-questions infer and calibrate entry
2026-07-11 07:45:42 -04:00
iomgaa
8d11513e54
fix: 禁止日志缓存,确保所有日志立刻输出
...
- scripts/*.sh: PYTHONUNBUFFERED=1
- tools/generate_questions.py: loguru file sink enqueue=False
- main.py: loguru file sink enqueue=False
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-07-09 23:15:02 -04:00
iomgaa
09b2773375
config(scripts): generate_questions 默认并发 8→16
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-07-09 23:07:57 -04:00
iomgaa
75016c4892
feat(scripts): generate_questions.sh 题目生成实验入口
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-07-09 22:53:28 -04:00
iomgaa
38a855b33e
fix(scripts): 加 HF_HUB_OFFLINE 跳过在线检查
...
embedding 模型已有本地缓存,网络不通时避免连接 huggingface.co 失败。
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-07-09 13:56:25 -04:00
iomgaa
953fb7a456
feat(scripts): infer_video_mme.sh 推理实验入口
...
零参数全量 900 题、N_SAMPLES smoke test、TASK_TYPES 筛选、版本覆盖。
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-07-09 13:40:31 -04:00
iomgaa
45403b23b4
feat(repair): regenerator + supplement 防御修复 + 迁移脚本
...
- 新增 app/tree/repair/regenerator.py(VLM 重生成 + 级联修复)
- supplement.py: deduplicate_field str() 防御 + inject_value strip
- patch.py: ruff format 格式化
- repair_trees.sh: conda source 激活修复
- 新增 migrate_from_trm4.sh 迁移工具
- enhance/__init__.py → repair/__init__.py 重命名
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-07-09 07:53:59 -04:00
iomgaa
8c383354c5
fix(detector): 移除 ongoing_actions/visible_entities 空字段检测 + 新增 repair sh
...
抽检确认这两个字段为空是合法内容状态(静物/黑帧/模糊帧),
VLM 重修也修不好,保留会导致断点续跑死循环。
L3 空字段检测缩减为 frame_summary + spatial_layout。
2026-07-09 00:54:27 -04:00