Skip to content

improve test manager docs#88

Merged
energy-in-joles merged 4 commits intomainfrom
improve_test_manager_docs
Jan 15, 2026
Merged

improve test manager docs#88
energy-in-joles merged 4 commits intomainfrom
improve_test_manager_docs

Conversation

@energy-in-joles
Copy link
Copy Markdown
Member

@energy-in-joles energy-in-joles commented Jan 15, 2026

Simplify n_episodes property and clearer variable name from self.episode_i to self.current_episode_number. Also improve documentation.

Linked with Utama-Strategy PR14. (https://github.com/First-Order-RoboCup-SSL/Utama-Strategy/pull/14)

Copilot AI review requested due to automatic review settings January 15, 2026 16:10
Copy link
Copy Markdown
Contributor

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 PR improves documentation for the AbstractTestManager class by enhancing docstrings with clearer descriptions, parameter documentation, and return value specifications. It also renames episode_i to current_episode_number for better clarity and converts the get_n_episodes() method to a property n_episodes.

Changes:

  • Renamed episode_i to current_episode_number for improved naming clarity
  • Enhanced docstrings for reset_field(), eval_status(), and n_episodes with detailed descriptions and return value documentation
  • Converted get_n_episodes() method to a property decorator n_episodes
  • Added visual markers to indicate which methods need to be implemented by subclasses

@energy-in-joles energy-in-joles added release:minor Minor changes to main and removed release:minor Minor changes to main labels Jan 15, 2026
Copy link
Copy Markdown
Contributor

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 7 out of 7 changed files in this pull request and generated no new comments.

fred-huang122
fred-huang122 previously approved these changes Jan 15, 2026
Copy link
Copy Markdown
Collaborator

@fred-huang122 fred-huang122 left a comment

Choose a reason for hiding this comment

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

Looks good, just a question there

### Specify in subclass ###
n_episodes: int # number of episodes for the test
##############################

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

What does the comment above mean? Can you explain? @energy-in-joles

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

just trying to box the area that needs to be edited. Let me make it clearer

@energy-in-joles energy-in-joles merged commit a647189 into main Jan 15, 2026
2 checks passed
@energy-in-joles energy-in-joles deleted the improve_test_manager_docs branch January 15, 2026 22:40
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