You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While tagging the solutions for the training set at exercism/php#573 I eventually figured out that it may be faster to write the analyzer (that I already started).
I now have a working prototype that can tag construct:if on solutions. Of course there is still work to do:
CI
Tests
Implements all tags
Start implementing some comments
I did read the doc carefully, and I have some more questions:
All interactions with the Exercism website are handled automatically. Analyzers have the single responsibility of taking a solution and returning a status and any messages
I could not seem to find where is this "status" documented.
When using parameterized files, ensure to escape all uses of % by placing anther % in front of it. e.g. Try aim for 100%% of the tests passing.
Does this apply to params value ?
The doc https://exercism.org/docs/building/tooling/analyzers/interface mention the time constraints, but memory constraints are rather vague. Do you know the default memory constraints ? For small files PHPStan's consumes 100Mb of memory but this won't get too high, can I put a limit of 512Mb ? Should it be lower ? (I read that it is possible to customize it but I would rather have it as low as possible for now)
I would like to create an analyzer for PHP.
I already created https://github.com/exercism/php-representer.
I did initiate the work in https://github.com/homersimpsons/php-analyzer and would happily include it in the exercism organization.
While tagging the solutions for the training set at exercism/php#573 I eventually figured out that it may be faster to write the analyzer (that I already started).
I now have a working prototype that can tag
construct:if
on solutions. Of course there is still work to do:I did read the doc carefully, and I have some more questions:
In https://exercism.org/docs/building/tooling/analyzers/interface there is the following message:
I could not seem to find where is this "status" documented.
In https://exercism.org/docs/building/tooling/analyzers/interface there is the following message:
Does this apply to params value ?
The doc https://exercism.org/docs/building/tooling/analyzers/interface mention the time constraints, but memory constraints are rather vague. Do you know the default memory constraints ? For small files PHPStan's consumes 100Mb of memory but this won't get too high, can I put a limit of 512Mb ? Should it be lower ? (I read that it is possible to customize it but I would rather have it as low as possible for now)
I had some questions about some tags in Building a training set of tags for php php#573 (comment) too
(I did not start from https://github.com/exercism/generic-analyzer but this won't be too hard for me to update the code to this template)
The text was updated successfully, but these errors were encountered: