projects
/
culture.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update.
[culture.git]
/
main.py
diff --git
a/main.py
b/main.py
index
6e5545c
..
11eb8fd
100755
(executable)
--- a/
main.py
+++ b/
main.py
@@
-434,9
+434,9
@@
def create_c_quizzes(
for n in range(nb_correct.max() + 1):
recorded[n].append(new_c_quizzes[nb_correct == n].clone())
for n in range(nb_correct.max() + 1):
recorded[n].append(new_c_quizzes[nb_correct == n].clone())
- log_string(
- f"keep c_quizzes {nb_validated()*100/nb_generated():.02f}% kept total {nb_validated()} / {nb_to_create}"
- )
+ nv = [recorded[n][-1].size(0) for n in recorded.keys()]
+
+
log_string(f"keep c_quizzes kept {nv} total {nb_validated()} / {nb_to_create}"
)
# concatenate and shuffle
for n in recorded.keys():
# concatenate and shuffle
for n in recorded.keys():