Skip to content

Devin's CardDemo eval arms through our equivalence harness (phase 2, item 1) - #4190

Merged
squid-protocol merged 2 commits into
mainfrom
exp/devin-carddemo-harness
Oct 3, 2026
Merged

squid-protocol merged 2 commits into
mainfrom
exp/devin-carddemo-harness

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Phase 2, item 1, of the Devin benchmark (survey: docs/research/devin-carddemo-survey.md). We fetched Devin's two eval/ arms (with and without AWS Transform's analysis) at pinned commits and ran them unmodified. Each arm's CBACT04C ran on our carddemo-intcalc case and its CBTRN02C on carddemo-posttran, on each case's base run under the harness's 6 JVM environments. The judge is equivalence.compare_run against GnuCOBOL.

Arm Program default, turkish, german, hindi arabic, thai
A CBACT04C equal differs
A CBTRN02C equal differs
B CBACT04C equal differs
B CBTRN02C equal equal

In the default environment, both arms match GnuCOBOL on both programs, every record and SYSOUT line. That includes the cases' extreme and rounding records (#4049).

Under the arabic and thai environments, TRAN-IDs, timestamps and counts come out as ??????. The cause is String.format without an explicit locale, which writes non-Latin digits. The exact lines are in the doc.

Fault runs are not applied (19 and 28 of them). Their code has no I/O hook to inject file statuses through, so each arm is judged on the base run only, which covers 49/86 and 55/96 branches.

Adapter: tests/tools/devin_port.py and tests/tools/devin/adapter (EnvLauncher sets the locale and time zone, then calls their unmodified main class). This PR changes no harness code and adds no case.

Results: docs/research/devin-carddemo-harness.md.

Tests: tests/cobol_mainframe/test_devin_port.py passes 5 of 5. ruff_audit --ci finds nothing new. No det sweep was run, because the harness is unchanged.

Deferred by the coordinator: item 2 (a CBACT01C case and the COBDATFT model). Work in progress is on wip/devin-cbact01c-cobdatft, which has no PR.

🤖 Generated with Claude Code

https://claude.ai/code/session_01RZE6us7fUL6Hynk59rWLvZ

…uCOBOL; a locale defect under ar-EG / th-TH

Phase 2 item 1 of the Devin benchmark (docs/research/devin-carddemo-survey.md). The two eval/ arms (with and
without AWS Transform's analysis), fetched at pinned commits and unmodified, run on our carddemo-intcalc and
carddemo-posttran cases' base runs under the harness's six JVM environments, judged by equivalence.compare_run.
Both match GnuCOBOL in the default environment; three of the four ports differ under ar-EG / th-TH, where
String.format without a locale writes non-Latin digits into TRAN-ID and timestamps. Fault runs not applied (no
I/O hook in their code). tests/tools/devin_port.py + tests/tools/devin/adapter (EnvLauncher); results in
docs/research/devin-carddemo-harness.md. Item 2 (CBACT01C, COBDATFT) deferred; WIP on wip/devin-cbact01c-cobdatft.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RZE6us7fUL6Hynk59rWLvZ
@github-actions

github-actions Bot commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol merged commit 43a400a into main Oct 3, 2026
29 checks passed
@squid-protocol
squid-protocol deleted the exp/devin-carddemo-harness branch October 3, 2026 00:22
squid-protocol added a commit that referenced this pull request Oct 3, 2026
…ternal-fault experiment (#4194)

* thirdparty_port: Lightyear and SENTINEL IDE CardDemo ports through the equivalence harness; external faults

The pattern of #4177 / #4190: each port fetched at a pinned commit (no licence on
either repository: nothing of theirs committed), built as it ships (SENTINEL: its
program classes compiled as they are, the project's three non-compiling files are
none of them), run on our cases' inputs as text lines, judged by compare_run in
full / data / clock-masked tiers. --external-faults reproduces each case fault that
is an input OPEN failing with status 35 by running the port with that file absent,
for these ports and Devin's eval arms.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RZE6us7fUL6Hynk59rWLvZ

* docs(research): Lightyear and SENTINEL IDE through the harness; external-fault experiment (with Devin's eval arms)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RZE6us7fUL6Hynk59rWLvZ

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
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