Skip to content

Commit

Permalink
Merge pull request #861 from intuitem/enhance/tprm
Browse files Browse the repository at this point in the history
Enhance/tprm
  • Loading branch information
nas-tabchiche authored Oct 11, 2024
2 parents feaa13f + 1f9699e commit 5ca3019
Show file tree
Hide file tree
Showing 27 changed files with 787 additions and 543 deletions.
2 changes: 2 additions & 0 deletions backend/core/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ def get_sorted_requirement_nodes_rec(start: list) -> dict:
"is_scored": req_as.is_scored if req_as else None,
"score": req_as.score if req_as else None,
"max_score": max_score if req_as else None,
"question": req_as.answer if req_as else None,
"mapping_inference": req_as.mapping_inference if req_as else None,
"status_display": req_as.get_status_display() if req_as else None,
"status_i18n": camel_case(req_as.status) if req_as else None,
Expand Down Expand Up @@ -320,6 +321,7 @@ def get_sorted_requirement_nodes_rec(start: list) -> dict:
"is_scored": child_req_as.is_scored if child_req_as else None,
"score": child_req_as.score if child_req_as else None,
"max_score": max_score if child_req_as else None,
"question": child_req_as.answer if child_req_as else None,
"mapping_inference": child_req_as.mapping_inference
if child_req_as
else None,
Expand Down
Loading

0 comments on commit 5ca3019

Please sign in to comment.