HF RL Explorer

False Positive Write Detection in isWriteQuery

False Positive Write Detection in isWriteQuery: a task in LegoFlow-SWE (Harbor dataset). The isWriteQuery function incorrectly flags some read-only queries as write operations when Cypher write keywords appear inside labels, relationship types, or string literals. For example:

The task

The `isWriteQuery` function incorrectly flags some read-only queries as write operations when Cypher write keywords appear inside labels, relationship types, or string literals. For example:

Part of Lego-X/LegoFlow-SWE.