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

[task_02] Lab2#295

Open
gr1frykt wants to merge 22 commits into
brstu:mainfrom
gr1frykt:task_02
Open

[task_02] Lab2#295
gr1frykt wants to merge 22 commits into
brstu:mainfrom
gr1frykt:task_02

Conversation

@gr1frykt
Copy link
Copy Markdown
Contributor

No description provided.

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

github-actions Bot commented Dec 13, 2025

📌 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 92.81
trunk/ii02801/task_03/api.md 92.63
trunk/ii002826/task_03/doc/html/index.md 92.4
trunk/ii002717/task_01/src/main.cpp

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

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

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

File Similarity (%)
trunk/ii02801/task_03/api.md 93.86 ⚠️
trunk/ii02817/task_03/doc/html/index.md 93.79 ⚠️
trunk/ii02810/task_03/doc/pages/index.md 92.63
trunk/ii02823/task_03/doc/html/index.md 92.43
trunk/ii002713/task_03/doc/html/index.md 92.4
trunk/ii02818/task_03/doc/html/index.md 92.28
trunk/ii02701/task_03/doc/html/index.md

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

File Similarity (%)
trunk/ii02810/task_03/doc/pages/index.md 94.37 ⚠️
trunk/ii02801/task_03/api.md 92.66
trunk/ii02812/task_03/doc/report/index.md 92.32
trunk/ii02704/task_02/doc/README.md

📄 trunk/ii02704/task_02/doc/README.md

File Similarity (%)
trunk/ii02724/task_02/doc/README.md 93.35 ⚠️
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/ii02707/task_05/doc/README.md

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

File Similarity (%)
trunk/ii02719/task_05/doc/README.md 92.43
trunk/ii02717/task_02/src/main.cpp

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

File Similarity (%)
trunk/ii002717/task_01/src/main.cpp 93.36 ⚠️
trunk/ii02719/task_05/doc/README.md

📄 trunk/ii02719/task_05/doc/README.md

File Similarity (%)
trunk/ii02707/task_05/doc/README.md 92.43
trunk/ii02724/task_02/doc/README.md

📄 trunk/ii02724/task_02/doc/README.md

File Similarity (%)
trunk/ii02704/task_02/doc/README.md 93.35 ⚠️
trunk/ii02726/task_02/src/test.cpp

📄 trunk/ii02726/task_02/src/test.cpp

File Similarity (%)
trunk/ii02726/task_03/src/plant.cpp 92.42
trunk/ii02726/task_03/src/plant.cpp

📄 trunk/ii02726/task_03/src/plant.cpp

File Similarity (%)
trunk/ii02726/task_02/src/test.cpp 92.42
trunk/ii02801/task_03/api.md

📄 trunk/ii02801/task_03/api.md

File Similarity (%)
trunk/ii02810/task_03/doc/pages/index.md 94.66 ⚠️
trunk/ii02823/task_03/doc/html/index.md 93.96 ⚠️
trunk/ii002826/task_03/doc/html/index.md 93.86 ⚠️
trunk/ii02701/task_03/doc/html/index.md 92.66
trunk/ii002713/task_03/doc/html/index.md 92.63
trunk/ii02804/task_03/doc/readme.md

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

File Similarity (%)
trunk/ii02812/task_03/doc/Readme.md 92.95
trunk/ii02810/task_02/doc/Readme.md

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

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

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

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

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

File Similarity (%)
trunk/ii02801/task_03/api.md 94.66 ⚠️
trunk/ii02701/task_03/doc/html/index.md 94.37 ⚠️
trunk/ii002713/task_03/doc/html/index.md 92.81
trunk/ii02823/task_03/doc/html/index.md 92.78
trunk/ii002826/task_03/doc/html/index.md 92.63
trunk/ii02812/task_03/doc/report/index.md 92.14
trunk/ii02810/task_05/doc/Readme.md

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

File Similarity (%)
trunk/ii02810/task_06/doc/Readme.md 92.2
trunk/ii02810/task_06/doc/Readme.md

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

File Similarity (%)
trunk/ii02810/task_05/doc/Readme.md 92.2
trunk/ii02812/task_03/doc/Readme.md

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

File Similarity (%)
trunk/ii02804/task_03/doc/readme.md 92.95
trunk/ii02812/task_03/doc/report/index.md

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

File Similarity (%)
trunk/ii02701/task_03/doc/html/index.md 92.32
trunk/ii02810/task_03/doc/pages/index.md 92.14
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.79 ⚠️
trunk/ii02818/task_03/doc/html/index.md 92.5
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.5
trunk/ii002826/task_03/doc/html/index.md 92.28
trunk/ii02823/task_03/doc/html/index.md

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

File Similarity (%)
trunk/ii02801/task_03/api.md 93.96 ⚠️
trunk/ii02810/task_03/doc/pages/index.md 92.78
trunk/ii002826/task_03/doc/html/index.md 92.43

@gr1frykt gr1frykt changed the title [task_02] lab2 [task_02] Lab2 Dec 13, 2025
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 PR implements Lab 2 for task_02, which creates a temperature modeling program with unit tests using Google Test framework. The implementation includes a linear temperature calculation function, user input handling, and three unit tests to verify the linear function behavior.

  • Implements temperature modeling using a linear function with parameters a and b
  • Adds three Google Test unit tests for the linear calculation function
  • Configures CMake build system with code coverage support for both source and test builds

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
trunk/ii02704/task_02/test/test.cpp Adds three unit tests for the linear temperature calculation function
trunk/ii02704/task_02/test/CMakeLists.txt Configures Google Test framework with coverage flags for test builds
trunk/ii02704/task_02/src/otis2.cpp Implements main program that reads input and iteratively calculates temperature
trunk/ii02704/task_02/src/linear.h Declares input and linear function interfaces
trunk/ii02704/task_02/src/linear.cpp Implements linear temperature calculation and user input functions
trunk/ii02704/task_02/src/CMakeLists.txt Configures source build with library and executable targets
trunk/ii02704/task_02/doc/README.md Documents the lab assignment with test results and coverage information

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

Comment thread trunk/ii02704/task_02/src/linear1.cpp Outdated
Comment thread trunk/ii02704/task_02/src/linear1.cpp Outdated
Comment thread trunk/ii02704/task_02/test/test.cpp
Comment thread trunk/ii02704/task_02/test/test.cpp
Comment thread trunk/ii02704/task_02/src/linear1.cpp Outdated
Comment thread trunk/ii02704/task_02/test/test.cpp Outdated
Comment thread trunk/ii02704/task_02/test/test.cpp
Comment thread trunk/ii02704/task_02/test/test.cpp Outdated
Comment thread trunk/ii02704/task_02/doc/README.md Outdated
Copilot AI review requested due to automatic review settings December 13, 2025 19:50
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

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


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

Comment thread trunk/ii02704/task_02/src/linear1.cpp Outdated
Comment thread trunk/ii02704/task_02/test/test.cpp Outdated
Comment thread trunk/ii02704/task_02/test/test.cpp Outdated
Comment thread trunk/ii02704/task_02/src/linear1.cpp Outdated
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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copilot AI review requested due to automatic review settings December 17, 2025 15:37
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

Copilot reviewed 7 out of 7 changed files in this pull request and generated 11 comments.


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

Comment thread trunk/ii02704/task_02/src/Linear.h
Comment thread trunk/ii02704/task_02/test/test.cpp
Comment thread trunk/ii02704/task_02/test/test.cpp
Comment thread trunk/ii02704/task_02/test/test.cpp
Comment thread trunk/ii02704/task_02/src/otis2.cpp
Comment thread trunk/ii02704/task_02/src/Linear.h
Comment thread trunk/ii02704/task_02/src/Linear.h
Comment thread trunk/ii02704/task_02/src/Linear.h
Comment thread trunk/ii02704/task_02/test/test.cpp
Comment thread trunk/ii02704/task_02/test/test.cpp
@Lictwin Lictwin enabled auto-merge (squash) December 23, 2025 06:52
Lictwin
Lictwin previously approved these changes Dec 24, 2025
Copilot AI review requested due to automatic review settings December 24, 2025 07:43
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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

auto-merge was automatically disabled January 11, 2026 11:34

Head branch was pushed to by a user without write access

Copilot AI review requested due to automatic review settings January 11, 2026 11:34
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

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


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

Comment thread trunk/ii02704/task_02/src/Linear.h
Comment thread trunk/ii02704/task_02/doc/README.md
@sonarqubecloud
Copy link
Copy Markdown

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.

3 participants