Skip to content

test(live): retire the qwacback equivalence test; the swap is done - #84

Merged
jstet merged 1 commit into
mainfrom
test/retire-qwacback-equivalence
Sep 25, 2026
Merged

jstet merged 1 commit into
mainfrom
test/retire-qwacback-equivalence

Conversation

@jstet

@jstet jstet commented Sep 25, 2026

Copy link
Copy Markdown
Member

Retires tests/live/qwacback/, the equivalence test that guarded qwacback's switch from its Go converter to this library.

Why it can go: qwacback made the switch in CorrelAid/qwacback#3. Its ddi-emitter sidecar runs @correlaid/formtransform, so the test now compares the library with itself. The tests README had already planned to drop it at that point.

It also broke:

  • The qwacback image now needs its sidecar, so the endpoint returned 503 without it.
  • With the sidecar added, 13 of 15 cases pass. The calculate case fails because qwacback now rejects it through the DDI subset check, which is intended. note stays an expected failure.

qwacback keeps its own check for its wiring: scripts/equivalence-test.mjs and internal/converter/ddi_client_test.go.

🤖 Generated with Claude Code

The test (ported from survey2ddi in #14) guarded qwacback's switch from its
Go converter to this library. qwacback made that switch in CorrelAid/qwacback#3
(its ddi-emitter sidecar runs @correlaid/formtransform), so the test now
compares the library with itself. It also broke: the qwacback image needs the
sidecar (503 without it), and with it, `calculate` is now rejected by the
DDI subset check qwacback runs, as intended.

qwacback keeps its own equivalence check for its wiring
(scripts/equivalence-test.mjs, internal/converter/ddi_client_test.go).
tests/README.md says so; tests/live/qwacback/ is removed.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@jstet
jstet merged commit 2408c79 into main Sep 25, 2026
4 checks passed
@jstet
jstet deleted the test/retire-qwacback-equivalence branch September 25, 2026 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant