Commit 7f171e4
refactor(benchmarks): consolidate to re-export from openadapt-evals (#17)
* docs: add verified repo consolidation plan
- Two-package architecture: openadapt-evals (foundation) + openadapt-ml (ML)
- Verified audit findings: 10 dead files confirmed, 3 previously marked dead but used
- CLI namespacing: oa evals <cmd>, oa ml <cmd>
- Dependency direction: openadapt-ml depends on openadapt-evals (not circular)
- Agents with ML deps (PolicyAgent, BaselineAgent) move to openadapt-ml
- adapters/waa/ subdirectory pattern for benchmark organization
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* feat: add openadapt-evals as optional dependency
Add [benchmarks] optional dependency for benchmark evaluation:
- pip install openadapt-ml[benchmarks]
This is part of the repo consolidation to establish:
- openadapt-evals: Foundation for benchmarks + infrastructure
- openadapt-ml: ML training (depends on evals for benchmarks)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* docs(cli): clarify serve vs dashboard command naming
- oa ml serve: serve trained models for inference
- oa ml dashboard: training dashboard for monitoring
This distinguishes the two use cases clearly:
- serve = model inference endpoint
- dashboard = training progress UI
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* refactor(benchmarks): consolidate to re-export from openadapt-evals
Migrate benchmark infrastructure to two-package architecture:
- openadapt-evals: Foundation package with all adapters, agents, runner
- openadapt-ml: ML-specific agents that wrap openadapt-ml internals
Changes:
- Convert base.py, waa.py, waa_live.py, runner.py, data_collection.py,
live_tracker.py to deprecation stubs that re-export from openadapt-evals
- Keep only ML-specific agents in agent.py: PolicyAgent, APIBenchmarkAgent,
UnifiedBaselineAgent
- Update __init__.py to import from openadapt-evals with deprecation warning
- Update tests to import from correct locations
- Remove test_waa_live.py (tests belong in openadapt-evals)
Net: -3540 lines of duplicate code removed
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* refactor(benchmarks): delete deprecation stubs, import from openadapt-evals
Remove deprecation stubs since there are no external users. Tests now
import directly from openadapt-evals (canonical location).
Deleted:
- base.py, waa.py, waa_live.py, runner.py, data_collection.py, live_tracker.py
Kept:
- agent.py (ML-specific agents: PolicyAgent, APIBenchmarkAgent, UnifiedBaselineAgent)
- __init__.py (simplified to only export ML-specific agents)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* docs(readme): add WAA benchmark results section with placeholders
Add section 15 for Windows Agent Arena benchmark results with clearly
marked placeholders. Results will be filled in when full evaluation
completes. Warning banner indicates PR should not merge until
placeholders are replaced.
Sections added:
- 15.1 Benchmark Overview
- 15.2 Baseline Reproduction (paper vs our run)
- 15.3 Model Comparison (GPT-4o, Claude, Qwen variants)
- 15.4 Domain Breakdown
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* docs(readme): move WAA benchmark results to openadapt-evals
WAA benchmark results belong in openadapt-evals (the benchmark
infrastructure package) rather than openadapt-ml (the training package).
See: OpenAdaptAI/openadapt-evals#22
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* feat(cli): add VNC auto-launch and --fast VM option
- Add setup_vnc_tunnel_and_browser() helper for automatic VNC access
- Add VM_SIZE_FAST constants with D8 series sizes
- Add VM_SIZE_FAST_FALLBACKS for automatic region/size retry
- Add --fast flag to create command for faster installations
- Add --fast flag to start command for more QEMU resources (6 cores, 16GB)
- Opens browser automatically after container starts
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* docs: add WAA speedup options documentation
- Document --fast VM flag usage
- Explain parallelization options
- Detail golden image approach for future optimization
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* docs(readme): add benchmark execution logs section
- Add section 13.5 with log viewing commands
- Add benchmark run commands with examples
- Renumber screenshot capture tool section to 13.6
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* docs(readme): clarify --run flag for benchmark execution logs
- Add logs --run command for viewing task progress
- Add logs --run -f for live streaming
- Add logs --run --tail N for last N lines
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* docs(readme): add example output for logs commands
- Add example output for `logs` (container status)
- Add example output for `logs --run -f` (benchmark execution)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* feat(cli): add --progress flag for benchmark ETA
- Add _show_benchmark_progress() function
- Parse run logs for completed task count
- Calculate elapsed time and estimated remaining
- Show progress percentage
Example usage:
uv run python -m openadapt_ml.benchmarks.cli logs --progress
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* docs(research): add cua.ai vs openadapt-ml WAA comparison
Comprehensive analysis of Cua (YC X25) computer-use agent platform:
- Architecture comparison (composite agents, sandbox-first)
- Benchmark framework differences (cua-bench vs openadapt-evals)
- Training data generation (trajectory replotting)
- Recommendations: adopt patterns, not full migration
Key findings:
- Cua's parallelization uses multiple sandboxes (like our multi-VM plan)
- Composite agent pattern could reduce API costs
- HTML capture enables training data diversity
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* feat(cli): add parallelization support with --worker-id and --num-workers
WAA natively supports parallel execution by distributing tasks across workers.
Usage:
# Run on single VM (default)
run --num-tasks 154
# Run in parallel on multiple VMs
VM1: run --num-tasks 154 --worker-id 0 --num-workers 3
VM2: run --num-tasks 154 --worker-id 1 --num-workers 3
VM3: run --num-tasks 154 --worker-id 2 --num-workers 3
Tasks auto-distribute: worker 0 gets tasks 0-51, worker 1 gets 52-103, etc.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* docs(research): add market positioning and strategic differentiation
Expand cua_waa_comparison.md with:
- Success rate gap analysis (38.1% vs 19.5%)
- Market positioning comparison (TAM, buyers, value props)
- Where sandbox approach fails (Citrix, licensed SW, compliance)
- Shell applications convergence opportunities
- Bottom line: Windows enterprise automation is hard, validates OpenAdapt approach
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* docs(waa): add parallelization and scalable benchmark design docs
- Add WAA_PARALLELIZATION_DESIGN.md documenting:
- Official WAA approach (Azure ML Compute)
- Our dedicated VM approach (dev/debug)
- When to use each approach
- Add WAA_UNATTENDED_SCALABLE.md documenting:
- Goal: unattended, scalable, programmatic WAA
- Synthesized approach using official run_azure.py
- Implementation plan and cost estimates
- Update Dockerfile comments to clarify:
- API agents (api-claude, api-openai) run externally
- openadapt-evals CLI connects via SSH tunnel
- No internal run.py patching needed
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* style: fix ruff formatting
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* fix(imports): update internal code to import from openadapt-evals
Replace imports from deleted benchmark files with direct imports
from openadapt-evals:
- azure.py: BenchmarkResult, BenchmarkTask, WAAAdapter
- waa_demo/runner.py: BenchmarkAction, WAAMockAdapter, etc.
This completes the migration to the two-package architecture where
openadapt-evals is the canonical source for benchmark infrastructure.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* fix(imports): add missing EvaluationConfig import
- Update azure.py to import BenchmarkAgent from openadapt_evals
- Add EvaluationConfig to runner.py imports
Fixes CI failure: F821 Undefined name `EvaluationConfig`
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* fix(deps): require openadapt-evals>=0.1.1
v0.1.0 uses task ID format "browser_1" but tests expect "mock_browser_001"
which was added in v0.1.1.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent 6d808ea commit 7f171e4
25 files changed
Lines changed: 2957 additions & 3961 deletions
File tree
- docs
- research
- openadapt_ml
- benchmarks
- waa_deploy
- experiments/waa_demo
- tests
- benchmarks
- integration
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
825 | 825 | | |
826 | 826 | | |
827 | 827 | | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
828 | 931 | | |
829 | 932 | | |
830 | | - | |
| 933 | + | |
831 | 934 | | |
832 | 935 | | |
833 | 936 | | |
| |||
0 commit comments