Getting Started
| Term | Meaning |
|---|---|
| Arm | One extraction method in the comparative study. The study has numbered arms (arm 1, arm 2, arm 3). |
| Research surfaces | The study dashboard and the BIOBADAMEX console. |
| Invitation | A database record, keyed by email, that gives access to the app before the first login. An admin creates it. |
| Role | A permission in the app: admin, medic or monitor. |
| Fork | A repo that starts as a copy of a different repo. |
Access: checklist
Section titled “Access: checklist”- Access to the repo of your work (refer to the next section).
- Access to
poktalabs/pokta-care-monorepo. The benchmark scripts and the scoring are in this repo. You need this access also when your main work is in a different repo. - Sign-up in the app (
app.poktacare.com). Access is by invitation only. An admin gives you access with an invitation, or approves your access request (access_requests). Without one of the two, a new login gets a 403. The research surfaces are for theadminrole only. If your work needs this access, ask the person who onboarded you. - Access to the “grader persona” document in Google Drive. This document is important if you work on the extraction or the retrieval of the Grader.
- Access to the chat group with Dr. Erick Zamora. In this group, you coordinate technical handoffs with him. He made most of the rheumatology modifications.
If an access item is pending, tell the person who onboarded you directly. Do not try to go around the access control.
Where to start
Section titled “Where to start”Your start point depends on your work. Each row of Figure 1 is one of the four cases in this section.
You work on the Grader (extraction, prompts, retrieval, arm 3).
Start at pokta-grader-bioagent/CONTRIBUTING.md. This file has the repo context, your first concrete task, and the environment setup (dev/SETUP.md). Then read Architecture on this site. That page shows how your work fits into the full study.
You work on RheumaAI (arm 2).
Start at apps/bioagent/README.md in pokta-care-monorepo. The Grader repo started as a fork of the earlier RheumaAI repo (rheuma-ai-bioagent, now retired). The two codebases use the same Bun runtime, the same LLM library, and the same tools architecture. If you know one codebase, the other codebase will be familiar.
You work on the study harness, the scoring, or the product app.
First, read Architecture. That page has the full map: how this repo calls the services of the other two arms. Then start at pokta-care-monorepo. For the benchmark, read apps/api/scripts/biobadamex-*.ts. For the scoring, read apps/api/src/services/biobadamex-eval.ts.
You are not sure, or your work crosses several repos. Read the full Architecture page before you change code. It is the only page that explains the system from end to end.
The honest start point
Section titled “The honest start point”The Grader and RheumaAI are forks of a framework with the name BioAgents (Bio/Dezy team). The BioAgents upstream has no active maintenance now. The team installed the infrastructure and gave it to Dr. Erick Zamora. He made the rheumatology modifications on this infrastructure: full homomorphic encryption and specialized articles.
Today, no person on the team understands 100% of this code. A real part of your work, in the Grader and RheumaAI code, is the reverse engineering of inherited parts. This is normal. It is not a sign of bad earlier documentation.
You do not train or fine-tune a model. Today, the full system is orchestration of LLMs that are already trained. The orchestration uses prompts, extraction schemas and, optionally, context retrieval with embeddings.