1717import pandas as pd
1818
1919from jumper_extension .adapters .ai_reviewer .benchmark import fingerprint
20- from jumper_extension .adapters .ai_reviewer .benchmark .checks import CheckPlan , all_active
2120from jumper_extension .adapters .ai_reviewer .benchmark .models import FAILED , OK , TIMEOUT , RunOutcome
2221from jumper_extension .adapters .ai_reviewer .context .collector import ContextCollector
2322from jumper_extension .adapters .ai_reviewer .language import (
@@ -45,7 +44,6 @@ def __init__(
4544 level : str = "process" ,
4645 work_dir : str | None = None ,
4746 adapter : LanguageAdapter | None = None ,
48- checks : CheckPlan | None = None ,
4947 ):
5048 self .prefix_cells = prefix_cells
5149 self .interval = interval
@@ -54,8 +52,6 @@ def __init__(
5452 # The target cell's language decides how a replay is built and launched;
5553 # defaults to Python so direct constructors keep their old behaviour.
5654 self .adapter = adapter or get_adapter ("python" )
57- # Defaults to every step on; controls whether results are fingerprinted.
58- self .checks = checks or all_active ()
5955
6056 @property
6157 def work_dir (self ) -> str :
@@ -65,9 +61,9 @@ def run_once(self, code: str, tag: str, timeout: float | None = None) -> RunOutc
6561 """Replay the prefix plus *code* once, timing the last cell."""
6662 session_path = os .path .join (self ._work_dir , f"{ tag } _session.zip" )
6763 fingerprint_path = os .path .join (self ._work_dir , f"{ tag } _fingerprint.json" )
68- # Only fingerprint outputs when results are being verified; otherwise the
69- # replay captures nothing and correctness comes back UNVERIFIED .
70- output_names = self .adapter .output_names (code ) if self . checks . verify_results . active else []
64+ # A timed run always fingerprints its outputs: verification rides along
65+ # with the replay (the two are one check level) and is cheap beside it .
66+ output_names = self .adapter .output_names (code )
7167 artifact = self .adapter .render_replay (
7268 ReplayRequest (
7369 prefix_cells = self .prefix_cells ,
0 commit comments