Skip to content
This repository was archived by the owner on Nov 21, 2026. It is now read-only.
This repository was archived by the owner on Nov 21, 2026. It is now read-only.

Example 10's CI run checks that its queries run, not what they return #12

Closed

Description

@tae898

Example 10's CI run passes when every query runs, whatever it returns. Until 5ce049482c its GraphBatch load stored one-way edges in two-way edge types, and 5 of its 10 queries returned 0 rows on every platform while the job stayed green (the engine half is ArcadeData#8625). The example already prints each query's row count and a hash of its rows, and it ships a pure-Python reference backend (--db python_memory), which gave the right answers all along.

Proposed: in the examples workflow, after example 10 passes on ArcadeDB, run it again with --db python_memory and the same arguments, and fail the job unless both logs name the same queries with the same row counts and hashes. examples/scripts/compare_query_hashes.py does the comparison. On the current stackoverflow-tiny data all 10 agree; with one hash altered it exits 1 and names the query.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions