Šī lapa ir mašīnu tulkots no angļu un var saturēt kļūdas. Angļu avots ir autoritāts. Lasīt angļu valodas originalu: Kods un tā izpildītājs

ROOTCASTLE / INĢENIERSTIS LAB

Code runner

JavaScript en Python in de browser, met de hulp van Sofia AI.

LOCAL EXECUTION · CODE STAYS IN YOUR BROWSER · Pyodide 314.0.7 (WebAssembly) · Time limit 10 s

Tab inserts indentation; press Esc, then Tab to leave the editor. Ctrl+Enter runs the program.

Output (stdout / stderr)

The program has not been run yet.

Understand the error with Sofia AI

The code and the end of the output are sent to Sofia AI for an explanation and a fix suggestion. The code is not run on the server.

Kāpēc to izmantot

Kun haluat kokeilla CRC-taulua, PID-kiertäystä, sensoreiden tietojen puhdistamista tai pienen spektrin laskemista ennen siirtymistä laitteeseen, näiden esimerkkien aiheita on yhteistä muiden LAB-työkalujen kanssa: verrata Modbus CRC-16:ta protokollintarkastelijan kanssa ja PID-vastetta sandboxin kanssa. Jos ohjelma epäonnistuu, voit lähettää koodin ja sen tuloksen lopun Sofia AI:lle selventämiseksi ja korjaussuunnitelman esittämiseksi.

Where the code runs

Only in your browser. JavaScript runs in a separate web worker with network and storage access removed; Python runs on Pyodide (CPython compiled to WebAssembly), downloaded at a pinned version from jsDelivr. The Rootcastle server never runs or stores the code. Your draft is kept only in this browser's local storage. Sofia AI receives the first 6,000 characters of the code and the last 2,000 characters of the output, and only when you press the button and give consent.

Ierobežojumi

Each run is limited to 10 seconds and 100,000 characters of output; the worker is terminated when a limit is reached. Input is not interactive: input() and readline() read lines from the stdin box in order. Python has the standard library only (packages such as numpy are not loaded). Timing and floating-point results in a browser do not show a microcontroller's real-time behaviour; verify embedded code on the target hardware.

Atbilde

Pyodide · Modbus over Serial Line Specification V1.02, §6.2.2 (CRC-16) · K. J. Åström, T. Hägglund, Papilstāvs PID kontrole, ISA, 2006 · MDN: Web Workers API

Izglītības darbavieta. Sofia AI atbildei var būt kļūda; izpildi un pārbaudī izmaiņas pirāk, pirms to ielikosies.

← Rootcastle LAB

Meklēt komandas vai lapas