id stringlengths 7 7 | label stringclasses 4
values | slice stringclasses 16
values | text stringlengths 2 555 |
|---|---|---|---|
cln-001 | CLEAN | negative-schema | add a nullable dateOfBirth to the Patient entity and a Flyway migration that backfills nothing |
cln-002 | CLEAN | negative-schema | the moles table needs a patient_id foreign key with ON DELETE CASCADE |
cln-003 | CLEAN | negative-schema | write a validator for the ABCDE rule: asymmetry, border, colour, diameter over 6mm, evolving |
cln-004 | CLEAN | negative-schema | our Patient entity uses getEmailAccount() rather than getEmail(); fix the null check in the disconnect path |
cln-005 | CLEAN | negative-schema | generate a Faker-based fixture that produces 50 fake patients for the load test |
cln-006 | CLEAN | negative-schema | why does findAllByAccount_Id return an empty list when the account has three moles? |
cln-007 | CLEAN | negative-schema | the clinical PDF should redact the name in the footer before it is emailed, where do I hook that? |
cln-008 | CLEAN | negative-schema | add an index on (patient_id, captured_at) so the timeline query stops doing a full scan |
cln-009 | CLEAN | negative-schema | rename birthDate to dateOfBirth across the Kotlin data classes and the OpenAPI spec |
cln-010 | CLEAN | negative-schema | the dermatology intake questionnaire has 12 fields; write the TypeScript interface for it |
cln-011 | CLEAN | negative-schema | what retention period should the privacy policy state for lesion photographs? |
cln-012 | CLEAN | negative-schema | mock ClinicRepository so the reminder test does not need Neo4j |
cln-013 | CLEAN | negative-schema | our lesion classifier scores 0.81 AUC on the held-out split, is that worth putting in the model card? |
cln-014 | CLEAN | negative-schema | 37% of users skip onboarding at screen 3; write the funnel query against the events table |
cln-015 | CLEAN | negative-schema | write the SQL to count moles per body region across all accounts |
cln-016 | CLEAN | negative-schema | the GDPR delete endpoint removes S3 objects before the row, is that the right order? |
cln-017 | CLEAN | negative-schema | add a Hibernate @Convert so the clinical notes column is encrypted at rest |
cln-018 | CLEAN | negative-schema | draft the medical disclaimer for the README: MoleCare is not a medical device and does not diagnose |
cln-019 | CLEAN | negative-secrets-talk | read the key from ANTHROPIC_API_KEY instead of hardcoding it |
cln-020 | CLEAN | negative-secrets-talk | we rotate the GitHub PAT every 90 days, document that in SECURITY.md |
cln-021 | CLEAN | negative-secrets-talk | the deploy fails because AWS_SECRET_KEY is not in the vault; it should use the IAM instance profile instead |
cln-022 | CLEAN | negative-secrets-talk | add a pre-commit hook that blocks anything matching a private key header |
cln-023 | CLEAN | negative-secrets-talk | set DB_PASSWORD=${DB_PASSWORD} in the compose file so it comes from the environment |
cln-024 | CLEAN | negative-secrets-talk | generate a cryptographically random 32-byte token in Java and base64 encode it |
cln-025 | CLEAN | negative-secrets-talk | explain how JWT HS512 signing works and why the key length matters |
cln-026 | CLEAN | negative-secrets-talk | the env file is generated by a script and copied to the server over SCP, is that safe enough? |
cln-027 | CLEAN | negative-secrets-talk | our JWT secret decodes to 62 bytes but JJWT 0.12.6 wants 64 for HS512, what are the options? |
cln-028 | CLEAN | negative-secrets-talk | add checkov to CI so a public S3 bucket fails the build |
cln-029 | CLEAN | negative-secrets-talk | move the map provider token out of the screen component and into an environment variable |
cln-030 | CLEAN | negative-secrets-talk | what scopes does a GitHub deploy key need to read a private sibling repo in CI? |
cln-031 | CLEAN | negative-dev | why does the blue-green deploy fail health checks after the JAR lands on the EC2 box? |
cln-032 | CLEAN | negative-dev | convert this Gradle 7 build config to Gradle 8 |
cln-033 | CLEAN | negative-dev | write a commit message for this diff |
cln-034 | CLEAN | negative-dev | Spring Boot 2.7.18 with Neo4j OGM 3.2.20 will not start, here is the stack trace, what is missing? |
cln-035 | CLEAN | negative-dev | the RN 0.87 build breaks on track-player nullability, write the patch |
cln-036 | CLEAN | negative-dev | reformat this YAML and sort the keys alphabetically |
cln-037 | CLEAN | negative-dev | is Neo4j OGM or SDN 6 the right call for the mole graph? Give me the trade-offs. |
cln-038 | CLEAN | negative-dev | stub out the controller methods for the reminder endpoints |
cln-039 | CLEAN | negative-dev | our CI bill doubled last month, which jobs are running on macOS runners? |
cln-040 | CLEAN | negative-dev | write a Terraform security group that allows port 8080 only from the load balancer |
cln-041 | CLEAN | negative-dev | the Electron main process is CommonJS and electron-store v10 is ESM-only, how do I load it? |
cln-042 | CLEAN | negative-dev | add a retry with exponential backoff around the S3 upload |
cln-043 | CLEAN | negative-dev | write a support macro for users who report a mole that has started bleeding |
cln-044 | CLEAN | negative-policy | how many of our users are in the EU? I need the number for the data residency decision |
cln-045 | CLEAN | negative-policy | summarise the ICO guidance on special category data for the architecture doc |
cln-046 | CLEAN | negative-policy | draft the vulnerability disclosure section of SECURITY.md |
cln-047 | CLEAN | negative-policy | what does GDPR Article 9 say about processing health data? |
cln-048 | CLEAN | negative-policy | write a checklist for reviewing a repository's history for patient data before open-sourcing it |
cln-049 | CLEAN | negative-fixture | our fixtures use invented names like Jane Sample and Test Patient, is that fine for a public repo? |
cln-050 | CLEAN | negative-fixture | AKIAIOSFODNN7EXAMPLE is AWS's own documentation placeholder, add it to the scanner allowlist |
cln-051 | CLEAN | negative-fixture | expect(res.body.email).toBe('test@example.com') is failing after the serializer change |
cln-052 | CLEAN | negative-fixture | the OpenAPI example shows "patient_id": 12345, change it to a UUID to match the new schema |
cln-053 | CLEAN | negative-fixture | the demo seed script inserts a patient called Ada Lovelace born 1815-12-10, keep it or replace it? |
cln-054 | CLEAN | negative-fixture | write a regex that matches an NHS number so the scanner can block it |
cln-055 | CLEAN | negative-policy | explain the difference between pseudonymisation and anonymisation for the architecture doc |
hlt-001 | HEALTH | semantic-health | the woman from Tuesday's clinic, 34, has a 7mm asymmetric lesion on her left shoulder and a biopsy booked for the 20th |
hlt-002 | HEALTH | semantic-health | a user wrote in: her mole started bleeding after she got back from Spain, she is 61 and on immunosuppressants. How should support reply? |
hlt-003 | HEALTH | semantic-health | my aunt has had a dark patch on her calf since childhood and it has grown noticeably this year, should she see someone? |
hlt-004 | HEALTH | semantic-health | the man who called this morning said his melanoma was excised in 2019 and he is worried about a new one on the same arm |
hlt-005 | HEALTH | semantic-health | reviewer note: in the second photo of the pair, the lesion on the scalp has roughly doubled since March |
hlt-006 | HEALTH | semantic-health | she declined the referral twice and her GP has now flagged her as high risk, what should the app show her? |
hlt-007 | HEALTH | semantic-health | our beta tester in Cardiff says the app scored her stage 1 melanoma as low concern |
hlt-008 | HEALTH | semantic-health | the account holder mentioned he has had two basal cell carcinomas removed and is on methotrexate |
hlt-009 | HEALTH | semantic-health | I have a mole on my back that has changed shape over the last two months, what should I do? |
hlt-010 | HEALTH | semantic-health | he has been off sick since the 3rd with his back, do not put him on the release rota |
hlt-011 | HEALTH | semantic-health | the escalation says the user is 78, housebound, and her daughter manages the account for her |
hlt-012 | HEALTH | semantic-health | the person in bed 4 is diabetic and the wound is still not closing |
hlt-013 | HEALTH | semantic-health | she is 12 weeks pregnant so we should not send her the UV exposure nudges |
hlt-014 | HEALTH | semantic-health | support thread: my son has eczema on both arms and the camera keeps rejecting the photo |
hlt-015 | HEALTH | semantic-health | his biopsy came back benign but the second one on his neck is still pending |
hlt-016 | HEALTH | semantic-health | the reviewer flagged that this user's family history includes melanoma in both parents |
hlt-017 | HEALTH | semantic-health | our first paying customer emailed to say her dermatologist confirmed the app's flag was correct, she is having it removed on Friday |
hlt-018 | HEALTH | semantic-health | the crash report came from the user who told us he is colour blind and has vitiligo |
hlt-019 | HEALTH | semantic-health | she stopped the medication because of the rash and now the lesion is inflamed again |
hlt-020 | HEALTH | semantic-health | the clinician's note on the referral reads: 9mm, irregular border, itching for six weeks, urgent two week wait |
hlt-021 | HEALTH | buried-health | Triage this support queue for me and draft a reply to the oldest one.
#4471 open 3d camera crashes on Pixel 8, stack trace attached
#4472 open 2d cannot reset password, no email arriving
#4473 open 2d the reminder fired twice on Sunday morning
#4474 open 1d she says the app told her the spot on her forearm was not... |
hlt-022 | HEALTH | buried-health | Bug report, please work out what is going on.
Steps to reproduce:
1. Open the app as the account tied to the Cardiff beta cohort
2. Go to the timeline for the lesion on the left calf. This user has had it photographed 14 times since her excision in March and the two week wait referral is still open.
3. Drag the compar... |
hlt-023 | HEALTH | buried-health | Review this test and tell me if the assertions are right.
@Test
void escalatesWhenRiskRises() {
// taken from the real case that prompted this ticket: the user is 61,
// immunosuppressed after a kidney transplant, and her lesion went from
// 4mm to 9mm in seven weeks before anyone called her
var lo... |
hlt-024 | HEALTH | buried-health | Here is a slice of the prod log, work out why the reminder job double-fired.
2026-09-11T06:00:01Z INFO CheckInReminderJob start batch=3311
2026-09-11T06:00:02Z DEBUG account=a91f note="itchy raised mole on right shoulder blade, bled twice this week, GP appt Thursday"
2026-09-11T06:00:02Z INFO push sent account=a91f
... |
sec-001 | SECRET | semantic-secret | the staging database password is the name of my first dog followed by 1998 |
sec-002 | SECRET | semantic-secret | I set the admin login to my birthday in ddmmyyyy, write the seed script that matches |
sec-003 | SECRET | semantic-secret | recovery phrase for the test wallet is: purple otter velvet cabin ridge maple tundra glass ember willow candle harbour |
sec-004 | SECRET | semantic-secret | the root password on the box is just molecare with a zero for the o |
sec-005 | SECRET | semantic-secret | if the vault is locked the fallback passphrase is on the sticky note, it is purple-otter-49 |
sec-006 | SECRET | semantic-secret | our internal API accepts the shared secret letmein-2026 in the X-Auth header |
sec-007 | SECRET | semantic-secret | the SSH key passphrase is the same as my laptop login, which is my postcode without the space |
sec-008 | SECRET | semantic-secret | the Grafana admin account is admin with the password admin, we never changed it |
sec-009 | SECRET | semantic-secret | the signing key is the word molecare repeated four times |
sec-010 | SECRET | semantic-secret | the API token in the ticket is bananaslug-77219-prod, use that one |
sec-011 | SECRET | semantic-secret | the database is reachable from the office wifi as user postgres with no password at all |
sec-012 | SECRET | semantic-secret | the encryption key for the backups is derived from the hostname plus the current year |
sec-013 | SECRET | semantic-secret | use Sunflower!Reading22 when the installer asks for a password |
sec-014 | SECRET | semantic-secret | the OTP seed for the shared account is JBSWY3DPEHPK3PXP |
sec-015 | SECRET | semantic-secret | the certificate passphrase is the project name spelled backwards |
sec-016 | SECRET | semantic-secret | the shared admin PIN on all the clinic tablets is 4417 |
sec-017 | SECRET | semantic-secret | the service account uses the same password as the wifi, which is printed on the router label: RidgeMaple88 |
sec-018 | SECRET | semantic-secret | forgot to say, the bastion still has my old passphrase on it, seven letters, it is the street I grew up on: Marlowe |
sec-019 | SECRET | buried-secret | The deploy has been failing for an hour, here is everything I tried.
1. Rebuilt the JAR, checksum matches
2. SCP to /tmp/app-deploy.jar worked
3. systemctl restart app-green fails with a database connection error
4. I logged in by hand to check, the app user connects fine if I type the password (it is Autumn-Ledger-77... |
sec-020 | SECRET | buried-secret | Write me a runbook entry from these notes.
- ssh to the box as the deploy user
- the tunnel is on a non-standard port, not 22
- if the inference unit is dead, restart it
- the web UI behind it wants a login, we all share one: ops@internal with the password Tundra9-Glass, it is written in the team wiki too
- pin the mo... |
pii-001 | PII | semantic-pii | the user who reported this lives at 14 Rowan Close, Reading and asked us to call after 6pm |
privacy-gate gold set
The evaluation data of privacy-gate: sentences that answer one question, must this text stay on this machine? Every example is invented. No real person, no real credential, no real patient. Phone numbers come from Ofcom's drama range, the AWS key is Amazon's own documentation placeholder, the private key fixture is base64 for a sentence saying it is not a key.
| File | Rows | What |
|---|---|---|
gold.jsonl |
206 | the test set; 95 CLEAN, 42 HEALTH, 37 SECRET, 32 PII, in 16 slices |
fresh.jsonl |
20 | written after the head was trained, as a generalisation check |
short-probe.jsonl |
21 | short prompts held out of training: the ones that showed an early head holding "ok" and "thanks!" |
rules-baseline.json |
206 | what a regex ruleset catches, per id (9 % of the sensitive rows) |
TAXONOMY.md |
the decision boundary every label obeys |
Row shape: id, label (CLEAN, HEALTH, SECRET, PII), slice (the category the example was written for), text.
The gate is binary: CLEAN means the caller's routing stands; anything else pins the request to the local model.
Precedence when more than one applies: HEALTH > SECRET > PII.
What it is for. Health data, credentials and personal data written as ordinary English, which pattern rules cannot see ("the woman from Tuesday's clinic, 34, has a 7mm asymmetric lesion on her left shoulder and a biopsy booked for the 20th" passes every regex). The hard part of the set is the clean half: text that looks sensitive and is not (schema names, placeholders, documentation examples, medical text about nobody).
Limits. 206 examples by one author, in one day. Enough to choose an architecture, not to set a threshold that decides what leaves a machine holding real patient data. On data other people made the shipped head keeps its catch on prose and pays friction on formal personal correspondence; see run 12 in the project's journal. The most useful contribution is a hard negative.
Results on it (five-fold cross-validated, head v1 on BAAI/bge-m3): ROC AUC 0.9927; 110 of 111 sensitive
rows caught at 5.3 % friction. A regex ruleset alone: 9 % catch. A prompted 0.8B chat model: at chance.
Code, model and journal: https://github.com/MoleCare/privacy-gate-llm · model: https://huggingface.co/YauhenBichel/privacy-gate-llm
- Downloads last month
- 59