Repository navigation
det/LE: CEESECS reads the CEESCEN century window for YY, both runtimes (Part of #5003) - #6242
Conversation
…arity and emit test, register L6 (Part of #5003) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…mes (Part of #5003) CEESECS takes the run clock first (LIBRARY_CLOCK); a YY is the year in [system year - century_start, + 99]. le_time.c and LeTime.java agree on 21 new vectors; L6 lifts the YY refusal (DDD and a missing clock stay refused). Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #6242 @ 81373ba: 1 failed check(s) == runner-tests (failure) -- real |
Part of #5003. Slice 3 of 3 (slice 1 #6222 merged; slice 2 is #6236, this branch is stacked on it: retarget/merge after it lands).
What
CEESECS reads the CEESCEN/CEEQCEN century window for a
YYin the picture, on both sides, and the L6 refusal is lifted.YYis the one year in[S - c, S - c + 99]with those last two digits (S = system year, c = century_start, 80 until CEESCEN sets it).CEESECSjoinsgen.LIBRARY_CLOCK(clock first, charset last, like CEEGMT),Ceesecs.call(now, ...); the C twin readsCOB_CURRENT_DATE. Without a pinned clock aYYis refused by name (exit 98), as CEEGMT is. A picture with noYYneeds no clock.DDDinput stays refused. The year found goes through CEEISEC's checks (a 29 February in a non-leap window year is CEE2508).Checklist: done [c:7cd27004]
Class
Class: LE date/time callable services not yet modelled, by the same mechanism (one service, one model in le_time.c + LeTime.java, vectors on both).
YYTests
tests/cobol_mainframe/test_det_le_time.py: 21 new CEESECS vectors (start 80 / 0 / 50 / 100, an invalid start kept, two clocks, each window boundary pair, leap-day century, non-digit,YYMMDDHHMISS, DDD refused), the same table run through the C model, the Java runtime byte-for-byte, plus a no-clock refusal test and a translator-wiring test. 208 pass, 2.3 s.Facts checked: no burned program calls CEESECS with a
YY(L6 sweep: CRECUST/CSUTLDTC call CEEDAYS, BANKDATA CEEGMT and CEEDATM with a 14-byte picture);tests/cics_crucible/ports/*/overlay/cobolrt/le/*.javaare snapshots committed with the ports (already stale for Ceeqcen) and theportsratchet passes.Gates:
pr_gates --fast7/7;--ratchets9/9 (aftersync-pins.sh); tree-wide guards 194 pass; time ratchet 0 over limit;audit_checkclear. Golden masters unaffected (no parser change). JDK 17 viaequivalence_env;-rsshowed no skips.Files: 6 hand-written (le_time.c, LeTime.java, Ceesecs.java, gen.py, the test, L6.md). One over the limit:
Ceesecs.javais a two-line facade signature change that cannot be split fromgen.py, and L6.md would otherwise state a refusal that no longer exists.Sibling gaps
Cross-repo: none.
🤖 Generated with Claude Code