Skip to content

Implement SAR2RL preprocessing method#82

Closed
akshatgarg06 wants to merge 3 commits intomasterfrom
akshatgarg06-patch-1
Closed

Implement SAR2RL preprocessing method#82
akshatgarg06 wants to merge 3 commits intomasterfrom
akshatgarg06-patch-1

Conversation

@akshatgarg06
Copy link
Copy Markdown
Collaborator

NEW CHANGES

  • Added support for SAR2RL preprocessing method and improved error handling for the preprocessed directory.
  • As requested from the other PR.
  • Also, edited some changes which re-direct to the current file.

Added support for SAR2RL preprocessing method and improved error handling for the preprocessed directory.
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 5, 2026

Init Test Results 📝

  • Status: success
  • OS: Linux
  • Python: 3.10

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 5, 2026

Init Test Results 📝

  • Status: success
  • OS: Linux
  • Python: 3.8

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 5, 2026

Init Test Results 📝

  • Status: success
  • OS: Linux
  • Python: 3.9

Copy link
Copy Markdown
Collaborator

@kenjiro-mk kenjiro-mk left a comment

Choose a reason for hiding this comment

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

Doesn't SAR2RL only support RobCup2D data?

@kenjiro-mk
Copy link
Copy Markdown
Collaborator

Is events.jsonl even necessary to run this code?

@akshatgarg06
Copy link
Copy Markdown
Collaborator Author

Yes, SAR2RL only supports RobCup2D data. Do you want me to change anything in that?
Also yes, events.jsonl even necessary to run this code.

Please let me know if they are good enough.

@akshatgarg06
Copy link
Copy Markdown
Collaborator Author

Also, I would like your reviews on their worth of integration.

@akshatgarg06 akshatgarg06 requested a review from kenjiro-mk March 23, 2026 13:28
Refactor SAR2RL preprocessing method to enforce data provider restrictions and improve error handling for preprocessed directory.
@github-actions
Copy link
Copy Markdown

Init Test Results 📝

  • Status: success
  • OS: Linux
  • Python: 3.10

@github-actions
Copy link
Copy Markdown

Init Test Results 📝

  • Status: success
  • OS: Linux
  • Python: 3.9

@github-actions
Copy link
Copy Markdown

Init Test Results 📝

  • Status: success
  • OS: Linux
  • Python: 3.8

@akshatgarg06
Copy link
Copy Markdown
Collaborator Author

Updated this. SAR2RL is now limited to data_provider='robocup_2d', and the code explicitly stops with a ValueError for any other provider.

@akshatgarg06 akshatgarg06 requested a review from kenjiro-mk March 25, 2026 13:01
@akshatgarg06
Copy link
Copy Markdown
Collaborator Author

@kenjiro-mk Hope it is all good to merge now

Copy link
Copy Markdown
Collaborator

@kenjiro-mk kenjiro-mk left a comment

Choose a reason for hiding this comment

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

Sorry to bother you again. Currently, the dataset and SAR2RL branching are handled in preprocessing/sports/SAR_data/soccer/soccer_SAR_class.py, but please modify this so that the branching is performed in preprocessing/sports/SAR_data/SAR_class.py instead.

@@ -1,3 +1,6 @@
Full current contents of `[soccer_SAR_class.py](/Users/akshatgarg/Desktop/PreProcessing/preprocessing/sports/SAR_data/soccer/soccer_SAR_class.py)`:
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.

Please remove this code.

@github-actions
Copy link
Copy Markdown

Init Test Results 📝

  • Status: success
  • OS: Linux
  • Python: 3.10

@github-actions
Copy link
Copy Markdown

Init Test Results 📝

  • Status: success
  • OS: Linux
  • Python: 3.8

@github-actions
Copy link
Copy Markdown

Init Test Results 📝

  • Status: success
  • OS: Linux
  • Python: 3.9

@akshatgarg06
Copy link
Copy Markdown
Collaborator Author

My apologies, Kenjiro san, as I was updating it on my local files, which might have been left during the editing process.
Sorry for the inconvenience.
Thank you for your time!

@kenjiro-mk
Copy link
Copy Markdown
Collaborator

Please make the following changes.

Sorry to bother you again. Currently, the dataset and SAR2RL branching are handled in preprocessing/sports/SAR_data/soccer/soccer_SAR_class.py, but please modify this so that the branching is performed in preprocessing/sports/SAR_data/SAR_class.py instead.

@akshatgarg06
Copy link
Copy Markdown
Collaborator Author

akshatgarg06 commented Apr 1, 2026

@kenjiro-mk Will be closing the PR as per your request.

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.

2 participants