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

Minor fixes #750

Merged
merged 6 commits into from
May 8, 2023
Merged

Minor fixes #750

merged 6 commits into from
May 8, 2023

Conversation

kbattocchi
Copy link
Collaborator

No description provided.

Signed-off-by: Keith Battocchi <kebatt@microsoft.com>
Signed-off-by: Keith Battocchi <kebatt@microsoft.com>
@kbattocchi kbattocchi marked this pull request as ready for review May 5, 2023 18:57
@kbattocchi kbattocchi requested a review from fverac May 5, 2023 18:57
@@ -224,7 +226,7 @@ jobs:
steps:
- run: exit 1
name: At least one check failed or was cancelled
if: ${{ !(success()) }}
if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't understand the reason for the change here, could you explain?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

At the step level, success is checking that each previous step succeeded, not that the required jobs succeeded, see e.g. https://github.com/py-why/EconML/actions/runs/4461230788/jobs/7835479732

@@ -899,7 +899,7 @@ def score(self, Y, T, X=None, W=None, Z=None, sample_weight=None, groups=None):
nuisances = [np.zeros((n_iters * n_splits,) + nuis.shape) for nuis in nuisance_temp]

for it, nuis in enumerate(nuisance_temp):
nuisances[it][i * n_iters + j] = nuis
nuisances[it][j * n_iters + i] = nuis
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we link this to the inciting issue.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The name of that commit mentions it, and I'll rebase rather than squash when merging so that it will be maintained.

Signed-off-by: Keith Battocchi <kebatt@microsoft.com>
Signed-off-by: Keith Battocchi <kebatt@microsoft.com>
Signed-off-by: Keith Battocchi <kebatt@microsoft.com>
Signed-off-by: Keith Battocchi <kebatt@microsoft.com>
@kbattocchi kbattocchi enabled auto-merge (rebase) May 8, 2023 12:50
@kbattocchi kbattocchi merged commit 0be1625 into main May 8, 2023
@kbattocchi kbattocchi deleted the kebatt/minorFixes branch May 8, 2023 20:35
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