Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exp: misc. guide and ref. updates #3080

Merged
merged 12 commits into from
Dec 23, 2021
Merged

exp: misc. guide and ref. updates #3080

merged 12 commits into from
Dec 23, 2021

Conversation

jorgeorpinel
Copy link
Contributor

@jorgeorpinel jorgeorpinel commented Dec 10, 2021

Extracted from #2909

  • More concrete description of what exp apply does
  • Remove some implementation details from exp run (now in the UG)
  • Move How-to after Exp Mgmt in UG
  • Single place for info. about "persisting" experiments
  • Reword/ clarify https://dvc.org/doc/user-guide/troubleshooting#git-auth
  • Other misc. edits (clean Markdown, add tooltips, links to guide, etc.)

PENDING?

@shcheklein shcheklein temporarily deployed to dvc-org-ref-exp-misc-q412dutpu December 10, 2021 17:53 Inactive
@jorgeorpinel jorgeorpinel self-assigned this Dec 10, 2021
jorgeorpinel added a commit that referenced this pull request Dec 13, 2021
* guide: add DVC Experiments page and links +
some copy edits

* guide: remove checkpoint related changes

* guide: remove `dvc experiments` long cmd autolinks
per #2901

* guide: move run-cache section back to Exp Mgmt index bottom
per #2909 (review)

* guide: Exp Mgmt/ DVC Exps -> Exps Overview
per #2909 (review)

* guide: clear separation between Exp Mgmt index and Overview page
rel #2909 (comment)

* guide: single guide for Persisting Exps content and
fix links

* guide: begin extracting Exp details from Running to Overview
rel #2909 (comment)

* guide: make ToC entry for Run Cache section
rel #2909 (comment)

* Update content/docs/user-guide/experiment-management/index.md

Co-authored-by: Ivan Shcheklein <shcheklein@gmail.com>

* [NESTED] guide: Exp implementation details, naming into Overview (#3006)

* guide: bring exp implementation details and naming from ref.
per #2909 (review)

* guide: copy edits to exp naming info.

* guide: emphasize dvc exps are not part of Git tree in overview
rel #2909 (review)

* guide: ID->name in dvc exps overview
per #2909 (review)

* guide: ID->name in other exp guides
rel #2909 (review)

* guide: Visualize->Review in exp/overview/basic-workflow
per #2909 (review)

* guide: don't say "cleans the slate" in exp/overview/basic-workflow
per #2909 (review)

* giude: soften params description in exps index
per #2909 (review)

* guide: generalize dvc exps basic workflow

* guide: Properties section in DVC Exps overview page

* guide: exp init section in Exp Overview page

* guide: clarify dvc exp implementation

* guide: expand on Exp Overview motivation
per #2909 (comment)

* guide: direct language in Exp Overview/ workflow intro
per #2909 (comment)

* guide: mention metrics in exp init intro (Exp Overview)
per #2909 (comment)

* guide: intro exp init before giving specific examples of what it does
per #2909 (comment)

* guide: hint forach stages for hybrid exp org pattern
rel. #2909 (comment)

* guide: exp mgmt index copy edits

* guide: mention label-based exp organization
rel. https://docs.google.com/presentation/d/1C_owNoC72GvrpyMGlonHEYJ9I2rl2SLHkZQDMx0eT7A/edit#slide=id.gcb78e52e40_0_635

* guide: hide exp naming section in overview page and
other details
per #2909 (comment)
et al.

* guide: mention `exp init -i` in Overview
per #2909 (comment)

* guide: typo fix
per #2909 (comment)

* ref: exp apply copy edits
per #2909 (review)

* ref: mention init before exp init
per #2909 (review)

* guide: correct info aboug exp init in Exp Overview
per pending comments in #2909 (review)

* ref: link from exp init to corresponding guide

* guide: make exp intro more concrete
per #2909 (comment)

* guide: rewrite exp init section of Exps Overview page
per #2909 (review)

* ref: roll back unrelated ref changes (moved to ref/exp-misc)

* guide: roll back unrelated changes (moved to #3080)

Co-authored-by: Ivan Shcheklein <shcheklein@gmail.com>
@jorgeorpinel jorgeorpinel temporarily deployed to dvc-org-ref-exp-misc-q412dutpu December 15, 2021 00:57 Inactive
@jorgeorpinel jorgeorpinel changed the title exp: guide and ref. updates [WIP] exp: guide and ref. updates [WIP] Dec 15, 2021
@jorgeorpinel jorgeorpinel marked this pull request as ready for review December 15, 2021 01:31
@jorgeorpinel jorgeorpinel changed the title exp: guide and ref. updates [WIP] exp: guide and ref. updates Dec 15, 2021
@jorgeorpinel jorgeorpinel changed the title exp: guide and ref. updates exp: misc. guide and ref. updates Dec 15, 2021
@jorgeorpinel jorgeorpinel temporarily deployed to dvc-org-ref-exp-misc-q412dutpu December 15, 2021 03:44 Inactive
Copy link
Contributor

@iesahin iesahin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a few minor points but looks good in general, thanks. 👍🏼

content/docs/command-reference/exp/apply.md Outdated Show resolved Hide resolved
content/docs/command-reference/exp/apply.md Outdated Show resolved Hide resolved
content/docs/command-reference/exp/branch.md Show resolved Hide resolved
@jorgeorpinel jorgeorpinel mentioned this pull request Dec 15, 2021
2 tasks
@jorgeorpinel jorgeorpinel temporarily deployed to dvc-org-ref-exp-misc-q412dutpu December 21, 2021 07:51 Inactive
@jorgeorpinel jorgeorpinel temporarily deployed to dvc-org-ref-exp-misc-q412dutpu December 21, 2021 08:24 Inactive
@jorgeorpinel jorgeorpinel temporarily deployed to dvc-org-ref-exp-misc-q412dutpu December 21, 2021 08:33 Inactive
@jorgeorpinel jorgeorpinel temporarily deployed to dvc-org-ref-exp-misc-q412dutpu December 21, 2021 08:35 Inactive
@jorgeorpinel
Copy link
Contributor Author

Mind double checking the DVC behavior explanations when you can @dberenbaum ?

Comment on lines 25 to 26
⚠️ This command will destroy any existing changes in the workspace (Git working
tree) unless the `--no-force` flag is used.
Copy link
Contributor

@dberenbaum dberenbaum Dec 22, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, I'm pretty sure the old text is the intended behavior, but I can confirm that the changes match the current behavior. Reopened iterative/dvc#6930 (comment) to clarify.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see iterative/dvc#6930 was marked as a bug so I'll revert this explanation @dberenbaum ... ⌛

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in b2bcddc.

content/docs/command-reference/exp/apply.md Outdated Show resolved Hide resolved
@jorgeorpinel jorgeorpinel temporarily deployed to dvc-org-ref-exp-misc-q412dutpu December 23, 2021 05:58 Inactive
@jorgeorpinel jorgeorpinel requested review from iesahin and removed request for iesahin December 23, 2021 05:59
Copy link
Contributor

@iesahin iesahin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor

used.
Specifically, `dvc exp apply` checks out any files or directories needed to
reflect the experiment conditions and results. This can include both with DVC
and Git: code, data, <abbr>parameters</abbr>, <abbr>metrics</abbr>, etc.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the previous expression is more clear.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't love the 2nd sentence here either if that's what you mean @iesahin. But the previous wording was a single long sentence instead of 2 which mixed the 2 ideas so it was harder to read and comprehend IMO. I also changed "restores" for "check out" to be more specific about the operation what takes place.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

p.s. I think I clarified the wording now (817d6ee).

@jorgeorpinel jorgeorpinel temporarily deployed to dvc-org-ref-exp-misc-q412dutpu December 23, 2021 18:20 Inactive
@jorgeorpinel jorgeorpinel merged commit eb728e6 into master Dec 23, 2021
@jorgeorpinel jorgeorpinel deleted the ref/exp-misc branch December 23, 2021 18:21
iesahin pushed a commit that referenced this pull request Apr 11, 2022
* guide: add DVC Experiments page and links +
some copy edits

* guide: remove checkpoint related changes

* guide: remove `dvc experiments` long cmd autolinks
per #2901

* guide: move run-cache section back to Exp Mgmt index bottom
per #2909 (review)

* guide: Exp Mgmt/ DVC Exps -> Exps Overview
per #2909 (review)

* guide: clear separation between Exp Mgmt index and Overview page
rel #2909 (comment)

* guide: single guide for Persisting Exps content and
fix links

* guide: begin extracting Exp details from Running to Overview
rel #2909 (comment)

* guide: make ToC entry for Run Cache section
rel #2909 (comment)

* Update content/docs/user-guide/experiment-management/index.md

Co-authored-by: Ivan Shcheklein <shcheklein@gmail.com>

* [NESTED] guide: Exp implementation details, naming into Overview (#3006)

* guide: bring exp implementation details and naming from ref.
per #2909 (review)

* guide: copy edits to exp naming info.

* guide: emphasize dvc exps are not part of Git tree in overview
rel #2909 (review)

* guide: ID->name in dvc exps overview
per #2909 (review)

* guide: ID->name in other exp guides
rel #2909 (review)

* guide: Visualize->Review in exp/overview/basic-workflow
per #2909 (review)

* guide: don't say "cleans the slate" in exp/overview/basic-workflow
per #2909 (review)

* giude: soften params description in exps index
per #2909 (review)

* guide: generalize dvc exps basic workflow

* guide: Properties section in DVC Exps overview page

* guide: exp init section in Exp Overview page

* guide: clarify dvc exp implementation

* guide: expand on Exp Overview motivation
per #2909 (comment)

* guide: direct language in Exp Overview/ workflow intro
per #2909 (comment)

* guide: mention metrics in exp init intro (Exp Overview)
per #2909 (comment)

* guide: intro exp init before giving specific examples of what it does
per #2909 (comment)

* guide: hint forach stages for hybrid exp org pattern
rel. #2909 (comment)

* guide: exp mgmt index copy edits

* guide: mention label-based exp organization
rel. https://docs.google.com/presentation/d/1C_owNoC72GvrpyMGlonHEYJ9I2rl2SLHkZQDMx0eT7A/edit#slide=id.gcb78e52e40_0_635

* guide: hide exp naming section in overview page and
other details
per #2909 (comment)
et al.

* guide: mention `exp init -i` in Overview
per #2909 (comment)

* guide: typo fix
per #2909 (comment)

* ref: exp apply copy edits
per #2909 (review)

* ref: mention init before exp init
per #2909 (review)

* guide: correct info aboug exp init in Exp Overview
per pending comments in #2909 (review)

* ref: link from exp init to corresponding guide

* guide: make exp intro more concrete
per #2909 (comment)

* guide: rewrite exp init section of Exps Overview page
per #2909 (review)

* ref: roll back unrelated ref changes (moved to ref/exp-misc)

* guide: roll back unrelated changes (moved to #3080)

Co-authored-by: Ivan Shcheklein <shcheklein@gmail.com>
iesahin pushed a commit that referenced this pull request Apr 11, 2022
* ref: bring changes from #2909

* guide: bring changes from #2909

* exp: pull some changes from #2908

* ref: better explain exp apply behavior explicitly
rel. #3080 (comment)

* ref: exp apply destroys any canges
per #3080 (comment)

* ref: clarify that exp branch makes 1+ commits in the exp branch
rel. #3080 (comment)

* ref: link exp apply -> exp branch
per #3080 (comment)

* ref: clarify (again) what applies does specifically
per #3080 (review)

* ref: document intended apply behavior on conflicting changes
per #3080 (review)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants