Skip to content

HFP: capture kit asks EPSMPMT's ** through a pow op (Part of #4271, #4050) - #5995

Merged
squid-protocol merged 1 commit into
mainfrom
churn/4271-hfp-pow-capture
Oct 22, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/4271-hfp-pow-capture

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4271, #4050.

What

The HFP capture kit gets a pow op: COMPUTE LR = LA ** LB, long only (a short ** is skipped like a short multiply). DBB EPSMPMT's (1 + WS-CALC-INTEREST) ** WS-NUMBER-OF-MONTHS is the one float hole left in mortgage-mpmt, and the kit could not ask z/OS about it.

IBM documents no result for **, so the 5 asm-pow-eps-* records are model-assumption. Their want is the kit's own reference power(): the exact power for an integer exponent, exp(b ln a) at 60 digits for a fractional one, truncated to long. They are evidence of nothing until a z/OS run agrees, and a disagreement is a finding against the reference. The records are 5% over 360, 12, 2.5 and -12 months, plus 6.5% over 360.

The det translator and the Java runtime are untouched: a float ** is still a named Hole and mortgage-mpmt stays in KNOWN_UNPROVEN. Register C6 is updated (95 records asked).

Tests and gates

  • test_hfp_capture_kit.py, test_hfp_zos_captures.py and test_det_hfp.py: 230 passed. The first two also pass as plain pytest from /tmp.
  • audit_check.py: all clear. pr_gates.py --fast: 7/7.
  • No golden bless: no parsing logic changed.

Sibling gaps

  • A float ** in the det translator or runtime: needs an owner model decision. EPSMPMT (burned) is the only burned program that reaches it.
  • from_ieee and to_ieee stay skipped (COBOL has no IEEE converter). No burned program needs them.

Lessons for agents

  • ruff check on tests/ files outside the audit baseline is noisy (S101 etc.): use audit_check.py, not a raw ruff check.
  • test_the_table_covers_every_op_in_both_sizes needs a long-only op listed in SIZES in test_hfp_zos_captures.py.

🤖 Generated with Claude Code

…Part of #4271, #4050)

A `pow` op (COMPUTE LR = LA ** LB, long only) with five model-assumption records whose want is the kit's own reference; the det translator still refuses a float `**`.

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 22, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

1 similar comment
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 22, 2026 10:12
@squid-protocol
squid-protocol enabled auto-merge (squash) October 22, 2026 10:12
@squid-protocol
squid-protocol merged commit a2bf578 into main Oct 22, 2026
51 checks passed
@squid-protocol
squid-protocol deleted the churn/4271-hfp-pow-capture branch October 22, 2026 10:17
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