feat: phase2 review fixes

- TIME injection: change from spaces to '2500' (hour>23) for NUMVAL trigger
- Runner: add .resolve() to work_dir to fix chdir+relative path breakage
- Coverage: per-target field overrides for DP#9-#12 (START-DATE=20240115 etc.)
- .gitignore: add compilation artifacts, temp scripts, test outputs
This commit is contained in:
hangshuo652
2026-07-15 21:46:28 +08:00
parent f3be17e5eb
commit 54d4e81240
13 changed files with 769 additions and 188 deletions
+6 -1
View File
@@ -180,5 +180,10 @@ def _assigns_list_to_dict(assigns_list: list) -> dict:
tgt = a.get("tgt", "")
src = a.get("src") or a.get("source_vars")
if tgt and src:
result[tgt] = [a]
a_norm = dict(a)
if 'type' in a_norm:
a_norm['type'] = a_norm['type'].lower()
if 'src' in a_norm and not a_norm.get('source_vars'):
a_norm['source_vars'] = [a_norm['src']]
result[tgt] = [a_norm]
return result