feat: enhance data visualization with rich HTML representations and improved string formatting#35
Merged
andersretznerSGU merged 8 commits intodevfrom Sep 9, 2025
Conversation
Update main with dev progress
…ataframeseries-repr-of-`fits`-and-`wells`-attribute
…`fits`-and-`wells`-attribute
- Add report parameter to Model.fit() method with default True - Print formatted FitResultData summary after each fit when report=True - Enhance FitResultData.__str__() with detailed tabular output showing: - RMSE, R², correlation coefficient, slope, intercept - Statistical significance, sample size, confidence level - Calibration period and time offset information - Improve FitResultData.__repr__() for debugging - Add summary DataFrame methods for wells and fits analysis - Maintain backward compatibility with optional report parameter 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Remove unused _get_linear_regression function from linregressfit.py - Improve import organization in utils/__init__.py - Format logger_config.py with consistent double quotes style - Add comprehensive test coverage for all summary DataFrame methods: - obs_wells_summary, ref_wells_summary, wells_summary, fits_summary - Tests cover empty cases, data with/without timeseries, single/multiple wells - Ensure robust handling of edge cases and data validation 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add _repr_html_ method to FitResultData for formatted table display - Improve Model __str__ and __repr__ methods with detailed well summaries - Fix obs_wells_summary and ref_wells_summary property-to-method conversion - Update fit result display logic to use HTML in Jupyter environments - Update all test calls to use method syntax instead of property access 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
…`fits`-and-`wells`-attribute
- Fix line length violations in fitresults.py HTML table formatting - Remove unused import in utils/__init__.py - Ensure all lines comply with 88-character limit 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
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.
_repr_html_()methods toFitResultDatafor tabular display in notebooksModel.__str__()and__repr__()with detailed well summariesobs_wells_summaryandref_wells_summaryfrom properties to methods