Skip to content

Commit 1c4e23b

Browse files
amyc-codesCopilot
andcommitted
fix(eval): ns10 HourCounter spec — check AQ (running hours) not Q (threshold)
Agent correctly wired HourCounter.Q (maintenance alert) to Statusblock, but spec tested for counter increment which is AQ. Also increased dt to 36s per tick (100 ticks = 1 hour of sim time) so the count is visible. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 55589a3 commit 1c4e23b

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

tests/eval/cases/novel-safety.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -773,25 +773,25 @@
773773
{
774774
"name": "counter increments when pump enabled",
775775
"inputs": {
776-
"Bewässerung Manuell.Q": 1.0
776+
"Bewässerung Manuell": 1.0
777777
},
778778
"ticks": 100,
779-
"dt": 0.1,
779+
"dt": 36.0,
780780
"expected_outputs": {
781-
"Statusblock.I": {
782-
">": 0.0
781+
"Statusblock.AQ": {
782+
">": 0.5
783783
}
784784
}
785785
},
786786
{
787787
"name": "counter idle when pump off",
788788
"inputs": {
789-
"Bewässerung Manuell.Q": 0.0
789+
"Bewässerung Manuell": 0.0
790790
},
791-
"ticks": 100,
791+
"ticks": 10,
792792
"dt": 0.1,
793793
"expected_outputs": {
794-
"Statusblock.I": {
794+
"Statusblock.AQ": {
795795
"<": 0.01
796796
}
797797
}
@@ -1225,4 +1225,4 @@
12251225
]
12261226
}
12271227
}
1228-
]
1228+
]

0 commit comments

Comments
 (0)