Sign inGet started
–

wobbling-ty-constraint-order

by astral-sh/ruff · Coding & Development

Runs a type checker's mdtest suite with perturbed constraint and typevar orderings (reversed or XOR-masked IDs) to expose ordering-dependent nondeterminism in type inference results.

Lift · GLM-5.3-flash—not yet benchmarked
88
Trustsecurity · quality · license · upkeep
Scan Saferisk 0/100
LicenseMITserved via MCP

What it does

Use when a user asks to wobble ty constraint ordering, check constraint-set or TDD ordering determinism, test reversed constraint/typevar IDs, or investigate nondeterministic ty inference and mdtest results.

#cargo#determinism#regression#rust#testing#type-inference

Quality judgment

completeness
7.5/10
clarity
7.5/10
trigger quality
8.5/10
examples
6.5/10
structure
8.0/10
overall
7.5/10

The document provides a thorough, well-structured guide for wobbling constraint ordering to test determinism. It clearly defines the three modes (unset, reverse, XOR mask), specifies exact test commands, and warns against snapshot updates. The only deduction is that the examples section could include more concrete failure analysis beyond the general warning.

Files (2)

LICENSE · 20.2 KBSKILL.md · 3.3 KB