JGit documentation and API reference with code examples
92
Pending
Does it follow best practices?
Impact
92%
1.09xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
{
"context": "Tests whether the agent implements repository analysis tool using appropriate JGit APIs: mixing porcelain commands for high-level operations and low-level APIs for performance-critical traversal.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Porcelain for high-level",
"description": "Uses Git class porcelain commands (log(), etc.) where appropriate for high-level operations",
"max_score": 10
},
{
"name": "Low-level APIs for efficiency",
"description": "Uses low-level APIs (RevWalk, ObjectReader, etc.) where direct object access provides better performance",
"max_score": 10
},
{
"name": "RevWalk configuration",
"description": "Properly configures RevWalk with appropriate filters or traversal options",
"max_score": 10
},
{
"name": "Resource management",
"description": "Uses try-with-resources or explicit cleanup for Repository, RevWalk, ObjectReader objects",
"max_score": 10
},
{
"name": "Batch processing",
"description": "Processes commits or objects in batches rather than individually for performance",
"max_score": 10
},
{
"name": "Error handling",
"description": "Handles GitAPIException, IOException, and repository access errors appropriately",
"max_score": 10
},
{
"name": "Repository opening pattern",
"description": "Uses FileRepositoryBuilder with appropriate methods (readEnvironment, findGitDir, setMustExist) to open repositories",
"max_score": 10
},
{
"name": "Data structure design",
"description": "Creates appropriate POJOs or records for statistics data with clear separation of concerns",
"max_score": 10
},
{
"name": "Memory efficiency",
"description": "Avoids loading entire commit history or large objects into memory all at once",
"max_score": 10
},
{
"name": "Output format",
"description": "Generates structured output (JSON/CSV) as specified in requirements",
"max_score": 10
}
]
}evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5