exercism / exercism/java-analyzer
Start outputting tags
- Dominant language
- Java
- Stars
- 13
- Forks
- 27
- Avg merge
- 4d 17h
- Merged PRs (30d)
- 7
Description
So far the Java analyzer only provides automated feedback on submitted solutions, but [analyzers can also tag them](https://exercism.org/docs/building/tooling/analyzers/tags).
There are multiple approaches to implement this:
- We can start outputting tags in the exercise-specific analyzers, and exercises for which no analyzer is implemented yet will receive no tags on their submissions.
- We can implement a 'global' analyzer that is able to identify paradigms, techniques, constructs etc regardless of which exercise a solution belongs to, so that _all_ submissions will receive tags.
- We can combine both options of course.
I found that the [C# Analyzer took the second option](https://github.com/exercism/csharp-analyzer/blob/main/src/Exercism.Analyzers.CSharp/Analyzers/TagAnalyzer.cs). This makes sense, since a large portion of the tags currently implemented are exercise-agnostic. Perhaps it can serve as a good example to get started.
Contributor guide
Research direction
Start by reading the analyzer tagging documentation linked in the issue, then compare the proposed approaches with the C# example at src/Exercism.Analyzers.CSharp/Analyzers/TagAnalyzer.cs. The issue does not identify Java entry points, tests, or a settled implementation plan; done would require an agreed tagging approach and tags emitted for Java submissions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100