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

Design log mess #2213

Merged
merged 12 commits into from
Feb 24, 2021
Merged

Design log mess #2213

merged 12 commits into from
Feb 24, 2021

Conversation

muhammadaliog3
Copy link
Collaborator

Closes #2173

Some of the important logs.

First match ode log
designLog.txt

Not first match ode log
designLog.txt

Code Concept match
designLog.txt

@@ -0,0 +1,20 @@
Languages selected as Python Cpp CSharp Java Swift..
Copy link
Collaborator

Choose a reason for hiding this comment

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

There should only be one period at the end of the sentence.

Implementation Type selected as Program.
Software Constraint Behaviour selected as Warning.
Physical Constraint Behaviour selected as Warning.
Comments selected as CommentFunc CommentClass CommentMod..
Copy link
Collaborator

Choose a reason for hiding this comment

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

There should only be one period at the end of the sentence.

Dates selected as Hide.
Log File Name selected as log.txt.
Logging selected as.
Auxiliary Files selected as SampleInput ../../../datafiles/Projectile/sampleInput.txt ReadME..
Copy link
Collaborator

Choose a reason for hiding this comment

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

There should only be one period at the end of the sentence.

@@ -0,0 +1,24 @@
Languages selected as Python Cpp CSharp Java Swift..
Copy link
Collaborator

Choose a reason for hiding this comment

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

Shouldn't the language say cpp? The other languages have their own folders, where the selected language would correspond to the folder.

Copy link
Collaborator

@smiths smiths left a comment

Choose a reason for hiding this comment

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

I like the design logs. This will be very handy in the future, since at present, we rely on the naming conventions to remind us what variabilities are selected.

I noticed some minor issues with the generated logs. I added comments to the commit related to these issues.

I have not reviewed how you generated the logs.

@JacquesCarette
Copy link
Owner

@smiths the merge is blocked because you have to acknowledge whether the changes that you asked for have indeed been done.

@muhammadaliog3
Copy link
Collaborator Author

Actually we should wait till the end of this week. Although stable has the design logs, the make rule has yet to be updated to compare the generated design logs. So until the changes are made to scripts we should not merge the request.

@smiths
Copy link
Collaborator

smiths commented Jul 24, 2020

I agree with @muhammadaliog3 that we should wait until everything is done. I just looked at the design logs in stable and they still have the extra periods.

@Nathaniel-Hu
Copy link
Collaborator

I've been looking at how I would need to modify the Makefile rules to include the design logs as files to be tested/compared with the files in the stable version. However, I've noticed that the Makefile rule used to compare generated files with their stable counterparts is instructed to ignore .txt files (of which the design logs are). Is there a way to modify this rule to not ignore the design log files somehow? @JacquesCarette @smiths @Mornix

The following is an example of the Makefile commands used to compare generated and stable files and push differences to the log files.

cd "build/GlassBR" && stack exec -- "glassbr" 
diff --strip-trailing-cr -r -X ../.gitignore -x '*.txt' "stable/glassbr/" "build/GlassBR"/ > "logs/GlassBR_log.log" 2>&1

@smiths
Copy link
Collaborator

smiths commented Jan 1, 2021

The changes I requested were made, so I unblocked my review. However, @muhammadaliog3 mentioned that a make rule still had to be updated. I don't know if that update was made.

Copy link
Owner

@JacquesCarette JacquesCarette left a comment

Choose a reason for hiding this comment

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

Even though there are some small tweaks that could still be done, this is better merged in than waiting forever.

@JacquesCarette JacquesCarette merged commit d839c2c into master Feb 24, 2021
@JacquesCarette JacquesCarette deleted the design_log_mess branch February 24, 2021 03:01
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.

Add to the design log the set of Choices used
4 participants