HasRandomDirectionPatternRule
What this rule checks
Flags random(1) == 0 ? 1 : -1 — a pattern students almost never write but AI tools generate frequently for random movement
Configuration
When off, this rule is excluded from pipeline runs. Changes apply immediately.
Code Examples
Overview
| Category | Academic Integrity |
| Type | Custom Zita |
| Priority | 2 (1 = highest, 5 = lowest) |
| Status | Active |
PMD Configuration
| Java class | nl.utwente.processing.pmd.rules.HasRandomDirectionPatternRule |
| Message template | AI-typical random direction pattern detected. |