Skip to content

feat: enhance data visualization with rich HTML representations and improved string formatting#35

Merged
andersretznerSGU merged 8 commits intodevfrom
officialankan/29-add-dataframeseries-repr-of-`fits`-and-`wells`-attribute
Sep 9, 2025
Merged

feat: enhance data visualization with rich HTML representations and improved string formatting#35
andersretznerSGU merged 8 commits intodevfrom
officialankan/29-add-dataframeseries-repr-of-`fits`-and-`wells`-attribute

Conversation

@officialankan
Copy link
Collaborator

  • Added _repr_html_() methods to FitResultData for tabular display in notebooks
  • Enhanced Model.__str__() and __repr__() with detailed well summaries
  • Converted obs_wells_summary and ref_wells_summary from properties to methods
  • Added comprehensive test coverage for new summary methods
  • Improved fit result reporting with statistical summaries

eriktoller and others added 6 commits August 29, 2025 15:18
Update main with dev progress
…ataframeseries-repr-of-`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>
officialankan and others added 2 commits September 9, 2025 12:10
- 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>
@andersretznerSGU andersretznerSGU merged commit add4888 into dev Sep 9, 2025
3 checks passed
@officialankan officialankan deleted the officialankan/29-add-dataframeseries-repr-of-`fits`-and-`wells`-attribute branch September 11, 2025 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants