Clean up affine PZ two-jet notebook diagnostics - #188
Merged
MoritzMaibaum merged 1 commit intoJul 24, 2026
Merged
Conversation
MoritzMaibaum
deleted the
codex/update-affine_pz_twojet-notebook-for-diagnostics
branch
July 24, 2026 16:37
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Description
notebooks/affine_pz_twojet_adaquad_benchmarks.ipynbto remove unused rendering imports and diagnostic helpers by deletingfrom IPython.display import Markdown, displayand removingbuild_pz_twojet_norm_diagnostics,collect_pz_diagnostics, andpz_to_latexfrom theintervalnetsimports.model.eval_pz_twojet(..., return_trace=True)and wrote a Markdown trace file with a direct calljet = model.eval_pz_twojet(cell.domain)and removed allTRACE_*, trace rendering helpers, and file I/O.y_sq = pz_sum_squares(jet.Y),j_sq = pz_sum_squares(jet.J),h_sq = pz_sum_squares(jet.H), and setl2_integrand,w12_integrand, andw22_integrandaccordingly.summarize_final_twojet_componenthelper andfinal_twojet_monomial_diagnosticsDataFrame showingdistinct_monomials,max_degree, noise counts, and shapes forY,J, andH, placed immediately before the direct PZ norm bounds cell.Testing
return_trace,TRACE_,build_pz_twojet_norm_diagnostics,collect_pz_diagnostics,pz_to_latex) are absent and thatfinal_twojet_monomial_diagnosticsand the## Final two-jet monomial diagnosticsheading are present, and all assertions passed.Codex Task