Skip to content

Commit 8d373d0

Browse files
Merge pull request #175 from JPL-Devin/devin/1786780144-doc-counts
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: jason.han <jason.han@jpl.nasa.gov>
2 parents 033d653 + d2ae38d commit 8d373d0

4 files changed

Lines changed: 13 additions & 13 deletions

File tree

docs/ARCHITECTURE.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -254,12 +254,12 @@ Parse + model all behavioral bodies with unified fallback grammar:
254254
- Lowering to execution IR lives in `internal/core/lower/` (`ToActionGraph`, `ToStateGraph`)
255255

256256
**Testing:**
257-
- **Golden ASTs**: 80 fixtures - `internal/core/parser/testdata/parse/`
257+
- **Golden ASTs**: 81 fixtures - `internal/core/parser/testdata/parse/`
258258
- **Negative tests**: 127 subtests - `internal/core/parser/negative_test.go`
259259
- **Unit tests**: 43 tests (action, state) - `action_executor_test.go`, `state_executor_test.go`
260260
- **Conformance gate**: 211 cases (all passing: calc×56, action×50, state×41, requirement×12, instance×9, unit×7, constraint×7, satisfy×5, variation×5, redefinition×5, variant×3, feature×3, ballandchain×3, and one each of accept, attribute, connector, cubesat and multiplicity) - `conformance_test.go`
261261
- **Golden traces**: 69 `.trace.golden` files (action×28, calc×25, state×12, constraint×4) - `trace_test.go`
262-
- **Robustness**: 143 failure-mode subtests (deadlock, unbound params, missing features, dangling transitions, sourceless accept, step budget, pseudostate dead ends and cycles, history and defer misuse, send/accept misrouting, calc arity/recursion, `perform` reference failures) - `robustness_test.go`
262+
- **Robustness**: 146 failure-mode subtests (deadlock, unbound params, missing features, dangling transitions, sourceless accept, step budget, pseudostate dead ends and cycles, history and defer misuse, send/accept misrouting, calc arity/recursion, `perform` reference failures) - `robustness_test.go`
263263
- **Coverage**: All behavioral types fully functional. Action: 14/14 features ✅. State: 13/13 features ✅. Calc: 8/8 ✅. Constraint: 5/5 ✅. Requirement: 5/5 ✅. Evaluation: 7/7 ✅.
264264

265265
**Measured Compliance:** See [SPEC_COMPLIANCE.md](SPEC_COMPLIANCE.md) for semantic rule → implementation → test case mapping with status (✅ faithful / ⚠️ approximate / ❌ not yet implemented).
@@ -487,7 +487,7 @@ go test -v -run TestStdlibConformance ./internal/core/libs
487487
#### 2. Golden AST Snapshots
488488
- **Purpose:** Verify AST structure matches expected output
489489
- **Location:** `internal/core/parser/golden_test.go`
490-
- **Fixtures:** `testdata/parse/*.sysml` and `*.kerml` (80 representative files)
490+
- **Fixtures:** `testdata/parse/*.sysml` and `*.kerml` (81 representative files)
491491
- **Goldens:** `testdata/parse/*.golden` (AST dumps)
492492
- **Acceptance:** Parse output matches golden file
493493
- **Update flag:** `go test -run TestGolden -update` (regenerate goldens after intentional changes)
@@ -533,7 +533,7 @@ New behavioral features (actions, states, calc, constraints, requirements) requi
533533
#### 1. Golden AST Fixtures
534534
- **Purpose:** Lock in parse structure before execution changes
535535
- **Location:** `internal/core/parser/testdata/parse/` (behavioral fixtures)
536-
- **Coverage:** 80 fixtures in total, behavioral ones (action, calc, constraint, requirement, state) among them
536+
- **Coverage:** 81 fixtures in total, behavioral ones (action, calc, constraint, requirement, state) among them
537537
- **Acceptance:** `TestGolden` passes, AST dumps match expectations
538538
- **Update flag:** `go test -run TestGolden -update`
539539

@@ -583,7 +583,7 @@ go test -v -run TestExecutionConformance ./internal/core/runtime
583583
#### 4. Runtime Robustness Tests
584584
- **Purpose:** Verify malformed/pathological behaviors fail gracefully (typed errors, no panics/hangs)
585585
- **Location:** `internal/core/runtime/robustness_test.go`
586-
- **Test:** `TestRuntimeRobustness` with 143 failure-mode subtests
586+
- **Test:** `TestRuntimeRobustness` with 146 failure-mode subtests
587587
- **Acceptance:** All return typed errors, never panic, timeout guard (60s) prevents hangs
588588

589589
**Failure modes:**

docs/ROADMAP.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ Full gate green: `gofmt -l .` empty, `go build ./...`, `go vet ./...`, `staticch
1919
| Execution conformance cases | 211 |
2020
| gRPC conformance cases | 8 |
2121
| Golden execution traces | 69 |
22-
| Runtime robustness subtests | 143 |
23-
| Golden AST fixtures | 80 |
22+
| Runtime robustness subtests | 146 |
23+
| Golden AST fixtures | 81 |
2424
| Negative parser subtests | 127 |
2525

2626
Statement coverage, measured today with `go test -cover ./...`:

docs/SPEC_COMPLIANCE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -885,7 +885,7 @@ are tracked here):
885885
| `value.go` | Runtime value representation (ValConst, ValString, ValInstance) | ~150 |
886886
| `trace.go` | Deterministic execution and calc-evaluation trace recording, canonical value rendering | ~290 |
887887
| `conformance_test.go` | Conformance gate (211 cases) | ~480 |
888-
| `robustness_test.go` | Failure-mode tests (143 subtests) | ~830 |
888+
| `robustness_test.go` | Failure-mode tests (146 subtests) | ~830 |
889889
| `trace_test.go` | Golden trace test infrastructure | ~200 |
890890
| `trace_calc_test.go` | Trace determinism and canonical rendering unit tests | ~180 |
891891

@@ -912,8 +912,8 @@ See [`TESTING.md`](TESTING.md) for complete test contract details.
912912
**Test Counts** (re-counted from the checked-in fixtures and from `-v` runs):
913913
- Execution conformance cases: 211 (all passing)
914914
- gRPC conformance cases: 8 (all passing)
915-
- Robustness subtests: 143 (all passing)
916-
- Golden AST fixtures: 80
915+
- Robustness subtests: 146 (all passing)
916+
- Golden AST fixtures: 81
917917
- Golden execution traces: 69
918918
- Negative parser subtests: 127
919919

docs/TESTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ go test -v -run TestStdlibConformance ./internal/core/libs
4343
**Purpose:** Verify AST structure matches expected output
4444

4545
- **Test:** `TestGolden` (internal/core/parser/)
46-
- **Fixtures:** `testdata/parse/*.sysml` and `*.kerml` (80 representative files)
46+
- **Fixtures:** `testdata/parse/*.sysml` and `*.kerml` (81 representative files)
4747
- **Goldens:** `testdata/parse/*.golden` (AST dumps)
4848
- **Acceptance:** Parse output matches golden file
4949

@@ -93,7 +93,7 @@ New behavioral features (actions, states, calc, constraints, requirements) requi
9393
**Purpose:** Lock in parse structure before execution changes
9494

9595
- **Location:** `internal/core/parser/testdata/parse/` (behavioral fixtures)
96-
- **Coverage:** 80 fixtures in total, behavioral ones among them
96+
- **Coverage:** 81 fixtures in total, behavioral ones among them
9797
- **Acceptance:** `TestGolden` passes, AST dumps match expectations
9898

9999
**Behavioral fixtures:**
@@ -146,7 +146,7 @@ go test -run TestExecutionTrace -update-traces ./internal/core/runtime
146146
**Purpose:** Verify malformed/pathological behaviors fail gracefully
147147

148148
- **Test:** `TestRuntimeRobustness` (internal/core/runtime/)
149-
- **Coverage:** 143 failure-mode subtests
149+
- **Coverage:** 146 failure-mode subtests
150150
- **Acceptance:** Typed errors, never panic, 60s timeout guard
151151

152152
**Failure modes:**

0 commit comments

Comments
 (0)