[go: up one dir, main page]

Menu

#1309 Weird behaviour by a percent operator

Backlog
wont-fix
nobody
None
4normal
2025-07-17
2021-04-30
Steve Keen
No

I'm trying to check the accounting for this model, including income distribution. There's still an error that I'm aware of--I have to add in income from the government to income from firms as GDP--but the main worry is weird behaviour by one percent operator, and perhaps the performance of overloaded operators too.

The top percent operator in the PNG file is taking an input of 0.63 (when it should be about 1.02) and is outputting 2.4 billion!

2 Attachments

Discussion

  • Steve Keen

    Steve Keen - 2021-04-30

    Realised part of my error: I'm multiplying inputs rather than adding ;(. But the remaining issue is that the percent operator summary was only showing the first input, rather than the sum of the inputs.

     
  • Steve Keen

    Steve Keen - 2021-04-30
    • priority: 2critical --> 4normal
     
  • Steve Keen

    Steve Keen - 2021-04-30
    • priority: 4normal --> 3urgent
     
  • Steve Keen

    Steve Keen - 2021-04-30

    Worth promoting a bit after demoting it. We need this stuff to operate seamlessly in a release version.

     
  • High Performance Coder

    Right - the code computing the port values fails to take into account multiwired inputs.

     
  • Steve Keen

    Steve Keen - 2021-05-03

    One more issue as well with multi-wiring: see attached. A multi-wired equation which should have an identical impact to a two-stage equation, doesn't. Looks like it's dividing by one entry (the scalar) while the other is zero.

     
    • High Performance Coder

      Looking at it, the operations are performing correctly, AFAICT. Did you want to divide BroadMoney by 1000 rather than multiply it as you've wired it?

       
  • Steve Keen

    Steve Keen - 2021-05-12
    • Milestone: Graeber --> Backlog
     
  • High Performance Coder

    • priority: 3urgent --> 4normal
     
  • High Performance Coder

    • status: open --> wont-fix
     
    • Steve Keen

      Steve Keen - 2025-07-17

      My mistake! I should have added those operations together before dividing
      by GDP. So what I was getting was (abc)/d when I meant (a+b+c)/d.
      [image: image.png]

       

Anonymous
Anonymous

Add attachments
Cancel