Composite Note Definition Error
Results 1 to 10 of 10
  1. #1
    HM2 Shark Tank Member
    Join Date
    Nov 2008
    Posts
    38

    Default Composite Note Definition Error

    Hi,

    I'm trying to create a composite note definition out of two note definitions that count total instances (missed opportunities are not counted). I want the composite definition to create a value by dividing one count by the other. When I enter "notegroup.notenameX/namegroup.notenameY" into the box labeled "Expression" and try to save, I get an error that says "Error validating expression: Missing operator". Is there any sort of guide for proper formation of composite expressions?

    Thanks!

  2. #2
    HM2 Shark Tank Member
    Join Date
    Nov 2008
    Posts
    38

    Default

    A follow up question is whether I need to do something special to a note definition to make its name a suitable variable in a composite note definition expression. I was under the impression that a count value is automatically created behind the scenes if you don't choose to count missed opportunities (which would give you a %), but maybe I need to do something to the note definition first to make that true?

  3. #3
    NoteCaddy sreticentv's Avatar
    Join Date
    Dec 2009
    Location
    No direction but to trust the final destination
    Posts
    6,481

    Default

    Quote Originally Posted by BrassMonkey View Post
    Hi,

    I'm trying to create a composite note definition out of two note definitions that count total instances (missed opportunities are not counted). I want the composite definition to create a value by dividing one count by the other. When I enter "notegroup.notenameX/namegroup.notenameY" into the box labeled "Expression" and try to save, I get an error that says "Error validating expression: Missing operator". Is there any sort of guide for proper formation of composite expressions?

    Thanks!
    The format is discussed in the manual Composite Definitions - Assaultware Wiki
    It is NC."Note-Definition"

    Quote Originally Posted by BrassMonkey View Post
    A follow up question is whether I need to do something special to a note definition to make its name a suitable variable in a composite note definition expression. I was under the impression that a count value is automatically created behind the scenes if you don't choose to count missed opportunities (which would give you a %), but maybe I need to do something to the note definition first to make that true?
    If you put the name in quotes, it can be anything you want it to be, including things like +,- etc. The rest of your post is accurate
    NoteCaddy Manual | Coaching Packs | Blog
    NoteCaddy experts: a.k.aAlso, Catalyst_Kh, Derders, karstenkloss, scoobediah (NoteCaddy Edge)

  4. #4
    HM2 Shark Tank Member
    Join Date
    Nov 2008
    Posts
    38

    Default

    Quote Originally Posted by sreticentv View Post
    The format is discussed in the manual Composite Definitions - Assaultware Wiki
    It is NC."Note-Definition"



    If you put the name in quotes, it can be anything you want it to be, including things like +,- etc. The rest of your post is accurate

    Okay, great, making progress. Thanks. I've created a composite definition and included it, and each of its components, numerator and denominator, on my HUD for testing. After processing all notes, the numerator and denominator of my composite statistic expression are appearing on my HUD as "100". I'm assuming that this is a percentage, not a count, because I have far more than 100 instances for each. As I said before, I am not taking notes for missed opportunities, so I should be getting a count. Any ideas?
    Last edited by BrassMonkey; 09-19-2012 at 03:34 PM.

  5. #5
    NoteCaddy sreticentv's Avatar
    Join Date
    Dec 2009
    Location
    No direction but to trust the final destination
    Posts
    6,481

    Default

    Quote Originally Posted by BrassMonkey View Post
    Okay, great, making progress. Thanks. I've created a composite definition and included it, and each of its components, numerator and denominator, on my HUD for testing. After processing all notes, the numerator and denominator of my composite statistic expression are appearing on my HUD as "100". I'm assuming that this is a percentage, not a count, because I have far more than 100 instances for each. As I said before, I am not taking notes for missed opportunities, so I should be getting a count. Any ideas?
    On the HUD always shows percentages for NC items. If you want to test the definitions you're using to compose a composite then you should be using definition analysis (right click the definition->analyze) as it will give you a nice report on who got the note, when, why, etc
    NoteCaddy Manual | Coaching Packs | Blog
    NoteCaddy experts: a.k.aAlso, Catalyst_Kh, Derders, karstenkloss, scoobediah (NoteCaddy Edge)

  6. #6
    HM2 Shark Tank Member
    Join Date
    Nov 2008
    Posts
    38

    Default

    Quote Originally Posted by sreticentv View Post
    On the HUD always shows percentages for NC items. If you want to test the definitions you're using to compose a composite then you should be using definition analysis (right click the definition->analyze) as it will give you a nice report on who got the note, when, why, etc
    Cool, I've been testing away. Thanks!

    Is it possible to either show or perform rounding upon the decimal result of a composite definition expression? The currently functionality truncates the decimal portion of the result when displayed in popups. For example, if I have an expression that performs 8/5, and set that value in a popup cell, specifying "1" decimal, I get the value "1.0" in the cell, instead of "1.6". If I set the decimal value to "0" in the popup cell, I get "1".

    Also, what is the number in parenthesis in the popup cells, i.e., "(100)"? Can I get rid of that?

  7. #7
    NoteCaddy sreticentv's Avatar
    Join Date
    Dec 2009
    Location
    No direction but to trust the final destination
    Posts
    6,481

    Default

    Quote Originally Posted by BrassMonkey View Post
    Cool, I've been testing away. Thanks!

    Is it possible to either show or perform rounding upon the decimal result of a composite definition expression? The currently functionality truncates the decimal portion of the result when displayed in popups. For example, if I have an expression that performs 8/5, and set that value in a popup cell, specifying "1" decimal, I get the value "1.0" in the cell, instead of "1.6". If I set the decimal value to "0" in the popup cell, I get "1".
    You can specify a precision in the popup editor on the bottom right. Set it to 1 or 2 for a better result

    Also, what is the number in parenthesis in the popup cells, i.e., "(100)"? Can I get rid of that?
    That's the sample size which for composites is always 100. That cannot be removed
    NoteCaddy Manual | Coaching Packs | Blog
    NoteCaddy experts: a.k.aAlso, Catalyst_Kh, Derders, karstenkloss, scoobediah (NoteCaddy Edge)

  8. #8
    HM2 Shark Tank Member
    Join Date
    Nov 2008
    Posts
    38

    Default

    Changing the precision in the popup editor just adds zeros to the already unrounded, truncated value. As I explained, if you were to create a composite that divides 8 by 5, the displayed value in the popup would be 1. If you select a precision of "1", you see the value 1.0. If you select a precision of "2", you see the value 1.00.

  9. #9
    HM2 Shark Tank Member
    Join Date
    Nov 2008
    Posts
    38

    Default

    Quote Originally Posted by sreticentv View Post
    You can specify a precision in the popup editor on the bottom right. Set it to 1 or 2 for a better result



    That's the sample size which for composites is always 100. That cannot be removed
    Changing the precision in the popup editor just adds zeros to the already unrounded, truncated value. As I explained, if you were to create a composite that divides 8 by 5, the displayed value in the popup would be 1. If you select a precision of "1", you see the value 1.0. If you select a precision of "2", you see the value 1.00.

  10. #10
    NoteCaddy sreticentv's Avatar
    Join Date
    Dec 2009
    Location
    No direction but to trust the final destination
    Posts
    6,481

    Default

    Thank you. I am now able to reproduce it. It will allow more precision in the next version
    NoteCaddy Manual | Coaching Packs | Blog
    NoteCaddy experts: a.k.aAlso, Catalyst_Kh, Derders, karstenkloss, scoobediah (NoteCaddy Edge)

Similar Threads

  1. Composite Definition and Partitions
    By Mr. Peek in forum NoteCaddy
    Replies: 7
    Last Post: 12-04-2012, 05:41 PM
  2. Composite definition Question
    By Dazdraperma in forum NoteCaddy
    Replies: 1
    Last Post: 09-07-2012, 05:57 PM
  3. Composite Definition HM stats question
    By melles in forum NoteCaddy
    Replies: 2
    Last Post: 07-18-2012, 01:19 PM
  4. Replies: 6
    Last Post: 07-17-2012, 08:35 PM
  5. Composite Definition Q
    By bluetail in forum NoteCaddy
    Replies: 2
    Last Post: 07-11-2012, 05:48 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •