CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/pypi-fhirpy

Async/sync FHIR client for Python providing comprehensive API for CRUD operations over FHIR resources

Agent Success

Agent success rate when using this tile

68%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.08x

Baseline

Agent success rate without this tile

63%

Overview
Eval results
Files

rubric.jsonevals/scenario-6/

{
  "context": "Evaluates how well the solution leverages fhirpy result-fetching helpers to retrieve, paginate, and count FHIR resources for the tasks in question_3.md. Emphasizes using built-in helpers instead of manual HTTP handling, especially for single-result, paginated, raw bundle, and counting flows.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Direct get",
      "description": "Uses fhirpy's `.get()` on a resource search set or client to retrieve a single resource by type/id, relying on built-in `ResourceNotFound`/`MultipleResourcesFound` handling instead of manual filtering or generic requests.",
      "max_score": 20
    },
    {
      "name": "First helper",
      "description": "Obtains the first active Patient via the search set `.first()` helper (or equivalent fetch with `limit=1`) rather than fetching all and slicing locally.",
      "max_score": 20
    },
    {
      "name": "Paged appointments",
      "description": "Collects Appointment resources for the patient across pages using `.fetch_all()` or iteration over the search set (not a single page or custom paging) and orders via `.sort()`/`_sort` on start/date before extracting ids.",
      "max_score": 25
    },
    {
      "name": "Server count",
      "description": "Retrieves the total Appointment match count using the search set `.count()` call instead of deriving totals from collected results.",
      "max_score": 15
    },
    {
      "name": "Raw encounters",
      "description": "Fetches Encounter results with related Practitioner includes via `.fetch_raw()` (or `fetch_raw` on the search set) so the raw bundle with included entries is returned without stripping or re-serializing resources.",
      "max_score": 20
    }
  ]
}
tile.json