Skip to content

feat(bench): 3 TypeScript cascade scenarios (#104) [re-targeted to main]#126

Merged
Connorrmcd6 merged 1 commit into
mainfrom
feat/104b-cascade-ts-scenarios
Jun 14, 2026
Merged

feat(bench): 3 TypeScript cascade scenarios (#104) [re-targeted to main]#126
Connorrmcd6 merged 1 commit into
mainfrom
feat/104b-cascade-ts-scenarios

Conversation

@Connorrmcd6

Copy link
Copy Markdown
Owner

Summary

Re-opens PR #125 against main. The original #125 was stacked on #124 and, due to merge ordering, merged into its stacked base (feat/104a) rather than main — so its 3 TS scenarios never reached main. This branch is the same content, rebased onto the merged main, targeting main directly.

3 TypeScript code cascades (graded by node --test), each a new drift archetype surf detects via a structural/literal change:

id tier domain drift
cascade-serialize-key-order-ts-code T2 serialization canonical key order insertion→sorted
cascade-default-timeout-ts-code T1 timeouts default param 300005000
cascade-validate-guard-ts-code T2 validation dropped length > 0 guard

Verification (offline)

  • python tools/validate_scenario.py --all7/7 green (4 Python on main + these 3).
  • uv run pytest38 passed; cargo fmt --all --check clean.

Cascade family: 4 → 11 with this merged. PR-C (3 QA cascades) reaches ~14.

🤖 Generated with Claude Code

PR-B of the cascade expansion: three TS code cascades (graded by
`node --test`, Node >=22.18 type-strip), each a new drift archetype that
surf detects via a structural/literal change (not an identifier swap).

- cascade-serialize-key-order-ts-code (T2, serialization) — canonicalString
  key order insertion -> sorted (Object.keys().sort() added); the visible
  signer must reproduce the canonical string.
- cascade-default-timeout-ts-code (T1, timeouts) — totalDeadlineMs default
  param 30000 -> 5000; the visible caller reports the default budget.
- cascade-validate-guard-ts-code (T2, validation) — isValidName dropped its
  `length > 0` guard (empty names now accepted); the visible intake filter
  must mirror the rule.

Each: graders probe the real hidden dependency for ground truth, task.md is
neutral, author.py seals a genuine "changed" divergence, and
validate_scenario proves grader polarity.

Verified offline: validate_scenario --all green (7/7), a mock run over the
three is error-free, uv run pytest passes (38).

Stacked on PR-A (#124) for the validate_scenario tooling + edit_path; will
retarget to main once #124 merges.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Connorrmcd6 Connorrmcd6 merged commit 5d04da2 into main Jun 14, 2026
5 checks passed
@Connorrmcd6 Connorrmcd6 deleted the feat/104b-cascade-ts-scenarios branch June 14, 2026 20:08
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.

1 participant