Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
lm-evaluation-harness
Commits
705e57c7
Commit
705e57c7
authored
Jul 17, 2023
by
baberabb
Browse files
fix new_tasks function
parent
8c0db2ac
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/test_tasks.py
tests/test_tasks.py
+1
-1
No files found.
tests/test_tasks.py
View file @
705e57c7
...
@@ -16,7 +16,7 @@ def new_tasks(any_new_tasks: bool) -> List[str]:
...
@@ -16,7 +16,7 @@ def new_tasks(any_new_tasks: bool) -> List[str]:
FILENAME
=
".github/outputs/tasks_all_changed_and_modified_files.txt"
FILENAME
=
".github/outputs/tasks_all_changed_and_modified_files.txt"
if
any_new_tasks
and
os
.
path
.
exists
(
FILENAME
):
if
any_new_tasks
and
os
.
path
.
exists
(
FILENAME
):
return
[
parser
(
load_changed_files
(
FILENAME
))]
return
[
parser
(
load_changed_files
(
FILENAME
))]
elif
"API"
i
n
os
.
getenv
:
elif
os
.
getenv
(
"API"
)
i
s
not
None
:
return
[
"arc_easy"
,
"hellaswag"
,
"piqa"
,
"wikitext"
]
return
[
"arc_easy"
,
"hellaswag"
,
"piqa"
,
"wikitext"
]
else
:
else
:
return
[
"arc_easy"
]
return
[
"arc_easy"
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment