Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Is It Possible To View The Actual Code Of A Task? As In The Script That Created The Task?

Is it possible to view the actual code of a task? As in the script that created the task?

  
  
Posted 4 years ago
Votes Newest

Answers 11


Hi WackyRabbit7

If you are running the code as a script (without a repo), you can view the full script file at EXECUTION tab under UNCOMMITTED CHANGES. Are you running it as a standalone or as a part of a repo?

  
  
Posted 4 years ago

As a part of a repo

  
  
Posted 4 years ago

In that case, you will get only the changes, but, you can upload the script as an artifact, can this do the trick?

  
  
Posted 4 years ago

That's a fix, but I think it is a basic feature and very usefull to see the actual code in the UI

  
  
Posted 4 years ago

Especially coming from the standpoint of a team leader or other kind of supervision (or anyone who wants to view the experiment which is not the code author), when looking at an experiment you want to see the actual code

  
  
Posted 4 years ago

I get your point, can you please open a https://github.com/allegroai/trains/issues with this request? 🙂

  
  
Posted 4 years ago

👍

  
  
Posted 4 years ago

Done

  
  
Posted 4 years ago

WackyRabbit7 if this is a single script running without git repo, you will actually get the entire code in the uncommitted changes section.
Do you mean get the code from the git repo itself ?

  
  
Posted 4 years ago

I mean the code in whatever form it is - I'm working with git specifically, but if i have diffs I'd like to see the code with the diffs applied

eventually i think it should display the contents of the script executed in the most straightforward manner regardless of version control

  
  
Posted 4 years ago

If this is GitHub/GitLab/Bitbucket what I'm thinking is just a link opening an iframe / tab with the exact entry point script / commit.
What do you think?

  
  
Posted 4 years ago
907 Views
11 Answers
4 years ago
one year ago
Tags
Similar posts