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 efficient Git object browser with caching, using low-level JGit APIs and performance optimization patterns.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Caching implementation",
"description": "Implements caching for Git objects (blobs, trees) with configurable size limits",
"max_score": 10
},
{
"name": "Low-level object access",
"description": "Uses low-level APIs (Repository.open(), ObjectLoader, ObjectReader) for direct object access",
"max_score": 10
},
{
"name": "Cache eviction policy",
"description": "Implements cache eviction policy (LRU, size-based, or time-based)",
"max_score": 10
},
{
"name": "Thread safety",
"description": "Design is thread-safe for concurrent access (uses ConcurrentHashMap or synchronization)",
"max_score": 10
},
{
"name": "Memory management",
"description": "Handles large objects appropriately (streaming for blobs > threshold, not caching huge objects)",
"max_score": 10
},
{
"name": "Cache statistics",
"description": "Provides cache statistics tracking (hit rate, miss rate, eviction count)",
"max_score": 10
},
{
"name": "Object type handling",
"description": "Correctly handles different Git object types (blob, tree, commit, tag) with appropriate parsing",
"max_score": 10
},
{
"name": "Reference resolution",
"description": "Uses repository.exactRef() or similar methods to resolve references to object IDs",
"max_score": 10
},
{
"name": "Resource cleanup",
"description": "Properly closes ObjectReader and other resources after use",
"max_score": 10
},
{
"name": "Configuration options",
"description": "Makes cache behavior configurable (size limits, eviction policy, thresholds)",
"max_score": 10
}
]
}evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5