Skip to content
Merged
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 falcon/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
falcon graph [--config FILE]

Run directory behavior:
- If --output not specified, generates: output/adj-noun-YYMMDD-HHMM
- If --output not specified, generates: output/YYMMDD-HHMMSS-adj-noun
- If --output exists with config.yml, resumes from saved config
- Otherwise, loads ./config.yml and saves resolved config to output dir
"""
Expand Down
8 changes: 4 additions & 4 deletions falcon/core/run_name.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@


def generate_run_name() -> str:
"""Generate a memorable run name: YYMMDD-HHMM-adjective-noun."""
date = datetime.now().strftime("%y%m%d")
time = datetime.now().strftime("%H%M")
"""Generate a memorable run name: YYMMDD-HHMMSS-adjective-noun."""
now = datetime.now()
date_time = now.strftime("%y%m%d-%H%M%S")
slug = generate_slug(2)
return f"{date}-{time}-{slug}"
return f"{date_time}-{slug}"


def generate_run_dir(base_dir: str = "output") -> str:
Expand Down
Loading