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

#112 LORM explained in more detail, implementation method suggested #155

Merged
merged 5 commits into from
Feb 8, 2018
Merged

#112 LORM explained in more detail, implementation method suggested #155

merged 5 commits into from
Feb 8, 2018

Conversation

rok-povsic
Copy link
Contributor

Fix for #112.

@0crat 0crat added the scope label Feb 7, 2018
@0crat
Copy link
Collaborator

0crat commented Feb 7, 2018

Job #155 is now in scope, role is REV

@codecov-io
Copy link

codecov-io commented Feb 7, 2018

Codecov Report

Merging #155 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #155      +/-   ##
============================================
- Coverage     74.39%   74.36%   -0.03%     
+ Complexity      128      127       -1     
============================================
  Files            27       27              
  Lines           906      905       -1     
  Branches         54       54              
============================================
- Hits            674      673       -1     
  Misses          210      210              
  Partials         22       22
Impacted Files Coverage Δ Complexity Δ
src/main/java/org/jpeek/Report.java 92.5% <0%> (-0.36%) 6% <0%> (-1%)
src/main/java/org/jpeek/App.java 100% <0%> (ø) 9% <0%> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bcab016...6844866. Read the comment docs.

@0crat
Copy link
Collaborator

0crat commented Feb 7, 2018

This pull request #155 is assigned to @amihaiemil/z. The budget is 15 minutes, see §4. Please, read §27 and when you decide to accept the changes, inform @yegor256/z (the architect) right in this ticket. If you decide that this PR should not be accepted ever, also inform the architect.

@amihaiemil
Copy link
Contributor

amihaiemil commented Feb 7, 2018

@yegor256 The original puzzle here was quite vague and it claimed it was waiting for #110 -- 110 was closed because nobody seemed to understand what should be implemented.

The author of this PR did a little reasearch, came to Natural Language Processing and simply left another, more detailed puzzle. Can we count this as a good solution of the ticket which was basically a research task?

which means that additional input must inserted into the LORM method - that is, a set of
possible concepts - which are then recognized in a particular method/piece of code. This set
of possible concepts depends on the `domain` that the class is in.

Copy link
Member

Choose a reason for hiding this comment

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

@rok-povsic remove this empty line, since it will cause problems with PDD -- the puzzle won't include the text below the empty line. The same for the next empty line below.

@yegor256
Copy link
Member

yegor256 commented Feb 7, 2018

@rok-povsic see above

@rok-povsic
Copy link
Contributor Author

@yegor256 Done.

@yegor256
Copy link
Member

yegor256 commented Feb 8, 2018

@rultor merge

@yegor256
Copy link
Member

yegor256 commented Feb 8, 2018

@amihaiemil yes, that's exactly how PDD should work. The research was obviously done and it moved us a bit forward in solving this problem. We should merge it and let someone else to make the next step forward, later.

@rultor
Copy link
Collaborator

rultor commented Feb 8, 2018

@rultor merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor
Copy link
Collaborator

rultor commented Feb 8, 2018

@rultor merge

@rok-povsic @yegor256 Oops, I failed. You can see the full log here (spent 12min)

Reading src/test/resources/org/jpeek/samples/Bar.java...
Reading src/test/resources/org/jpeek/samples/WithoutAttributes.java...
Reading src/test/resources/org/jpeek/samples/OnlyOneMethodWithParams.java...
Reading src/test/resources/org/jpeek/samples/Foo.java...
Reading src/test/resources/org/jpeek/samples/NoMethods.java...
Reading src/test/resources/org/jpeek/samples/OneMethodCreatesLambda.java...
Reading src/test/resources/org/jpeek/samples/OneVoidMethodWithoutParams.java...
Reading src/test/resources/org/jpeek/samples/TwoCommonAttributes.java...
Reading src/test/resources/org/jpeek/samples/OverloadMethods.java...
Reading src/test/java/org/jpeek/IndexTest.java...
Reading src/test/java/org/jpeek/SkeletonTest.java...
Reading src/test/java/org/jpeek/ReportTest.java...
Reading src/test/java/org/jpeek/ReportWithStatisticsTest.java...
Reading src/test/java/org/jpeek/package-info.java...
Reading src/test/java/org/jpeek/DefaultBaseTest.java...
Reading src/test/java/org/jpeek/FakeBase.java...
Reading src/test/java/org/jpeek/MetricsTest.java...
Puzzle 18-58649db9 30/DEV at src/test/java/org/jpeek/MetricsTest.java
Puzzle 18-f4ca747e 30/DEV at src/test/java/org/jpeek/MetricsTest.java
Puzzle 93-25a7c267 30/DEV at src/test/java/org/jpeek/MetricsTest.java
Puzzle 93-12454465 30/DEV at src/test/java/org/jpeek/MetricsTest.java
Puzzle 68-6427b294 30/DEV at src/test/java/org/jpeek/MetricsTest.java
Puzzle 68-96e0ea92 30/DEV at src/test/java/org/jpeek/MetricsTest.java
Puzzle 92-98d84f5f 30/DEV at src/test/java/org/jpeek/MetricsTest.java
Puzzle 92-8b89e205 30/DEV at src/test/java/org/jpeek/MetricsTest.java
Reading src/test/java/org/jpeek/MainTest.java...
Reading src/test/java/org/jpeek/MatrixTest.java...
Reading src/test/java/org/jpeek/AppTest.java...
Reading src/test/java/org/jpeek/web/AsyncReportsTest.java...
Reading src/test/java/org/jpeek/web/TkIndexTest.java...
Reading src/test/java/org/jpeek/web/package-info.java...
Reading src/test/java/org/jpeek/web/ReportsTest.java...
Reading src/test/java/org/jpeek/web/TkMistakesTest.java...
Reading src/test/java/org/jpeek/web/TkAppTest.java...
Reading src/test/java/org/jpeek/web/MistakesTest.java...
Reading src/test/java/org/jpeek/web/ResultsTest.java...
Reading src/it/settings.xml...
Reading src/it/full-analysis/invoker.properties...
Reading src/it/full-analysis/src/main/java/org/jpeek/example/Example.java...
Reading src/it/full-analysis/pom.xml...
Reading src/main/resources/org/jpeek/jpeek.properties...
Reading src/main/resources/org/jpeek/xsd/skeleton.xsd...
Reading src/main/resources/org/jpeek/xsd/metric.xsd...
Reading src/main/resources/org/jpeek/xsd/index.xsd...
Reading src/main/resources/org/jpeek/xsd/matrix.xsd...
Reading src/main/resources/org/jpeek/templates.xsl...
Reading src/main/resources/org/jpeek/metrics/MWE.xsl...
Puzzle 17-049820b6 30/DEV at src/main/resources/org/jpeek/metrics/MWE.xsl
Puzzle 17-f82757ae 30/DEV at src/main/resources/org/jpeek/metrics/MWE.xsl
Reading src/main/resources/org/jpeek/metrics/LCOM2.xsl...
Reading src/main/resources/org/jpeek/metrics/CCM.xsl...
Puzzle 66-c487e21b 30/DEV at src/main/resources/org/jpeek/metrics/CCM.xsl
Puzzle 66-1f52dc9d 30/DEV at src/main/resources/org/jpeek/metrics/CCM.xsl
Puzzle 66-72fdfc23 30/DEV at src/main/resources/org/jpeek/metrics/CCM.xsl
Reading src/main/resources/org/jpeek/metrics/LORM.xsl...
\u001b[31mERROR\u001b[0m: src/main/resources/org/jpeek/metrics/LORM.xsl; puzzle at line #67; Too many leading spaces at 76:4; make sure all lines that include the puzzle body start at position #5.. If you can't understand the cause of this issue or you don't know how to fix it, please submit a GitHub issue, we will try to help you: https://github.com/yegor256/pdd/issues. This tool is still in its beta version and we will appreciate your feedback. Here is where you can find more documentation: https://github.com/yegor256/pdd/blob/master/README.md.
Exit code is 1
container c8194ef15b94acb8380b16a8e63ba6828f283f608def8e3b5d7cefd057358ee9 is dead
Thu Feb  8 11:21:47 CET 2018

@yegor256
Copy link
Member

yegor256 commented Feb 8, 2018

@rultor try to merge again

@rultor
Copy link
Collaborator

rultor commented Feb 8, 2018

@rultor try to merge again

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor rultor merged commit 6844866 into cqfn:master Feb 8, 2018
@rultor
Copy link
Collaborator

rultor commented Feb 8, 2018

@rultor try to merge again

@yegor256 Done! FYI, the full log is here (took me 11min)

@0crat
Copy link
Collaborator

0crat commented Feb 8, 2018

Order was successfully finished: +15 points just awarded to @amihaiemil/z, total is +405

@0crat
Copy link
Collaborator

0crat commented Feb 8, 2018

Payment to ARC for a closed pull request, as in §28: +15 points just awarded to @yegor256/z, total is +9420

@0crat
Copy link
Collaborator

0crat commented Feb 8, 2018

The job #155 is now out of scope

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants