burtenshaw HF Staff
Publish procedural SQL investigation tasks and reproducible environment source
2ce79be verified Download data/treatment_effects.sql from burtenshaw/openenv-sql-investigation: direct link, hf CLI and curl.
- Browser
- Download file 4.06 kB
-
https://huggingface.co/datasets/burtenshaw/openenv-sql-investigation/resolve/main/data/treatment_effects.sql
- Command line
-
hf download hf://datasets/burtenshaw/openenv-sql-investigation/data/treatment_effects.sql
-
curl -L -o treatment_effects.sql https://huggingface.co/datasets/burtenshaw/openenv-sql-investigation/resolve/main/data/treatment_effects.sql
4.06 kB
| BEGIN TRANSACTION; | |
| CREATE TABLE participants(participant_id INTEGER PRIMARY KEY, treatment TEXT NOT NULL); | |
| INSERT INTO "participants" VALUES(1,'control'); | |
| INSERT INTO "participants" VALUES(2,'low_dose'); | |
| INSERT INTO "participants" VALUES(3,'high_dose'); | |
| INSERT INTO "participants" VALUES(4,'control'); | |
| INSERT INTO "participants" VALUES(5,'low_dose'); | |
| INSERT INTO "participants" VALUES(6,'high_dose'); | |
| INSERT INTO "participants" VALUES(7,'control'); | |
| INSERT INTO "participants" VALUES(8,'low_dose'); | |
| INSERT INTO "participants" VALUES(9,'high_dose'); | |
| INSERT INTO "participants" VALUES(10,'control'); | |
| INSERT INTO "participants" VALUES(11,'low_dose'); | |
| INSERT INTO "participants" VALUES(12,'high_dose'); | |
| INSERT INTO "participants" VALUES(13,'control'); | |
| INSERT INTO "participants" VALUES(14,'low_dose'); | |
| INSERT INTO "participants" VALUES(15,'high_dose'); | |
| INSERT INTO "participants" VALUES(16,'control'); | |
| INSERT INTO "participants" VALUES(17,'low_dose'); | |
| INSERT INTO "participants" VALUES(18,'high_dose'); | |
| CREATE TABLE readings(reading_id INTEGER PRIMARY KEY, participant_id INTEGER NOT NULL, phase TEXT NOT NULL, value INTEGER); | |
| INSERT INTO "readings" VALUES(1,1,'baseline',66); | |
| INSERT INTO "readings" VALUES(2,1,'followup',74); | |
| INSERT INTO "readings" VALUES(3,1,'followup',73); | |
| INSERT INTO "readings" VALUES(4,1,'followup',73); | |
| INSERT INTO "readings" VALUES(5,2,'baseline',37); | |
| INSERT INTO "readings" VALUES(6,2,'baseline',51); | |
| INSERT INTO "readings" VALUES(7,2,'baseline',36); | |
| INSERT INTO "readings" VALUES(8,2,'followup',42); | |
| INSERT INTO "readings" VALUES(9,2,'followup',30); | |
| INSERT INTO "readings" VALUES(10,2,'followup',29); | |
| INSERT INTO "readings" VALUES(11,3,'baseline',38); | |
| INSERT INTO "readings" VALUES(12,3,'followup',19); | |
| INSERT INTO "readings" VALUES(13,3,'followup',36); | |
| INSERT INTO "readings" VALUES(14,3,'followup',25); | |
| INSERT INTO "readings" VALUES(15,4,'baseline',78); | |
| INSERT INTO "readings" VALUES(16,4,'baseline',79); | |
| INSERT INTO "readings" VALUES(17,4,'baseline',71); | |
| INSERT INTO "readings" VALUES(18,4,'followup',84); | |
| INSERT INTO "readings" VALUES(19,5,'baseline',NULL); | |
| INSERT INTO "readings" VALUES(20,5,'followup',33); | |
| INSERT INTO "readings" VALUES(21,5,'followup',41); | |
| INSERT INTO "readings" VALUES(22,5,'followup',31); | |
| INSERT INTO "readings" VALUES(23,6,'followup',50); | |
| INSERT INTO "readings" VALUES(24,6,'followup',59); | |
| INSERT INTO "readings" VALUES(25,6,'followup',NULL); | |
| INSERT INTO "readings" VALUES(26,7,'baseline',42); | |
| INSERT INTO "readings" VALUES(27,7,'baseline',43); | |
| INSERT INTO "readings" VALUES(28,7,'followup',51); | |
| INSERT INTO "readings" VALUES(29,7,'followup',51); | |
| INSERT INTO "readings" VALUES(30,7,'followup',48); | |
| INSERT INTO "readings" VALUES(31,8,'followup',81); | |
| INSERT INTO "readings" VALUES(32,9,'baseline',48); | |
| INSERT INTO "readings" VALUES(33,9,'baseline',53); | |
| INSERT INTO "readings" VALUES(34,9,'baseline',46); | |
| INSERT INTO "readings" VALUES(35,10,'followup',52); | |
| INSERT INTO "readings" VALUES(36,10,'followup',46); | |
| INSERT INTO "readings" VALUES(37,11,'baseline',68); | |
| INSERT INTO "readings" VALUES(38,11,'baseline',74); | |
| INSERT INTO "readings" VALUES(39,11,'followup',61); | |
| INSERT INTO "readings" VALUES(40,11,'followup',64); | |
| INSERT INTO "readings" VALUES(41,11,'followup',74); | |
| INSERT INTO "readings" VALUES(42,12,'baseline',81); | |
| INSERT INTO "readings" VALUES(43,12,'baseline',70); | |
| INSERT INTO "readings" VALUES(44,12,'baseline',67); | |
| INSERT INTO "readings" VALUES(45,14,'baseline',48); | |
| INSERT INTO "readings" VALUES(46,14,'followup',42); | |
| INSERT INTO "readings" VALUES(47,14,'followup',44); | |
| INSERT INTO "readings" VALUES(48,14,'followup',47); | |
| INSERT INTO "readings" VALUES(49,15,'followup',NULL); | |
| INSERT INTO "readings" VALUES(50,15,'followup',27); | |
| INSERT INTO "readings" VALUES(51,16,'baseline',42); | |
| INSERT INTO "readings" VALUES(52,16,'baseline',42); | |
| INSERT INTO "readings" VALUES(53,16,'followup',42); | |
| INSERT INTO "readings" VALUES(54,16,'followup',30); | |
| INSERT INTO "readings" VALUES(55,17,'followup',NULL); | |
| INSERT INTO "readings" VALUES(56,17,'followup',42); | |
| INSERT INTO "readings" VALUES(57,18,'baseline',46); | |
| COMMIT; | |