Commit Graph

20 Commits

Author SHA1 Message Date
Frank14f
31e367db0e test(oid): Sch12 code mapping and 7 unit tests for POD/OID/PCD
- Add docs/sch12_code_mapping.md: formula-to-code traceability
- Add tests/test_analysis.py: 7 unit tests, all passing
- Tests: POD energy, OID cross-covariance, field reconstruction,
  PCD whitening, standardize edge cases, snapshot method, cum_corr

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 17:43:46 +08:00
Frank14f
f66671a498 docs(oid): consolidate documentation and organize data directories
- Fix illusion rank sensitivity inconsistency (0.75L std=0.26, not 1.000)
- Unify all dates to 2026-06-28 across 4 markdown files
- Remove empty derived/delta_fields/ directory
- Update README reading order and scope date

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 17:26:55 +08:00
Frank14f
225f653840 fix(oid): code cleanup — fix NameError, remove ROI cropping, consolidate
- Fix NameError (cfg_sid -> cfg["scene_id"]) in collect_controlled.py
- Remove ROI cropping in phase1_correction_pod.py (use full 1280x512)
- Add pinball_baseline_illusion to configs.py and data_dir_for_scene()
- Deprecate compute_delta_fields.py (superseded by phase1_correction_pod)
- Fix absolute path in save_robustness.py
- Clean redundant import in phase3_force_oid.py
- Suppress module-level print in phase6_comparison.py

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 17:13:32 +08:00
Frank14f
56e3c78a83 chore: project-wide cleanup — consolidate docs, remove obsolete code, update .gitignore
- Remove obsolete docs (OID_handover, SR_analysis_results, ccd_* handover)
- Remove CCD legacy output_redux and old scripts
- Remove SR old sindy scripts and compare modules
- Update .gitignore to cover all analysis-generated outputs
- Retain all active code in OID/SR/CCD analysis directories

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 16:52:48 +08:00
Frank14f
c918ac0de4 Update CelerisLab submodule to v0.5.1 (6e3756c).
Pull latest fix for EsoPull init layout and pre-streaming semantics.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-27 22:36:25 +08:00
Frank14f
85d1222139 CCD analysis: correction-field framework complete (Round 6)
- Shift analysis from raw-field q_ctl to correction-field dq_ctl = q_ctl - q_blk
- Force/action/signature CCD for illusion 0.75L, 1.0L, 1.5L
- Zone-restricted CCD (near_body/body_wake/sensor_zone) with spatial separation evidence
- 1.5L identified as special mechanism (low action coupling, phase drift)
- Karman reference data collected (q_in, q_blk)
- Snapshot POD speedup (96x96 instead of 1310720x96)
- Comprehensive report: docs/ccd_correction_field_report.md (412 lines)
- Handover document: docs/ccd_handover.md

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-22 19:30:16 +08:00
Frank14f
92845d6026 OID Analysis: project report and handover document
Add comprehensive project report (292 lines, 7 figure references)
and handover notes for the next agent.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-22 17:19:56 +08:00
Frank14f
6614f18248 OID Analysis: correction-field structure diagnosis pipeline
Complete implementation of Observable-Inferred Decomposition (OID)
for the fluidic pinball project. Covers Phases 0-7 for all 5 scenes
(steady cloak, Karman cloak, illusion 0.75L/1.0L/1.5L).

Key deliverables:
- Full analysis pipeline: configs, utils, 11 collection scripts, 7 phase
  scripts, robustness analysis, figure generator, batch runner
- Data collected: 500 snapshots per scene, separate illusion-position q_blk
- 7 publication-quality figures: force-sig overlap, rank sensitivity,
  OID vs POD comparison, tau_c sensitivity, POD energy, steady metrics,
  white-box chain
- Comprehensive report at docs/OID_analysis_results.md (292 lines)
- Handover document at docs/OID_handover.md
- Updated knowledge base and notes with all Phase 2 results

Core finding: force-relevant and signature-relevant correction structures
systematically separate across control tasks (steady: +0.763 -> Karman: -0.034
-> illusion: -0.082 to -0.932), with OID consistently outperforming POD.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-22 17:18:19 +08:00
Frank14f
8e62716ce4 SR Analysis: Phase-state SINDy + ablation study + documentation
Core changes:
- New phase-state features (PHASE_STATE_KEYS, ILLUSION_PHASE_KEYS) with obs dynamics
- Derivative and absolute output modes (output_mode="deriv"|"absolute")
- predict_v23_deriv() with integration support for closed-loop
- Offline multi-step rollout evaluator (eval_rollout.py)

Key results:
- Illusion 0.75L/1L: phase-state+error-state+abs achieves 0.974/0.958 closed-loop
  with zero action history features — proving the new route works
- Karman re100: phase-state+abs reaches 0.699 (vs 0.901 with action history)
- 1.5L confirmed as bang-bang regime (R2=0.12 for linear SINDy)
- Feature ablation: 6-dim phase-state outperforms 16-dim full-lag in closed-loop

Documentation:
- docs/SR_analysis_results.md: comprehensive analysis report
- docs/HANDOVER_SR_ANALYSIS.md: handover notes for next coder
- 6 figures in docs/figures/SR_analysis/
- Updated README.md, sindy_sr_notes.md, sindy_sr_knowledge.md
- Updated configs.py with generalization scenes

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-22 16:55:03 +08:00
Frank14f
dd71af901d chore: update CelerisLab submodule to 00b957f
- feat(esopull): runtime body sync for EsoPull streaming mode

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-21 22:47:38 +08:00
Frank14f
76dd321139 chore: update CelerisLab submodule to 04c2bc7
Includes feat(obs): unified zero_obs control and time-normalised readback

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-21 00:56:32 +08:00
Frank14f
52df8620f0 chore: update CelerisLab submodule to latest
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-20 19:12:17 +08:00
Frank14f
096d9dcd0f 第二轮:整理两个工作目录 2026-06-10 15:59:52 +08:00
Frank14f
d1b9922c6b 第一轮分析工作暂存 2026-06-09 18:46:59 +08:00
Frank14f
4612928398 chore: update CelerisLab submodule to 2e05248 2026-05-31 14:54:26 +08:00
Frank14f
c4a59162dc chore: update CelerisLab to latest 2026-02-20 15:06:45 +08:00
Frank14f
454a657bec Add CelerisLab submodule 2026-02-20 12:39:24 +08:00
Frank14f
1ef1e22d46 Gitea Sync 2026-02-20 12:29:18 +08:00
Frank14f
e5956dc390 Gitea Sync 2026-02-20 12:27:36 +08:00
Frank14f
15c6de7243 First commit 2026-02-20 11:57:01 +08:00