Tax Collector β2

Post any bugs, problems or feature requests here.
Brend
Veolian Commonwealth
The Lifebringer Clans
The Lifebringer Clans
Mercury
Mercury

Tax Collector β2

Post Veolian Commonwealth » Sun Aug 28, 2011 10:39 pm
User avatar
Veolian Commonwealth
Faction
 
I have reworked the tax collector to address issues with both the user interface and the internal workings of the economy algorithms.


The new version is still beta (like the previous one), but can be used: http://tempest.student.utwente.nl/~brend/fwurg-tax2/.

The new tool supports your browsers back and forward buttons, allows you to bookmark your favorite system selection, and remembers your selected system if you refresh the page.

The tax overview is now categorized with subtotals. A new Union Taxation pod is added so you don't have to determine your union taxation by hand.

The Industry Capacity pod now displays the amounts of labour where the previous tool used some magic to come up with the correct numbers of your industry.

Negtax has been obliterated. The Economy Breakdown pod, and any other tax displays now fully understand negative taxes and the trading out of taxes.

The current version actually has extensive support for economic tricks like specialised goods (which can be seen in the industry capacity pod of systems with specialised zones), and I will add the ability to specify specialized good recombinations somewhere in the coming week.

The new tool DOES NOT try to produce (:holonet-relays), (:hyperspace-nodes) or (:mtcf) after it has determined all possible tax sets. This will be remedied with yet to be implemented economic targets that you can add to the wiki. It DOES produce any special good required to satisfy a trade.

The new version should work on any recent browser (except Internet Explorer).


If you have any comments, bugs, questions or criticism please don't hesitate to reply.
Post The Lifebringer Clans » Sun Aug 28, 2011 11:31 pm
User avatar
The Lifebringer Clans
Faction
 
Very nice! I'm really happy with the existence of the tool, it saves everyone so much work. So again, thanks for all the hard work. :D

Feature request: Can you calculate Corporation incomes? It doesn't have priority or anything, I've got it set up as a trade now, and that works.

Offer: Feel free to mess with my specialized information trades and things if you want to test the implementation of stuff related to specialized goods.
Post Veolian Commonwealth » Mon Aug 29, 2011 2:07 am
User avatar
Veolian Commonwealth
Faction
 
There is an issue with the tax collector in Chrome (and consequently Chromium):

When playing around with the back and forward and reload functionality all pods will eventually contain duplicate (or even triplicate or more) content.

The system selector will also show up twice.

If anyone uses Chrome or Chromium as their primary browser let me know, and I might look into it. Or even better: if you have the know-how, look into the problem yourself and tell me how to fix it ;)
Post Veolian Commonwealth » Mon Aug 29, 2011 5:55 pm
User avatar
Veolian Commonwealth
Faction
 
Corporation income would indeed be nice to calculate, but this is tricky to determine due to two things. NPCs do not have zone information on the wiki (which is important when zoning rights are swapped out), and it requires a query on all zones filtered by specializer -- it can be done, but probably at a later time. (When specialized goods are recognized, and the tax collector understand the difference between factions and systems)
Post Mercury » Mon Aug 29, 2011 7:44 pm
User avatar
Mercury
Storyteller
 
It looks really neat!

I'm curious to see the corporation goods figured out :)
Post Veolian Commonwealth » Wed Aug 31, 2011 1:46 pm
User avatar
Veolian Commonwealth
Faction
 
I implemented two economic directives allowing one to specify special goods recombinations and surplus production orders.

Economic directives work by adding a data entry with the economic_directive class. It contains a System_ref to indicate tha system for which the directive is meant, a Directive containing the actual directive, a number of Product X_rule lines, and an optional amount.

The following directives are currently supported (exampled on my own system):

Specialised Goods Recombination

Recombine 150 (:information) Simtech Information + 150 (:information) Gnosis Information + 150 (:information) KnowDisc Information into 150 (:information).

---- dataentry [Directive 1] economic_directive ----
System_ref: Smi-Halek System
Directive: recombine
Product A_rule: Simtech Information
Product B_rule: Gnosis Information
Product C_rule: KnowDisc Information
Amount: 150
----

The amount is either a positive integer, or -1. -1 is the 'as much as possible' indicator, which means the recombination will consume all available product in the ordered combination. If the amount is left out, it will also produce is much as possible.

Surplus production

Product as much of the Utilities surplus as possible.

---- dataentry [Directive 2] economic_directive ----
System_ref: Smi-Halek System
Directive: surplus
Product A_rule: Utilities
----

When entering these on the wiki, take care to use the correct name of your system and make sure the part between [ and ] is unique on the page where you put the directive. Also, the 'surplus' or 'recombine' directive name is case-sensitive at the moment.

Let me know if anything borks out -- if it doesn't we should be able to use the β2 version for the next turn. It just surpassed the functionality of the old tax collector.

@admin: Don't update the link in the tools thingy -- I will move the old version out of the way once we decide to switch to β2.
Post The Lifebringer Clans » Wed Aug 31, 2011 2:54 pm
User avatar
The Lifebringer Clans
Faction
 
My tax report is borked now, but the recombination does seem to work. Does it recombine the specialized information to 1 information or to 3?
Post Veolian Commonwealth » Wed Aug 31, 2011 4:13 pm
User avatar
Veolian Commonwealth
Faction
 
The recombination was indeed wrong. Fixed now.
Post Veolian Commonwealth » Wed Aug 31, 2011 11:31 pm
User avatar
Veolian Commonwealth
Faction
 
I would like it if people could check the output of the new tax collector. It would be useful to know that everything works according to plan, and I could switch out the old tax collector with the new one to use it next turn.
Post The Lifebringer Clans » Wed Aug 31, 2011 11:39 pm
User avatar
The Lifebringer Clans
Faction
 
Works fine for me now. :)
Post Veolian Commonwealth » Sat Sep 03, 2011 4:49 pm
User avatar
Veolian Commonwealth
Faction
 
I switched out the old tax collector. I will probably change the location of the tax collector to another adres. This change has to do with me refactoring most of the backend code into a single coherent library including both the map and the current tax collector.

(If anyone wants the old version back, tell me -- I still have it of course)
Post Veolian Commonwealth » Sat Sep 03, 2011 5:45 pm
User avatar
Veolian Commonwealth
Faction
 
The tool has moved to http://tempest.student.utwente.nl/~brend/fwurg/tax.

@admin: It will stay there until I get hosting elsewhere, so you might wish to update the tools link on all pages.

Return to Technical

cron