Repository navigation
refactor(legal-agent-bench): separate runtime code from vendor notices - #5787
Closed
rystewart-nvidia wants to merge 4 commits into
Closed
rystewart-nvidia wants to merge 4 commits into
rystewart-nvidia wants to merge 4 commits into
Conversation
This was referenced Nov 7, 2026
7 tasks done
rystewart-nvidia
force-pushed
the
lab-refresh/attribution
branch
from
November 7, 2026 03:39
dad13a7 to
434076a
Compare
rystewart-nvidia
force-pushed
the
lab-refresh/attribution
branch
from
November 10, 2026 21:56
434076a to
709856f
Compare
Contributor
|
|
rystewart-nvidia
force-pushed
the
lab-refresh/attribution
branch
from
November 12, 2026 03:17
86ab2ef to
5aafea9
Compare
Contributor
Author
|
@cmunley1 I fixed the source link to point to |
rystewart-nvidia
force-pushed
the
lab-refresh/attribution
branch
from
November 12, 2026 20:34
5aafea9 to
f70c1f4
Compare
cmunley1
approved these changes
Nov 12, 2026
Signed-off-by: Ryan Stewart <[email protected]>
rystewart-nvidia
force-pushed
the
lab-refresh/attribution
branch
from
November 13, 2026 15:59
f70c1f4 to
cb5109c
Compare
Signed-off-by: Ryan Stewart <[email protected]>
Signed-off-by: Ryan Stewart <[email protected]>
7 tasks done
Signed-off-by: Ryan Stewart <[email protected]>
Contributor
Author
|
superseded by changes merged in #5791, closing |
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.
What does this PR do?
Move LAB's runtime code into
resources_servers/legal_agent_bench/harness/andlab_harbor/. Leave licenses and attribution undervendor/harvey_labs/. Update imports and preparation paths so the runtime works as normal Python packages.Preserve the MIT license for code adapted from Harvey LAB, add Apache-2.0 notices for NVIDIA's changes, and list the component in
ATTRIBUTIONS.md. Source headers and the attribution README identify the upstream files and revision.Validation
Run with Python 3.13.14 and the Gym test environment activated:
45 tests passed, covering preparation, imports, agent behavior, and scoring. The new test catches broken package imports and stale runtime paths. Pre-commit and import checks passed.
LITELLM_LOCAL_MODEL_COST_MAP=Trueavoids downloading model prices during imports;--active --no-syncuses the activated environment.Rollouts
A live model used the moved runtime in a Harbor Docker sandbox to write
moved-runtime.txtcontainingREADY. It finished in two turns, and the collected file contained the expected text.The standalone verifier then graded that file using GPT-5.5 as judge. Its criterion passed, giving reward 1 with no judge errors. This checked that the verifier could run from the packaged files without mounting the repository. Test containers and connections were cleaned up.
These checks cover the moved agent and verifier.
Compatibility and benchmark impact
Imports now use
resources_servers.legal_agent_bench.harnessandresources_servers.legal_agent_bench.lab_harbor. Task IDs, source revision, benchmark settings, prompt, and scoring are unchanged.Only
ATTRIBUTIONS.mdchanges outside LAB. No shared runtime code changes, and Harvey's original code remains MIT-licensed.Checklist
pre-commit run --all-files) (so CI lint/format checks pass).git commit -s) (so the DCO check passes).