Merged
Conversation
Signed-off-by: Nikolai Ludwig <nliudvig@nvidia.com>
Contributor
WalkthroughIntroduces an asynchronous hook method apply_evaluation_hook(self, data_point) to SweBenchGenerationTask in nemo_skills/inference/eval/swebench.py. The method currently returns the input data_point unchanged, with a comment indicating evaluation is performed directly after generation. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant U as Caller
participant T as SweBenchGenerationTask
rect rgb(240,248,255)
note over T: Generation phase
U->>T: generate(data_point)
T-->>U: generated_output
end
rect rgb(245,255,240)
note over T: New hook (post-generation)
U->>T: apply_evaluation_hook(data_point)
T-->>U: data_point (unchanged)
end
rect rgb(255,250,240)
note over T: Evaluation phase
U->>T: evaluate(generated_output, data_point)
T-->>U: evaluation_result
end
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
SeanNaren
pushed a commit
to SeanNaren/NeMo-Skills
that referenced
this pull request
Oct 9, 2025
Signed-off-by: Nikolai Ludwig <nliudvig@nvidia.com> Signed-off-by: SeanNaren <snarenthiran@nvidia.com>
SeanNaren
pushed a commit
that referenced
this pull request
Oct 9, 2025
Signed-off-by: Nikolai Ludwig <nliudvig@nvidia.com> Signed-off-by: SeanNaren <snarenthiran@nvidia.com>
dgtm777
pushed a commit
that referenced
this pull request
Mar 18, 2026
Signed-off-by: Nikolai Ludwig <nliudvig@nvidia.com> Signed-off-by: dgitman <dgitman@nvidia.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes an issue introduced by #825 where this line was failing because
SweBenchGenerationTaskhas noevaluatorattribute.Edit: the coderabbit summary is nonsense, I'm just overriding the existing
apply_evaluation_hookfunction to be a no-op for SWE-bench because we don't use an evaluator here (yet).Summary by CodeRabbit
Refactor
Chores