Answer the question
In order to leave comments, you need to log in
PHP/JS ready source to labor converter (experts: hours and rate per each)?
Hello.
1. Tell me, is there a similar converter for determining the cost of work (labor costs) from the finished code?
Converter:
Input: folder with finished and working source code
Output: specialists (positions), hours and rates for each specialist.
It is necessary in order to be able to evaluate the work without even delving into (without knowing) the TK and the programming language.
2. Does anyone else (besides me) need a similar system?
Thank you.
UPD: for those who still do not believe in the reality of the implementation of the plan - here is a good article with tables of algorithm complexity: here and the original source of algorithm complexity tables: here .
PS: if you are interested - click "Subscribe".
PS2: Just because it doesn't exist yet, it absolutely doesn't mean it can't exist.
Answer the question
In order to leave comments, you need to log in
Solution for quick calculation of the cost of the code:
Set the payment for one cycle - x.
1. any one loop or condition - x
2. any recursion - 10x
Example:
One code loop: 50 rub.
Total: the output of a series of Fibonacci numbers in recursion will cost: 600 rubles.
Emmm. From personal experience - any attempt at such calculations is stretching an owl on a globe and measuring the result in British parrots.
The same task can take both a day and a week. And in the output of the code, there are also somewhere 10 lines, somewhere 100.
there are 2 options:
1) try to do it all with a small team and get a sub-algorithm at the output that no one will need.
2) you will need a workforce and a budget like Google, with the help of which it will already be possible to implement a really good product with cool AI on neural networks, etc.
These are your words
here How to tell the client the price for your work if you do not know how much time you will spend?
Well, how are you going to take into account the "investmentation" that is completely invisible in the code?
And so there are systems for calculating payroll by the number of code pages.
More Indians for you for this method of labor assessment :)
Joking aside, the code can be very bad ... and there can be a lot of it, and the worst thing is that at first it will be much cheaper and faster, but then it becomes a wedge in terms of cost and maintenance time .
PS: It's strange to see such a question from you
PS2: Of course, I can not understand or know something :)
I am very closely associated with such activities, as a PM I want to say that this is not possible until an automatic algorithm complexity estimator for mere mortal programmers is developed. In a dozen lines, can an elementary if else or a complex algorithm be written? Plus, the complexity of the relationships between the "blocks" of the program should be evaluated.
I will say IMHO.
If it made any sense, it would have already been done. The same guys from JetBrains "ate the dog" on static code analysis and drawing some conclusions on this, but they do not have the functionality you are asking for.
I think that by taking methods for assessing the "complexity" of the code and other statistical data, you can try to train the neural network to give out some numbers, but, again, they will have no more meaning than if you let some jun evaluate the project.
From a purely scientific point of view, such a task is probably interesting.
Everything, simple.
To write such an analyzer, you first need to teach it how to program, to delve into business processes.
Then he can analyze.
Only the analyzer will no longer be needed. It will be enough AI that writes the code)
I took a ready-made function written by someone else or from an old project, copied it, set it up in 2 minutes. That's all? What is the cost of writing and how many specialists are there?
Labor costs are determined not by the amount of code written, but by the time spent writing it. In order to take into account labor costs, it is necessary to keep track of time - time trackers are used for this. I use wakatime . The boss is very pleased with such reports.
The price is a market, a very capricious and changeable thing, determined by far not only labor costs. The code is not valuable in itself, it does some work that can save or earn billions, or maybe a couple of thousand, can be done once, or can work for years. Plus, the price takes into account the time spent, and this, alas, is not a linear relationship - similar code written twice as fast does not cost twice as much. And if jun writes the same code (although this is unlikely) 5 times slower than the signor, this does not mean that his salary is 5 times lower. In general, my opinion is that any assessment only by the code will be far from reality, because there are much more pricing factors.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question