refactor: consolidate sandbox into competition/ package, remove redundancies - #56
Merged
Merged
Conversation
…dancies - Move 6 sandbox modules (cache_isolator, import_hook, cuda_protector, shape_generator, process_isolator, timing_validator) into sandbox/competition/ as a self-contained anti-cheat package - Add orchestrator.py: unified 7-layer pipeline with run_check() API - Fix all internal imports to use relative paths - Remove full_sandbox.py and competition_evaluator.py (replaced by sandbox/competition/) - Update verifier.py import to sandbox.competition.cuda_protector Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.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.
Summary
sandbox/competition/作为独立反作弊包orchestrator.py:统一 7 层 pipeline,提供run_check()一键调用full_sandbox.py和competition_evaluator.py(冗余)结构变化
之前: 6 个模块散落在 sandbox/ 平铺,full_sandbox.py 和 competition_evaluator.py 功能重叠
之后:
用法
🤖 Generated with Claude Code