Files
demo-epb/docs/reviews-md/Review-001.md
T
Stefan Lohmaier fb2c083551
Validate / build-test (macos-latest) (push) Failing after 3s
Validate / build-test (windows-latest) (push) Failing after 15s
Validate / build-test (ubuntu-latest) (push) Successful in 17s
Validate / reports (push) Successful in 50s
Release / release (push) Successful in 50s
feat(i18n): full English translation of demo-epb
Phase 2 of the English translation:

Word documents (filled, EPB-specific):
- 8 plans (PID, PM, QA, SWE, Test, Project Manual, CM, RM)
- 6 safety docs (HARA, Safety Case, FMEDA, MISRA Compliance,
  Verification Report, Tool Qualification Cppcheck)
- 2 manuals (User, Service)
- 3 audit artefacts (Review minutes, NC-001, MISRA-REC-001)
- All regenerated via pandoc from English markdown sources

Code, tests, headers:
- All file headers, struct comments, function docstrings in English
- All test names (TEST_BEGIN strings) translated
- Inline comments translated
- 46 tests still green after translation

CI workflows:
- All step names in English
- Step descriptions, comments, release notes template in English

README.md fully rewritten in English with proper guided tour.

Phase 3 (still pending): dev-process repo templates + toolstack/setup docs.
2026-05-12 03:37:51 -07:00

3.1 KiB

review-id, project, date, type, artefact, status
review-id project date type artefact status
REV-001 demo-epb 2026-05-11 Technical Review (ASIL-D code) src/apply_controller.c (SWA-002) Approved (with comments)

Review Minutes REV-001

Field Value
Review ID REV-001
Project demo-epb
Date 2026-05-11
Reviewer 1 Stefan Lohmaier (self-review)
Reviewer 2 (Tech Lead, in real project)
Artefact src/apply_controller.c v1.0
ASIL D
Status Approved with comments

1. Scope of review

  • Code inspection of apply_controller.c + .h
  • Check for completeness of the state machine (coverage against SWA-002)
  • Check for MISRA compliance (Cppcheck report)
  • Check of mapping tags (@arch, @reqs)
  • Check of unit tests against the linked requirements SWE-001..SWE-004

2. Findings

Nr Severity Description Action
1 Minor The comment "/* @reqs SWE-005 */" consumes a requirement formally assigned to SWA-002 — mapping table confirms multi-assignment though. Accepted with note in SWA-002 §8.
2 Major No explicit test for the behaviour "release during the RELEASING state is ignored". Test added in follow-up PR.
3 Critical s_ctx.step_count overflows after 2^32 * 50 ms = ~7 years. Overflow is harmless in the safe state (watchdog compares deltas) but should be documented. Comment added in header.

Critical finding 3 was raised as Non-Conformity NC-001 and closed in v1.1.

3. Check of mapping tags

@arch SWA-002      OK
@reqs SWE-001 SWE-002 SWE-003 SWE-004   OK

All four SWE requirements are covered by test cases in tests/unit/test_apply_controller.c:

SWE Test function
SWE-001 test_applied_holds_force
SWE-002 test_watchdog_alive_counter
SWE-003 test_apply_request_starts_applying
SWE-004 test_applying_reaches_applied_on_target_force

4. Coverage

Metric Target Achieved
Statement Coverage ≥ 90% 92.3%
Branch Coverage ≥ 90% 91.0%
MC/DC ≥ 80% 84%

Coverage report: CI artefact coverage-html (build #N).

5. Release decision

Approved with comments. Critical finding tracked as NC-001 separately. Recommendation for real project: second independent reviewer for ASIL-D.


Single-person demo: self-review per documented checklist. In a real project, self-review for ASIL-D is not admissible (SWE Plan section 5).