Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion skills/pdf/scripts/extract_form_structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def main():
with open(output_path, "w") as f:
json.dump(structure, f, indent=2)

print(f"Found:")
print("Found:")
print(f" - {len(structure['pages'])} pages")
print(f" - {len(structure['labels'])} text labels")
print(f" - {len(structure['lines'])} horizontal lines")
Expand Down
6 changes: 3 additions & 3 deletions skills/skill-creator/eval-viewer/generate_review.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,16 +447,16 @@ def main() -> None:
port = server.server_address[1]

url = f"http://localhost:{port}"
print(f"\n Eval Viewer")
print(f" ─────────────────────────────────")
print("\n Eval Viewer")
print(" ─────────────────────────────────")
print(f" URL: {url}")
print(f" Workspace: {workspace}")
print(f" Feedback: {feedback_path}")
if previous:
print(f" Previous: {args.previous_workspace} ({len(previous)} runs)")
if benchmark_path:
print(f" Benchmark: {benchmark_path}")
print(f"\n Press Ctrl+C to stop.\n")
print("\n Press Ctrl+C to stop.\n")

webbrowser.open(url)

Expand Down
2 changes: 1 addition & 1 deletion skills/skill-creator/scripts/aggregate_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ def main():
configs = [k for k in run_summary if k != "delta"]
delta = run_summary.get("delta", {})

print(f"\nSummary:")
print("\nSummary:")
for config in configs:
pr = run_summary[config]["pass_rate"]["mean"]
label = config.replace("_", " ").title()
Expand Down
1 change: 0 additions & 1 deletion skills/skill-creator/scripts/quick_validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"""

import sys
import os
import re
import yaml
from pathlib import Path
Expand Down
2 changes: 1 addition & 1 deletion skills/skill-creator/scripts/run_loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def print_eval_stats(label, results, elapsed):

# Improve the description based on train results
if verbose:
print(f"\nImproving description...", file=sys.stderr)
print("\nImproving description...", file=sys.stderr)

t0 = time.time()
# Strip test scores from history so improvement model can't see them
Expand Down
1 change: 0 additions & 1 deletion skills/slack-gif-creator/core/frame_composer.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

from typing import Optional

import numpy as np
from PIL import Image, ImageDraw, ImageFont


Expand Down
5 changes: 2 additions & 3 deletions skills/slack-gif-creator/core/gif_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"""

from pathlib import Path
from typing import Optional

import imageio.v3 as imageio
import numpy as np
Expand Down Expand Up @@ -247,7 +246,7 @@ def save(
}

# Print info
print(f"\n✓ GIF created successfully!")
print("\n✓ GIF created successfully!")
print(f" Path: {output_path}")
print(f" Size: {file_size_kb:.1f} KB ({file_size_mb:.2f} MB)")
print(f" Dimensions: {self.width}x{self.height}")
Expand All @@ -257,7 +256,7 @@ def save(

# Size info
if optimize_for_emoji:
print(f" Optimized for emoji (128x128, reduced colors)")
print(" Optimized for emoji (128x128, reduced colors)")
if file_size_mb > 1.0:
print(f"\n Note: Large file size ({file_size_kb:.1f} KB)")
print(" Consider: fewer frames, smaller dimensions, or fewer colors")
Expand Down
2 changes: 1 addition & 1 deletion skills/slack-gif-creator/core/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def validate_gif(
)

if size_mb > 5.0:
print(f" Note: Large file size - consider fewer frames/colors")
print(" Note: Large file size - consider fewer frames/colors")

return dim_pass, results

Expand Down
2 changes: 1 addition & 1 deletion skills/webapp-testing/examples/console_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ def handle_console_message(msg):
f.write('\n'.join(console_logs))

print(f"\nCaptured {len(console_logs)} console messages")
print(f"Logs saved to: /mnt/user-data/outputs/console.log")
print("Logs saved to: /mnt/user-data/outputs/console.log")