UI for projects, templates, attributes and maturity (RBT-WP-0008-T08); stop a test from writing runs into the repo
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Assistant: claude-code Assistant-Model: sonnet Assistant-Process: 295952@bnt-lap001 Assistant-Session: e93f64ad-516c-46eb-9666-aad8d300c477
This commit is contained in:
parent
3470552789
commit
eacbf8a21d
9 changed files with 560 additions and 12 deletions
|
|
@ -109,9 +109,11 @@ def fold(layers: list[tuple[str, dict]]) -> dict[str, dict]:
|
|||
for source, attrs in layers:
|
||||
for name, a in attrs.items():
|
||||
cur = out.setdefault(name, {"value": None, "requirement": None, "source": None, "modified": False,
|
||||
"history": []})
|
||||
"history": [], "note": ""})
|
||||
if a.get("requirement"):
|
||||
cur["requirement"] = a["requirement"]
|
||||
if a.get("note"):
|
||||
cur["note"] = a["note"]
|
||||
if a.get("value") is not None:
|
||||
if cur["value"] is not None and cur["value"] != a["value"]:
|
||||
cur["modified"] = True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue