Fully verify comp_req__health_monitor__time_range_bounds (Inclusive time range bounds)

Open Beginner friendly
#1,242 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
cpp

Research direction

Start with the linked DeadlineMonitorImplTest and HeartbeatMonitorImplTest cases, then inspect the Health Monitor requirement and the implementation those tests exercise. Check which inclusive-boundary scenarios are missing from the linked tests and add coverage for them. Done when tests verify that reports exactly at both the minimum and maximum are accepted.

Written by the indexing model from the issue text.

Description

Verification gap (Only partially tested): The linked tests only partially verify this requirement.

Field Value
Item comp_req__health_monitor__time_range_bounds
Title Inclusive time range bounds
Component Health Monitor (comp__health_monitor)
Safety ASIL_B
Status valid

Linked tests: DeadlineMonitorImplTest__StopInsideTheRangePasses (passed), DeadlineMonitorImplTest__StopAtExactlyTheMinimumPasses (passed), DeadlineMonitorImplTest__StopAtTheStartPassesForAZeroMinimum (passed), DeadlineMonitorImplTest__StopAtExactlyTheMaximumPasses (passed), HeartbeatMonitorImplTest__HeartbeatAtRangeMinIsAccepted (passed), HeartbeatMonitorImplTest__HeartbeatAtRangeMaxIsAccepted (passed), HeartbeatMonitorImplTest__HeartbeatBeforeRangeIsTooEarly (passed), HeartbeatMonitorImplTest__HeartbeatAfterRangeIsTooLate (passed), HeartbeatMonitorImplTest__MissingHeartbeatIsAcceptedUntilRangeMax (passed)

Requirement text (from the documentation):

The :term:`Health Monitor` shall treat the minimum and the maximum of a time
range as inclusive bounds.

.. note:: A report exactly at the minimum or exactly at the maximum is not
detected as a failure.

Found in the module verification report of eclipse-score/lifecycle.

Dominant language
C++
Stars
9
Forks
41
Avg merge
2d 23h
Merged PRs (30d)
157

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • No Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from eclipse-score/lifecycle

All issues in eclipse-score/lifecycle

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.