Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Conversation

hollandjg
Copy link
Member

@hollandjg hollandjg commented Jun 28, 2023

  • Add new aliases to the state-dependent-properties:

    • %data.conditions% -> x's
    • %data.observations% -> y's
  • Add deprecation warnings to %observations.dvs% and %observations.ivs%

Prerequisites:

@hollandjg hollandjg changed the title refactor: rename form observations.dvs/ivs to data.conditions/observations refactor: rename from observations.dvs/ivs to data.conditions/observations Jun 28, 2023
@hollandjg hollandjg self-assigned this Jul 3, 2023
@hollandjg hollandjg marked this pull request as ready for review July 3, 2023 14:29
Copy link
Contributor

@younesStrittmatter younesStrittmatter left a comment

Choose a reason for hiding this comment

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

Looks good!

Copy link
Contributor

@musslick musslick left a comment

Choose a reason for hiding this comment

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

I'm wondering: Why "data.observations"
Didn't we determine that everything is data? So why not

"data.observations" -> "observations",
"observations.dvs" -> "dependent_variables"?

@musslick
Copy link
Contributor

musslick commented Jul 3, 2023

I'm wondering: Why "data.observations" Didn't we determine that everything is data? So why not

"data.observations" -> "observations", "observations.dvs" -> "dependent_variables"?

Note that this is just a clarification. Just want to make sure we are fully aligned with the terminology.

@hollandjg
Copy link
Member Author

I'm wondering: Why "data.observations" Didn't we determine that everything is data? So why not
"data.observations" -> "observations", "observations.dvs" -> "dependent_variables"?

Note that this is just a clarification. Just want to make sure we are fully aligned with the terminology.

Good point, though – we should do experiment_data.observations and experiment_data.conditions based on https://docs.google.com/presentation/d/1OdP4M2ByW8GKTFvcCgDG5HDzUwHKdFEhj1ddH4ClvEw/edit#slide=id.g22c9e979475_0_85

@hollandjg hollandjg requested a review from musslick July 5, 2023 14:18
…dependent-properties-of-workflow-need-to-be-renamed-form-observationsdvsivs-to-observationsconditionsobservations
@hollandjg hollandjg changed the base branch from main to 19-test-update-usages-of-sampler-sample July 6, 2023 12:34
@benwandrew benwandrew self-requested a review July 6, 2023 14:01
@hollandjg hollandjg changed the base branch from 19-test-update-usages-of-sampler-sample to main July 6, 2023 14:09
Copy link
Contributor

@benwandrew benwandrew left a comment

Choose a reason for hiding this comment

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

a clarifying question and updating some of the deprecation messages.

src/autora/workflow/state/param.py Outdated Show resolved Hide resolved
src/autora/workflow/state/param.py Outdated Show resolved Hide resolved
src/autora/workflow/state/param.py Outdated Show resolved Hide resolved
src/autora/workflow/state/param.py Outdated Show resolved Hide resolved
src/autora/workflow/state/param.py Show resolved Hide resolved
hollandjg and others added 7 commits July 6, 2023 10:41
…ed-to-be-renamed-form-observationsdvsivs-to-observationsconditionsobservations
…-workflow-need-to-be-renamed-form-observationsdvsivs-to-observationsconditionsobservations' into 14-state-dependent-properties-of-workflow-need-to-be-renamed-form-observationsdvsivs-to-observationsconditionsobservations
Copy link
Contributor

@benwandrew benwandrew left a comment

Choose a reason for hiding this comment

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

👍

@hollandjg hollandjg dismissed musslick’s stale review July 6, 2023 20:02

Queries were resolved.

@hollandjg hollandjg added this pull request to the merge queue Jul 6, 2023
Merged via the queue into main with commit 6816a4f Jul 6, 2023
12 checks passed
@hollandjg hollandjg deleted the 14-state-dependent-properties-of-workflow-need-to-be-renamed-form-observationsdvsivs-to-observationsconditionsobservations branch July 6, 2023 20:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
4 participants