with open(file_name, "w") as logp_file:
while (
valid_c_quizzes(quizzes_and_nb_correct_records, standard_validity).size(0)
with open(file_name, "w") as logp_file:
while (
valid_c_quizzes(quizzes_and_nb_correct_records, standard_validity).size(0)
if q.size(0) > 0:
quiz_machine.save_quizzes(
args.result_dir, f"culture_c_quiz_{n_epoch:04d}_N{n}{s}", q
if q.size(0) > 0:
quiz_machine.save_quizzes(
args.result_dir, f"culture_c_quiz_{n_epoch:04d}_N{n}{s}", q