Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Michal Štefánik
ARQMath-eval
Commits
8f3395d5
Unverified
Commit
8f3395d5
authored
Jun 30, 2021
by
Vít Novotný
Browse files
Add type hints (cont.)
parent
04e077c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/common.py
View file @
8f3395d5
...
...
@@ -2,16 +2,16 @@
from
copy
import
deepcopy
from
math
import
log2
from
typing
import
Optional
,
Set
,
Dict
import
numpy
as
np
import
scipy.stats
as
st
from
typing
import
Optional
,
Set
from
.configuration
import
EVALUATORS
,
PARSED_RELEVANCE_JUDGEMENTS
Scores
=
d
ict
[
str
,
float
]
ParsedRun
=
d
ict
[
str
,
Scores
]
Scores
=
D
ict
[
str
,
float
]
ParsedRun
=
D
ict
[
str
,
Scores
]
Task
=
str
Subset
=
str
Topic
=
str
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment