mirror of
https://github.com/johndoe6345789/WizardMerge.git
synced 2026-04-24 13:44:55 +00:00
Address code review: remove unused imports and add documentation
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
@@ -9,12 +9,9 @@ The TLC model checker verifies invariants and temporal properties of the
|
||||
WizardMerge merge algorithm specification.
|
||||
"""
|
||||
|
||||
import os
|
||||
import sys
|
||||
import subprocess
|
||||
import urllib.request
|
||||
import zipfile
|
||||
import shutil
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
@@ -100,7 +97,14 @@ def parse_spec(jar_path: Path, spec_dir: Path, spec_name: str, output_dir: Path)
|
||||
|
||||
|
||||
def run_tlc(jar_path: Path, spec_dir: Path, spec_name: str, output_dir: Path) -> int:
|
||||
"""Run TLC model checker on the specification."""
|
||||
"""
|
||||
Run TLC model checker on the specification.
|
||||
|
||||
Note: This function is currently not used in the main workflow because
|
||||
WizardMergeSpec is a parametric specification requiring concrete constant
|
||||
values. It's kept for future use when test harness modules with specific
|
||||
instantiations are added.
|
||||
"""
|
||||
spec_file = spec_dir / f"{spec_name}.tla"
|
||||
cfg_file = spec_dir / f"{spec_name}.cfg"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user