Qu

write_report

Builtin index · File I/O

write_report(path)

Input: path · Output: no output

What it is

Writes a standalone HTML report to path (string) — every figure, table, and printed line the script has produced up to this point in execution, bundled into one file with nothing linked from outside it.

Overloads

One call shape — this function is not overloaded.

CodeInputOutputDescription
write_report(path)
path stringnot documented yet
no output—

Examples

From the documentation, and run by the build -- the output and the figure below are what the engine actually produced. Simplest first.

x = 1:10
print("sum = " + str(sum(x)))
write_report("summary.html")
print(file_exists("summary.html"))       # true

output
sum = 55
true

from file-io

How it works

reasoning). qu run --report controls execution from before it starts and so CAN give real per-cell attribution.

From the note above this builtin in the interpreter, where the reasoning was written down as it was built.