Skip to content
This repository was archived by the owner on Jan 12, 2026. It is now read-only.

[task_05] Lab5#329

Open
tgoyshik wants to merge 88 commits into
brstu:mainfrom
tgoyshik:task_05
Open

[task_05] Lab5#329
tgoyshik wants to merge 88 commits into
brstu:mainfrom
tgoyshik:task_05

Conversation

@tgoyshik
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings December 19, 2025 07:14
@github-actions
Copy link
Copy Markdown

📌 Duplicate code detection tool report

The tool analyzed your source code and found the following degree of similarity between the files:

trunk/ii002713/task_03/doc/html/index.md

📄 trunk/ii002713/task_03/doc/html/index.md

File Similarity (%)
trunk/ii02810/task_03/doc/pages/index.md 93.06 ⚠️
trunk/ii002826/task_03/doc/html/index.md 92.58
trunk/ii002717/task_01/src/main.cpp

📄 trunk/ii002717/task_01/src/main.cpp

File Similarity (%)
trunk/ii02717/task_02/src/main.cpp 93.15 ⚠️
trunk/ii002826/task_03/doc/html/index.md

📄 trunk/ii002826/task_03/doc/html/index.md

File Similarity (%)
trunk/ii02817/task_03/doc/html/index.md 93.58 ⚠️
trunk/ii02810/task_03/doc/pages/index.md 92.59
trunk/ii002713/task_03/doc/html/index.md 92.58
trunk/ii02823/task_03/doc/html/index.md 92.42
trunk/ii02707/task_04/doc/README.md

📄 trunk/ii02707/task_04/doc/README.md

File Similarity (%)
trunk/ii02817/task_04/doc/README.md 93.05 ⚠️
trunk/ii02717/task_02/src/main.cpp

📄 trunk/ii02717/task_02/src/main.cpp

File Similarity (%)
trunk/ii002717/task_01/src/main.cpp 93.15 ⚠️
trunk/ii02719/task_01/src/OTIS_task1/OTIS_task1.cpp

📄 trunk/ii02719/task_01/src/OTIS_task1/OTIS_task1.cpp

File Similarity (%)
trunk/ii02719/task_01/src/task1.cpp 94.52 ⚠️
trunk/ii02719/task_01/src/task1.cpp

📄 trunk/ii02719/task_01/src/task1.cpp

File Similarity (%)
trunk/ii02719/task_01/src/OTIS_task1/OTIS_task1.cpp 94.52 ⚠️
trunk/ii02804/task_03/doc/readme.md

📄 trunk/ii02804/task_03/doc/readme.md

File Similarity (%)
trunk/ii02804/task_04/doc/readme.md 100.0 ⚠️
trunk/ii02812/task_03/doc/Readme.md 93.01 ⚠️
trunk/ii02804/task_04/doc/readme.md

📄 trunk/ii02804/task_04/doc/readme.md

File Similarity (%)
trunk/ii02804/task_03/doc/readme.md 100.0 ⚠️
trunk/ii02812/task_03/doc/Readme.md 93.01 ⚠️
trunk/ii02808/task_01/src/main.cpp

📄 trunk/ii02808/task_01/src/main.cpp

File Similarity (%)
trunk/ii02808/task_02/src/main.cpp 92.84
trunk/ii02808/task_02/src/main.cpp

📄 trunk/ii02808/task_02/src/main.cpp

File Similarity (%)
trunk/ii02808/task_01/src/main.cpp 92.84
trunk/ii02810/task_02/doc/Readme.md

📄 trunk/ii02810/task_02/doc/Readme.md

File Similarity (%)
trunk/ii02810/task_02/test/Test.cpp 92.11
trunk/ii02810/task_02/test/Test.cpp

📄 trunk/ii02810/task_02/test/Test.cpp

File Similarity (%)
trunk/ii02810/task_02/doc/Readme.md 92.11
trunk/ii02810/task_03/doc/pages/index.md

📄 trunk/ii02810/task_03/doc/pages/index.md

File Similarity (%)
trunk/ii002713/task_03/doc/html/index.md 93.06 ⚠️
trunk/ii02823/task_03/doc/html/index.md 92.84
trunk/ii002826/task_03/doc/html/index.md 92.59
trunk/ii02812/task_03/doc/report/index.md 92.49
trunk/ii02812/task_03/doc/Readme.md

📄 trunk/ii02812/task_03/doc/Readme.md

File Similarity (%)
trunk/ii02804/task_03/doc/readme.md 93.01 ⚠️
trunk/ii02804/task_04/doc/readme.md 93.01 ⚠️
trunk/ii02812/task_03/doc/report/index.md

📄 trunk/ii02812/task_03/doc/report/index.md

File Similarity (%)
trunk/ii02810/task_03/doc/pages/index.md 92.49
trunk/ii02817/task_03/doc/html/index.md

📄 trunk/ii02817/task_03/doc/html/index.md

File Similarity (%)
trunk/ii002826/task_03/doc/html/index.md 93.58 ⚠️
trunk/ii02818/task_03/doc/html/index.md 92.33
trunk/ii02817/task_04/doc/README.md

📄 trunk/ii02817/task_04/doc/README.md

File Similarity (%)
trunk/ii02707/task_04/doc/README.md 93.05 ⚠️
trunk/ii02818/task_03/doc/html/index.md

📄 trunk/ii02818/task_03/doc/html/index.md

File Similarity (%)
trunk/ii02817/task_03/doc/html/index.md 92.33
trunk/ii02823/task_03/doc/html/index.md

📄 trunk/ii02823/task_03/doc/html/index.md

File Similarity (%)
trunk/ii02810/task_03/doc/pages/index.md 92.84
trunk/ii002826/task_03/doc/html/index.md 92.42

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds documentation and images for laboratory work №3 (PID controller simulation) to the task_04 directory for student ii02804. However, there are several inconsistencies between the PR title, file locations, and referenced paths.

Key Changes

  • Added comprehensive readme.md documentation for a PID controller simulation lab in trunk/ii02804/task_04/doc/
  • Added 26 supporting image files (PNG format) to trunk/ii02804/task_04/doc/images/
  • Modified GitHub workflow configuration to adjust duplication check thresholds

Reviewed changes

Copilot reviewed 2 out of 30 changed files in this pull request and generated 5 comments.

File Description
trunk/ii02804/task_04/doc/readme.md Documentation for laboratory work №3 on PID controllers - contains multiple incorrect path references
trunk/ii02804/task_04/doc/images/*.png 26 image files (binary content) supporting the documentation
.github/workflows/check_duplication.yml Updated duplication threshold from 92% to 93% and added ignore directories

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

<p align="center">“Брестский Государственный технический университет”</p>
<p align="center">Кафедра ИИТ</p>
<br><br><br><br><br><br><br>
<p align="center">Лабораторная работа №3</p>
Copy link

Copilot AI Dec 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR title indicates this is for "task_05 lab5", but all the actual content being added is for task_04. The documentation is being placed in trunk/ii02804/task_04/doc/, and the readme file at line 6 states this is "Лабораторная работа №3" (Laboratory work №3). There is a mismatch between the PR title and the actual content.

Copilot uses AI. Check for mistakes.
Comment on lines +19 to +23
1. Написать отчет по выполненной лабораторной работе №3 в .md формате (*readme.md*) и разместить его в следующем каталоге: **trunk\ii0xxyy\task_03\doc**.
2. Исходный код написанной программы разместить в каталоге: **trunk\ii0xxyy\task_03\src**.
3. Отразить выполнение работы в файле readme.md в соответствующей строке (например, для студента под порядковым номером 1 - https://github.com/brstu/OTIS-2025/edit/main/readme.md?#L17-L17).
4. Документировать исходный код программы с помощью комментариев в стиле **Doxygen**. Полученную документацию разместить в каталоге: **trunk\ii0xxyy\task_03\doc\html**. Настроить `GitHub Pages` для автоматической публикации документации из этого каталога.
5. Разработанная программа также должна быть покрыта модульными тестами, написанными с использованием **Google Test**. Тесты разместить в каталоге: **trunk\ii0xxyy\task_03\test**.
Copy link

Copilot AI Dec 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lines 19-23 reference "task_03" paths (e.g., "trunk\ii0xxyy\task_03\doc"), but this documentation is for task_04. The paths should be updated to reference "task_04" to match the actual location of the files and avoid confusion.

Suggested change
1. Написать отчет по выполненной лабораторной работе №3 в .md формате (*readme.md*) и разместить его в следующем каталоге: **trunk\ii0xxyy\task_03\doc**.
2. Исходный код написанной программы разместить в каталоге: **trunk\ii0xxyy\task_03\src**.
3. Отразить выполнение работы в файле readme.md в соответствующей строке (например, для студента под порядковым номером 1 - https://github.com/brstu/OTIS-2025/edit/main/readme.md?#L17-L17).
4. Документировать исходный код программы с помощью комментариев в стиле **Doxygen**. Полученную документацию разместить в каталоге: **trunk\ii0xxyy\task_03\doc\html**. Настроить `GitHub Pages` для автоматической публикации документации из этого каталога.
5. Разработанная программа также должна быть покрыта модульными тестами, написанными с использованием **Google Test**. Тесты разместить в каталоге: **trunk\ii0xxyy\task_03\test**.
1. Написать отчет по выполненной лабораторной работе №3 в .md формате (*readme.md*) и разместить его в следующем каталоге: **trunk\ii0xxyy\task_04\doc**.
2. Исходный код написанной программы разместить в каталоге: **trunk\ii0xxyy\task_04\src**.
3. Отразить выполнение работы в файле readme.md в соответствующей строке (например, для студента под порядковым номером 1 - https://github.com/brstu/OTIS-2025/edit/main/readme.md?#L17-L17).
4. Документировать исходный код программы с помощью комментариев в стиле **Doxygen**. Полученную документацию разместить в каталоге: **trunk\ii0xxyy\task_04\doc\html**. Настроить `GitHub Pages` для автоматической публикации документации из этого каталога.
5. Разработанная программа также должна быть покрыта модульными тестами, написанными с использованием **Google Test**. Тесты разместить в каталоге: **trunk\ii0xxyy\task_04\test**.

Copilot uses AI. Check for mistakes.
Comment on lines +210 to +223
![res1.1](https://github.com/tgoyshik/OTIS-2025/blob/task_03/trunk/ii02804/task_03/doc/images/res1.1.png)
![res1.2](https://github.com/tgoyshik/OTIS-2025/blob/task_03/trunk/ii02804/task_03/doc/images/res1.2.png)

### `Нелинейная функция`
![res2](https://github.com/tgoyshik/OTIS-2025/blob/task_03/trunk/ii02804/task_03/doc/images/res2.png)

## Графики
### При `K = 0.5 T = 2.0 T0 = 1.0 TD = 0.3 a = 0.8 b = 0.1 y0 = 20 w = 100`

![schedule1](https://github.com/tgoyshik/OTIS-2025/blob/task_03/trunk/ii02804/task_03/doc/images/schedule1.png)
<br>

### При `K = 0.5 T = 2.0 T0 = 1.0 TD = 0.3 a = 0.8 b = 0.1 c = 0.05 d = 0.03 y0 = 20 w = 100`
![schedule2](https://github.com/tgoyshik/OTIS-2025/blob/task_03/trunk/ii02804/task_03/doc/images/schedule2.png)
Copy link

Copilot AI Dec 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The image URLs at lines 210-214 and 219, 223 reference branches and paths from "task_03" (e.g., "blob/task_03/trunk/ii02804/task_03/doc/images/"). These should be updated to reference "task_04" to correctly point to the images in the current task directory.

Suggested change
![res1.1](https://github.com/tgoyshik/OTIS-2025/blob/task_03/trunk/ii02804/task_03/doc/images/res1.1.png)
![res1.2](https://github.com/tgoyshik/OTIS-2025/blob/task_03/trunk/ii02804/task_03/doc/images/res1.2.png)
### `Нелинейная функция`
![res2](https://github.com/tgoyshik/OTIS-2025/blob/task_03/trunk/ii02804/task_03/doc/images/res2.png)
## Графики
### При `K = 0.5 T = 2.0 T0 = 1.0 TD = 0.3 a = 0.8 b = 0.1 y0 = 20 w = 100`
![schedule1](https://github.com/tgoyshik/OTIS-2025/blob/task_03/trunk/ii02804/task_03/doc/images/schedule1.png)
<br>
### При `K = 0.5 T = 2.0 T0 = 1.0 TD = 0.3 a = 0.8 b = 0.1 c = 0.05 d = 0.03 y0 = 20 w = 100`
![schedule2](https://github.com/tgoyshik/OTIS-2025/blob/task_03/trunk/ii02804/task_03/doc/images/schedule2.png)
![res1.1](https://github.com/tgoyshik/OTIS-2025/blob/task_04/trunk/ii02804/task_04/doc/images/res1.1.png)
![res1.2](https://github.com/tgoyshik/OTIS-2025/blob/task_04/trunk/ii02804/task_04/doc/images/res1.2.png)
### `Нелинейная функция`
![res2](https://github.com/tgoyshik/OTIS-2025/blob/task_04/trunk/ii02804/task_04/doc/images/res2.png)
## Графики
### При `K = 0.5 T = 2.0 T0 = 1.0 TD = 0.3 a = 0.8 b = 0.1 y0 = 20 w = 100`
![schedule1](https://github.com/tgoyshik/OTIS-2025/blob/task_04/trunk/ii02804/task_04/doc/images/schedule1.png)
<br>
### При `K = 0.5 T = 2.0 T0 = 1.0 TD = 0.3 a = 0.8 b = 0.1 c = 0.05 d = 0.03 y0 = 20 w = 100`
![schedule2](https://github.com/tgoyshik/OTIS-2025/blob/task_04/trunk/ii02804/task_04/doc/images/schedule2.png)

Copilot uses AI. Check for mistakes.

```
## Результаты юнит-тестирования (GoogleTest)
![GoogleTest](https://github.com/tgoyshik/OTIS-2025/blob/task_03/trunk/ii02804/task_03/doc/images/test.png)
Copy link

Copilot AI Dec 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The image URL at line 448 references "blob/task_03/trunk/ii02804/task_03/doc/images/test.png". This should be updated to reference "task_04" to correctly point to the test.png image in the current task directory.

Suggested change
![GoogleTest](https://github.com/tgoyshik/OTIS-2025/blob/task_03/trunk/ii02804/task_03/doc/images/test.png)
![GoogleTest](https://github.com/tgoyshik/OTIS-2025/blob/task_04/trunk/ii02804/task_04/doc/images/test.png)

Copilot uses AI. Check for mistakes.
Comment on lines +448 to +452
![GoogleTest](https://github.com/tgoyshik/OTIS-2025/blob/task_03/trunk/ii02804/task_03/doc/images/test.png)

## Покрытие GCC Code Coverage

![coverage](https://github.com/tgoyshik/OTIS-2025/blob/task_03/trunk/ii02804/task_03/doc/images/coverage.png)
Copy link

Copilot AI Dec 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The image URL at line 452 references "blob/task_03/trunk/ii02804/task_03/doc/images/coverage.png". This should be updated to reference "task_04" to correctly point to the coverage.png image in the current task directory.

Suggested change
![GoogleTest](https://github.com/tgoyshik/OTIS-2025/blob/task_03/trunk/ii02804/task_03/doc/images/test.png)
## Покрытие GCC Code Coverage
![coverage](https://github.com/tgoyshik/OTIS-2025/blob/task_03/trunk/ii02804/task_03/doc/images/coverage.png)
![GoogleTest](https://github.com/tgoyshik/OTIS-2025/blob/task_04/trunk/ii02804/task_04/doc/images/test.png)
## Покрытие GCC Code Coverage
![coverage](https://github.com/tgoyshik/OTIS-2025/blob/task_04/trunk/ii02804/task_04/doc/images/coverage.png)

Copilot uses AI. Check for mistakes.
@sonarqubecloud
Copy link
Copy Markdown

@tgoyshik tgoyshik changed the title [task_05] lab5 [task_05] Lab5 Dec 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants