From 1711367dec5ee2f9236197ec0be0bed34cae488f Mon Sep 17 00:00:00 2001
From: Virv12 <55024474+Virv12@users.noreply.github.com>
Date: Tue, 19 Nov 2024 22:41:25 +0000
Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20olimpiad?=
=?UTF-8?q?i-informatica/task-maker-rust@3ab3a7958c037a72fc05f53fde1e58ecd?=
=?UTF-8?q?b2a85b7=20=F0=9F=9A=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
task_maker_format/ioi/struct.IOITask.html | 4 ++--
task_maker_format/ioi/struct.UIState.html | 4 ++--
.../struct.EvaluationConfig.html | 2 +-
task_maker_format/struct.Solution.html | 2 +-
task_maker_format/struct.SourceFile.html | 22 +++++++++----------
.../ui/curses/fn.render_server_status.html | 2 +-
task_maker_format/ui/enum.UIMessage.html | 4 ++--
7 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/task_maker_format/ioi/struct.IOITask.html b/task_maker_format/ioi/struct.IOITask.html
index 7e08c776..f1bfbc3f 100644
--- a/task_maker_format/ioi/struct.IOITask.html
+++ b/task_maker_format/ioi/struct.IOITask.html
@@ -12,7 +12,7 @@
pub input_validator_generator: InputValidatorGenerator,
pub testcase_score_aggregator: TestcaseScoreAggregator,
pub score_precision: usize,
- pub grader_map: Arc<GraderMap>,
+ pub grader_map: Arc<GraderMap>,
pub booklets: Vec<Booklet>,
pub difficulty: Option<u8>,
pub syllabus_level: Option<u8>,
@@ -32,7 +32,7 @@
An integer that defines the level inside a syllabus (for example for the Olympiads in
diff --git a/task_maker_format/ioi/struct.UIState.html b/task_maker_format/ioi/struct.UIState.html
index 44c5bee5..cae7c65d 100644
--- a/task_maker_format/ioi/struct.UIState.html
+++ b/task_maker_format/ioi/struct.UIState.html
@@ -6,7 +6,7 @@
pub compilations: HashMap<PathBuf, CompilationStatus>,
pub generations: HashMap<SubtaskId, SubtaskGenerationState>,
pub evaluations: HashMap<PathBuf, SolutionEvaluationState>,
- pub executor_status: Option<ExecutorStatus<SystemTime>>,
+ pub executor_status: Option<ExecutorStatus<SystemTime>>,
pub booklets: HashMap<String, BookletState>,
pub diagnostics: DiagnosticContext,
}Expand description
The state of a IOI task, all the information for the UI are stored here.
@@ -17,7 +17,7 @@
The status of the compilations.
The state of the generation of the testcases.
The status of the evaluations of the solutions.
-
The status of the executor.
+
The status of the executor.
The status of the booklets
Make a new UIState
.
diff --git a/task_maker_format/struct.EvaluationConfig.html b/task_maker_format/struct.EvaluationConfig.html
index 39f00f01..e4359f44 100644
--- a/task_maker_format/struct.EvaluationConfig.html
+++ b/task_maker_format/struct.EvaluationConfig.html
@@ -20,7 +20,7 @@
&self,
base_dir: &
Path,
patterns:
Vec<&
str>,
- grader_map:
Option<
Arc<
GraderMap>>,
+ grader_map:
Option<
Arc<GraderMap>>,
eval: &mut
EvaluationData,
) ->
Vec<
Solution>
Search all the solutions matching the provided pattern in the provided base directory,
excluding all the graders in the grader_map, if provided.
diff --git a/task_maker_format/struct.Solution.html b/task_maker_format/struct.Solution.html
index 85a52e5e..e5de2b4b 100644
--- a/task_maker_format/struct.Solution.html
+++ b/task_maker_format/struct.Solution.html
@@ -7,7 +7,7 @@
Create a new Solution
for a given source file.
Returns None
if the language is unknown.
diff --git a/task_maker_format/struct.SourceFile.html b/task_maker_format/struct.SourceFile.html
index e2c8569c..84bd7853 100644
--- a/task_maker_format/struct.SourceFile.html
+++ b/task_maker_format/struct.SourceFile.html
@@ -5,7 +5,7 @@
path: P,
base_path: P3,
description: S,
- grader_map:
Option<
Arc<
GraderMap>>,
+ grader_map:
Option<
Arc<GraderMap>>,
write_bin_to:
Option<P2>,
) ->
Option<
SourceFile>
Make a new SourceFile
. See
task_maker_lang::SourceFile
for the details.
@@ -26,7 +26,7 @@
) ->
Result<
Option<ExecutionUuid>,
Error>
Prepare an execution of the source file, eventually adding the compilation to the DAG.
The compilation messages are sent to the UI.
Prepare the source file if needed and return the executable file.
-
-
Force the executable to be copied to write_bin_to
regardless of the option of the DAG.
-
Compile the source file to a statically-linked binary.
-
Force the executable to be copied to write_bin_to
regardless of the option of the DAG.
+
Compile the source file to a statically-linked binary.
+
Prepare the source file if needed and return the executable file. If the compilation step
was not executed yet the handle to the compilation execution is also returned.
-
The file name of the source file.
+
The file name of the source file.
use task_maker_lang::SourceFile;
use std::path::PathBuf;
@@ -93,20 +93,20 @@ §Examples
let source = SourceFile::new("path/to/sourcefile.cpp", "", None, None::<PathBuf>).unwrap();
assert_eq!(source.name(), "sourcefile.cpp");
-
The path to the file, relative to the base_dir
if possible. If the file is not inside the
+
The path to the file, relative to the base_dir
if possible. If the file is not inside the
base dir, the full path is returned.
-
The optional destination of where to copy the executable if copy-exe option is set.
+
The optional destination of where to copy the executable if copy-exe option is set.
use task_maker_lang::SourceFile;
let source = SourceFile::new("path/to/sourcefile.cpp", "", None, Some("exec")).unwrap();
assert_eq!(source.write_bin_to(), Some("exec".into()));
-
Prepare the source file setting the executable
and eventually compiling the source file.
-
The language of the source file.
+
Prepare the source file setting the executable
and eventually compiling the source file.
+
The language of the source file.
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
Mutably dereferences the value.
Deserialize this value from the given Serde deserializer.
Read more
Serialize this value into the given Serde serializer.
Read more
The resulting type after dereferencing.
Dereferences the value.
Serialize this value into the given Serde serializer.
Read more
The resulting type after dereferencing.
Dereferences the value.