Rework example task layout#786
Conversation
Codecov Report❌ Patch coverage is
❌ Your patch check has failed because the patch coverage (73.91%) is below the target coverage (95.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## master #786 +/- ##
==========================================
+ Coverage 27.07% 28.73% +1.66%
==========================================
Files 15 15
Lines 495 515 +20
Branches 185 199 +14
==========================================
+ Hits 134 148 +14
- Misses 351 353 +2
- Partials 10 14 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
|
||
| Child reports: | ||
|
|
||
| - `seq/report.md` | ||
| - `mpi/report.md` |
There was a problem hiding this comment.
| Child reports: | |
| - `seq/report.md` | |
| - `mpi/report.md` |
There was a problem hiding this comment.
@aobolensk it is part of report - only teplate next pr I'll add description
|
|
||
| Child reports: | ||
|
|
||
| - `seq/report.md` | ||
| - `omp/report.md` | ||
| - `tbb/report.md` | ||
| - `stl/report.md` | ||
| - `all/report.md` |
There was a problem hiding this comment.
| Child reports: | |
| - `seq/report.md` | |
| - `omp/report.md` | |
| - `tbb/report.md` | |
| - `stl/report.md` | |
| - `all/report.md` |
There was a problem hiding this comment.
@aobolensk it is part of report - only teplate next pr I'll add description
|
|
||
| Child reports: | ||
|
|
||
| - `t1/report.md` | ||
| - `t2/report.md` | ||
| - `t3/report.md` |
There was a problem hiding this comment.
| Child reports: | |
| - `t1/report.md` | |
| - `t2/report.md` | |
| - `t3/report.md` |
There was a problem hiding this comment.
@aobolensk it is part of report - only teplate next pr I'll add description
|
|
||
| Child reports: | ||
|
|
||
| - `seq/report.md` | ||
| - `mpi/report.md` |
There was a problem hiding this comment.
| Child reports: | |
| - `seq/report.md` | |
| - `mpi/report.md` |
There was a problem hiding this comment.
@aobolensk it is part of report - only teplate next pr I'll add description
| .. code-block:: json | ||
|
|
||
| { "student": { "full_name": "Фамилия Имя Отчество", "group_number": "Группа", "task_number": "1" } } | ||
| { "student": { "last_name": "Фамилия", "first_name": "Имя", "middle_name": "Отчество", "group_number": "Группа" } } |
There was a problem hiding this comment.
Are you sure you want to change it also right here right now?
There was a problem hiding this comment.
Fixed. The metadata format is back to full_name + group_number
| for (size_t start = 0; start < settings_task_path.size();) { | ||
| const size_t separator = settings_task_path.find('.', start); | ||
| const size_t key_size = separator == std::string_view::npos ? settings_task_path.size() - start : separator - start; | ||
| settings_node = &settings_node->at(std::string(settings_task_path.substr(start, key_size))); |
There was a problem hiding this comment.
Please, make a proper error hanling here instead of using .at()
There was a problem hiding this comment.
Fixed. Replaced direct .at() access with explicit key validation and contextual runtime errors, and added a unit test for missing nested settings paths.
There was a problem hiding this comment.
Please, make sure that all .po files are actually update
There was a problem hiding this comment.
Updated the translation catalogs with sphinx-intl after regenerating gettext catalogs. docs_gettext, docs_update, and docs_html pass locally.
Co-authored-by: Arseniy Obolenskiy <gooddoog@student.su>
Co-authored-by: Arseniy Obolenskiy <gooddoog@student.su>
| " updates periodically.*" | ||
| msgstr "" | ||
|
|
||
| #~ msgid "" |
| [*.{bat,cmd}] | ||
| end_of_line = crlf |
There was a problem hiding this comment.
Yes. The repository has a tracked Windows batch script with CRLF line endings (scripts/generate_perf_results.bat), while the global EditorConfig rule sets end_of_line = lf for all files. This override resolves that conflict for .bat/.cmd files and keeps Windows scripts in their native line-ending format.
There was a problem hiding this comment.
Is it necessary for this patch? I'd even separate docs part at this point as well
|
@aobolensk done |
| EXPECT_NE(std::string(e.what()).find("tasks.processes.t2"), std::string::npos); | ||
| throw; | ||
| }, | ||
| std::runtime_error); |
There was a problem hiding this comment.
This formatting is strange. Does that really pass clang-format? If not and some clang-format related changes are required, I suggest fixing it separately later
There was a problem hiding this comment.
It's part of ci, ci was green. I think it's bug.
|
Please update description of the PR |
8ab7b17
What changed
tasks/exampletree withthreadsandprocesses/t1,processes/t2,processes/t3sections.tasks/example_threads,tasks/example_processes,tasks/example_processes_2, andtasks/example_processes_3.tasks/example/settings.json,tasks/example/info.json,tasks/example/common, andtasks/example/data.-DPPC_TASKS=example.threadsandprocesses/t1..t3layout.