#The level ASR is not passable

15 messages · Page 1 of 1 (latest)

gilded bough
#

v2.1.74, MacOS I believe my circuit is correct and the actual result is the same as the expected result, but the test fails.

severe linden
#

Interesting. It works for me, but I'm on Linux, though 🤔

Can you try the level with the following change to test.si?

diff --git a/byte_asr/test.si b/byte_asr/test.si
index ab1521d..f9143ee 100644
--- a/byte_asr/test.si
+++ b/byte_asr/test.si
@@ -33,7 +33,7 @@ def check_output(tick: Int, input: Input, output: Output) TestResult {
         ui_set_text("table[3][1]", get_binary_repr(Int output.result, 8))
     }
 
-    if output.result != U8 expected {
+    if U8 output.result != U8 expected {
         return fail
     }
 
ebon wedge
#

Works for me on Windows. I'm on version 2.1.75.

severe linden
#

Right, better try it without the change on 2.1.75 first, because it might have been fixed already.

gilded bough
#

It's still broken for me in v2.1.76.
And changing test.si has no effect: #development-branch-feedback message

severe linden
#

"no effect" is a bit too broad of a term.
I usually end the game, edit test.si and then restart the game.

However, maybe by "no effect" you mean that the level is still not completeable for you? (That would be different from "editing test.si files has no effect at all in general".)

gilded bough
ebon wedge
#

Has a recent version changed where campaign files are installed?
Because you should at least be able to introduce syntax errors and notice that.

modest monolith
#

Oh yeah. the campaign has been moved inside the app package on MacOS

#

So you go into the package, checkout the Resources folder

#

Try changing that and see if it works

gilded bough
#

Now I can debug. I get the message below by adding set_error(`output.result = {output.result}, U8 expected = {U8 expected}.`):
output.result = 253, U8 expected = 18446744073709551613.

severe linden
#

But regarding the actual problem: It seems that it compiles slightly incorrectly on MacOS