8000 Log SMT queries per test · Issue #700 · OCamlPro/owi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Log SMT queries per test #700
Open
Open
@felixL-K

Description

@felixL-K

This issue starts logging all SMT queries sent to the solver during each test in bench/. Logs are written to a queries_log.jsonl file per test.

What works

  • Each query is logged as JSON (hash + assumptions).
  • Most tests correctly generate the log file.
  • Uses QUERY_LOG_PATH to control where the child process logs.

Known issues

  • Some tests don’t produce the log file (likely due to crashes or early exits).
  • No timing or performance info is logged yet.

Next steps

  • Ensure all tests write a log file (even if empty).
  • Add query timing, memory, and CPU metrics.
  • Improve error reporting if file creation fails.

How to use

git clone https://github.com/felixL-K/smtml -b trace-smt-queries
cd smtml && dune b @install && dune install

git clone https://github.com/felixL-K/owi -b trace-queries2
cd owi && dune exec -- testcomp/testcomp.exe <your-test-id>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0