Skip to content

test: add test_depth_stack_alternating_unwind#38

Merged
ionux merged 1 commit intomainfrom
claude/test-container-depth-limit-4waM4
Mar 12, 2026
Merged

test: add test_depth_stack_alternating_unwind#38
ionux merged 1 commit intomainfrom
claude/test-container-depth-limit-4waM4

Conversation

@ionux
Copy link
Copy Markdown
Owner

@ionux ionux commented Mar 12, 2026

Creates a 15-level alternating object/array payload {"a":[{"b":[{"c":[{"d":[{"e":[{"f":[{"g":[{"h":1}]}]}]}]}]}]}]} and asserts OKJ_SUCCESS, depth==0, token_count==24, 8 objects and 7 arrays. Every one of the 15 depth_stack slots is exercised on the way in and rechecked for correct container type on the way out, proving the stack correctly tracks independent container types across the full unwind.

https://claude.ai/code/session_014bAH7JhKBa9tfV3ru1Gkgn

Creates a 15-level alternating object/array payload
{"a":[{"b":[{"c":[{"d":[{"e":[{"f":[{"g":[{"h":1}]}]}]}]}]}]}]}
and asserts OKJ_SUCCESS, depth==0, token_count==24,
8 objects and 7 arrays.  Every one of the 15 depth_stack
slots is exercised on the way in and rechecked for correct
container type on the way out, proving the stack correctly
tracks independent container types across the full unwind.

https://claude.ai/code/session_014bAH7JhKBa9tfV3ru1Gkgn
@ionux ionux merged commit 09cf15a into main Mar 12, 2026
2 checks passed
@ionux ionux deleted the claude/test-container-depth-limit-4waM4 branch March 12, 2026 02:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants