Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About code for Multi-Region Repairs #1

Open
CRhapsody opened this issue Jan 30, 2023 · 3 comments
Open

About code for Multi-Region Repairs #1

CRhapsody opened this issue Jan 30, 2023 · 3 comments

Comments

@CRhapsody
Copy link

Hello,
I can't find the code for multi-region repairs in your paper. Would you provide this part of the code for reference?

Thank you!

@fufeisi
Copy link
Contributor

fufeisi commented Jan 30, 2023

Refer to Algorithm 1 in our paper. Multi-region repairs are achieved by combining multiple single-region repairs.

def point_wise_repair(self, buggy_inputs, output_constraints, core_num=1):

This function supports multi-region repair.

@zhe-tao
Copy link

zhe-tao commented Feb 22, 2023

Refer to Algorithm 1 in our paper. Multi-region repairs are achieved by combining multiple single-region repairs.

def point_wise_repair(self, buggy_inputs, output_constraints, core_num=1):

This function supports multi-region repair.

Does it handle the case when the regions intersect (Sec. 3.6, Fig. 3)?

@fufeisi
Copy link
Contributor

fufeisi commented Feb 22, 2023

Section 3.6 requires that all regions be linear regions, which means that their interiors do not intersect, although they can share the same boundary, as shown in Figure 3. As long as this requirement is met, the approach will be effective.

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

No branches or pull requests

3 participants