Skip to content

Commit 771a14b

Browse files
committed
Add pipeline architecture overview to Markdown summary report
1 parent 29b8e7c commit 771a14b

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

domains/anomaly-detection/summary/anomalyDetectionSummary.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ MARKDOWN_INCLUDES_DIRECTORY=${MARKDOWN_INCLUDES_DIRECTORY:-"includes"} # Subdire
2323
# This way non-standard tools like readlink aren't needed.
2424
ANOMALY_DETECTION_SUMMARY_DIR=${ANOMALY_DETECTION_SUMMARY_DIR:-$(CDPATH=. cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd -P)}
2525
#echo "anomalyDetectionSummary: ANOMALY_DETECTION_SUMMARY_DIR=${ANOMALY_DETECTION_SUMMARY_DIR}"
26+
ANOMALY_DETECTION_DOCS_DIR="${ANOMALY_DETECTION_SUMMARY_DIR}/../documentation"
27+
#echo "anomalyDetectionSummary: ANOMALY_DETECTION_DOCS_DIR=${ANOMALY_DETECTION_DOCS_DIR}"
2628
# Get the "scripts" directory by taking the path of this script and going one directory up.
2729
SCRIPTS_DIR=${SCRIPTS_DIR:-"${ANOMALY_DETECTION_SUMMARY_DIR}/../../../scripts"} # Repository directory containing the shell scripts
2830

@@ -180,6 +182,7 @@ anomaly_detection_finalize_report() {
180182
# Collect static Markdown includes (after cleanup to not remove one-liner)
181183
cp -f "${ANOMALY_DETECTION_SUMMARY_DIR}/report_no_dependency_data.template.md" "${report_include_directory}/report_no_dependency_data.md"
182184
cp -f "${ANOMALY_DETECTION_SUMMARY_DIR}/report_no_anomaly_detection_treemaps.template.md" "${report_include_directory}/report_no_anomaly_detection_treemaps.md"
185+
cp -f "${ANOMALY_DETECTION_DOCS_DIR}/Architecture.svg" "${FULL_REPORT_DIRECTORY}/AnomalyDetectionArchitecture.svg"
183186

184187
# Assemble final report by applying includes to the main template
185188
cp -f "${ANOMALY_DETECTION_SUMMARY_DIR}/report.template.md" "${FULL_REPORT_DIRECTORY}/report.template.md"

domains/anomaly-detection/summary/report.template.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,3 +268,7 @@ archetypes:
268268
* Cluster Radius (avg, max)
269269
* Cluster Size
270270
* Node Embedding (PCA 20–35 dims)
271+
272+
### 6.3 Architecture Diagram
273+
274+
![Anomaly Detection Architecture](./AnomalyDetectionArchitecture.svg)

0 commit comments

Comments
 (0)