Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Cypher TCK conformance tests (GFQL)

This suite translates a subset of the openCypher TCK into GFQL AST/wire protocol queries and validates results against the reference enumerator and pandas, with optional cuDF runs when enabled.

Source of truth

Provenance

  • Clone date: 2025-12-29
  • Repo commit: 59edf2e1c17b845bf97c334ed06b2eb780950c13
  • License: Apache License 2.0 (plans/cypher-tck-conformance/tck/LICENSE)

Goals

  • Translate supported Cypher scenarios into GFQL equivalents.
  • Run each translated case on:
    • Reference enumerator (oracle)
    • engine='pandas'
    • engine='cudf' (only when TEST_CUDF=1 and cudf is available)
  • Record unsupported scenarios with explicit xfail/skip reasons and capability tags.
  • Preserve traceability to the original Cypher query and expected results.
    • Capability tags include target-table-ops, target-expr-dsl, defer-quantifier, defer-path-enum, defer-unwind, defer-union.

Running

pytest tests/cypher_tck -xvs
TEST_CUDF=1 pytest tests/cypher_tck -xvs
PYGRAPHISTRY_PATH=/path/to/pygraphistry python -m tests.cypher_tck.report

Porting backlog

PYGRAPHISTRY_PATH=/path/to/pygraphistry python -m tests.cypher_tck.porting_backlog
python -m tests.cypher_tck.porting_backlog
BACKLOG_LIMIT=20 python -m tests.cypher_tck.porting_backlog

Notes

  • The TCK repo is not vendored; use the local clone under plans/.
  • Each translated scenario should include a reference back to the TCK path, the original Cypher, and the expected rows or aggregates.
  • For xfail scenarios, gfql may contain a non-executable plan built with tests.cypher_tck.gfql_plan to document the intended translation. When a target-table-ops or target-expr-dsl scenario lacks a manual plan, a minimal clause-based plan is generated from the Cypher text at load time.
  • Track feature gaps and workarounds in tests/cypher_tck/GAP_ANALYSIS.md.
  • tests.cypher_tck.report now emits both conformance counts and a reusable lane-priority view for backlog planning, including tracker placeholders for the current top candidate workstreams.