Home
About
Blog
Products
Forum
Support
Contact
Sunbelt Computer Software
PL/B Language Development and Support
Home
About
Blog
Products
Forum
Support
Contact
dual-loop-controller/run_large_scale_usecase_benchmark.bat at main · Ch3nOff/dual-loop-controller · GitHub
Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Ch3nOff
dual-loop-controller
Repository navigation
Code
Issues
1
(1)
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
dual-loop-controller
/
run_large_scale_usecase_benchmark.bat
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
70 lines (61 loc) · 2.14 KB
main
Breadcrumbs
dual-loop-controller
/
run_large_scale_usecase_benchmark.bat
Copy path
Top
File metadata and controls
Code
Blame
70 lines (61 loc) · 2.14 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
@
echo
off
setlocal
enabledelayedexpansion
title
HADL v2.4.0 - Large-Scale Empirical
&
Use-Case Benchmark Suite
color
0A
echo
==============================================================================
echo
HADL v2.4.0: LARGE-SCALE EMPIRICAL
&
USE-CASE BENCHMARK SUITE
echo
Autopoietic Dual-Loop Cognitive Architecture
echo
Real PyTorch Computations (N = 2,500 Evaluations)
echo
==============================================================================
echo
.
cd
/d
"
%~dp0
"
::
1. Detect Python virtual environment or system Python
if
exist
"
.\.venv\Scripts\python.exe
"
(
set
"
PYTHON_EXE
=
.\.venv\Scripts\python.exe
"
echo
[*] Using local virtual environment: .\.venv\Scripts\python.exe
)
else
(
where
python
>
nul
2
>
nul
if
%errorlevel%
equ
0
(
set
"
PYTHON_EXE
=
python
"
echo
[*] Using system python: python
)
else
(
where
py
>
nul
2
>
nul
if
%errorlevel%
equ
0
(
set
"
PYTHON_EXE
=
py
"
echo
[*] Using Python launcher: py
)
else
(
color
0C
echo
[!] ERROR: Python could not be found. Please ensure Python is installed and in PATH.
pause
exit
/b
1
)
)
)
echo
[*] Starting Large-Scale Benchmark Suite...
echo
.
"
%PYTHON_EXE%
"
dual_loop/benchmarks/large_scale_usecase_benchmark.py
if
%errorlevel%
neq
0
(
color
0C
echo
.
echo
[!] Benchmark encountered an error during execution.
pause
exit
/b
%errorlevel%
)
echo
.
echo
==============================================================================
echo
BENCHMARK RUN COMPLETED SUCCESSFULLY!
echo
==============================================================================
echo
[*] Results saved to:
echo
- eval_results\large_scale_usecase_benchmark.json
echo
- bench\large_scale_usecase_benchmark_results.json
echo
- large_scale_usecase_benchmark_graph.png
echo
.
set
/p
OPEN_GRAPH
=
"
Do you want to open the generated 6-panel visualization graph now? [Y/n]:
"
if
/i
"
%OPEN_GRAPH%
"
==
"
n
"
goto
:
DONE
if
exist
"
large_scale_usecase_benchmark_graph.png
"
(
start
"
"
"
large_scale_usecase_benchmark_graph.png
"
)
:
DONE
echo
.
echo
Press any key to exit...
pause
>
nul
You can’t perform that action at this time.