question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Human friendly name generator for default study names.

See original GitHub issue

Motivation

This issue was originally mentioned at https://github.com/optuna/optuna/pull/799#discussion_r359110361 by @sile.

The format of the current default study name is no-name- + UUID. It is sometimes difficult for users to distinguish each study. For example, we can only see the prefix of the study name like no-name-0 in the following screenshot.

image

I think we can use more human-friendly name generators like Docker.

Description

Current name generator code for RDBStorage is here.

In my quick survey, Docker seems to employ moby for the name generation and it manages some dictionaries. moby is ported to python as moby-dict, and we may be able to use it. But I’m not sure if moby-dict is the best solution because it is not actively maintained as far as I see its release history. So, I think we need a further survey and design discussion.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
hvycommented, Mar 13, 2020

We could also add prefixes instead which might allow some sort of sorting. Instead of random numbers we could then use formatted dates or Unix times. It might also be reasonable not being too generous in the name generator and recommend intensive users to actually specify names explicitly.

1reaction
silecommented, Mar 16, 2020

Instead of random numbers we could then use formatted dates or Unix times.

Agree. I personally prefer human understandable datetime format to unixtime format.

It might also be reasonable not being too generous in the name generator and recommend intensive users to actually specify names explicitly.

This choice also sounds acceptable. I think that we could raise an exception and recommend the user to specify the name manually if the retry number of a name generation exceeded a predefined count.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Random Name Generator
This random name generator can suggest names for babies, characters, or anything else that needs naming.
Read more >
Human Character Name Generator
50000+ Human names right at your fingertips. Discover the right one with this ultimate name generator. New names are added every week!
Read more >
Quick Name Generator
Automatic quick name generator tool. Choose some keywords and we will automatically create a quick name in seconds.
Read more >
No.1 Business Name Generator - Best Company Name Ideas
Generate high quality company name ideas with exact match .com domains. Novanym's unique naming tool combines a clever algorithm with human branding ...
Read more >
9 Best Blog Name Generators to Help You Find Good ...
1. Nameboy ... Nameboy is the oldest and most popular blog name generator available on the market. This free name searching machine is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found