From feec038cc9deb8e6e293cae72744d0f79a0a807f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=ED=94=84=EB=A6=AC=EB=A7=88?= Date: Tue, 7 Jan 2025 09:58:23 -0300 Subject: [PATCH] tests --- apps/spiral/Eval.dib.html | 4 +- apps/spiral/Eval.dib.ipynb | 4 +- apps/spiral/Supervisor.dib.html | 874 ++++++++------- apps/spiral/Supervisor.dib.ipynb | 874 ++++++++------- apps/spiral/temp/build.ps1 | 6 +- apps/spiral/temp/cube/cube.py | 114 +- apps/spiral/temp/test/build.dib.html | 1481 +++++++++++++++---------- apps/spiral/temp/test/build.dib.ipynb | 1479 ++++++++++++++---------- apps/spiral/temp/test/test.dib.html | 506 +++++++-- apps/spiral/temp/test/test.dib.ipynb | 495 +++++++-- apps/spiral/temp/test/test.spi | 61 - lib/fsharp/common.py | 4 +- lib/spiral/common.py | 102 +- lib/spiral/crypto.dib.html | 8 +- lib/spiral/crypto.dib.ipynb | 8 +- lib/spiral/file_system.dib.html | 29 +- lib/spiral/file_system.dib.ipynb | 29 +- lib/spiral/file_system.py | 486 ++++---- lib/spiral/file_system_wasm.rs | 412 +++---- lib/spiral/listm'.dib.html | 225 ++-- lib/spiral/listm'.dib.ipynb | 53 + lib/spiral/runtime.dib.html | 18 +- lib/spiral/runtime.dib.ipynb | 18 +- lib/spiral/runtime.py | 272 ++--- lib/spiral/rust/testing.dib.html | 108 +- lib/spiral/rust/testing.dib.ipynb | 108 +- lib/spiral/sm'.dib.html | 94 +- lib/spiral/sm'.dib.ipynb | 94 +- lib/spiral/sm.py | 212 ++-- lib/spiral/trace.py | 82 +- scripts/core.ps1 | 32 +- scripts/init.dib | 2 +- scripts/init.dib.html | 14 +- scripts/init.dib.ipynb | 14 +- 34 files changed, 4804 insertions(+), 3518 deletions(-) diff --git a/apps/spiral/Eval.dib.html b/apps/spiral/Eval.dib.html index 1061df573..c041e0522 100644 --- a/apps/spiral/Eval.dib.html +++ b/apps/spiral/Eval.dib.html @@ -8298,7 +8298,7 @@

processSpiralOutputbuilderCommands |> Array.map (fun builderCommand -> let path = - workspaceRoot </> $@"workspace/target/release/spiral_builder{SpiralPlatform.get_executable_suffix ()}" + workspaceRoot </> $@"deps/spiral/workspace/target/release/spiral{SpiralPlatform.get_executable_suffix ()}" |> System.IO.Path.GetFullPath let commands = if props.backend = Supervisor.Fsharp @@ -8332,7 +8332,7 @@

processSpiralOutput) |> SpiralRuntime.execute_with_options_async trace Debug - (fun () -> $"Eval.processSpiralOutput / spiral_builder") + (fun () -> $"Eval.processSpiralOutput / spiral cli") (fun () -> $"exitCode: {exitCode} / builderCommand: {builderCommand} / command: {command} / result: {result |> SpiralSm.ellipsis_end 400} / {_locals ()}") return if exitCode = 0 diff --git a/apps/spiral/Eval.dib.ipynb b/apps/spiral/Eval.dib.ipynb index b8f21db1d..1d2e6df10 100644 --- a/apps/spiral/Eval.dib.ipynb +++ b/apps/spiral/Eval.dib.ipynb @@ -759,7 +759,7 @@ " builderCommands\n", " |> Array.map (fun builderCommand ->\n", " let path =\n", - " workspaceRoot $@\"workspace/target/release/spiral_builder{SpiralPlatform.get_executable_suffix ()}\"\n", + " workspaceRoot $@\"deps/spiral/workspace/target/release/spiral{SpiralPlatform.get_executable_suffix ()}\"\n", " |> System.IO.Path.GetFullPath\n", " let commands =\n", " if props.backend = Supervisor.Fsharp\n", @@ -793,7 +793,7 @@ " )\n", " |> SpiralRuntime.execute_with_options_async\n", " trace Debug\n", - " (fun () -> $\"Eval.processSpiralOutput / spiral_builder\")\n", + " (fun () -> $\"Eval.processSpiralOutput / spiral cli\")\n", " (fun () -> $\"exitCode: {exitCode} / builderCommand: {builderCommand} / command: {command} / result: {result |> SpiralSm.ellipsis_end 400} / {_locals ()}\")\n", " return\n", " if exitCode = 0\n", diff --git a/apps/spiral/Supervisor.dib.html b/apps/spiral/Supervisor.dib.html index 0aa7b3b3c..17063ef3d 100644 --- a/apps/spiral/Supervisor.dib.html +++ b/apps/spiral/Supervisor.dib.html @@ -8487,18 +8487,18 @@

buildCode

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -