Measures should not run in measure directory

Open
#39 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
ruby
Domain
tooling

Research direction

Start by tracing how measures are executed from the /measures/ViewModel/ path into the workflow1/run/ and workflow2/run/ directories. Confirm that separate workflows place ViewModel inputs under their own run/ViewModel/ directories, rather than writing in the shared measure directory.

Written by the indexing model from the issue text.

Description

bug

Currently measures execute in the measure definition directory. This means that running ViewModel in two separate workflows will result in both workflows writing to the same file location which is in the ViewModel measure directory:

/measures/ViewModel/run/in.html
/workflow1/run/
/workflow2/run/

Instead, these measures should be run in the run directory, e.g.:

/measures/ViewModel/
/workflow1/run/ViewModel/in.html
/workflow2/run/ViewModel/in.html
Dominant language
Ruby
Stars
16
Forks
10
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NatLabRockies/OpenStudio-workflow-gem

All issues in NatLabRockies/OpenStudio-workflow-gem

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.