Skip to content

DataSpector v1.0.2

Choose a tag to compare

@aberndsen aberndsen released this 20 Nov 20:11
· 16 commits to main since this release
d8d9c3c

DataSpector v1.0.2

Real-world mainframe benchmark release (notebooks/validate_mainframe_extracts.ipynb), ecosystem comparison & performance documentation, and five mainframe binary/layout edge-case enhancements.

Highlights

  • Real-World Mainframe Extract Benchmark Notebook (notebooks/validate_mainframe_extracts.ipynb):
    • Validates 69 COBOL copybooks (3,465 field definitions, parsed in ~26 ms total) and 37 mainframe data extracts (5,863 records, 1.03 MB) across AWS Mainframe Modernization CardDemo, ABSA Bank's Cobrix Test Suite, and DataSpector's benchmark suite with a 100% pass rate.
    • Includes a 100,000-record (4.5 MB, 600,000-field) binary EBCDIC + COMP-3 throughput benchmark (~150,000+ records/sec, ~1,000,000 decoded fields/sec in pure Python with zero JVM).
  • Mainframe COBOL Parser & Decoder Enhancements:
    • Wider REDEFINES byte span: physical record/group byte length expands to max(target_width, redefines_width) when a REDEFINES overlay is longer than its target.
    • Multi-record REDEFINES overlay decoding: when include_redefines=True on multi-layout extract files (such as AWS CardDemo's 5-layout CVEXPORT.cpy), inactive overlay numeric cells gracefully return None.
    • LOW-VALUES (0x00) & space-padded (0x40/0x20) COMP-3, COMP-6, and zoned fields: initialized empty OCCURS array slots and LOW-VALUES records decode cleanly to 0.
    • Extended-precision COMP/BINARY (> 18 digits): computes exact two's-complement byte width ((10**d - 1).bit_length() // 8) + 1 for 19–37 digit binary integers.
    • Explicit-decimal overpunched display numbers (PIC S9(3).99) & SIGN SEPARATE without S in PIC.
  • Documentation & README:
    • Added Background & How DataSpector Compares table to README.md, promoted Usage Guide to a top-level navbar tab in Sphinx docs, and bundled validate_mainframe_extracts.ipynb as a downloadable artifact in the COBOL guide.