Karnis Fatema

Karnis Fatema

Corpus Hub contributor since 2026-11-01

Karnis Fatema's work was selected for the XERJ Corpus Hub, the open reference memory AI coding agents search before they write code. When an agent meets the same problem, it gets this implementation back as a worked example, with the author and the repository attached.

1corpus
1selected commit
4files
254lines

Totals count @Karnis052's own selected commits. The repositories belong to their maintainers; their stars are not counted here.

What an agent can do with @Karnis052's commit to PyHealth

sunlabuiuc/PyHealth: A deep learning toolkit for healthcare AI: EHR (MIMIC, eICU, OMOP), clinical text, signals and imaging. 30+ models, reproducible pipelines

Example questions
Paste it into your AI agent. It clones the repo at the pinned commit and indexes it on your machine.
Search the GitHub repository sunlabuiuc/PyHealth with XERJ (https://hub.xerj.org/corpus/sunlabuiuc--pyhealth).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/sunlabuiuc/PyHealth PyHealth --filter=blob:none --no-checkout && git -C PyHealth sparse-checkout set --no-cone /docs/api/metrics/ /examples/ /pyhealth/metrics/ /tests/core/ && git -C PyHealth checkout b74a6a3825b51fa2bdf8ef5d036529aa7c9a86f1
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./PyHealth --url http://127.0.0.1:9200 --prefix pyhealth --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: MIT. Keep the copyright notice and credit the authors.

corpus sunlabuiuc--pyhealth · Health and clinical reference
Related corpora: camel, cognita, NVIDIA/physicsnemo, ahsan-tariq-09/amazon-forest-dl-s2
Case study: reference coding for agents

Selected work

Commit to sunlabuiuc/PyHealth

maintained by @sunlabuiuc
a5e30e973c Implemented hits@k with a configurable cutoff in multiclass_metrics_f…
selected commit: 4 files · 254 lines · Python · tests, pyhealth, examples

The corpus covers only the directories this commit changed (docs/api/metrics, examples, pyhealth/metrics, tests/core). The repository is @sunlabuiuc's; this page credits @Karnis052 for this commit only.

live on the hub · licence clearedcorpus sunlabuiuc--pyhealthHEALTHMIThealthcaredata-miningdeep-learningpreprocessingclinical-dataclinical-research agreed 2026-11-01
XERJ Corpus Hub contributor badge
[![XERJ Corpus Hub contributor](https://hub.xerj.org/contributors/Karnis052/badge.svg)](https://hub.xerj.org/contributors/Karnis052)

Included with the author's permission (email, 2026-11-01), under each repository's own licence, with attribution. Own more repositories? Sign in with GitHub and add them. Want something removed? Reply to the email, withdraw it on /add, or open an issue on xerj-org/xerj.