Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
8e35ab0
WIP: Add dual-panel layout with runs table sidebar
PaulHax Feb 2, 2026
f8985cf
Improve collapsed panel UI with edge tab buttons
PaulHax Feb 2, 2026
4f696b9
Fix collapse button layout shift and icon ordering
PaulHax Feb 2, 2026
b3176dc
Improve visual consistency between table and comparison panels
PaulHax Feb 2, 2026
76b6229
Consolidate table headers, 50/50 panel split, eye icon toggle
PaulHax Feb 2, 2026
540c922
Mirror Runs button layout: arrow left, table icon right
PaulHax Feb 2, 2026
116447f
Add slide animation for panel expand/collapse
PaulHax Feb 2, 2026
b5fd5c5
Hide panel header immediately on collapse to prevent button overlap
PaulHax Feb 2, 2026
acb784e
Fix panel collapse animation direction and header visibility
PaulHax Feb 2, 2026
ce25150
Add table column maxWidth constraints and situation info icon tooltip
PaulHax Feb 2, 2026
49c72fb
Add pagination to runs table panel (50 items per page)
PaulHax Feb 2, 2026
661e972
Fix config comparison for revert-to-original detection
PaulHax Feb 2, 2026
f07accb
Optimize state.runs to only hold comparison runs
PaulHax Feb 2, 2026
ec10104
Show initial draft run in table
PaulHax Feb 2, 2026
7fb717d
Stabilize table column widths with fixed layout
PaulHax Feb 2, 2026
540086a
Add toggled runs to front of comparison (left side)
PaulHax Feb 2, 2026
e2c4d56
Keep table pagination visible with internal scroll
PaulHax Feb 2, 2026
7d5e719
Clear All button only clears comparison, keeps runs
PaulHax Feb 2, 2026
fc8d0e5
Wrap table and comparison panels in cards with tab-styled collapse bu…
PaulHax Feb 2, 2026
77bd49d
Fix comparison panel expand direction to go right-to-left
PaulHax Feb 2, 2026
054e1ca
Fix flaky e2e tests by adding waits for textarea state updates
PaulHax Feb 2, 2026
a7e0a7c
Fix line too long in CSS styles
PaulHax Feb 3, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions align_app/app/runs_presentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,39 @@ def experiment_item_to_table_row(
}


def run_to_table_row_direct(run: Run, probe: Probe) -> Dict[str, Any]:
"""Convert Run directly to table row without building full state dict."""
kdma_values = run.decider_params.alignment_target.kdma_values
alignment_summary = (
", ".join(f"{readable(kv.kdma)} {kv.value}" for kv in kdma_values)
if kdma_values
else "None"
)

display_state = probe.display_state or ""
choices = probe.choices or []
choice_texts = " ".join(c.get("unstructured", "") for c in choices)

decision_text = ""
if run.decision:
choice_letter = chr(run.decision.choice_index + ord("A"))
decision_text = (
f"{choice_letter}. {run.decision.adm_result.decision.unstructured}"
)

return {
"id": run.compute_cache_key(),
"scenario_id": probe.scenario_id,
"scene_id": probe.scene_id,
"probe_text": display_state,
"decider_name": run.decider_name,
"llm_backbone_name": run.llm_backbone_name,
"alignment_summary": alignment_summary,
"decision_text": decision_text,
"searchable_text": f"{display_state} {choice_texts}",
}


def get_max_alignment_attributes(decider_configs: Dict) -> int:
if not decider_configs:
return 0
Expand Down
Loading