Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
schedgen
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Pour rappel, le service sera inaccessible ce lundi 05/05/25 midi pour raison de mise à jour.
Show more breadcrumbs
veriT
schedgen
Commits
ce7565f7
Commit
ce7565f7
authored
3 years ago
by
Hans-Jörg
Browse files
Options
Downloads
Patches
Plain Diff
Switch default logic to "all"
parent
1162d884
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
schedgen/schedgen-finalize.py
+1
-1
1 addition, 1 deletion
schedgen/schedgen-finalize.py
schedgen/schedgen-optimize.py
+1
-1
1 addition, 1 deletion
schedgen/schedgen-optimize.py
schedgen/schedgen-simulate.py
+1
-3
1 addition, 3 deletions
schedgen/schedgen-simulate.py
with
3 additions
and
5 deletions
schedgen/schedgen-finalize.py
+
1
−
1
View file @
ce7565f7
...
...
@@ -16,7 +16,7 @@ args_parser.add_argument(
dest
=
"
logics
"
,
metavar
=
"
L
"
,
nargs
=
"
*
"
,
default
=
[
"
UF
"
],
default
=
[
"
all
"
],
type
=
str
,
help
=
"
A list of logics. One for for each schedule.
"
,
)
...
...
This diff is collapsed.
Click to expand it.
schedgen/schedgen-optimize.py
+
1
−
1
View file @
ce7565f7
...
...
@@ -23,7 +23,7 @@ args_parser.add_argument(
dest
=
"
logics
"
,
metavar
=
"
L
"
,
nargs
=
"
*
"
,
default
=
[
"
UF
"
],
default
=
[
"
all
"
],
type
=
str
,
help
=
"
The logics to analyze, comma separated,
'
all
'
for all logics.
"
,
)
...
...
This diff is collapsed.
Click to expand it.
schedgen/schedgen-simulate.py
+
1
−
3
View file @
ce7565f7
...
...
@@ -35,7 +35,7 @@ args_parser.add_argument(
dest
=
"
logics
"
,
metavar
=
"
L
"
,
nargs
=
"
*
"
,
default
=
[
"
UF
"
],
default
=
[
"
all
"
],
type
=
str
,
help
=
"
The logics to use for simulation.
'
all
'
for all logics.
"
,
)
...
...
@@ -173,8 +173,6 @@ if __name__ == "__main__":
# Some pandas magic to do the simulation
for
strategy_time
,
strategy
in
pre_schedule
:
print
(
strategy_time
,
strategy
)
jitter
=
rng
.
normal
(
args
.
mu
,
args
.
sigma
,
exps
.
shape
[
0
])
solved
=
(
exps
[
strategy
]
+
jitter
).
loc
[
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment