Skip to content

Instantly share code, notes, and snippets.

@briannqc
briannqc / risk-based-releases-decision-matrix.md
Last active October 19, 2025 04:40
Medium / Pragmatic Testing to Balance Release Cadence and Software Quality / Risk-based Releases Decision Matrix
Testing Method Low Risk Medium Risk High Risk Critical Risk
Unit Testing MUST MUST MUST MUST
Service Testing MUST MUST MUST MUST
Integration Testing SHOULD MUST MUST MUST
Regression Testing – Critical Journeys NOT REQUIRED SHOULD MUST MUST
Regression Testing – Non-Critical Journeys NOT REQUIRED NOT REQUIRED SHOULD MUST
Exploratory Testing NOT REQUIRED NOT REQUIRED NOT REQUIRED SHOULD
@briannqc
briannqc / risk-based-releases.md
Last active October 19, 2025 01:30
Medium / Pragmatic Testing to Balance Release Cadence and Software Quality / Risk-based Releases
Risk Level Description Examples
Low Risk No functional impact or trivial behavior changes Logging/config updates, copy/text updates, internal admin UI, non-user-facing metrics, toggle default values
Medium Risk Localized functionality with low business impact; safe rollback Add optional form field, pagination improvement, sorting/filtering logic, minor backend endpoint, refactoring with no logic change
/**
* splitCommuneName splits commune name from its full name with type.
*
* Examples:
* - "Xã Chương Dương" => "Chương Dương"
* - "Phường Ba Đình" => "Ba Đình"
* - "Đặc khu Vân Đồn" => "Vân Đồn"
*/
function splitCommuneName(communeFullName) {
if (communeFullName.startsWith('Xã')) {