Skip to content

Conversation

@eivindjahren
Copy link
Collaborator

We would like to be able to refactor rd_sum in the future. A first good step in that direction is adding more tests.

@eivindjahren eivindjahren requested a review from Copilot January 20, 2026 07:00
@eivindjahren eivindjahren moved this to Ready for Review in SCOUT Jan 20, 2026
@eivindjahren eivindjahren force-pushed the use_resfo_utilities_for_summary branch from 30fc832 to 22f315f Compare January 20, 2026 07:01
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds comprehensive test coverage for the Summary/rd_sum functionality in preparation for future refactoring. The changes introduce approximately 1000 lines of new tests covering various aspects of summary file handling.

Changes:

  • Adds a create_summary helper function to simplify test data generation
  • Implements 50+ new test functions covering Summary class methods, properties, and static methods
  • Adds tests for reading, writing, interpolation, time handling, pandas integration, and CSV export

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

num_keywords=1 + len(summary_keys),
restart=" ",
keywords=["TIME "] + list(summary_keys),
well_names=[":+:+:+:+"] + [":+:+:+:+"] * len(summary_keys),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you briefly explain what these well names mean?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is called "DUMMY_WELL" in other parts of the code.

@eivindjahren eivindjahren force-pushed the use_resfo_utilities_for_summary branch 2 times, most recently from f55f597 to 22ccbd7 Compare January 20, 2026 08:20
@eivindjahren eivindjahren requested a review from SAKavli January 20, 2026 08:21
@eivindjahren eivindjahren self-assigned this Jan 20, 2026
@eivindjahren eivindjahren requested a review from Copilot January 20, 2026 08:45
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 30 out of 30 changed files in this pull request and generated 13 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@eivindjahren eivindjahren force-pushed the use_resfo_utilities_for_summary branch 2 times, most recently from 458f11d to 6ec3447 Compare January 20, 2026 15:50
@eivindjahren eivindjahren force-pushed the use_resfo_utilities_for_summary branch from 6ec3447 to 7246f99 Compare January 20, 2026 15:51
@github-project-automation github-project-automation bot moved this from Ready for Review to Reviewed in SCOUT Jan 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Reviewed

Development

Successfully merging this pull request may close these issues.

4 participants