Skip to content

Commit c43b267

Browse files
Beta release v0.3 RMT, DocEngine and tech specs
* Add an RMT cost report computation feature to the PM module * Add automatic Markdown table generation from spreadsheets to DocEngine * Update tech. specs and traceability HTML with new SWD items and data models * Bug fixes * Update user manual
1 parent 74aba2b commit c43b267

103 files changed

Lines changed: 61453 additions & 1795 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
# 0.3 (2024-09-15)
2+
3+
## Added
4+
5+
- A resource management tool (RMT) and cost report computation feature to the project management (PM) module
6+
- A dedicated RMT analysis spreadsheet for obtaining a quick overview: `c5dec/assets/costrep/c5dec-rmt-analysis.xlsx`
7+
- A new command to the CLI for running the cost report computation feature
8+
- RMT parameterization file (`rmt-params.xlsx`) to the `c5dec/assets/tshparams` folder
9+
- An example time sheet input file (`tsh.xlsx`) to the `c5dec/input` folder
10+
- Automation code to the Quarto-based C5-DEC DocEngine for generating Quarto tables from spreadsheets
11+
- Unit tests for the time report assistant component of the PM module
12+
- A unit test suite runner shell script
13+
- A user manual section to the PM page describing the RMT cost report feature
14+
- New software design schematics related to the CCT module
15+
16+
## Fixed
17+
18+
- Deployment scripts bug not allowing modification of specs: docs volume mapping
19+
- Settings module to fix a bug preventing unit test suites to run (relative path)
20+
- Time report assistant unit tests to compute the correct path
21+
22+
## Modified
23+
24+
- Project resource management tool (RMT) module behavior so it always picks up input files/folders from the `c5dec/input` folder
25+
- RMT CLI commands and TUI mini apps accordingly to use the new input retrieval mechanism
26+
- Deployment scripts to improve customization
27+
- Updated the technical specifications and traceability HTML publication following the inclusion of previously missing SWD items
28+
129
# 0.2 (2024-07-19)
230

331
## Added

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ To this end, C5-DEC CAD is aimed at assisting both system/software designers/dev
2828

2929
C5-DEC consists of two key elements that complement each other to form a coherent ensemble: a software component (C5-DEC CAD) and a knowledge base (KB) consisting of SSDLC and CPSSA methodologies as well as a [wiki of key CC concepts](./c5dec/assets/database/KnowledgeBase/0_MapofContent.md).
3030

31-
As certain parts of our KB reports rely on ISO standards (ISO/IEC/IEEE 12207, ISO 29119:2022 and ISO 29148:2018), if you wish to access them, please contact us at info@abstractionslab.lu. Simply provide evidence that you are eligible for accessing the standard(s), and upon successful verification, we will share the reports.
31+
As certain parts of our KB reports rely on ISO standards (ISO/IEC/IEEE 12207, ISO 29119:2022 and ISO 29148:2018), if you wish to access them, please contact us at info@abstractionslab.lu. Simply provide evidence that you are eligible for accessing the standard(s), and upon successful verification, we will share the reports.
3232

3333
## Features
3434

build-c5dec.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22
echo Building C5-DEC CAD image...
3-
docker build -t c5dec .
3+
docker build -t c5dec:v0.2.0 .

c5dec.sh

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,28 @@
11
#!/bin/bash
22
echo Starting C5-DEC CAD...
33

4+
# Define variables
5+
USER=root
6+
CONTAINER_NAME=c5dec-container
7+
IMAGE_NAME=c5dec:v0.2.0
8+
9+
# Define volume mounts
10+
C5_VOLUME=$(pwd)/c5dec:/home/$USER/c5dec/c5dec
11+
DOCS_VOLUME=$(pwd)/docs:/home/$USER/c5dec/docs
12+
413
if [ "$#" -lt 1 ]
514
then
6-
docker run --rm -it -v ./c5dec:/home/root/c5dec/c5dec c5dec -h
15+
# Run the Docker container with no argument: pass the -h argument to c5dec
16+
docker run -it --rm --name $CONTAINER_NAME \
17+
-v $C5_VOLUME \
18+
-v $DOCS_VOLUME \
19+
--network host \
20+
$IMAGE_NAME -h
721
else
8-
docker run --rm -it -v ./c5dec:/home/root/c5dec/c5dec -p 5432:5432 c5dec "$@"
22+
# Run the Docker container with the user-specified arguments
23+
docker run -it --rm --name $CONTAINER_NAME \
24+
-v $C5_VOLUME \
25+
-v $DOCS_VOLUME \
26+
-p 5432:5432 \
27+
$IMAGE_NAME "$@"
928
fi

c5dec/assets/c5dec_params.yml

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,43 @@ etr:
77

88
cc:
99
# release: "2022R1"
10-
release: "3R5"
10+
release: "3R5"
11+
12+
# Project resource management field mappings (timesheet, cost report, reference parameter files, etc.)
13+
pm:
14+
tsh: # all timesheet schema mappings
15+
sheet-name: "Timesheet"
16+
id: "ACR" # a person name acronym
17+
day: "Date"
18+
month: "MM"
19+
year: "YYYY"
20+
weekday: "Day"
21+
type: "Type"
22+
domain: "Domain/Project name"
23+
wp: "Cust/WP"
24+
task: "Task"
25+
loc: "Location"
26+
start: "Start"
27+
end: "End"
28+
hours-spent: "Hours"
29+
days-spent: "Days"
30+
description: "Description"
31+
cost: # all RMT schema mappings
32+
daily-rate-col-name: "Daily rate"
33+
staff-type-col-name: "StaffType"
34+
gross-salary-col-name: "Gross salary"
35+
cost-col-name: "Cost"
36+
cofunding-rate-col-name: "Cofunding rate"
37+
is-fixed-rate-used: "Fixed rate used"
38+
social-security: "SocialSec"
39+
mg-overhead: "Overhead (MG)"
40+
bi-overhead: "Overhead (BI equip/profit)"
41+
effective-days: "Effective days"
42+
computation-verification-col-name: "ComputeVerif"
43+
self-fund-cost-col-name: "Self funding cost"
44+
cofund-contribution-col-name: "Cofunding contribution"
45+
sheet-tables: # the following item ordering matters: rename but leave order unchanged (to be changed to a dictionary later)
46+
- StaffParams
47+
- ActivityCostParams
48+
- FixedRates
49+
- GlobalParams
20.3 KB
Binary file not shown.

c5dec/assets/etr/etr_template/_quarto.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ project:
44
pre-render:
55
- scripts/restore_tex_files.py
66
- scripts/custom_vars.py
7+
# - scripts/tables.py # before uncommenting, create and activate a virtual environment (using venv), activate and install requirements.txt, and set QUARTO_PATH env variable to venv/bin/python
78
post-render:
89
- scripts/restore_tex_files.py
910

15.1 KB
Binary file not shown.
19.9 KB
Binary file not shown.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
et-xmlfile==1.1.0
2+
numpy==2.0.1
3+
openpyxl==3.1.5
4+
pandas==2.2.2
5+
python-dateutil==2.9.0.post0
6+
pytz==2024.1
7+
PyYAML==6.0.1
8+
six==1.16.0
9+
tabulate==0.9.0
10+
tzdata==2024.1

0 commit comments

Comments
 (0)