Skip to content

Commit dcb337a

Browse files
committed
test(03-01): add failing tests for graph-aware proposer
- 19 test functions covering SELF-01 and SELF-02 requirements - TestGraphAwareProposer: metadata enrichment verification - TestSeedNodeSelection: LV feeder preference for cascading scenarios - TestCascadePropagation: hop-distance and decay verification - TestCascadeDecay: 0.7 decay factor and 2-hop max - TestScenarioTypeCascade: COLD_SNAP and OUTAGE cascade behavior - TestBackwardCompat: non-graph proposals unchanged - TestAffectedNodesCap: 30% graph cap - TestApplyToGraphTimeseries: per-node magnitude scaling
1 parent 387d5d2 commit dcb337a

2 files changed

Lines changed: 585 additions & 4 deletions

File tree

.planning/ROADMAP.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,23 @@ Plans:
5555

5656
---
5757

58-
### Phase 3: Graph-Aware Proposer — SKIPPED (Future Work)
58+
### Phase 3: Graph-Aware Proposer
5959

6060
**Goal:** Enhance the Proposer to generate topology-respecting anomaly scenarios where disturbances propagate through connected nodes (e.g., COLD_SNAP cascading through neighbors).
6161

6262
**Requirements:** SELF-01, SELF-02
6363

64-
**Status:** Deferred to future work for thesis. Current ProposerAgent generates sufficient scenario diversity for evaluation.
64+
**Plans:** 2 plans in 2 waves
65+
66+
Plans:
67+
- [ ] 03-01-PLAN.md — Graph-aware proposer tests + implementation (TDD)
68+
- [ ] 03-02-PLAN.md — SelfPlayTrainer integration + integration tests
69+
70+
**Success Criteria:**
71+
1. ProposerAgent generates topology-aware scenarios using grid graph structure
72+
2. Anomaly propagation follows physical connectivity (cascades through neighbors)
73+
3. Generated scenarios integrate with existing SelfPlayTrainer loop
74+
4. Scenario diversity maintained or improved vs current non-graph proposer
6575

6676
**Depends on:** Phase 2
6777

@@ -98,8 +108,8 @@ Plans:
98108
|-------|------|--------|--------------|----------|
99109
| 1 | GNN Verifier Foundation | ✓ Complete | GNN-01, GNN-02 | 2/10 |
100110
| 2 | Hybrid Verifier Integration | ✓ Complete | GNN-03, ENS-01, ENS-02 | 3/10 |
101-
| 3 | Graph-Aware Proposer | ⏭ Skipped (Future Work) | SELF-01, SELF-02 | 2/10 |
102-
| 4 | Evaluation Framework | Gap Closure | EVAL-01, EVAL-02, EVAL-03 | 3/10 |
111+
| 3 | Graph-Aware Proposer | Planned | SELF-01, SELF-02 | 2/10 |
112+
| 4 | Evaluation Framework | ✓ Complete | EVAL-01, EVAL-02, EVAL-03 | 3/10 |
103113

104114
**Total Coverage:** 10/10 requirements mapped
105115

0 commit comments

Comments
 (0)