Skip to content

det: LE CEESCEN on the C oracle twin and Java runtime (Part of #5003) - #6222

Merged
squid-protocol merged 1 commit into
mainfrom
churn/5003-20261023T1105Z
Oct 23, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/5003-20261023T1105Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5003. Checklist: partial [c:7cd27004] -- the translator does not call CEESCEN yet (gen.LIBRARY), CEESECS YY is still refused, register L6 still says CEESCEN is not modelled.

What changed (slice 1: the model on both sides)

  • LeTime.scen / Ceeqcen.set (Java) and CEESCEN (C twin, tests/equivalence/le/le_time.c): century_start 0 to 100 sets the window's start; outside it the code is CEE2533 and the setting is unchanged. CEEQCEN now reads the setting back (80 until set).
  • test_det_le_time.py: 10 CEESCEN vectors through both sides (each row sets in order, then queries): bounds 0 and 100, 80, 101, -1, a failing set after a good one keeps the earlier value. The Java probe puts 80 back after each row.
  • cobolrt_rules.json: RT-LE-CEEQCEN now covers scen and Ceeqcen.set.

Class table (the date-window class)

member status
CEESCEN set / CEEQCEN query, range and CEE2533 done here (both sides)
translator wiring of CEESCEN remaining slice
CEESECS YY through the window remaining slice (needs the run clock)
CEEDAYS YY (L1) not checked here

Facts checked

  • IBM CEESCEN / CEEQCEN pages (ILE CEE APIs, shared definitions): century_start INT4, 0 to 100; 80 default means a 100-year window starting 80 years before the system date (1990: 1910 to 2009); CEESCEN codes CEE0000, CEE2502, CEE2533 ("not between 0 - 100"), CEE9902; CEEQCEN lists no CEE2533.
  • No burned-estate program calls CEESCEN (register L6's sweep); the model is for the checklist, not a proof.
  • Gates: pr_gates --fast 7/7, --ratchets 9 pass 0 fail 0 skipped; test_det_le_time.py 185 passed with the JDK 17 row not skipped; tree-wide guard tests passed. No parsing logic touched, so no golden bless.

Remaining slices

  1. gen.py (LIBRARY["CEESCEN"] = Ceeqcen.set, LIBRARY_CHARSET), an arity test, and register/L6.md (drop "CEESCEN not modelled"). Not here: the 5-file limit (model files + catalogue already 5).
  2. CEESECS YY: window = system year minus start through +99 (IBM's example only fixes the year, not month/day: assume year-only and say so in L6); needs the clock like LIBRARY_CLOCK, a clock arg on Ceesecs.call, COB_CURRENT_DATE in the C twin. DDD stays refused.

Sibling gaps

  • CEEFMDA / CEEFMDT / CEEFMDV: still refused by name; no burned program calls them.
  • CEEDAYS YY input uses its own window (L1): a program needs it only if one burned program passes YY; not checked.

Lessons for agents

  • A new Java method in a catalogued runtime family fails test_cobolrt_rules until docs/language_status/cobolrt_rules.json names it; that hand-written file counts toward the 5-file limit.

🤖 Generated with Claude Code

…ads the setting back (Part of #5003)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 23, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 23, 2026 11:20
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

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

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant