Skip to content

fix: preserve stdout between EDA blocks - #1465

Open
Jimmy Wang (JimmyWang0417) wants to merge 1 commit into
microsoft:mainfrom
JimmyWang0417:fix/issue-1459-nongreedy-eda-blocks
Open

fix: preserve stdout between EDA blocks#1465
Jimmy Wang (JimmyWang0417) wants to merge 1 commit into
microsoft:mainfrom
JimmyWang0417:fix/issue-1459-nongreedy-eda-blocks

Conversation

@JimmyWang0417

@JimmyWang0417 Jimmy Wang (JimmyWang0417) commented Aug 31, 2026

Copy link
Copy Markdown

Description

Match each EDA block independently so normal stdout between multiple blocks is preserved.

Motivation and Context

The previous greedy match removed text from the first start marker through the last end marker when stdout contained multiple EDA blocks.

Fixes #1459.

How Has This Been Tested?

  • python -m pytest test/utils/coder/test_data_science_utils.py -q
  • Black (120-character line length) and isort checks for the changed files
  • python -m compileall -q rdagent/components/coder/data_science/utils.py test/utils/coder/test_data_science_utils.py
  • git diff --check

The focused regression test passes. The full test suite was not run.

Types of changes

  • Fix bugs
  • Add new feature
  • Update documentation

馃摎 Documentation preview 馃摎: https://RDAgent--1465.org.readthedocs.build/en/1465/

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.

Bug: remove_eda_part greedily removes stdout between multiple EDA blocks

1 participant