mihirma commited on
Commit
67113ed
·
verified ·
1 Parent(s): 361799a

Add files using upload-large-folder tool

Browse files
Files changed (20) hide show
  1. 4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-040dea35-0b7f-4fef-a3fc-38bb9588423e1765983126987-2025_12_17-15.52.16.573/source.csv +0 -0
  2. 4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-172d798b-bee8-455a-b904-9dd3fe6387d51754411154298-2025_08_05-18.25.56.221/source.csv +0 -0
  3. 4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-1d1c9d40-4350-4512-82d6-f9fdf36759211756538623431-2025_08_30-08.23.49.356/source.csv +0 -0
  4. 4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-25c99858-fb5d-49c2-83fa-7bee2d3aecc61762433266951-2025_11_06-13.47.50.980/source.csv +61 -0
  5. 4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-2cea4f45-eb3d-4d39-8263-124201da2dc81763721698838-2025_11_21-11.41.41.686/source.csv +0 -0
  6. 4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-48c538cb-afb7-4d8a-9661-a0080fbfb4e21762177507769-2025_11_03-14.45.14.692/source.csv +0 -0
  7. 4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-4c510e1e-c7fc-4bd2-bf45-93d5487c2a0d1760868436827-2025_10_19-12.07.22.935/source.csv +89 -0
  8. 4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-7a355fca-ba74-43c3-b4d3-53b2faf770f31764425195709-2025_11_29-15.06.38.713/source.csv +6 -0
  9. 4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-9110265e-4c9d-44b0-960f-352ca9a53ddb1764446788041-2025_11_29-21.06.32.50/source.csv +62 -0
  10. 4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-b4b5b190-669e-492e-ba87-de2410c26e171757275535827-2025_09_07-22.05.37.632/source.csv +0 -0
  11. 4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-b9cac4fb-bb28-43f8-ac71-4b73d9df27691762370355479-2025_11_05-20.19.17.356/source.csv +9 -0
  12. 4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-c0cf5d8f-d96c-42ed-92fd-777800d8c7cd1764443845176-2025_11_29-20.17.32.905/source.csv +57 -0
  13. 4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-c540a54c-40c8-4e46-b509-2316a8a981721765978775045-2025_12_17-14.39.41.212/source.csv +0 -0
  14. 4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-c7b553b9-9f39-49d5-9921-ace297dd945c1764453653385-2025_11_29-23.00.57.494/source.csv +65 -0
  15. 4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-c80bdedd-9d77-4f25-87da-5184ca5a8b3f1763540961734-2025_11_19-09.29.24.625/source.csv +18 -0
  16. 4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-cd6287e2-4cd4-444c-aab8-dbf1b52d201d1763483346410-2025_11_18-17.29.09.568/source.csv +0 -0
  17. 4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-d574b592-36c1-470c-87c1-c12b951e96361762425248759-2025_11_06-11.34.11.675/source.csv +94 -0
  18. 4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-e1a5354c-3f18-4c4b-94a1-64c1669feac51757270084100-2025_09_07-20.34.50.955/source.csv +43 -0
  19. 4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-f30029d7-35fb-408d-b8cf-377e2b67278b1762084766653-2025_11_02-12.59.29.208/source.csv +0 -0
  20. 4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-f818bac9-3228-48bb-85cd-ad930fdb35d91752220838711-2025_07_11-10.00.40.248/source.csv +0 -0
4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-040dea35-0b7f-4fef-a3fc-38bb9588423e1765983126987-2025_12_17-15.52.16.573/source.csv ADDED
The diff for this file is too large to render. See raw diff
 
4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-172d798b-bee8-455a-b904-9dd3fe6387d51754411154298-2025_08_05-18.25.56.221/source.csv ADDED
The diff for this file is too large to render. See raw diff
 
4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-1d1c9d40-4350-4512-82d6-f9fdf36759211756538623431-2025_08_30-08.23.49.356/source.csv ADDED
The diff for this file is too large to render. See raw diff
 
4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-25c99858-fb5d-49c2-83fa-7bee2d3aecc61762433266951-2025_11_06-13.47.50.980/source.csv ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Sequence,Time,File,RangeOffset,RangeLength,Text,Language,Type
2
+ 1,12,"Untitled-2",0,0,"",plaintext,tab
3
+ 2,255,"extension-output-pdoom-org.crowd-code-#1-crowd-code",0,0,"",Log,tab
4
+ 3,529,"TERMINAL",0,0,"Test",,terminal_focus
5
+ 4,569,"extension-output-pdoom-org.crowd-code-#1-crowd-code",0,0,"",Log,tab
6
+ 5,801,"TERMINAL",0,0,"echo VSCode test",,terminal_command
7
+ 6,802,"TERMINAL",0,0,"]633;CVSCode test\r\n% \r \r",,terminal_output
8
+ 7,1039,"extension-output-pdoom-org.crowd-code-#1-crowd-code",0,0,"1:47:50 PM [info] Activating crowd-code\n1:47:50 PM [info] Recording started\n1:47:50 PM [info] Initializing git provider using file system watchers...\n1:47:50 PM [info] No workspace folder found\n",Log,content
9
+ 8,2236,"Untitled-2",0,0,"",plaintext,tab
10
+ 9,3653,"Untitled-2",0,0,"hello world\n",plaintext,content
11
+ 10,3707,"TERMINAL",0,0,"echo VSCode test",,terminal_command
12
+ 11,3714,"TERMINAL",0,0,"]633;CVSCode test\r\n% \r \r",,terminal_output
13
+ 12,6865,"TERMINAL",0,0,"",,terminal_focus
14
+ 13,9284,"Untitled-2",0,0,"",plaintext,selection_command
15
+ 14,9289,"Untitled-2",0,0,"hello world\n",plaintext,content
16
+ 15,9300,"TERMINAL",0,0,"Test",,terminal_focus
17
+ 16,9322,"TERMINAL",0,0,"echo VSCode test",,terminal_command
18
+ 17,9323,"TERMINAL",0,0,"]633;CVSCode test\r\n% \r \r",,terminal_output
19
+ 18,10544,"TERMINAL",0,0,"zsh",,terminal_focus
20
+ 19,12294,"Untitled-2",0,0,"",plaintext,selection_command
21
+ 20,12295,"Untitled-2",0,0,"hello world\n",plaintext,content
22
+ 21,12302,"TERMINAL",0,0,"Test",,terminal_focus
23
+ 22,12372,"TERMINAL",0,0,"echo VSCode test",,terminal_command
24
+ 23,12373,"TERMINAL",0,0,"]633;CVSCode test\r\n% \r \r",,terminal_output
25
+ 24,38024,"Untitled-2",36,0,"",plaintext,selection_mouse
26
+ 25,38349,"Untitled-2",0,0,"",plaintext,selection_command
27
+ 26,38350,"Untitled-2",0,0,"hello world\n",plaintext,content
28
+ 27,38372,"TERMINAL",0,0,"echo VSCode test",,terminal_command
29
+ 28,38373,"TERMINAL",0,0,"]633;CVSCode test\r\n% \r \r",,terminal_output
30
+ 29,41487,"TERMINAL",0,0,"zsh",,terminal_focus
31
+ 30,41898,"Untitled-2",48,0,"",plaintext,selection_mouse
32
+ 31,42128,"Untitled-2",0,0,"",plaintext,selection_command
33
+ 32,42129,"Untitled-2",0,0,"hello world\n",plaintext,content
34
+ 33,42161,"TERMINAL",0,0,"echo VSCode test",,terminal_command
35
+ 34,42161,"TERMINAL",0,0,"]633;CVSCode test\r\n% \r \r",,terminal_output
36
+ 35,44371,"Untitled-2",0,0,"",plaintext,selection_command
37
+ 36,44375,"Untitled-2",0,0,"hello world\n",plaintext,content
38
+ 37,44400,"TERMINAL",0,0,"echo VSCode test",,terminal_command
39
+ 38,44401,"TERMINAL",0,0,"]633;CVSCode test\r\n% \r \r",,terminal_output
40
+ 39,45706,"Untitled-2",72,0,"",plaintext,selection_mouse
41
+ 40,45963,"Untitled-2",0,0,"",plaintext,selection_command
42
+ 41,45964,"Untitled-2",0,0,"hello world\n",plaintext,content
43
+ 42,45986,"TERMINAL",0,0,"echo VSCode test",,terminal_command
44
+ 43,45987,"TERMINAL",0,0,"]633;CVSCode test\r\n% \r \r",,terminal_output
45
+ 44,46465,"Untitled-2",0,0,"",plaintext,selection_command
46
+ 45,46466,"Untitled-2",0,0,"hello world\n",plaintext,content
47
+ 46,46491,"TERMINAL",0,0,"echo VSCode test",,terminal_command
48
+ 47,46492,"TERMINAL",0,0,"]633;CVSCode test\r\n% \r \r",,terminal_output
49
+ 48,129708,"TERMINAL",0,0,"Test",,terminal_focus
50
+ 49,129720,"Untitled-2",0,0,"",ruby,selection_command
51
+ 50,129722,"Untitled-2",0,0,"hello world\n",ruby,content
52
+ 51,129991,"TERMINAL",0,0,"echo VSCode test",,terminal_command
53
+ 52,129992,"TERMINAL",0,0,"]633;CVSCode test\r\n% \r \r",,terminal_output
54
+ 53,130304,"Untitled-2",0,0,"",ruby,selection_command
55
+ 54,130307,"Untitled-2",0,0,"hello world\n",ruby,content
56
+ 55,130338,"TERMINAL",0,0,"echo VSCode test",,terminal_command
57
+ 56,130339,"TERMINAL",0,0,"]633;CVSCode test\r\n% \r \r",,terminal_output
58
+ 57,132020,"Untitled-2",0,0,"",ruby,selection_command
59
+ 58,132022,"Untitled-2",0,0,"hello world\n",ruby,content
60
+ 59,132048,"TERMINAL",0,0,"echo VSCode test",,terminal_command
61
+ 60,132049,"TERMINAL",0,0,"]633;CVSCode test\r\n% \r \r",,terminal_output
4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-2cea4f45-eb3d-4d39-8263-124201da2dc81763721698838-2025_11_21-11.41.41.686/source.csv ADDED
The diff for this file is too large to render. See raw diff
 
4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-48c538cb-afb7-4d8a-9661-a0080fbfb4e21762177507769-2025_11_03-14.45.14.692/source.csv ADDED
The diff for this file is too large to render. See raw diff
 
4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-4c510e1e-c7fc-4bd2-bf45-93d5487c2a0d1760868436827-2025_10_19-12.07.22.935/source.csv ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Sequence,Time,File,RangeOffset,RangeLength,Text,Language,Type
2
+ 1,3,"slurm/dev/franz/berlin/coinrun/sample/maskgit/sample_mila_submission_case_study_vanilla.sh",0,0,"#!/usr/bin/env bash\n\n#SBATCH --nodes=1\n#SBATCH --ntasks-per-node=1\n#SBATCH --time=24:00:00\n#SBATCH --cpus-per-task=8\n#SBATCH --gres=gpu:1\n#SBATCH --output=/fast/project/HFMI_SynergyUnit/jafar_ws/logs/franz/coinrun/dynamics_sample/%x_%j.log\n#SBATCH --error=/fast/project/HFMI_SynergyUnit/jafar_ws/logs/franz/coinrun/dynamics_sample/%x_%j.log\n#SBATCH --job-name=coinrun_sample_maskgit_mila_submission_case_study_vanilla\n\n# Activate virtual environment\nsource .venv/bin/activate\n\narray_records_dir=""/fast/project/HFMI_SynergyUnit/jafar_ws/data/coinrun/array_records_10M_npy_arr_rec/array_record/test""\nCHECKPOINT_PATH=""/fast/project/HFMI_SynergyUnit/jafar_ws/checkpoints/coinrun/dynamics/dynamics_case_study_dataset_10M_30031""\n\ncurrent_branch=$(git rev-parse --abbrev-ref HEAD)\nif [ ""$current_branch"" != ""main"" ]; then\n echo ""This script must be run from the main branch. Current branch is $current_branch. Exiting.""\n exit 1\nfi\n\necho ""Sampling from checkpoint: $CHECKPOINT_PATH""\n\nsrun python jasmine/sample.py \\n --seed=1 \\n --maskgit_steps=1 \\n --tokenizer_ffn_dim=512 \\n --tokenizer_num_blocks=8 \\n --dyna_ffn_dim=512 \\n --dyna_num_blocks=12 \\n --output_dir=gifs/dynamics_case_study_dataset_10M_vanilla \\n --checkpoint $CHECKPOINT_PATH \\n --data_dir=$array_records_dir \\n --seq_len=16 \\n --batch_size=32 \\n --patch_size=4 \\n --start_frame=4 \\n --image_height=64 \\n --image_width=64 \\n --dyna_type=maskgit\n",shellscript,tab
3
+ 2,228,"extension-output-pdoom-org.crowd-code-#1-crowd-code",0,0,"12:07:22 PM [info] Activating crowd-code\n12:07:22 PM [info] Recording started\n12:07:22 PM [info] Initializing git provider using file system watchers...\n12:07:23 PM [info] Git repository found\n12:07:23 PM [info] Git provider initialized successfully\n12:07:23 PM [info] Initial git state: [object Object]\n",Log,tab
4
+ 3,5272,"TERMINAL",0,0,"",,terminal_command
5
+ 4,8400,"slurm/dev/franz/berlin/coinrun/sample/maskgit/sample_mila_submission_case_study_vanilla.sh",0,0,"",shellscript,tab
6
+ 5,8988,"extension-output-pdoom-org.crowd-code-#1-crowd-code",0,0,"",Log,tab
7
+ 6,10169,"slurm/dev/franz/berlin/coinrun/sample/maskgit/sample_mila_submission_case_study_vanilla.sh",0,0,"",shellscript,tab
8
+ 7,10171,"TERMINAL",0,0,"",,terminal_focus
9
+ 8,10727,"TERMINAL",0,0,"source /home/franz.srambical/jafar/.venv/bin/activate",,terminal_command
10
+ 9,10730,"TERMINAL",0,0,"]633;C]0;franz.srambical@hai-login1:~/jafar",,terminal_output
11
+ 10,12005,"TERMINAL",0,0,"",,terminal_command
12
+ 11,12327,"TERMINAL",0,0,"squeue",,terminal_command
13
+ 12,12349,"TERMINAL",0,0,"]633;C JOBID USER PARTITION NODES CPUS ST SUBMIT_TIME START_TIME TIME TIME_LIMIT NODELIST(REASON)\r\n 32259 xiao.liu interacti 1 128 R 2025-10-19T11:19:21 2025-10-19T11:19:21 48:14 23:59:00 hai005\r\n 32250 xiao.liu interacti 1 128 R 2025-10-19T01:29:31 2025-10-19T01:29:58 10:37:37 23:59:00 hai002\r\n 32248 xiao.liu interacti 1 128 R 2025-10-19T01:23:17 2025-10-19T01:23:28 10:44:07 23:59:00 hai007\r\n 32092 alfred.ngu standard 1 16 R 2025-10-19T11:53:27 2025-10-19T11:55:48 11:47 1-00:00:00 hai002\r\n 32216 alfred.ngu standard 1 16 R 2025-10-19T11:18:55 2025-10-19T11:21:10 46:25 1:00:00 hai004\r\n 32258 nishant.ku standard 3 96 R 2025-10-19T05:18:10 2025-10-19T05:18:40 6:48:55 1-00:00:00 hai[001,003,006]\r\n 32251 xiao.liu standard 1 128 R 2025-10-19T02:19:39 2025-10-19T02:19:56 9:47:39 23:59:00 hai008\r\n 32095 alfred.ngu standard 1 16 R 2025-10-18T12:11:12 2025-10-18T12:13:27 23:54:08 1-00:00:00 hai007\r\n]0;franz.srambical@hai-login1:~/jafar",,terminal_output
14
+ 13,120318,"TERMINAL",0,0,"",,terminal_command
15
+ 14,2210013,"slurm/dev/franz/berlin/coinrun/sample/maskgit/sample_mila_submission_case_study_vanilla.sh",340,0,"",shellscript,selection_mouse
16
+ 15,2210018,"slurm/dev/franz/berlin/coinrun/sample/maskgit/sample_mila_submission_case_study_vanilla.sh",339,0,"",shellscript,selection_command
17
+ 16,2548740,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",0,0,"#!/usr/bin/env bash\n\n#SBATCH --nodes=1\n#SBATCH --ntasks-per-node=1\n#SBATCH --gres=gpu:1\n#SBATCH --time=3-00:00:00\n#SBATCH --cpus-per-task=8\n#SBATCH --partition=gpu_p\n#SBATCH --reservation=haicu_stefan\n#SBATCH --qos=gpu_long\n#SBATCH --output=/lustre/groups/haicu/workspace/alfred.nguyen/jafar_worksapce/logs/coinrun/dynamics/%x_%j.log\n#SBATCH --error=/lustre/groups/haicu/workspace/alfred.nguyen/jafar_worksapce/logs/coinrun/dynamics/%x_%j.log\n#SBATCH --job-name=train_dynamics_coinrun_og_reproduction\n\n# Log the sbatch script\ncat $0\n\nsource .venv/bin/activate\n\njob_name=$SLURM_JOB_NAME\nslurm_job_id=$SLURM_JOB_ID\n\ntags=""coinrun_og dynanmics 10m_dataset helmholtz_reproduction dyn_repro""\n\nnpy_records_dir=""/lustre/groups/haicu/workspace/alfred.nguyen/jafar_worksapce/data/coinrun_episodes/coinrun_episodes""\n\ntokenizer_ckpt_dir=""/lustre/groups/haicu/workspace/alfred.nguyen/jafar_worksapce/checkpoints/coinrun/tokenizer/train_tokenizer_coinrun_og_reproduction_28246778/tokenizer_1756303195_110000""\nlam_ckpt_dir=""/lustre/groups/haicu/workspace/alfred.nguyen/jafar_worksapce/checkpoints/coinrun/lam/train_lam_coinrun_og_reproduction_28246647/lam_1756303037_200000""\nCHECKPOINT_DIR=""/lustre/groups/haicu/workspace/alfred.nguyen/jafar_worksapce/checkpoints/coinrun/dynamics/${job_name}/${slurm_job_id}""\nmkdir -p $CHECKPOINT_DIR\n\nenv | grep SLURM\n\nsrun python jasmine/train_dynamics.py \\n --ckpt_dir $CHECKPOINT_DIR \\n --tokenizer_checkpoint=""${tokenizer_ckpt_dir}"" \\n --lam_checkpoint=""${lam_ckpt_dir}"" \\n --log_image_interval=1000 \\n --log \\n --name=""${job_name}_${slurm_job_id}"" \\n --tags ${tags} \\n --entity instant-uv \\n --project jafar \\n --data_dir $npy_records_dir\n",shellscript,tab
18
+ 17,2549769,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",20,0,"",shellscript,selection_command
19
+ 18,2550018,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",21,0,"",shellscript,selection_command
20
+ 19,2550042,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",39,0,"",shellscript,selection_command
21
+ 20,2550079,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",67,0,"",shellscript,selection_command
22
+ 21,2550108,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",88,0,"",shellscript,selection_command
23
+ 22,2550145,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",114,0,"",shellscript,selection_command
24
+ 23,2550176,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",140,0,"",shellscript,selection_command
25
+ 24,2550208,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",166,0,"",shellscript,selection_command
26
+ 25,2550241,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",201,0,"",shellscript,selection_command
27
+ 26,2550279,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",224,0,"",shellscript,selection_command
28
+ 27,2556892,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",334,0,"",shellscript,selection_command
29
+ 28,2557154,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",443,0,"",shellscript,selection_command
30
+ 29,2557181,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",501,0,"",shellscript,selection_command
31
+ 30,2557205,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",502,0,"",shellscript,selection_command
32
+ 31,2557234,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",526,0,"",shellscript,selection_command
33
+ 32,2557272,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",533,0,"",shellscript,selection_command
34
+ 33,2557301,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",534,0,"",shellscript,selection_command
35
+ 34,2557422,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",560,0,"",shellscript,selection_command
36
+ 35,2557565,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",561,0,"",shellscript,selection_command
37
+ 36,2557712,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",586,0,"",shellscript,selection_command
38
+ 37,2557846,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",613,0,"",shellscript,selection_command
39
+ 38,2557995,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",614,0,"",shellscript,selection_command
40
+ 39,2558131,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",687,0,"",shellscript,selection_command
41
+ 40,2558315,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",688,0,"",shellscript,selection_command
42
+ 41,2558590,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",703,0,"",shellscript,selection_command
43
+ 42,2558743,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",706,0,"",shellscript,selection_command
44
+ 43,2559582,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",705,0,"",shellscript,selection_command
45
+ 44,2559702,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",705,1,"/",shellscript,selection_command
46
+ 45,2559890,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",705,7,"/lustre",shellscript,selection_command
47
+ 46,2560136,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",705,8,"/lustre/",shellscript,selection_command
48
+ 47,2560170,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",705,14,"/lustre/groups",shellscript,selection_command
49
+ 48,2560198,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",705,15,"/lustre/groups/",shellscript,selection_command
50
+ 49,2560233,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",705,20,"/lustre/groups/haicu",shellscript,selection_command
51
+ 50,2560268,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",705,21,"/lustre/groups/haicu/",shellscript,selection_command
52
+ 51,2560298,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",705,30,"/lustre/groups/haicu/workspace",shellscript,selection_command
53
+ 52,2560331,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",705,31,"/lustre/groups/haicu/workspace/",shellscript,selection_command
54
+ 53,2560365,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",705,37,"/lustre/groups/haicu/workspace/alfred",shellscript,selection_command
55
+ 54,2560397,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",705,38,"/lustre/groups/haicu/workspace/alfred.",shellscript,selection_command
56
+ 55,2560431,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",705,44,"/lustre/groups/haicu/workspace/alfred.nguyen",shellscript,selection_command
57
+ 56,2560464,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",705,45,"/lustre/groups/haicu/workspace/alfred.nguyen/",shellscript,selection_command
58
+ 57,2560497,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",705,60,"/lustre/groups/haicu/workspace/alfred.nguyen/jafar_worksapce",shellscript,selection_command
59
+ 58,2560531,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",705,61,"/lustre/groups/haicu/workspace/alfred.nguyen/jafar_worksapce/",shellscript,selection_command
60
+ 59,2560565,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",705,65,"/lustre/groups/haicu/workspace/alfred.nguyen/jafar_worksapce/data",shellscript,selection_command
61
+ 60,2560600,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",705,66,"/lustre/groups/haicu/workspace/alfred.nguyen/jafar_worksapce/data/",shellscript,selection_command
62
+ 61,2560632,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",705,82,"/lustre/groups/haicu/workspace/alfred.nguyen/jafar_worksapce/data/coinrun_episodes",shellscript,selection_command
63
+ 62,2560831,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",705,83,"/lustre/groups/haicu/workspace/alfred.nguyen/jafar_worksapce/data/coinrun_episodes/",shellscript,selection_command
64
+ 63,2561016,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",705,99,"/lustre/groups/haicu/workspace/alfred.nguyen/jafar_worksapce/data/coinrun_episodes/coinrun_episodes",shellscript,selection_command
65
+ 64,2568443,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",803,0,"",shellscript,selection_command
66
+ 65,2645468,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",803,1,"s",shellscript,selection_command
67
+ 66,2645656,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",788,16,"coinrun_episodes",shellscript,selection_command
68
+ 67,2645911,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",787,17,"/coinrun_episodes",shellscript,selection_command
69
+ 68,2645928,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",771,33,"coinrun_episodes/coinrun_episodes",shellscript,selection_command
70
+ 69,2645958,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",770,34,"/coinrun_episodes/coinrun_episodes",shellscript,selection_command
71
+ 70,2645991,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",766,38,"data/coinrun_episodes/coinrun_episodes",shellscript,selection_command
72
+ 71,2646025,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",765,39,"/data/coinrun_episodes/coinrun_episodes",shellscript,selection_command
73
+ 72,2646058,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",750,54,"jafar_worksapce/data/coinrun_episodes/coinrun_episodes",shellscript,selection_command
74
+ 73,2646091,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",749,55,"/jafar_worksapce/data/coinrun_episodes/coinrun_episodes",shellscript,selection_command
75
+ 74,2646124,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",743,61,"nguyen/jafar_worksapce/data/coinrun_episodes/coinrun_episodes",shellscript,selection_command
76
+ 75,2646159,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",742,62,".nguyen/jafar_worksapce/data/coinrun_episodes/coinrun_episodes",shellscript,selection_command
77
+ 76,2646318,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",736,68,"alfred.nguyen/jafar_worksapce/data/coinrun_episodes/coinrun_episodes",shellscript,selection_command
78
+ 77,2646518,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",735,69,"/alfred.nguyen/jafar_worksapce/data/coinrun_episodes/coinrun_episodes",shellscript,selection_command
79
+ 78,2646714,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",726,78,"workspace/alfred.nguyen/jafar_worksapce/data/coinrun_episodes/coinrun_episodes",shellscript,selection_command
80
+ 79,2646901,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",725,79,"/workspace/alfred.nguyen/jafar_worksapce/data/coinrun_episodes/coinrun_episodes",shellscript,selection_command
81
+ 80,2647061,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",720,84,"haicu/workspace/alfred.nguyen/jafar_worksapce/data/coinrun_episodes/coinrun_episodes",shellscript,selection_command
82
+ 81,2647266,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",719,85,"/haicu/workspace/alfred.nguyen/jafar_worksapce/data/coinrun_episodes/coinrun_episodes",shellscript,selection_command
83
+ 82,2647440,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",713,91,"groups/haicu/workspace/alfred.nguyen/jafar_worksapce/data/coinrun_episodes/coinrun_episodes",shellscript,selection_command
84
+ 83,2647605,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",712,92,"/groups/haicu/workspace/alfred.nguyen/jafar_worksapce/data/coinrun_episodes/coinrun_episodes",shellscript,selection_command
85
+ 84,2647792,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",706,98,"lustre/groups/haicu/workspace/alfred.nguyen/jafar_worksapce/data/coinrun_episodes/coinrun_episodes",shellscript,selection_command
86
+ 85,2648105,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",703,101,"=""/lustre/groups/haicu/workspace/alfred.nguyen/jafar_worksapce/data/coinrun_episodes/coinrun_episodes",shellscript,selection_command
87
+ 86,2648596,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",704,100,"""/lustre/groups/haicu/workspace/alfred.nguyen/jafar_worksapce/data/coinrun_episodes/coinrun_episodes",shellscript,selection_command
88
+ 87,2649824,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",705,99,"/lustre/groups/haicu/workspace/alfred.nguyen/jafar_worksapce/data/coinrun_episodes/coinrun_episodes",shellscript,selection_command
89
+ 88,2650235,"slurm/jobs/alfred/helmholtz_cluster/jafar_og_reproduction/og_coinrun_dynamics_reproduction.sbatch",705,0,"",shellscript,selection_command
4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-7a355fca-ba74-43c3-b4d3-53b2faf770f31764425195709-2025_11_29-15.06.38.713/source.csv ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ Sequence,Time,File,RangeOffset,RangeLength,Text,Language,Type
2
+ 2,118,"extension-output-pdoom-org.crowd-code-#1-crowd-code",0,0,"3:06:38 PM [info] Activating crowd-code\n3:06:38 PM [info] Recording started\n3:06:38 PM [info] Initializing git provider using file system watchers...\n3:06:38 PM [info] No workspace folder found\n",Log,tab
3
+ 3,1054,"Untitled-1",0,0,"",plaintext,tab
4
+ 4,2795,"TERMINAL",0,0,"Test",,terminal_focus
5
+ 5,2799,"Untitled-1",0,0,"// crowd-pilot mock insert\n",plaintext,content
6
+ 6,3356,"Untitled-1",0,0,"",plaintext,selection_command
4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-9110265e-4c9d-44b0-960f-352ca9a53ddb1764446788041-2025_11_29-21.06.32.50/source.csv ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Sequence,Time,File,RangeOffset,RangeLength,Text,Language,Type
2
+ 1,10,"Untitled-1",0,0,"",plaintext,tab
3
+ 2,110,"extension-output-pdoom-org.crowd-code-#1-crowd-code",0,0,"9:06:32 PM [info] Activating crowd-code\n9:06:32 PM [info] Recording started\n9:06:32 PM [info] Initializing git provider using file system watchers...\n9:06:32 PM [info] No workspace folder found\n",Log,tab
4
+ 3,665,"Untitled-1",0,0,"",plaintext,tab
5
+ 4,1768,"TERMINAL",0,0,"Test",,terminal_focus
6
+ 5,1774,"Untitled-1",0,0,"/* crowd-pilot: insert start */\nline A\nline B\n/* crowd-pilot: insert end */\n",plaintext,content
7
+ 6,2179,"Untitled-1",46,0,"",plaintext,selection_command
8
+ 7,2263,"Untitled-1",39,0,"",plaintext,selection_command
9
+ 8,2428,"Untitled-1",32,0,"",plaintext,selection_command
10
+ 9,2553,"Untitled-1",0,0,"",plaintext,selection_command
11
+ 10,3284,"Untitled-1",0,0,"\n",plaintext,content
12
+ 11,4720,"Untitled-1",0,0,"\n",plaintext,content
13
+ 12,5019,"Untitled-1",0,0,"",plaintext,selection_command
14
+ 13,6118,"Untitled-1",34,13,"/* crowd-pilot: replacement */\nREPLACED LINE 1\nREPLACED LINE 2",plaintext,content
15
+ 14,6881,"Untitled-1",97,30,"",plaintext,content
16
+ 15,7934,"Untitled-1",1,0,"",plaintext,selection_command
17
+ 16,8044,"Untitled-1",2,0,"",plaintext,selection_command
18
+ 17,15031,"Untitled-1",34,0,"",plaintext,selection_command
19
+ 18,15037,"Untitled-1",2,0,"",plaintext,selection_command
20
+ 19,17502,"TERMINAL",0,0,"echo ""Hello World""",,terminal_command
21
+ 20,17502,"TERMINAL",0,0,"]633;CHello World\r\n% \r \r",,terminal_output
22
+ 21,20537,"Untitled-1",65,0,"/* crowd-pilot: insert start */\nline A\nline B\n/* crowd-pilot: insert end */\n",plaintext,content
23
+ 22,21357,"Untitled-1",97,13,"/* crowd-pilot: replacement */\nREPLACED LINE 1\nREPLACED LINE 2",plaintext,content
24
+ 23,21972,"Untitled-1",160,61,"",plaintext,content
25
+ 24,28552,"Untitled-1",34,0,"",plaintext,selection_command
26
+ 25,28775,"Untitled-1",2,0,"",plaintext,selection_command
27
+ 26,29737,"Untitled-1",1,0,"",plaintext,selection_command
28
+ 27,30568,"Untitled-1",2,0,"",plaintext,selection_command
29
+ 28,31936,"Untitled-1",1,0,"",plaintext,selection_command
30
+ 29,32267,"Untitled-1",2,0,"",plaintext,selection_command
31
+ 30,34125,"TERMINAL",0,0,"echo ""Hello World""",,terminal_command
32
+ 31,34125,"TERMINAL",0,0,"]633;CHello World\r\n% \r \r",,terminal_output
33
+ 32,39397,"Untitled-1",65,0,"/* crowd-pilot: insert start */\nline A\nline B\n/* crowd-pilot: insert end */\n",plaintext,content
34
+ 33,40783,"Untitled-1",97,13,"/* crowd-pilot: replacement */\nREPLACED LINE 1\nREPLACED LINE 2",css,content
35
+ 34,43169,"Untitled-1",160,92,"",css,content
36
+ 35,47090,"TERMINAL",0,0,"echo ""Hello World""",,terminal_command
37
+ 36,47091,"TERMINAL",0,0,"]633;CHello World\r\n% \r \r",,terminal_output
38
+ 37,155465,"Untitled-1",65,0,"/* crowd-pilot: insert start */\nline A\nline B\n/* crowd-pilot: insert end */\n",css,content
39
+ 38,155626,"Untitled-1",97,13,"/* crowd-pilot: replacement */\nREPLACED LINE 1\nREPLACED LINE 2",css,content
40
+ 39,155804,"Untitled-1",160,92,"",css,content
41
+ 40,157600,"TERMINAL",0,0,"echo ""Hello World""",,terminal_command
42
+ 41,157601,"TERMINAL",0,0,"]633;CHello World\r\n% \r \r",,terminal_output
43
+ 42,159499,"Untitled-1",0,0,"",css,selection_command
44
+ 43,160158,"Untitled-1",2,0,"/* crowd-pilot: insert start */\nline A\nline B\n/* crowd-pilot: insert end */\n",css,content
45
+ 44,160419,"Untitled-1",34,13,"/* crowd-pilot: replacement */\nREPLACED LINE 1\nREPLACED LINE 2",css,content
46
+ 45,160575,"Untitled-1",97,92,"",css,content
47
+ 46,164386,"TERMINAL",0,0,"echo ""Hello World""",,terminal_command
48
+ 47,164387,"TERMINAL",0,0,"]633;CHello World\r\n% \r \r",,terminal_output
49
+ 48,166482,"Untitled-1",1,0,"",css,selection_command
50
+ 49,166564,"Untitled-1",0,0,"",css,selection_command
51
+ 50,167139,"Untitled-1",2,0,"/* crowd-pilot: insert start */\nline A\nline B\n/* crowd-pilot: insert end */\n",css,content
52
+ 51,167690,"Untitled-1",34,13,"/* crowd-pilot: replacement */\nREPLACED LINE 1\nREPLACED LINE 2",css,content
53
+ 52,168283,"Untitled-1",97,92,"",css,content
54
+ 53,169360,"Untitled-1",1,0,"",css,selection_command
55
+ 54,169828,"Untitled-1",2,0,"",css,selection_command
56
+ 55,171882,"Untitled-1",1,0,"",css,selection_command
57
+ 56,172264,"Untitled-1",0,0,"",css,selection_command
58
+ 57,173949,"TERMINAL",0,0,"echo ""Hello World""",,terminal_command
59
+ 58,173950,"TERMINAL",0,0,"]633;CHello World\r\n% \r \r",,terminal_output
60
+ 59,295971,"Untitled-1",2,0,"/* crowd-pilot: insert start */\nline A\nline B\n/* crowd-pilot: insert end */\n",css,content
61
+ 60,296414,"Untitled-1",34,13,"/* crowd-pilot: replacement */\nREPLACED LINE 1\nREPLACED LINE 2",css,content
62
+ 61,297016,"Untitled-1",97,92,"",css,content
4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-b4b5b190-669e-492e-ba87-de2410c26e171757275535827-2025_09_07-22.05.37.632/source.csv ADDED
The diff for this file is too large to render. See raw diff
 
4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-b9cac4fb-bb28-43f8-ac71-4b73d9df27691762370355479-2025_11_05-20.19.17.356/source.csv ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ Sequence,Time,File,RangeOffset,RangeLength,Text,Language,Type
2
+ 2,45,"extension-output-pdoom-org.crowd-code-#1-crowd-code",0,0,"",Log,tab
3
+ 3,89,"extension-output-pdoom-org.crowd-code-#1-crowd-code",0,0,"8:19:17 PM [info] Activating crowd-code\n8:19:17 PM [info] Recording started\n8:19:17 PM [info] Initializing git provider using file system watchers...\n8:19:17 PM [info] Git repository found\n8:19:17 PM [info] Git provider initialized successfully\n8:19:17 PM [info] Initial git state: [object Object]\n",Log,content
4
+ 4,2475,"extension-output-pdoom-org.crowd-code-#1-crowd-code",0,0,"",Log,tab
5
+ 5,15080,"",0,0,"Switched from branch 'main' to 'crowd-pilot-extension-submodule'",,git_branch_checkout
6
+ 6,15253,"extension-output-pdoom-org.crowd-code-#1-crowd-code",0,0,"8:19:17 PM [info] Activating crowd-code\n8:19:17 PM [info] Recording started\n8:19:17 PM [info] Initializing git provider using file system watchers...\n8:19:17 PM [info] Git repository found\n8:19:17 PM [info] Git provider initialized successfully\n8:19:17 PM [info] Initial git state: [object Object]\n8:19:32 PM [info] Branch checkout detected: main -> crowd-pilot-extension-submodule\n8:19:32 PM [info] Recording git checkout: Switched from branch 'main' to 'crowd-pilot-extension-submodule'\n8:19:32 PM [info] Resetting file cache due to branch checkout\n",Log,tab
7
+ 7,17666,"TERMINAL",0,0,"",,terminal_focus
8
+ 8,24113,".gitmodules",0,0,"[submodule ""maxtext""]\n\tpath = maxtext\n\turl = https://github.com/AI-Hypercomputer/maxtext\n[submodule ""crowd-pilot-extension""]\n\tpath = crowd-pilot-extension\n\turl = git@github.com:p-doom/crowd-pilot-extension.git\n",properties,tab
9
+ 9,24132,".gitmodules",89,0,"",properties,selection_command
4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-c0cf5d8f-d96c-42ed-92fd-777800d8c7cd1764443845176-2025_11_29-20.17.32.905/source.csv ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Sequence,Time,File,RangeOffset,RangeLength,Text,Language,Type
2
+ 1,11,"Untitled-1",0,0,"",plaintext,tab
3
+ 2,119,"extension-output-pdoom-org.crowd-code-#1-crowd-code",0,0,"8:17:32 PM [info] Activating crowd-code\n8:17:32 PM [info] Recording started\n8:17:32 PM [info] Initializing git provider using file system watchers...\n8:17:32 PM [info] No workspace folder found\n",Log,tab
4
+ 3,2028,"extension-output-pdoom-org.crowd-code-#1-crowd-code",194,0,"8:17:34 PM [info] Retrying git provider initialization...\n8:17:34 PM [info] No workspace folder found\n",Log,content
5
+ 4,7750,"Untitled-1",0,0,"",plaintext,tab
6
+ 5,11552,"TERMINAL",0,0,"Test",,terminal_focus
7
+ 6,11558,"Untitled-1",0,0,"/* crowd-pilot: insert start */\nline A\nline B\n/* crowd-pilot: insert end */\n",plaintext,content
8
+ 7,13974,"Untitled-1",46,0,"",plaintext,selection_command
9
+ 8,14130,"Untitled-1",39,0,"",plaintext,selection_command
10
+ 9,14299,"Untitled-1",32,0,"",plaintext,selection_command
11
+ 10,14462,"Untitled-1",0,0,"",plaintext,selection_command
12
+ 11,83623,"Untitled-1",0,0,"\n",plaintext,content
13
+ 12,93453,"Untitled-1",1,0,"",plaintext,selection_command
14
+ 13,93581,"Untitled-1",0,0,"",plaintext,selection_command
15
+ 14,97816,"Untitled-1",0,0,"\n",plaintext,content
16
+ 15,99560,"Untitled-1",1,0,"",plaintext,selection_command
17
+ 16,99705,"Untitled-1",0,0,"",plaintext,selection_command
18
+ 17,209732,"Untitled-1",34,13,"/* crowd-pilot: replacement */\nREPLACED LINE 1\nREPLACED LINE 2",plaintext,content
19
+ 18,216860,"Untitled-1",1,0,"",plaintext,selection_command
20
+ 19,216946,"Untitled-1",0,0,"",plaintext,selection_command
21
+ 20,217804,"Untitled-1",1,0,"",plaintext,selection_command
22
+ 21,217959,"Untitled-1",2,0,"",plaintext,selection_command
23
+ 22,218768,"Untitled-1",34,0,"",plaintext,selection_command
24
+ 23,218997,"Untitled-1",65,0,"",plaintext,selection_command
25
+ 24,219160,"Untitled-1",81,0,"",plaintext,selection_command
26
+ 25,219298,"Untitled-1",97,0,"",plaintext,selection_command
27
+ 26,219600,"Untitled-1",81,0,"",plaintext,selection_command
28
+ 27,219848,"Untitled-1",65,0,"",plaintext,selection_command
29
+ 28,219879,"Untitled-1",34,0,"",plaintext,selection_command
30
+ 29,219912,"Untitled-1",2,0,"",plaintext,selection_command
31
+ 30,219946,"Untitled-1",1,0,"",plaintext,selection_command
32
+ 31,219980,"Untitled-1",0,0,"",plaintext,selection_command
33
+ 32,220480,"Untitled-1",0,0,"\n",plaintext,content
34
+ 33,221895,"Untitled-1",1,0,"",plaintext,selection_command
35
+ 34,222018,"Untitled-1",0,0,"",plaintext,selection_command
36
+ 35,223393,"Untitled-1",0,0,"\n",plaintext,content
37
+ 36,225322,"Untitled-1",0,0,"\n",plaintext,content
38
+ 37,226665,"Untitled-1",1,0,"",plaintext,selection_command
39
+ 38,227007,"Untitled-1",0,0,"",plaintext,selection_command
40
+ 39,229296,"Untitled-1",1,0,"",plaintext,selection_command
41
+ 40,230274,"Untitled-1",0,0,"",plaintext,selection_command
42
+ 41,233230,"Untitled-1",37,62,"",plaintext,content
43
+ 42,236150,"Untitled-1",2,0,"/* crowd-pilot: insert start */\nline A\nline B\n/* crowd-pilot: insert end */\n",plaintext,content
44
+ 43,243613,"Untitled-1",34,13,"/* crowd-pilot: replacement */\nREPLACED LINE 1\nREPLACED LINE 2",plaintext,content
45
+ 44,246883,"Untitled-1",97,31,"",plaintext,content
46
+ 45,248948,"Untitled-1",2,0,"/* crowd-pilot: insert start */\nline A\nline B\n/* crowd-pilot: insert end */\n",plaintext,content
47
+ 46,249872,"Untitled-1",34,13,"/* crowd-pilot: replacement */\nREPLACED LINE 1\nREPLACED LINE 2",plaintext,content
48
+ 47,250330,"Untitled-1",97,92,"",plaintext,content
49
+ 48,250872,"Untitled-1",2,0,"/* crowd-pilot: insert start */\nline A\nline B\n/* crowd-pilot: insert end */\n",plaintext,content
50
+ 49,251166,"Untitled-1",34,13,"/* crowd-pilot: replacement */\nREPLACED LINE 1\nREPLACED LINE 2",plaintext,content
51
+ 50,251422,"Untitled-1",97,92,"",plaintext,content
52
+ 51,251686,"Untitled-1",2,0,"/* crowd-pilot: insert start */\nline A\nline B\n/* crowd-pilot: insert end */\n",plaintext,content
53
+ 52,252037,"Untitled-1",34,13,"/* crowd-pilot: replacement */\nREPLACED LINE 1\nREPLACED LINE 2",plaintext,content
54
+ 53,252224,"Untitled-1",97,92,"",plaintext,content
55
+ 54,252883,"Untitled-1",2,0,"/* crowd-pilot: insert start */\nline A\nline B\n/* crowd-pilot: insert end */\n",plaintext,content
56
+ 55,253347,"Untitled-1",34,13,"/* crowd-pilot: replacement */\nREPLACED LINE 1\nREPLACED LINE 2",plaintext,content
57
+ 56,254207,"Untitled-1",97,92,"",plaintext,content
4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-c540a54c-40c8-4e46-b509-2316a8a981721765978775045-2025_12_17-14.39.41.212/source.csv ADDED
The diff for this file is too large to render. See raw diff
 
4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-c7b553b9-9f39-49d5-9921-ace297dd945c1764453653385-2025_11_29-23.00.57.494/source.csv ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Sequence,Time,File,RangeOffset,RangeLength,Text,Language,Type
2
+ 1,12,"Untitled-1",0,0,"",plaintext,tab
3
+ 2,106,"extension-output-pdoom-org.crowd-code-#1-crowd-code",0,0,"11:00:57 PM [info] Activating crowd-code\n11:00:57 PM [info] Recording started\n11:00:57 PM [info] Initializing git provider using file system watchers...\n11:00:57 PM [info] No workspace folder found\n",Log,tab
4
+ 3,879,"Untitled-1",0,0,"",plaintext,tab
5
+ 4,7510,"Untitled-1",0,0,"\n",plaintext,content
6
+ 5,8198,"Untitled-1",0,0,"",plaintext,selection_command
7
+ 6,9546,"Untitled-1",1,0,"",plaintext,selection_command
8
+ 7,9662,"Untitled-1",0,0,"",plaintext,selection_command
9
+ 8,11565,"Untitled-1",1,0,"",plaintext,selection_command
10
+ 9,12165,"Untitled-1",0,0,"",plaintext,selection_command
11
+ 10,12576,"Untitled-1",1,0,"",plaintext,selection_command
12
+ 11,13855,"Untitled-1",0,1,"",plaintext,content
13
+ 12,20208,"Untitled-1",0,0,"\n",plaintext,content
14
+ 13,20705,"Untitled-1",0,1,"",plaintext,content
15
+ 14,25013,"Untitled-1",0,0,"\n",plaintext,content
16
+ 15,26025,"Untitled-1",0,0,"",plaintext,selection_command
17
+ 16,26644,"Untitled-1",1,0,"",plaintext,selection_command
18
+ 17,27236,"Untitled-1",0,0,"",plaintext,selection_command
19
+ 18,27970,"Untitled-1",1,0,"",plaintext,selection_command
20
+ 19,32009,"Untitled-1",0,0,"",plaintext,selection_command
21
+ 20,44217,"Untitled-1",1,0,"",plaintext,selection_command
22
+ 21,47229,"Untitled-1",0,0,"",plaintext,selection_command
23
+ 22,48041,"Untitled-1",1,0,"",plaintext,selection_command
24
+ 23,51061,"Untitled-1",0,0,"",plaintext,selection_command
25
+ 24,51215,"Untitled-1",1,0,"",plaintext,selection_command
26
+ 25,51533,"Untitled-1",0,0,"",plaintext,selection_command
27
+ 26,52546,"Untitled-1",1,0,"",plaintext,selection_command
28
+ 27,53160,"Untitled-1",0,0,"",plaintext,selection_command
29
+ 28,60839,"Untitled-1",1,0,"",plaintext,selection_command
30
+ 29,62433,"Untitled-1",0,0,"",plaintext,selection_command
31
+ 30,63823,"Untitled-1",1,0,"",plaintext,selection_command
32
+ 31,64201,"Untitled-1",0,0,"",plaintext,selection_command
33
+ 32,67687,"TERMINAL",0,0,"Test",,terminal_focus
34
+ 33,67690,"Untitled-1",1,0,"/* crowd-pilot: insert start */\nline A\nline B\n/* crowd-pilot: insert end */\n",plaintext,content
35
+ 34,70126,"Untitled-1",40,36,"/* crowd-pilot: replacement */\nREPLACED LINE 1\nREPLACED LINE 2",plaintext,content
36
+ 35,72865,"Untitled-1",0,0,"\n",plaintext,content
37
+ 36,73447,"Untitled-1",0,0,"",plaintext,selection_command
38
+ 37,74733,"Untitled-1",0,0,"\n",plaintext,content
39
+ 38,75175,"Untitled-1",0,0,"",plaintext,selection_command
40
+ 39,76502,"Untitled-1",0,0,"\n",plaintext,content
41
+ 40,76939,"Untitled-1",0,0,"",plaintext,selection_command
42
+ 41,78227,"Untitled-1",0,0,"\n",plaintext,content
43
+ 42,78613,"Untitled-1",0,0,"",plaintext,selection_command
44
+ 43,81267,"Untitled-1",37,54,"",plaintext,content
45
+ 44,83334,"Untitled-1",1,0,"",plaintext,selection_command
46
+ 45,85017,"Untitled-1",2,0,"",plaintext,selection_command
47
+ 46,85112,"Untitled-1",1,0,"",plaintext,selection_command
48
+ 47,86678,"Untitled-1",0,0,"",plaintext,selection_command
49
+ 48,86850,"Untitled-1",1,0,"",plaintext,selection_command
50
+ 49,88064,"Untitled-1",1,0," ",plaintext,content
51
+ 50,88066,"Untitled-1",2,0,"",plaintext,selection_keyboard
52
+ 51,88799,"Untitled-1",1,1,"",plaintext,content
53
+ 52,90274,"Untitled-1",0,0,"",plaintext,selection_command
54
+ 53,90308,"Untitled-1",1,0,"",plaintext,selection_command
55
+ 54,264031,"Untitled-1",2,0,"",plaintext,selection_command
56
+ 55,264119,"Untitled-1",1,0,"",plaintext,selection_command
57
+ 56,264575,"Untitled-1",2,0,"",plaintext,selection_command
58
+ 57,265033,"Untitled-1",3,0,"",plaintext,selection_command
59
+ 58,265462,"Untitled-1",4,0,"",plaintext,selection_command
60
+ 59,266025,"Untitled-1",5,0,"",plaintext,selection_command
61
+ 60,267178,"Untitled-1",37,0,"",plaintext,selection_command
62
+ 61,268523,"Untitled-1",5,0,"",plaintext,selection_command
63
+ 62,268710,"Untitled-1",4,0,"",plaintext,selection_command
64
+ 63,268859,"Untitled-1",3,0,"",plaintext,selection_command
65
+ 64,269024,"Untitled-1",2,0,"",plaintext,selection_command
4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-c80bdedd-9d77-4f25-87da-5184ca5a8b3f1763540961734-2025_11_19-09.29.24.625/source.csv ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Sequence,Time,File,RangeOffset,RangeLength,Text,Language,Type
2
+ 1,1,"nemo_run/config.py",0,0,"# SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.\n# SPDX-License-Identifier: Apache-2.0\n#\n# Licensed under the Apache License, Version 2.0 (the ""License"");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an ""AS IS"" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nfrom __future__ import annotations\n\nimport copy\nimport dataclasses\nimport inspect\nimport os\nimport re\nimport sys\nimport typing\nfrom pathlib import Path\nfrom types import MappingProxyType\nfrom typing import Any, Callable, Generic, Iterable, Optional, Type, TypeVar, Union, get_args\n\nimport fiddle as fdl\nimport fiddle._src.experimental.dataclasses as fdl_dc\nimport graphviz\nfrom fiddle._src import config, daglish, daglish_extensions\nfrom fiddle._src.casting import register_supported_cast\nfrom fiddle._src.config import TypeOrCallableProducingT\nfrom fiddle.graphviz import render, render_diff\nfrom typing_extensions import Annotated, ParamSpec, Self\n\nimport nemo_run.exceptions as run_exceptions\n\nParams = ParamSpec(""Params"")\nReturnType = TypeVar(""ReturnType"")\n\n_T = TypeVar(""_T"")\n_BuildableT = TypeVar(""_BuildableT"", bound=fdl.Buildable)\n\nRECURSIVE_TYPES = (typing.Union, typing.Optional)\n_NEMORUN_HOME = os.environ.get(""NEMORUN_HOME"", os.path.expanduser(""~/.nemo_run""))\nRUNDIR_NAME = ""nemo_run""\nRUNDIR_SPECIAL_NAME = ""/$nemo_run""\nSCRIPTS_DIR = ""scripts""\n\n# Metadata keys\nUSE_WITH_RAY_CLUSTER_KEY = ""use_with_ray_cluster""\n\n\ndef get_nemorun_home() -> str:\n """"""\n Get the current NEMORUN_HOME directory path.\n\n Returns:\n The path to the NEMORUN_HOME directory.\n """"""\n return _NEMORUN_HOME\n\n\ndef set_nemorun_home(path: str) -> None:\n """"""\n Set the NEMORUN_HOME directory path.\n\n Args:\n path: The new path for NEMORUN_HOME.\n """"""\n global _NEMORUN_HOME\n _NEMORUN_HOME = os.path.expanduser(path)\n\n\ndef get_type_namespace(typ: Type | Callable) -> str:\n """"""\n Get the namespace of a type or callable.\n\n Args:\n typ: The type or callable to get the namespace for.\n\n Returns:\n A string representing the namespace of the type or callable.\n\n Examples:\n >>> class MyClass:\n ... pass\n >>> get_type_namespace(MyClass)\n 'your_module.MyClass'\n """"""\n module = typ.__module__\n if module == ""__main__"":\n # Get the filename without extension\n main_module = sys.modules[""__main__""]\n filename = os.path.basename(main_module.__file__)\n module = os.path.splitext(filename)[0]\n\n if isinstance(typ, fdl.Buildable):\n typ = typ.__fn_or_cls__\n\n _name = getattr(typ, ""__qualname__"", str(typ))\n if _name.startswith(""ForwardRef""):\n _name = _name.split(""."")[-1]\n return f""{module}.{_name}""\n\n\ndef get_underlying_types(type_hint: typing.Any) -> typing.Set[typing.Type]:\n if isinstance(type_hint, typing._GenericAlias): # type: ignore\n if str(type_hint).startswith(""typing.Annotated""):\n origin = type_hint.__origin__\n if hasattr(origin, ""__origin__""):\n origin = origin.__origin__\n else:\n origin = type_hint.__origin__\n if origin in RECURSIVE_TYPES:\n types = set()\n for arg in type_hint.__args__:\n types.update(get_underlying_types(arg))\n return types\n return {type_hint}\n\n\ndef from_dict(raw_data: dict | list | str | float | int | bool, cls: Type[_T]) -> _T:\n if isinstance(raw_data, dict):\n underlying_types = get_underlying_types(cls)\n underlying_types = [tp for tp in underlying_types if tp is not type(None)]\n assert len(underlying_types) == 1, (\n f""Unable to load {cls}. Nested union types are not currently supported.""\n )\n cls = underlying_types[0] # type: ignore\n\n if dataclasses.is_dataclass(cls):\n fields_dict = {\n f.name: from_dict(raw_data.get(f.name), f.type) # type: ignore\n for f in dataclasses.fields(cls)\n if f.init\n }\n return cls(**fields_dict) # type: ignore\n elif isinstance(raw_data, list):\n return [from_dict(item, cls.__args__[0]) for item in raw_data] # type: ignore\n else:\n return raw_data # type: ignore\n\n\ndef set_value(cfg: config.Buildable, key: str, value: Any) -> None:\n """"""Set an attribute's value.\n\n Args:\n cfg: A `fdl.Buildable` whose attribute is to be overridden.\n assignment: String representing attribute's override expression. Of the form\n `attribute=value`.\n """"""\n *parents, last = _parse_path(key)\n\n walk = typing.cast(Any, cfg)\n try:\n for parent in parents:\n walk = parent.follow(walk)\n except Exception as e:\n raise run_exceptions.SetValueError(f'Invalid path ""{key}"".') from e\n\n try:\n if isinstance(last, daglish.Attr):\n setattr(walk, last.name, value)\n elif isinstance(last, daglish.Key):\n walk[last.key] = value\n else:\n raise run_exceptions.SetValueError(f""Unexpected path element {last}."")\n except Exception as e:\n raise run_exceptions.SetValueError(f'Could not set ""{key}"" to ""{value}"".') from e\n\n\nclass _CloneAndFNMixin:\n def clone(self):\n """"""Returns a deep clone of the object.""""""\n return copy.deepcopy(self)\n\n def walk(self: _BuildableT, **kwargs) -> _BuildableT: # type: ignore\n """"""\n Recursively applies a transformation function to attributes within the configuration object\n and its children that match the keys provided in kwargs. Attributes not listed in kwargs\n are not modified.\n\n Args:\n **kwargs (dict): A dictionary where keys are attribute names and values are functions\n that take the current attribute value and return a new value.\n\n Returns\n -------\n Config: A new Config instance with selectively modified attributes.\n\n Examples\n --------\n >>> config = Config(model=ModelConfig(seq_length=128))\n >>> new_config = config.walk(seq_length=lambda cfg: cfg.seq_length * 2)\n >>> new_config.model.seq_length\n 256\n """"""\n return _try_set_all(self, _walk=True, **kwargs)\n\n def broadcast(self: _BuildableT, **kwargs) -> _BuildableT: # type: ignore\n """"""\n Sets new values to attributes within the configuration object and its children that match\n the keys provided in kwargs. Attributes not listed in kwargs are not modified.\n\n Args:\n **kwargs (dict): A dictionary where keys are attribute names and values are the new\n values to be set.\n\n Returns\n -------\n Config: A new Config instance with selectively updated attributes.\n\n Examples\n --------\n >>> config = Config(model=ModelConfig(tensor_model_parallel_size=1))\n >>> new_config = config.broadcast(tensor_model_parallel_size=2)\n >>> new_config.model.tensor_model_parallel_size\n 2\n """"""\n return _try_set_all(self, **kwargs)\n\n\nclass _VisualizeMixin:\n def visualize(self, **kwargs) -> graphviz.Graph:\n return render(self, **kwargs)\n\n def diff(self, old: Self, trim=True, **kwargs):\n return render_diff(old=old, new=self, trim=trim, **kwargs)\n\n def save_config_img(self, path_str: str) -> None:\n """"""\n Saves the configuration to a file.\n\n Args:\n path (str): The file path where the configuration should be saved.\n fdl_fn (Partial): The function descriptor library function to save.\n\n Example:\n >>> save_config_img(""path/to/dir"", some_fdl_fn)\n """"""\n path: Path = Path(path_str)\n\n if not path.suffix:\n path = path / ""config.png""\n elif path.suffix != "".png"":\n raise ValueError(""The file extension must be .png"")\n\n path.parent.mkdir(parents=True, exist_ok=True)\n\n with path.open(""wb"") as f:\n f.write(self.visualize().pipe(""png""))\n\n def _repr_svg_(self):\n """"""Special method used by Jupyter to represent an object as SVG.\n\n Returns\n -------\n str: SVG representation of the Config object if Graphviz can render it.\n If Graphviz rendering fails or is not available, it returns None.\n """"""\n try:\n # Attempt to render using Graphviz and return SVG representation\n return self.visualize().pipe(format=""svg"").decode(""utf-8"")\n except Exception as e:\n # If rendering fails, log the exception or handle it as needed\n print(f""Graphviz rendering failed: {e}"")\n return self.__repr__()\n\n\nclass Config(Generic[_T], fdl.Config[_T], _CloneAndFNMixin, _VisualizeMixin):\n """"""\n Wrapper around fdl.Config with nemo_run specific functionality.\n See `fdl.Config <https://fiddle.readthedocs.io/en/latest/api_reference/core.html#config>`_ for more.\n """"""\n\n def __init__(\n self,\n fn_or_cls: Union[fdl.Buildable[_T], TypeOrCallableProducingT[_T]],\n *args,\n bind_args: bool = True,\n **kwargs,\n ):\n # Handle dict types by converting to _kwargs_to_dict function\n if fn_or_cls == {} or (hasattr(fn_or_cls, ""__origin__"") and fn_or_cls.__origin__ is dict):\n fn_or_cls = dict # type: ignore\n bind_args = False\n\n new_kwargs = kwargs\n if bind_args and not isinstance(fn_or_cls, fdl.Buildable):\n try:\n new_kwargs = _bind_args(fn_or_cls, *args, **kwargs)\n except Exception:\n new_kwargs = kwargs\n\n super().__init__(fn_or_cls, *args, **new_kwargs)\n\n @classmethod\n def __unflatten__(\n cls,\n values: Iterable[Any],\n metadata: config.BuildableTraverserMetadata,\n ):\n # If this is a dictionary config, reconstruct it with the arguments\n if metadata.fn_or_cls is dict:\n return cls(**metadata.arguments(values))\n return super().__unflatten__(values, metadata)\n\n\nclass Partial(Generic[_T], fdl.Partial[_T], _CloneAndFNMixin, _VisualizeMixin):\n """"""\n Wrapper around fdl.Partial with nemo_run specific functionality.\n See `fdl.Partial <https://fiddle.readthedocs.io/en/latest/api_reference/core.html#partial>`_ for more.\n """"""\n\n def __init__(\n self,\n fn_or_cls: Union[fdl.Buildable[_T], TypeOrCallableProducingT[_T]],\n *args,\n bind_args: bool = True,\n **kwargs,\n ):\n new_kwargs = kwargs\n if bind_args and not isinstance(fn_or_cls, fdl.Buildable):\n try:\n new_kwargs = _bind_args(fn_or_cls, **kwargs)\n except Exception:\n new_kwargs = kwargs\n\n super().__init__(fn_or_cls, *args, **new_kwargs)\n\n\nregister_supported_cast(fdl.Config, Config)\nregister_supported_cast(fdl.Partial, Partial)\nregister_supported_cast(Config, Config)\nregister_supported_cast(Partial, Partial)\n\n\nclass ConfigurableMixin(_VisualizeMixin):\n """"""\n A mixin class that provides configuration and visualization functionality.\n\n This mixin adds methods for converting objects to Config instances,\n visualizing configurations, and comparing configurations.\n\n For classes that are not dataclasses, the `to_config` method needs to be\n overridden to provide custom conversion logic to Config instances.\n """"""\n\n def diff(self, old: Self, trim=True, **kwargs):\n """"""\n Generate a visual difference between this configuration and an old one.\n\n Args:\n old (Self): The old configuration to compare against.\n trim (bool, optional): Whether to trim unchanged parts. Defaults to True.\n **kwargs: Additional arguments to pass to render_diff.\n\n Returns:\n graphviz.Digraph: A graph representing the differences between configurations.\n """"""\n return render_diff(old=old.to_config(), new=self.to_config(), trim=trim, **kwargs)\n\n def to_config(self) -> Config[Self]:\n """"""\n Convert the current object to a Config instance.\n\n This method automatically converts dataclasses to Config instances.\n For classes that are not dataclasses, this method needs to be overridden\n to provide custom conversion logic.\n\n Returns:\n Config: A Config representation of the current object.\n\n Raises:\n NotImplementedError: If the object type cannot be converted to Config\n or if the method is not overridden for non-dataclass types.\n\n Note:\n For classes that are not dataclasses, you must override this method\n to define how the object should be converted to a Config instance.\n """"""\n if dataclasses.is_dataclass(self):\n try:\n return fdl.cast(\n Config, fdl_dc.convert_dataclasses_to_configs(self, allow_post_init=True)\n )\n except Exception as e:\n raise NotImplementedError(\n f""Cannot convert type {type(self)} to Config"",\n f""Please implement a method `to_config` on {type(self)}."",\n ) from e\n elif isinstance(self, (list, tuple, dict)):\n return self # type: ignore\n else:\n raise NotImplementedError(\n f""Cannot convert type {type(self)} to Config. ""\n f""Please override the `to_config` method for {type(self)}.""\n )\n\n def _repr_svg_(self):\n """"""\n Generate an SVG representation of the object for Jupyter notebooks.\n\n Returns:\n str: SVG representation of the object if it can be rendered,\n otherwise returns the string representation.\n """"""\n if isinstance(self, (list, tuple, dict)):\n try:\n return render(self).pipe(format=""svg"").decode(""utf-8"")\n except Exception as e:\n print(f""Graphviz rendering failed: {e}"")\n return self.__repr__()\n\n return self.to_config()._repr_svg_()\n\n\n@dataclasses.dataclass\nclass Script(ConfigurableMixin):\n """"""\n Dataclass to configure raw scripts.\n\n Examples:\n\n .. code-block:: python\n\n file_based_script = run.Script(""./scripts/echo.sh"")\n\n inline_script = run.Script(\n inline=\""\""\""\n env\n echo ""Hello 1""\n echo ""Hello 2""\n \""\""\""\n )\n\n """"""\n\n #: Path to your script\n path: str = """"\n #: Inline contents of the script. Either path or inline needs to be set.\n inline: str = """"\n #: Args to pass to your scripts, only applicable when path is set.\n args: list[str] = dataclasses.field(default_factory=list)\n #: Environment variables to set when running the script.\n env: dict[str, str] = dataclasses.field(default_factory=dict)\n #: Entrypoint to use, defaults to bash.\n entrypoint: str = ""bash""\n #: Whether to use ``python -m`` when executing via python.\n m: bool = False\n\n metadata: dict[str, Any] = dataclasses.field(default_factory=dict)\n\n def __post_init__(self):\n assert self.path or self.inline\n assert self.entrypoint, ""Need to provide an entrypoint for script.""\n if self.m:\n assert ""python"" in self.entrypoint, ""-m can only be used with python""\n\n def get_name(self):\n if self.inline:\n name = self.inline.strip()[:10]\n return re.sub(""[^0-9a-zA-Z]+"", ""_"", name)\n else:\n return os.path.basename(self.path)\n\n def to_command(\n self, with_entrypoint: bool = False, filename: Optional[str] = None, is_local: bool = False\n ) -> list[str]:\n if self.inline:\n if filename:\n os.makedirs(os.path.dirname(filename), exist_ok=True)\n with open(filename, ""w"") as f:\n f.write(""#!/usr/bin/bash\n"" + self.inline)\n\n if is_local:\n cmd = [filename]\n else:\n cmd = [os.path.join(f""/{RUNDIR_NAME}"", SCRIPTS_DIR, Path(filename).name)]\n\n if with_entrypoint:\n cmd = [self.entrypoint] + cmd\n\n return cmd\n\n inline = self.inline.replace('""', '\\""')\n cmd = [""-c"", f'""{inline}""']\n if with_entrypoint:\n cmd = [self.entrypoint] + cmd\n\n return cmd\n\n args = [self.path] + self.args\n if self.m:\n cmd = [""-m""] + args\n else:\n cmd = args\n\n if with_entrypoint:\n if self.entrypoint:\n cmd = [self.entrypoint] + cmd\n else:\n raise ValueError(""Cannot use with_entrypoint=True without specifying entrypoint"")\n\n return cmd\n\n\n# A type alias for an optional type that is annotated with a Config.\n# This is useful for when you want to specify a type is Optional but\n# always want to provide a default config.\nOptionalDefaultConfig = Annotated[Optional[_T], Config[_T]]\nOptionalDefaultPartial = Annotated[Optional[_T], Partial[_T]]\n\n\ndef _parse_path(path: str) -> daglish.Path:\n """"""Parses a path into a list of either attributes or index lookups.""""""\n if not path.startswith(""["") and not path.startswith("".""):\n path = f"".{path}"" # Add a leading `.` to make parsing work properly.\n\n return daglish_extensions.parse_path(path)\n\n\ndef _bind_args(\n fn_or_cls: TypeOrCallableProducingT,\n *fn_args: fdl.Config | str | Callable,\n **fn_kwargs: fdl.Config | str | Callable,\n) -> dict[str, fdl.Config | str | Callable]:\n sig = inspect.signature(fn_or_cls)\n params = sig.parameters\n\n if set(fn_kwargs) > set(params):\n raise TypeError(\n f""{set(fn_kwargs) - set(params)} does not exist as args in {fn_or_cls.__module__}:{fn_or_cls.__name__}. Please remove them.""\n )\n\n final_args = _construct_args(fn_or_cls, params, fn_kwargs)\n final_args = fn_kwargs | final_args\n sig.bind(*fn_args, **final_args)\n return final_args\n\n\ndef _construct_args(\n fn_or_cls: TypeOrCallableProducingT,\n params: MappingProxyType[str, inspect.Parameter],\n kwargs: dict[str, fdl.Config | str | Callable],\n):\n final_args = {}\n\n primitive = [str, float, int, bool, bytes]\n primitive.extend([Optional[t] for t in primitive])\n\n for name, parameter in params.items():\n arg = kwargs.get(name, None)\n\n if arg:\n if dataclasses.is_dataclass(arg):\n final_args[name] = fdl.cast(\n Config,\n fdl_dc.convert_dataclasses_to_configs(arg, allow_post_init=True),\n )\n else:\n final_args[name] = arg\n elif str(parameter.annotation).startswith(""typing.Annotated""):\n args = get_args(parameter.annotation)\n if str(args[0]).startswith(""typing.Optional"") and len(args) > 1:\n cfg_type = get_args(args[0])[0]\n buildable = args[1].__origin__\n if issubclass(buildable, fdl.Buildable):\n final_args[name] = buildable(cfg_type)\n\n return final_args\n\n\nConfigT = TypeVar(""ConfigT"", Config, Partial)\n\n\ndef _try_set_all(config: _BuildableT, _walk: bool = False, **kwargs) -> _BuildableT:\n for key, val in kwargs.items():\n if hasattr(config, key):\n _val = val(config) if _walk else val\n setattr(config, key, _val)\n\n for attr_name in dir(config):\n try:\n if hasattr(config, attr_name):\n attr = getattr(config, attr_name)\n if isinstance(attr, (fdl.Config, fdl.Partial)):\n _try_set_all(attr, _walk=_walk, **kwargs)\n except ValueError:\n pass\n\n return config\n",python,tab
3
+ 2,45,"extension-output-pdoom-org.crowd-code-#1-crowd-code",0,0,"9:29:24 AM [info] Activating crowd-code\n9:29:24 AM [info] Recording started\n9:29:24 AM [info] Initializing git provider using file system watchers...\n9:29:24 AM [info] Git repository found\n9:29:24 AM [info] Git provider initialized successfully\n9:29:24 AM [info] Initial git state: [object Object]\n",Log,tab
4
+ 3,1027,"nemo_run/config.py",0,0,"",python,tab
5
+ 4,11239,"nemo_run/config.py",10462,13,"class Partial",python,selection_command
6
+ 5,13234,"nemo_run/config.py",10549,0,"",python,selection_mouse
7
+ 6,13255,"nemo_run/config.py",10548,0,"",python,selection_command
8
+ 7,15762,"nemo_run/config.py",10556,0,"",python,selection_command
9
+ 8,16108,"nemo_run/config.py",10562,0,"",python,selection_command
10
+ 9,16323,"nemo_run/config.py",10569,0,"",python,selection_command
11
+ 10,16505,"nemo_run/config.py",10572,0,"",python,selection_command
12
+ 11,17021,"nemo_run/config.py",10569,0,"",python,selection_command
13
+ 12,17673,"nemo_run/config.py",10489,0,"",python,selection_command
14
+ 13,19772,"nemo_run/config.py",0,0,"",python,selection_command
15
+ 14,20756,"nemo_run/config.py",979,0,"",python,selection_command
16
+ 15,22098,"nemo_run/config.py",0,0,"",python,selection_command
17
+ 16,22680,"nemo_run/config.py",10489,0,"",python,selection_command
18
+ 17,448036,"nemo_run/config.py",10460,0,"",python,selection_mouse
4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-cd6287e2-4cd4-444c-aab8-dbf1b52d201d1763483346410-2025_11_18-17.29.09.568/source.csv ADDED
The diff for this file is too large to render. See raw diff
 
4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-d574b592-36c1-470c-87c1-c12b951e96361762425248759-2025_11_06-11.34.11.675/source.csv ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Sequence,Time,File,RangeOffset,RangeLength,Text,Language,Type
2
+ 1,4,"src/extension.ts",0,0,"// The module 'vscode' contains the VS Code extensibility API\n// Import the module and reference it with the alias vscode in your code below\nimport * as vscode from 'vscode';\n\n// This method is called when your extension is activated\n// Your extension is activated the very first time the command is executed\nexport function activate(context: vscode.ExtensionContext) {\n\n\tconsole.log('Crowd Pilot extension activated');\n\n\t// Configure terminal to allow tab keybinding to work\n\t// This makes the command skip the shell so VS Code can intercept tab in terminals\n\tconst config = vscode.workspace.getConfiguration('terminal.integrated');\n\tconst commandsToSkipShell = config.get<string[]>('commandsToSkipShell', []);\n\tif (!commandsToSkipShell.includes('crowd-pilot.testRun')) {\n\t\tcommandsToSkipShell.push('crowd-pilot.testRun');\n\t\tconfig.update('commandsToSkipShell', commandsToSkipShell, vscode.ConfigurationTarget.Global);\n\t\tconsole.log('Added testRun to commandsToSkipShell');\n\t}\n\n\tconst testRun = vscode.commands.registerCommand('crowd-pilot.testRun', async () => {\n\t\tconst editor = vscode.window.activeTextEditor;\n\t\tconst doc = editor!.document;\n\t\tconst term = vscode.window.terminals[0] ?? vscode.window.createTerminal('Test');\n\t\tconst git = vscode.extensions.getExtension('vscode.git')?.exports?.getAPI(1);\n\t\tconst repo = git?.repositories?.[0];\n\t\n\t\t// Emit a few actions:\n\t\tawait vscode.window.showTextDocument(doc);\n\t\teditor!.selections = [new vscode.Selection(0, 0, 0, 0)];\n\t\tawait editor!.edit(e => e.insert(new vscode.Position(0, 0), 'hello world\n'));\n\t\tterm.show();\n\t\tterm.sendText('echo VSCode test');\n\t\t//await repo?.pull();\n\t\n\t\tvscode.window.showInformationMessage('All actions emitted');\n\t });\n\n\tcontext.subscriptions.push(testRun);\n}\n\n// This method is called when your extension is deactivated\nexport function deactivate() {}\n",typescript,tab
3
+ 2,160,"extension-output-pdoom-org.crowd-code-#1-crowd-code",0,0,"11:34:11 AM [info] Activating crowd-code\n11:34:11 AM [info] Recording started\n11:34:11 AM [info] Initializing git provider using file system watchers...\n11:34:11 AM [info] Git repository found\n11:34:11 AM [info] Git provider initialized successfully\n11:34:11 AM [info] Initial git state: [object Object]\n",Log,tab
4
+ 3,1020,"src/extension.ts",0,0,"",typescript,tab
5
+ 4,2502,"TERMINAL",0,0,"",,terminal_focus
6
+ 5,30907,"src/extension.ts",635,0,"",typescript,selection_command
7
+ 6,31146,"src/extension.ts",713,0,"",typescript,selection_command
8
+ 7,31177,"src/extension.ts",774,0,"",typescript,selection_command
9
+ 8,31209,"src/extension.ts",825,0,"",typescript,selection_command
10
+ 9,31344,"src/extension.ts",921,0,"",typescript,selection_command
11
+ 10,102622,"src/extension.ts",773,201,"\t\tconst updated = [...commandsToSkipShell, 'crowd-pilot.testRun'];\n\t\tconfig.update('commandsToSkipShell', updated, vscode.ConfigurationTarget.Global, false)\n\t\t\t.then(() => {\n\t\t\t\tconsole.log('[Crowd Pilot] Successfully updated commandsToSkipShell');\n\t\t\t\t// Verify it was set\n\t\t\t\tconst verifyConfig = vscode.workspace.getConfiguration('terminal.integrated');\n\t\t\t\tconst verify = verifyConfig.get<string[]>('commandsToSkipShell', []);\n\t\t\t\tconsole.log('[Crowd Pilot] Verified commandsToSkipShell:', JSON.stringify(verify));\n\t\t\t\tif (!verify.includes('crowd-pilot.testRun')) {\n\t\t\t\t\tconsole.error('[Crowd Pilot] ERROR: Configuration update did not persist!');\n\t\t\t\t}\n\t\t\t})\n\t\t\t.catch((err) => {\n\t\t\t\tconsole.error('[Crowd Pilot] ERROR updating commandsToSkipShell:', err);\n\t\t\t});\n\t} else {\n\t\tconsole.log('[Crowd Pilot] testRun already in commandsToSkipShell');",typescript,content
12
+ 11,102622,"src/extension.ts",712,0,"\tconsole.log('[Crowd Pilot] Current commandsToSkipShell:', JSON.stringify(commandsToSkipShell));\n\t\n",typescript,content
13
+ 12,102622,"src/extension.ts",371,48,"\tconsole.log('[Crowd Pilot] Extension activated');",typescript,content
14
+ 13,110500,"src/extension.ts",874,849,"\t\tcommandsToSkipShell.push('crowd-pilot.testRun');\n\t\tconfig.update('commandsToSkipShell', commandsToSkipShell, vscode.ConfigurationTarget.Global);\n\t\tconsole.log('Added testRun to commandsToSkipShell');",typescript,content
15
+ 14,110500,"src/extension.ts",714,99,"",typescript,content
16
+ 15,110500,"src/extension.ts",371,50,"\tconsole.log('Crowd Pilot extension activated');",typescript,content
17
+ 16,110559,"src/extension.ts",1747,0,"\tcontext.subscriptions.push(checkConfig);\n",typescript,content
18
+ 17,110559,"src/extension.ts",1709,0,"\t// Diagnostic command to check keybinding configuration\n\tconst checkConfig = vscode.commands.registerCommand('crowd-pilot.checkConfig', () => {\n\t\tconst config = vscode.workspace.getConfiguration('terminal.integrated');\n\t\tconst commandsToSkipShell = config.get<string[]>('commandsToSkipShell', []);\n\t\tconst hasCommand = commandsToSkipShell.includes('crowd-pilot.testRun');\n\t\t\n\t\tconst message = `commandsToSkipShell: ${JSON.stringify(commandsToSkipShell)}\n` +\n\t\t\t`Contains 'crowd-pilot.testRun': ${hasCommand}`;\n\t\t\n\t\tconsole.log('[Crowd Pilot] Config check:', message);\n\t\tvscode.window.showInformationMessage(message, { modal: true });\n\t});\n\n",typescript,content
19
+ 18,110559,"src/extension.ts",1065,0,"\t\tconsole.log('[Crowd Pilot] testRun command executed');\n",typescript,content
20
+ 19,110559,"src/extension.ts",773,201,"\t\tconst updated = [...commandsToSkipShell, 'crowd-pilot.testRun'];\n\t\tconfig.update('commandsToSkipShell', updated, vscode.ConfigurationTarget.Global, false)\n\t\t\t.then(() => {\n\t\t\t\tconsole.log('[Crowd Pilot] Successfully updated commandsToSkipShell');\n\t\t\t\t// Verify it was set\n\t\t\t\tconst verifyConfig = vscode.workspace.getConfiguration('terminal.integrated');\n\t\t\t\tconst verify = verifyConfig.get<string[]>('commandsToSkipShell', []);\n\t\t\t\tconsole.log('[Crowd Pilot] Verified commandsToSkipShell:', JSON.stringify(verify));\n\t\t\t\tif (!verify.includes('crowd-pilot.testRun')) {\n\t\t\t\t\tconsole.error('[Crowd Pilot] ERROR: Configuration update did not persist!');\n\t\t\t\t}\n\t\t\t})\n\t\t\t.catch((err) => {\n\t\t\t\tconsole.error('[Crowd Pilot] ERROR updating commandsToSkipShell:', err);\n\t\t\t});\n\t} else {\n\t\tconsole.log('[Crowd Pilot] testRun already in commandsToSkipShell');",typescript,content
21
+ 20,110559,"src/extension.ts",712,0,"\tconsole.log('[Crowd Pilot] Current commandsToSkipShell:', JSON.stringify(commandsToSkipShell));\n\t\n",typescript,content
22
+ 21,110559,"src/extension.ts",371,48,"\tconsole.log('[Crowd Pilot] Extension activated');",typescript,content
23
+ 22,128376,"src/extension.ts",3195,42,"",typescript,content
24
+ 23,128376,"src/extension.ts",2515,642,"",typescript,content
25
+ 24,128376,"src/extension.ts",1814,57,"",typescript,content
26
+ 25,128376,"src/extension.ts",874,849,"\t\tcommandsToSkipShell.push('crowd-pilot.testRun');\n\t\tconfig.update('commandsToSkipShell', commandsToSkipShell, vscode.ConfigurationTarget.Global);\n\t\tconsole.log('Added testRun to commandsToSkipShell');",typescript,content
27
+ 26,128376,"src/extension.ts",714,99,"",typescript,content
28
+ 27,128376,"src/extension.ts",371,50,"\tconsole.log('Crowd Pilot extension activated');",typescript,content
29
+ 28,128418,"src/extension.ts",1747,0,"\tcontext.subscriptions.push(checkConfig);\n",typescript,content
30
+ 29,128418,"src/extension.ts",1709,0,"\t// Diagnostic command to check keybinding configuration\n\tconst checkConfig = vscode.commands.registerCommand('crowd-pilot.checkConfig', () => {\n\t\tconst config = vscode.workspace.getConfiguration('terminal.integrated');\n\t\tconst commandsToSkipShell = config.get<string[]>('commandsToSkipShell', []);\n\t\tconst hasCommand = commandsToSkipShell.includes('crowd-pilot.testRun');\n\t\t\n\t\tconst message = `commandsToSkipShell: ${JSON.stringify(commandsToSkipShell)}\n` +\n\t\t\t`Contains 'crowd-pilot.testRun': ${hasCommand}`;\n\t\t\n\t\tconsole.log('[Crowd Pilot] Config check:', message);\n\t\tvscode.window.showInformationMessage(message, { modal: true });\n\t});\n\n",typescript,content
31
+ 30,128418,"src/extension.ts",1065,0,"\t\tconsole.log('[Crowd Pilot] testRun command executed');\n",typescript,content
32
+ 31,128418,"src/extension.ts",773,201,"\t\tconst updated = [...commandsToSkipShell, 'crowd-pilot.testRun'];\n\t\tconfig.update('commandsToSkipShell', updated, vscode.ConfigurationTarget.Global, false)\n\t\t\t.then(() => {\n\t\t\t\tconsole.log('[Crowd Pilot] Successfully updated commandsToSkipShell');\n\t\t\t\t// Verify it was set\n\t\t\t\tconst verifyConfig = vscode.workspace.getConfiguration('terminal.integrated');\n\t\t\t\tconst verify = verifyConfig.get<string[]>('commandsToSkipShell', []);\n\t\t\t\tconsole.log('[Crowd Pilot] Verified commandsToSkipShell:', JSON.stringify(verify));\n\t\t\t\tif (!verify.includes('crowd-pilot.testRun')) {\n\t\t\t\t\tconsole.error('[Crowd Pilot] ERROR: Configuration update did not persist!');\n\t\t\t\t}\n\t\t\t}, (err: unknown) => {\n\t\t\t\tconsole.error('[Crowd Pilot] ERROR updating commandsToSkipShell:', err);\n\t\t\t});\n\t} else {\n\t\tconsole.log('[Crowd Pilot] testRun already in commandsToSkipShell');",typescript,content
33
+ 32,128418,"src/extension.ts",712,0,"\tconsole.log('[Crowd Pilot] Current commandsToSkipShell:', JSON.stringify(commandsToSkipShell));\n\t\n",typescript,content
34
+ 33,128418,"src/extension.ts",371,48,"\tconsole.log('[Crowd Pilot] Extension activated');",typescript,content
35
+ 34,135218,"package.json",0,0,"{\n ""name"": ""crowd-pilot"",\n ""displayName"": ""crowd-pilot-extension"",\n ""description"": ""Teaching language models to code like humans."",\n ""version"": ""0.0.1"",\n ""engines"": {\n ""vscode"": ""^1.99.3""\n },\n ""categories"": [\n ""Other""\n ],\n ""activationEvents"": [],\n ""main"": ""./out/extension.js"",\n ""contributes"": {\n ""commands"": [\n {\n ""command"": ""crowd-pilot.testRun"",\n ""title"": ""Test Run""\n },\n {\n ""command"": ""crowd-pilot.checkConfig"",\n ""title"": ""Check Keybinding Config""\n }\n ],\n ""keybindings"": [\n {\n ""command"": ""crowd-pilot.testRun"",\n ""key"": ""tab"",\n ""mac"": ""tab"",\n ""when"": ""editorTextFocus || terminalFocus""\n }\n ]\n },\n ""scripts"": {\n ""vscode:prepublish"": ""npm run compile"",\n ""compile"": ""tsc -p ./"",\n ""watch"": ""tsc -watch -p ./"",\n ""pretest"": ""npm run compile && npm run lint"",\n ""lint"": ""eslint src"",\n ""test"": ""vscode-test""\n },\n ""devDependencies"": {\n ""@types/vscode"": ""^1.105.0"",\n ""@types/mocha"": ""^10.0.10"",\n ""@types/node"": ""22.x"",\n ""@typescript-eslint/eslint-plugin"": ""^8.45.0"",\n ""@typescript-eslint/parser"": ""^8.45.0"",\n ""eslint"": ""^9.36.0"",\n ""typescript"": ""^5.9.3"",\n ""@vscode/test-cli"": ""^0.0.11"",\n ""@vscode/test-electron"": ""^2.5.2""\n }\n}\n",json,tab
36
+ 35,137453,"src/extension.ts",0,0,"",typescript,tab
37
+ 36,177116,"src/extension.ts",1721,0,"",typescript,selection_command
38
+ 37,213229,"package.json",0,0,"",json,tab
39
+ 38,216261,"src/extension.ts",0,0,"",typescript,tab
40
+ 39,286905,"src/extension.ts",1734,0,"",typescript,selection_command
41
+ 40,287709,"src/extension.ts",1726,0,"",typescript,selection_command
42
+ 41,287778,"src/extension.ts",1724,0,"",typescript,selection_command
43
+ 42,288152,"src/extension.ts",1659,0,"",typescript,selection_command
44
+ 43,318683,"src/extension.ts",3194,42,"",typescript,content
45
+ 44,318683,"src/extension.ts",2514,642,"",typescript,content
46
+ 45,318683,"src/extension.ts",1813,57,"",typescript,content
47
+ 46,318683,"src/extension.ts",874,848,"\t\tcommandsToSkipShell.push('crowd-pilot.testRun');\n\t\tconfig.update('commandsToSkipShell', commandsToSkipShell, vscode.ConfigurationTarget.Global);\n\t\tconsole.log('Added testRun to commandsToSkipShell');",typescript,content
48
+ 47,318683,"src/extension.ts",714,99,"",typescript,content
49
+ 48,318683,"src/extension.ts",371,50,"\tconsole.log('Crowd Pilot extension activated');",typescript,content
50
+ 49,318735,"src/extension.ts",1747,0,"\tcontext.subscriptions.push(checkConfig);\n",typescript,content
51
+ 50,318735,"src/extension.ts",1709,0,"\t// Diagnostic command to check keybinding configuration\n\tconst checkConfig = vscode.commands.registerCommand('crowd-pilot.checkConfig', () => {\n\t\tconst config = vscode.workspace.getConfiguration('terminal.integrated');\n\t\tconst commandsToSkipShell = config.get<string[]>('commandsToSkipShell', []);\n\t\tconst hasCommand = commandsToSkipShell.includes('crowd-pilot.testRun');\n\t\t\n\t\tconst message = `commandsToSkipShell: ${JSON.stringify(commandsToSkipShell)}\n` +\n\t\t\t`Contains 'crowd-pilot.testRun': ${hasCommand}`;\n\t\t\n\t\tconsole.log('[Crowd Pilot] Config check:', message);\n\t\tvscode.window.showInformationMessage(message, { modal: true });\n\t});\n\n",typescript,content
52
+ 51,318735,"src/extension.ts",1065,0,"\t\t// Log context information\n\t\tconst activeEditor = vscode.window.activeTextEditor;\n\t\tconst activeTerminal = vscode.window.activeTerminal;\n\t\tconst contextInfo = {\n\t\t\thasActiveEditor: !!activeEditor,\n\t\t\thasActiveTerminal: !!activeTerminal,\n\t\t\tactiveTerminalName: activeTerminal?.name,\n\t\t\tterminalCount: vscode.window.terminals.length,\n\t\t};\n\t\tconsole.log('[Crowd Pilot] testRun command executed', JSON.stringify(contextInfo));\n\t\t\n",typescript,content
53
+ 52,318735,"src/extension.ts",773,201,"\t\tconst updated = [...commandsToSkipShell, 'crowd-pilot.testRun'];\n\t\tconfig.update('commandsToSkipShell', updated, vscode.ConfigurationTarget.Global, false)\n\t\t\t.then(() => {\n\t\t\t\tconsole.log('[Crowd Pilot] Successfully updated commandsToSkipShell');\n\t\t\t\t// Verify it was set\n\t\t\t\tconst verifyConfig = vscode.workspace.getConfiguration('terminal.integrated');\n\t\t\t\tconst verify = verifyConfig.get<string[]>('commandsToSkipShell', []);\n\t\t\t\tconsole.log('[Crowd Pilot] Verified commandsToSkipShell:', JSON.stringify(verify));\n\t\t\t\tif (!verify.includes('crowd-pilot.testRun')) {\n\t\t\t\t\tconsole.error('[Crowd Pilot] ERROR: Configuration update did not persist!');\n\t\t\t\t}\n\t\t\t}, (err: unknown) => {\n\t\t\t\tconsole.error('[Crowd Pilot] ERROR updating commandsToSkipShell:', err);\n\t\t\t});\n\t} else {\n\t\tconsole.log('[Crowd Pilot] testRun already in commandsToSkipShell');",typescript,content
54
+ 53,318735,"src/extension.ts",712,0,"\tconsole.log('[Crowd Pilot] Current commandsToSkipShell:', JSON.stringify(commandsToSkipShell));\n\t\n",typescript,content
55
+ 54,318735,"src/extension.ts",371,48,"\tconsole.log('[Crowd Pilot] Extension activated');",typescript,content
56
+ 55,323409,"src/extension.ts",3565,42,"",typescript,content
57
+ 56,323409,"src/extension.ts",2885,642,"",typescript,content
58
+ 57,323409,"src/extension.ts",1813,428,"",typescript,content
59
+ 58,323409,"src/extension.ts",874,848,"\t\tcommandsToSkipShell.push('crowd-pilot.testRun');\n\t\tconfig.update('commandsToSkipShell', commandsToSkipShell, vscode.ConfigurationTarget.Global);\n\t\tconsole.log('Added testRun to commandsToSkipShell');",typescript,content
60
+ 59,323409,"src/extension.ts",714,99,"",typescript,content
61
+ 60,323409,"src/extension.ts",371,50,"\tconsole.log('Crowd Pilot extension activated');",typescript,content
62
+ 61,323453,"src/extension.ts",1747,0,"\tcontext.subscriptions.push(checkConfig);\n",typescript,content
63
+ 62,323454,"src/extension.ts",1709,0,"\t// Diagnostic command to check keybinding configuration and context\n\tconst checkConfig = vscode.commands.registerCommand('crowd-pilot.checkConfig', () => {\n\t\tconst config = vscode.workspace.getConfiguration('terminal.integrated');\n\t\tconst commandsToSkipShell = config.get<string[]>('commandsToSkipShell', []);\n\t\tconst hasCommand = commandsToSkipShell.includes('crowd-pilot.testRun');\n\t\t\n\t\tconst activeEditor = vscode.window.activeTextEditor;\n\t\tconst activeTerminal = vscode.window.activeTerminal;\n\t\t\n\t\tconst message = `commandsToSkipShell: ${JSON.stringify(commandsToSkipShell)}\n` +\n\t\t\t`Contains 'crowd-pilot.testRun': ${hasCommand}\n` +\n\t\t\t`Active Editor: ${activeEditor ? 'Yes' : 'No'}\n` +\n\t\t\t`Active Terminal: ${activeTerminal ? activeTerminal.name : 'No'}\n` +\n\t\t\t`Terminal Count: ${vscode.window.terminals.length}`;\n\t\t\n\t\tconsole.log('[Crowd Pilot] Config check:', message);\n\t\tvscode.window.showInformationMessage(message, { modal: true });\n\t});\n\n",typescript,content
64
+ 63,323454,"src/extension.ts",1065,0,"\t\t// Log context information\n\t\tconst activeEditor = vscode.window.activeTextEditor;\n\t\tconst activeTerminal = vscode.window.activeTerminal;\n\t\tconst contextInfo = {\n\t\t\thasActiveEditor: !!activeEditor,\n\t\t\thasActiveTerminal: !!activeTerminal,\n\t\t\tactiveTerminalName: activeTerminal?.name,\n\t\t\tterminalCount: vscode.window.terminals.length,\n\t\t};\n\t\tconsole.log('[Crowd Pilot] testRun command executed', JSON.stringify(contextInfo));\n\t\t\n",typescript,content
65
+ 64,323454,"src/extension.ts",773,201,"\t\tconst updated = [...commandsToSkipShell, 'crowd-pilot.testRun'];\n\t\tconfig.update('commandsToSkipShell', updated, vscode.ConfigurationTarget.Global, false)\n\t\t\t.then(() => {\n\t\t\t\tconsole.log('[Crowd Pilot] Successfully updated commandsToSkipShell');\n\t\t\t\t// Verify it was set\n\t\t\t\tconst verifyConfig = vscode.workspace.getConfiguration('terminal.integrated');\n\t\t\t\tconst verify = verifyConfig.get<string[]>('commandsToSkipShell', []);\n\t\t\t\tconsole.log('[Crowd Pilot] Verified commandsToSkipShell:', JSON.stringify(verify));\n\t\t\t\tif (!verify.includes('crowd-pilot.testRun')) {\n\t\t\t\t\tconsole.error('[Crowd Pilot] ERROR: Configuration update did not persist!');\n\t\t\t\t}\n\t\t\t}, (err: unknown) => {\n\t\t\t\tconsole.error('[Crowd Pilot] ERROR updating commandsToSkipShell:', err);\n\t\t\t});\n\t} else {\n\t\tconsole.log('[Crowd Pilot] testRun already in commandsToSkipShell');",typescript,content
66
+ 65,323454,"src/extension.ts",712,0,"\tconsole.log('[Crowd Pilot] Current commandsToSkipShell:', JSON.stringify(commandsToSkipShell));\n\t\n",typescript,content
67
+ 66,323454,"src/extension.ts",371,48,"\tconsole.log('[Crowd Pilot] Extension activated');",typescript,content
68
+ 67,433961,"src/extension.ts",3877,42,"",typescript,content
69
+ 68,433961,"src/extension.ts",2885,954,"",typescript,content
70
+ 69,433961,"src/extension.ts",1813,428,"",typescript,content
71
+ 70,433962,"src/extension.ts",874,848,"\t\tcommandsToSkipShell.push('crowd-pilot.testRun');\n\t\tconfig.update('commandsToSkipShell', commandsToSkipShell, vscode.ConfigurationTarget.Global);\n\t\tconsole.log('Added testRun to commandsToSkipShell');",typescript,content
72
+ 71,433962,"src/extension.ts",714,99,"",typescript,content
73
+ 72,433962,"src/extension.ts",371,50,"\tconsole.log('Crowd Pilot extension activated');",typescript,content
74
+ 73,434008,"src/extension.ts",1747,0,"\tcontext.subscriptions.push(checkConfig);\n",typescript,content
75
+ 74,434008,"src/extension.ts",1709,0,"\t// Diagnostic command to check keybinding configuration and context\n\tconst checkConfig = vscode.commands.registerCommand('crowd-pilot.checkConfig', () => {\n\t\tconst config = vscode.workspace.getConfiguration('terminal.integrated');\n\t\tconst commandsToSkipShell = config.get<string[]>('commandsToSkipShell', []);\n\t\tconst hasCommand = commandsToSkipShell.includes('crowd-pilot.testRun');\n\t\t\n\t\tconst activeEditor = vscode.window.activeTextEditor;\n\t\tconst activeTerminal = vscode.window.activeTerminal;\n\t\t\n\t\tconst message = `commandsToSkipShell: ${JSON.stringify(commandsToSkipShell)}\n` +\n\t\t\t`Contains 'crowd-pilot.testRun': ${hasCommand}\n` +\n\t\t\t`Active Editor: ${activeEditor ? 'Yes' : 'No'}\n` +\n\t\t\t`Active Terminal: ${activeTerminal ? activeTerminal.name : 'No'}\n` +\n\t\t\t`Terminal Count: ${vscode.window.terminals.length}`;\n\t\t\n\t\tconsole.log('[Crowd Pilot] Config check:', message);\n\t\tvscode.window.showInformationMessage(message, { modal: true });\n\t});\n\n",typescript,content
76
+ 75,434008,"src/extension.ts",1560,14,"\t\tterm.show(false); // ensure terminal gets focus (preserveFocus: false)\n\t\t// Small delay to ensure terminal has focus before sending text\n\t\tawait new Promise(resolve => setTimeout(resolve, 100));",typescript,content
77
+ 76,434008,"src/extension.ts",1375,44,"\t\tawait vscode.window.showTextDocument(doc, undefined, true); // preserveFocus: true",typescript,content
78
+ 77,434008,"src/extension.ts",1065,0,"\t\t// Log context information\n\t\tconst activeEditor = vscode.window.activeTextEditor;\n\t\tconst activeTerminal = vscode.window.activeTerminal;\n\t\tconst contextInfo = {\n\t\t\thasActiveEditor: !!activeEditor,\n\t\t\thasActiveTerminal: !!activeTerminal,\n\t\t\tactiveTerminalName: activeTerminal?.name,\n\t\t\tterminalCount: vscode.window.terminals.length,\n\t\t};\n\t\tconsole.log('[Crowd Pilot] testRun command executed', JSON.stringify(contextInfo));\n\t\t\n",typescript,content
79
+ 78,434008,"src/extension.ts",773,201,"\t\tconst updated = [...commandsToSkipShell, 'crowd-pilot.testRun'];\n\t\tconfig.update('commandsToSkipShell', updated, vscode.ConfigurationTarget.Global, false)\n\t\t\t.then(() => {\n\t\t\t\tconsole.log('[Crowd Pilot] Successfully updated commandsToSkipShell');\n\t\t\t\t// Verify it was set\n\t\t\t\tconst verifyConfig = vscode.workspace.getConfiguration('terminal.integrated');\n\t\t\t\tconst verify = verifyConfig.get<string[]>('commandsToSkipShell', []);\n\t\t\t\tconsole.log('[Crowd Pilot] Verified commandsToSkipShell:', JSON.stringify(verify));\n\t\t\t\tif (!verify.includes('crowd-pilot.testRun')) {\n\t\t\t\t\tconsole.error('[Crowd Pilot] ERROR: Configuration update did not persist!');\n\t\t\t\t}\n\t\t\t}, (err: unknown) => {\n\t\t\t\tconsole.error('[Crowd Pilot] ERROR updating commandsToSkipShell:', err);\n\t\t\t});\n\t} else {\n\t\tconsole.log('[Crowd Pilot] testRun already in commandsToSkipShell');",typescript,content
80
+ 79,434008,"src/extension.ts",712,0,"\tconsole.log('[Crowd Pilot] Current commandsToSkipShell:', JSON.stringify(commandsToSkipShell));\n\t\n",typescript,content
81
+ 80,434008,"src/extension.ts",371,48,"\tconsole.log('[Crowd Pilot] Extension activated');",typescript,content
82
+ 81,442669,"src/extension.ts",635,0,"",typescript,selection_mouse
83
+ 82,442679,"src/extension.ts",634,0,"",typescript,selection_command
84
+ 83,465304,"src/extension.ts",0,4236,"// The module 'vscode' contains the VS Code extensibility API\n// Import the module and reference it with the alias vscode in your code below\nimport * as vscode from 'vscode';\n\n// This method is called when your extension is activated\n// Your extension is activated the very first time the command is executed\nexport function activate(context: vscode.ExtensionContext) {\n\n\tconsole.log('Crowd Pilot extension activated');\n\n\t// Configure terminal to allow tab keybinding to work\n\t// This makes the command skip the shell so VS Code can intercept tab in terminals\n\tconst config = vscode.workspace.getConfiguration('terminal.integrated');\n\tconst commandsToSkipShell = config.get<string[]>('commandsToSkipShell', []);\n\tif (!commandsToSkipShell.includes('crowd-pilot.testRun')) {\n\t\tcommandsToSkipShell.push('crowd-pilot.testRun');\n\t\tconfig.update('commandsToSkipShell', commandsToSkipShell, vscode.ConfigurationTarget.Global);\n\t\tconsole.log('Added testRun to commandsToSkipShell');\n\t}\n\n\tconst testRun = vscode.commands.registerCommand('crowd-pilot.testRun', async () => {\n\t\tconst editor = vscode.window.activeTextEditor;\n\t\tconst doc = editor!.document;\n\t\tconst term = vscode.window.terminals[0] ?? vscode.window.createTerminal('Test');\n\t\tconst git = vscode.extensions.getExtension('vscode.git')?.exports?.getAPI(1);\n\t\tconst repo = git?.repositories?.[0];\n\t\n\t\t// Emit a few actions:\n\t\tawait vscode.window.showTextDocument(doc);\n\t\teditor!.selections = [new vscode.Selection(0, 0, 0, 0)];\n\t\tawait editor!.edit(e => e.insert(new vscode.Position(0, 0), 'hello world\n'));\n\t\tterm.show();\n\t\tterm.sendText('echo VSCode test');\n\t\t//await repo?.pull();\n\t\n\t\tvscode.window.showInformationMessage('All actions emitted');\n\t });\n\n\tcontext.subscriptions.push(testRun);\n}\n\n// This method is called when your extension is deactivated\nexport function deactivate() {}\n",typescript,content
85
+ 84,465319,"src/extension.ts",1747,0,"\tcontext.subscriptions.push(checkConfig);\n",typescript,content
86
+ 85,465319,"src/extension.ts",1709,0,"\t// Diagnostic command to check keybinding configuration and context\n\tconst checkConfig = vscode.commands.registerCommand('crowd-pilot.checkConfig', () => {\n\t\tconst config = vscode.workspace.getConfiguration('terminal.integrated');\n\t\tconst commandsToSkipShell = config.get<string[]>('commandsToSkipShell', []);\n\t\tconst hasCommand = commandsToSkipShell.includes('crowd-pilot.testRun');\n\t\t\n\t\tconst activeEditor = vscode.window.activeTextEditor;\n\t\tconst activeTerminal = vscode.window.activeTerminal;\n\t\t\n\t\tconst message = `commandsToSkipShell: ${JSON.stringify(commandsToSkipShell)}\n` +\n\t\t\t`Contains 'crowd-pilot.testRun': ${hasCommand}\n` +\n\t\t\t`Active Editor: ${activeEditor ? 'Yes' : 'No'}\n` +\n\t\t\t`Active Terminal: ${activeTerminal ? activeTerminal.name : 'No'}\n` +\n\t\t\t`Terminal Count: ${vscode.window.terminals.length}`;\n\t\t\n\t\tconsole.log('[Crowd Pilot] Config check:', message);\n\t\tvscode.window.showInformationMessage(message, { modal: true });\n\t});\n\n",typescript,content
87
+ 86,465319,"src/extension.ts",1065,0,"\t\t// Log context information\n\t\tconst activeEditor = vscode.window.activeTextEditor;\n\t\tconst activeTerminal = vscode.window.activeTerminal;\n\t\tconst contextInfo = {\n\t\t\thasActiveEditor: !!activeEditor,\n\t\t\thasActiveTerminal: !!activeTerminal,\n\t\t\tactiveTerminalName: activeTerminal?.name,\n\t\t\tterminalCount: vscode.window.terminals.length,\n\t\t};\n\t\tconsole.log('[Crowd Pilot] testRun command executed', JSON.stringify(contextInfo));\n\t\t\n",typescript,content
88
+ 87,465319,"src/extension.ts",773,201,"\t\tconst updated = [...commandsToSkipShell, 'crowd-pilot.testRun'];\n\t\tconfig.update('commandsToSkipShell', updated, vscode.ConfigurationTarget.Global, false)\n\t\t\t.then(() => {\n\t\t\t\tconsole.log('[Crowd Pilot] Successfully updated commandsToSkipShell');\n\t\t\t\t// Verify it was set\n\t\t\t\tconst verifyConfig = vscode.workspace.getConfiguration('terminal.integrated');\n\t\t\t\tconst verify = verifyConfig.get<string[]>('commandsToSkipShell', []);\n\t\t\t\tconsole.log('[Crowd Pilot] Verified commandsToSkipShell:', JSON.stringify(verify));\n\t\t\t\tif (!verify.includes('crowd-pilot.testRun')) {\n\t\t\t\t\tconsole.error('[Crowd Pilot] ERROR: Configuration update did not persist!');\n\t\t\t\t}\n\t\t\t}, (err: unknown) => {\n\t\t\t\tconsole.error('[Crowd Pilot] ERROR updating commandsToSkipShell:', err);\n\t\t\t});\n\t} else {\n\t\tconsole.log('[Crowd Pilot] testRun already in commandsToSkipShell');",typescript,content
89
+ 88,465319,"src/extension.ts",712,0,"\tconsole.log('[Crowd Pilot] Current commandsToSkipShell:', JSON.stringify(commandsToSkipShell));\n\t\n",typescript,content
90
+ 89,465319,"src/extension.ts",371,48,"\tconsole.log('[Crowd Pilot] Extension activated');",typescript,content
91
+ 90,466096,"src/extension.ts",610,0,"",typescript,selection_mouse
92
+ 91,6223328,".vscode/launch.json",0,0,"// A launch configuration that compiles the extension and then opens it inside a new window\n// Use IntelliSense to learn about possible attributes.\n// Hover to view descriptions of existing attributes.\n// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387\n{\n\t""version"": ""0.2.0"",\n\t""configurations"": [\n\t\t{\n\t\t\t""name"": ""Run Extension"",\n\t\t\t""type"": ""extensionHost"",\n\t\t\t""request"": ""launch"",\n\t\t\t""args"": [\n\t\t\t\t""--extensionDevelopmentPath=${workspaceFolder}""\n\t\t\t],\n\t\t\t""timeout"": 20000, // Increase the timeout to 20 seconds\n\t\t\t""outFiles"": [\n\t\t\t\t""${workspaceFolder}/out/**/*.js""\n\t\t\t],\n\t\t\t""preLaunchTask"": ""${defaultBuildTask}""\n\t\t}\n\t]\n}\n",jsonc,tab
93
+ 92,6574889,"src/extension.ts",0,0,"",typescript,tab
94
+ 93,6574918,"src/extension.ts",423,0,"",typescript,selection_command
4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-e1a5354c-3f18-4c4b-94a1-64c1669feac51757270084100-2025_09_07-20.34.50.955/source.csv ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Sequence,Time,File,RangeOffset,RangeLength,Text,Language,Type
2
+ 1,3,"utils/nn.py",0,0,"import math\nfrom typing import Tuple, Callable, List\n\nfrom flax import nnx\nimport jax\nimport jax.numpy as jnp\nimport einops\n\n\nclass SpatioTemporalPositionalEncoding(nnx.Module):\n """"""\n Applies separate sinusoidal positional encodings to the temporal and spatial dimensions.\n """"""\n\n def __init__(self, d_model: int, max_len: int = 5000):\n self.d_model = d_model\n self.max_len = max_len\n\n pe = jnp.zeros((self.max_len, self.d_model))\n position = jnp.arange(0, self.max_len, dtype=jnp.float32)[:, None]\n div_term = jnp.exp(\n jnp.arange(0, self.d_model, 2) * (-math.log(10000.0) / self.d_model)\n )\n pe = pe.at[:, 0::2].set(jnp.sin(position * div_term))\n pe = pe.at[:, 1::2].set(jnp.cos(position * div_term))\n self.pe = nnx.Variable(pe)\n\n def __call__(self, x: jax.Array) -> jax.Array:\n """"""\n Args:\n x: The input tensor of shape (Batch, Time, Space, Dimension).\n\n Returns:\n The input tensor with positional encodings added.\n """"""\n assert x.ndim == 4, f""Input must be 4-dimensional, but got shape {x.shape}""\n\n num_timesteps = x.shape[1]\n num_spatial_patches = x.shape[2]\n\n # Temporal positional encoding: (1, T, 1, D)\n temporal_pe = self.pe.value[None, :num_timesteps, None, :]\n x = x + temporal_pe\n\n # Spatial positional encoding: (1, 1, S, D)\n spatial_pe = self.pe.value[None, None, :num_spatial_patches, :]\n x = x + spatial_pe\n\n return x\n\n\nclass STBlock(nnx.Module):\n def __init__(\n self,\n dim: int,\n ffn_dim: int,\n num_heads: int,\n dropout: float,\n param_dtype: jnp.dtype,\n dtype: jnp.dtype,\n use_flash_attention: bool,\n rngs: nnx.Rngs,\n sow_weights: bool,\n sow_activations: bool,\n ):\n self.dim = dim\n self.ffn_dim = ffn_dim\n self.num_heads = num_heads\n self.dropout = dropout\n self.param_dtype = param_dtype\n self.dtype = dtype\n self.use_flash_attention = use_flash_attention\n self.sow_weights = sow_weights\n self.sow_activations = sow_activations\n\n self.spatial_norm = nnx.LayerNorm(\n num_features=self.dim,\n param_dtype=self.param_dtype,\n dtype=self.param_dtype, # layer norm in full precision\n rngs=rngs,\n )\n self.spatial_attention = nnx.MultiHeadAttention(\n num_heads=self.num_heads,\n in_features=self.dim,\n qkv_features=self.dim,\n dropout_rate=self.dropout,\n param_dtype=self.param_dtype,\n dtype=self.dtype,\n attention_fn=_create_flash_attention_fn(\n self.use_flash_attention, is_causal=False\n ),\n rngs=rngs,\n decode=False,\n )\n\n self.temporal_norm = nnx.LayerNorm(\n num_features=self.dim,\n param_dtype=self.param_dtype,\n dtype=self.param_dtype, # layer norm in full precision\n rngs=rngs,\n )\n self.temporal_attention = nnx.MultiHeadAttention(\n num_heads=self.num_heads,\n in_features=self.dim,\n qkv_features=self.dim,\n dropout_rate=self.dropout,\n param_dtype=self.param_dtype,\n dtype=self.dtype,\n attention_fn=_create_flash_attention_fn(\n self.use_flash_attention, is_causal=True\n ),\n rngs=rngs,\n decode=False,\n )\n\n self.ffn_norm = nnx.LayerNorm(\n num_features=self.dim,\n param_dtype=self.param_dtype,\n dtype=self.param_dtype, # layer norm in full precision\n rngs=rngs,\n )\n self.ffn_dense1 = nnx.Linear(\n in_features=self.dim,\n out_features=self.ffn_dim,\n param_dtype=self.param_dtype,\n dtype=self.dtype,\n rngs=rngs,\n )\n self.ffn_dense2 = nnx.Linear(\n in_features=self.ffn_dim,\n out_features=self.dim,\n param_dtype=self.param_dtype,\n dtype=self.dtype,\n rngs=rngs,\n )\n\n @nnx.remat\n def __call__(self, x_BTNM: jax.Array) -> jax.Array:\n # --- Spatial attention ---\n z_BTNM = self.spatial_norm(x_BTNM)\n z_BTNM = self.spatial_attention(z_BTNM, sow_weights=self.sow_weights)\n x_BTNM = x_BTNM + z_BTNM\n\n # --- Temporal attention ---\n x_BNTM = x_BTNM.swapaxes(1, 2)\n z_BNTM = self.temporal_norm(x_BNTM)\n z_BNTM = self.temporal_attention(z_BNTM, sow_weights=self.sow_weights)\n x_BNTM = x_BNTM + z_BNTM\n x_BTNM = x_BNTM.swapaxes(1, 2)\n\n # --- Feedforward ---\n z_BTNM = self.ffn_norm(x_BTNM)\n z_BTND = self.ffn_dense1(z_BTNM)\n z_BTND = jax.nn.gelu(z_BTND)\n z_BTNM = self.ffn_dense2(z_BTND)\n x_BTNM = x_BTNM + z_BTNM\n if self.sow_activations:\n self.sow(nnx.Intermediate, ""activations"", x_BTNM)\n return x_BTNM\n\n\nclass STTransformer(nnx.Module):\n """"""\n Dimension keys:\n B: batch size\n T: number of frames\n N: number of patches per frame\n I: number of input features\n M: model dimension\n D: FFN dimension\n V: vocabulary size\n """"""\n\n def __init__(\n self,\n input_dim: int,\n model_dim: int,\n ffn_dim: int,\n out_dim: int,\n num_blocks: int,\n num_heads: int,\n dropout: float,\n param_dtype: jnp.dtype,\n dtype: jnp.dtype,\n use_flash_attention: bool,\n rngs: nnx.Rngs,\n sow_weights: bool = False,\n sow_activations: bool = False,\n sow_logits: bool = False,\n max_len: int = 5000,\n ):\n self.input_dim = input_dim\n self.model_dim = model_dim\n self.ffn_dim = ffn_dim\n self.out_dim = out_dim\n self.num_blocks = num_blocks\n self.num_heads = num_heads\n self.dropout = dropout\n self.param_dtype = param_dtype\n self.dtype = dtype\n self.use_flash_attention = use_flash_attention\n self.sow_logits = sow_logits\n self.sow_weights = sow_weights\n self.sow_activations = sow_activations\n\n self.input_norm1 = nnx.LayerNorm(\n num_features=self.input_dim,\n param_dtype=self.param_dtype,\n dtype=self.param_dtype, # layer norm in full precision\n rngs=rngs,\n )\n self.input_dense = nnx.Linear(\n in_features=self.input_dim,\n out_features=self.model_dim,\n param_dtype=self.param_dtype,\n dtype=self.dtype,\n rngs=rngs,\n )\n self.input_norm2 = nnx.LayerNorm(\n num_features=self.model_dim,\n param_dtype=self.param_dtype,\n dtype=self.param_dtype, # layer norm in full precision\n rngs=rngs,\n )\n\n self.pos_enc = SpatioTemporalPositionalEncoding(self.model_dim, max_len=max_len)\n\n self.blocks = []\n for _ in range(self.num_blocks):\n self.blocks.append(\n STBlock(\n dim=self.model_dim,\n ffn_dim=self.ffn_dim,\n num_heads=self.num_heads,\n dropout=self.dropout,\n param_dtype=self.param_dtype,\n dtype=self.dtype,\n use_flash_attention=self.use_flash_attention,\n rngs=rngs,\n sow_weights=self.sow_weights,\n sow_activations=self.sow_activations,\n )\n )\n\n self.output_dense = nnx.Linear(\n in_features=self.model_dim,\n out_features=self.out_dim,\n param_dtype=self.param_dtype,\n dtype=self.dtype,\n rngs=rngs,\n )\n\n def __call__(self, x_BTNI: jax.Array) -> jax.Array:\n x_BTNI = self.input_norm1(x_BTNI)\n x_BTNM = self.input_dense(x_BTNI)\n x_BTNM = self.input_norm2(x_BTNM)\n x_BTNM = self.pos_enc(x_BTNM)\n for block in self.blocks:\n x_BTNM = block(x_BTNM)\n\n x_BTNV = self.output_dense(x_BTNM)\n if self.sow_logits:\n self.sow(nnx.Intermediate, ""logits"", x_BTNV)\n return x_BTNV\n\n\nclass TransformerBlock(nnx.Module):\n def __init__(\n self,\n model_dim: int,\n ffn_dim: int,\n num_heads: int,\n dropout: float,\n param_dtype: jnp.dtype,\n dtype: jnp.dtype,\n use_flash_attention: bool,\n decode: bool,\n rngs: nnx.Rngs,\n sow_weights: bool,\n sow_activations: bool,\n ):\n self.model_dim = model_dim\n self.ffn_dim = ffn_dim\n self.num_heads = num_heads\n self.dropout = dropout\n self.param_dtype = param_dtype\n self.dtype = dtype\n self.use_flash_attention = use_flash_attention\n self.decode = decode\n self.sow_weights = sow_weights\n self.sow_activations = sow_activations\n\n self.temporal_norm = nnx.LayerNorm(\n num_features=self.model_dim,\n param_dtype=self.param_dtype,\n dtype=self.param_dtype, # layer norm in full precision\n rngs=rngs,\n )\n self.spatial_norm = nnx.LayerNorm(\n num_features=self.model_dim,\n param_dtype=self.param_dtype,\n dtype=self.param_dtype, # layer norm in full precision\n rngs=rngs,\n )\n self.ffn_norm = nnx.LayerNorm(\n num_features=self.model_dim,\n param_dtype=self.param_dtype,\n dtype=self.param_dtype, # layer norm in full precision\n rngs=rngs,\n )\n self.temporal_attention = nnx.MultiHeadAttention(\n num_heads=self.num_heads,\n in_features=self.model_dim,\n qkv_features=self.model_dim,\n dropout_rate=self.dropout,\n param_dtype=self.param_dtype,\n dtype=self.dtype,\n attention_fn=_create_flash_attention_fn(\n self.use_flash_attention, is_causal=True\n ),\n rngs=rngs,\n decode=self.decode,\n )\n self.spatial_attention = nnx.MultiHeadAttention(\n num_heads=self.num_heads,\n in_features=self.model_dim,\n qkv_features=self.model_dim,\n dropout_rate=self.dropout,\n param_dtype=self.param_dtype,\n dtype=self.dtype,\n attention_fn=_create_flash_attention_fn(\n self.use_flash_attention, is_causal=True\n ),\n rngs=rngs,\n decode=self.decode,\n )\n self.ffn_dense1 = nnx.Linear(\n in_features=self.model_dim,\n out_features=self.ffn_dim,\n param_dtype=self.param_dtype,\n dtype=self.dtype,\n rngs=rngs,\n )\n self.ffn_dense2 = nnx.Linear(\n in_features=self.ffn_dim,\n out_features=self.model_dim,\n param_dtype=self.param_dtype,\n dtype=self.dtype,\n rngs=rngs,\n )\n\n @nnx.remat\n def __call__(\n self, x_BTNM: jax.Array, pos_index: Tuple[jax.Array, jax.Array] | None = None\n ) -> jax.Array:\n # --- Spatial attention ---\n B, T, N, M = x_BTNM.shape\n z_FNM = einops.rearrange(x_BTNM, ""b t n m -> (b t) n m"")\n z_FNM = self.spatial_norm(z_FNM)\n z_FNM = self.spatial_attention(z_FNM, sow_weights=self.sow_weights)\n z_BTNM = einops.rearrange(z_FNM, ""(b t) n m -> b t n m"", t=T)\n x_BTNM = x_BTNM + z_BTNM\n # --- Temporal attention ---\n z_PTM = einops.rearrange(x_BTNM, ""b t n m -> (b n) t m"")\n z_PTM = self.temporal_norm(z_PTM)\n z_PTM = self.temporal_attention(z_PTM, sow_weights=self.sow_weights)\n z_BTNM = einops.rearrange(z_PTM, ""(b n) t m -> b t n m"", n=N)\n x_BTNM = x_BTNM + z_BTNM\n # --- Feedforward ---\n z_BTNM = self.ffn_norm(x_BTNM)\n z_BTND = self.ffn_dense1(z_BTNM)\n z_BTND = jax.nn.gelu(z_BTND)\n z_BTNM = self.ffn_dense2(z_BTND)\n x_BTNM = x_BTNM + z_BTNM\n if self.sow_activations:\n self.sow(nnx.Intermediate, ""activations"", x_BTNM)\n\n return x_BTNM\n\n\nclass Transformer(nnx.Module):\n """"""\n Dimension keys:\n B: batch size\n T: number of frames\n N: number of patches per frame\n I: number of input features\n M: model dimension\n D: FFN dimension\n V: vocabulary size\n F: number of frames in batch\n P: number of patch positions in batch\n """"""\n\n def __init__(\n self,\n input_dim: int,\n model_dim: int,\n ffn_dim: int,\n out_dim: int,\n num_blocks: int,\n num_heads: int,\n dropout: float,\n param_dtype: jnp.dtype,\n dtype: jnp.dtype,\n use_flash_attention: bool,\n decode: bool,\n rngs: nnx.Rngs,\n sow_logits: bool = False,\n sow_weights: bool = False,\n sow_activations: bool = False,\n max_len: int = 5000,\n ):\n self.input_dim = input_dim\n self.model_dim = model_dim\n self.ffn_dim = ffn_dim\n self.out_dim = out_dim\n self.num_blocks = num_blocks\n self.num_heads = num_heads\n self.dropout = dropout\n self.param_dtype = param_dtype\n self.dtype = dtype\n self.use_flash_attention = use_flash_attention\n self.sow_logits = sow_logits\n self.sow_weights = sow_weights\n self.sow_activations = sow_activations\n\n self.input_norm1 = nnx.LayerNorm(\n num_features=self.input_dim,\n param_dtype=self.param_dtype,\n dtype=self.param_dtype, # layer norm in full precision\n rngs=rngs,\n )\n self.input_dense = nnx.Linear(\n in_features=self.input_dim,\n out_features=self.model_dim,\n param_dtype=self.param_dtype,\n dtype=self.dtype,\n rngs=rngs,\n )\n self.input_norm2 = nnx.LayerNorm(\n num_features=self.model_dim,\n param_dtype=self.param_dtype,\n dtype=self.param_dtype, # layer norm in full precision\n rngs=rngs,\n )\n\n self.pos_enc = SpatioTemporalPositionalEncoding(self.model_dim, max_len=max_len)\n\n self.blocks: List[TransformerBlock] = []\n for _ in range(self.num_blocks):\n self.blocks.append(\n TransformerBlock(\n model_dim=self.model_dim,\n ffn_dim=self.ffn_dim,\n num_heads=self.num_heads,\n dropout=self.dropout,\n param_dtype=self.param_dtype,\n dtype=self.dtype,\n use_flash_attention=self.use_flash_attention,\n decode=decode,\n sow_weights=self.sow_weights,\n sow_activations=self.sow_activations,\n rngs=rngs,\n )\n )\n self.output_dense = nnx.Linear(\n in_features=self.model_dim,\n out_features=self.out_dim,\n param_dtype=self.param_dtype,\n dtype=self.dtype,\n rngs=rngs,\n )\n\n def __call__(\n self, x_BTNI: jax.Array, pos_index: Tuple[jax.Array, jax.Array] | None = None\n ) -> jax.Array:\n x_BTNI = self.input_norm1(x_BTNI)\n x_BTNM = self.input_dense(x_BTNI)\n x_BTNM = self.input_norm2(x_BTNM)\n x_BTNM = self.pos_enc(x_BTNM)\n for block in self.blocks:\n x_BTNM = block(x_BTNM, pos_index)\n\n x_BTNV = self.output_dense(x_BTNM)\n if self.sow_logits:\n self.sow(nnx.Intermediate, ""logits"", x_BTNV)\n return x_BTNV\n\n\ndef normalize(x: jax.Array) -> jax.Array:\n return x / (jnp.linalg.norm(x, ord=2, axis=-1, keepdims=True) + 1e-8)\n\n\nclass VectorQuantizer(nnx.Module):\n """"""\n Dimension keys:\n D: B * T * N\n K: number of latents\n L: latent dimension\n """"""\n\n def __init__(\n self,\n latent_dim: int,\n num_latents: int,\n dropout: float,\n dtype: jnp.dtype,\n rngs: nnx.Rngs,\n ):\n self.latent_dim = latent_dim\n self.num_latents = num_latents\n self.dropout = dropout\n self.dtype = dtype\n\n self.codebook = nnx.Param(\n normalize(\n nnx.initializers.lecun_uniform()(\n rngs.params(), (self.num_latents, self.latent_dim)\n )\n )\n )\n self.drop = nnx.Dropout(self.dropout, rngs=rngs)\n\n def __call__(\n self, x_DL: jax.Array, training: bool\n ) -> Tuple[jax.Array, jax.Array, jax.Array, jax.Array]:\n # --- Compute distances ---\n x_DL = x_DL.astype(self.dtype)\n codebook = self.codebook.value.astype(self.dtype)\n\n x_normalized_DL = normalize(x_DL)\n normalized_codebook_KL = normalize(codebook)\n distance_DK = -jnp.matmul(x_normalized_DL, normalized_codebook_KL.T)\n if training:\n distance_DK = self.drop(distance_DK)\n\n # --- Get indices and embeddings ---\n indices_D = jnp.argmin(distance_DK, axis=-1)\n z_DL = codebook[indices_D]\n\n # --- Straight through estimator ---\n z_q_DL = x_DL + jax.lax.stop_gradient(z_DL - x_DL)\n return z_q_DL, z_DL, x_DL, indices_D\n\n def get_codes(self, indices_E: jax.Array) -> jax.Array:\n return self.codebook[indices_E]\n\n\ndef _create_flash_attention_fn(use_flash_attention: bool, is_causal: bool) -> Callable:\n """"""\n Create an attention function that uses flash attention if enabled.\n\n flax.nnx.MultiHeadAttention provides tensors with shape (batch..., length, num_heads, head_dim),\n but jax.nn.dot_product_attention expects (batch, length, num_heads, head_dim). We reshape to\n ensure compatibility. cuDNN's flash attention additionally requires a sequence length that\n is a multiple of 4. We pad the sequence length to the nearest multiple of 4 and mask\n accordingly. Note that cuDNN requires the mask to be broadcast before calling the attention\n function due to strict shape checking.\n """"""\n\n def attention_fn(\n query_BTHD, key_BSHD, value_BSHD, bias=None, mask_B111=None, **kwargs\n ):\n implementation = ""cudnn"" if use_flash_attention else None\n\n def _merge_batch_dims(x):\n return einops.rearrange(x, ""... l h k -> (...) l h k"")\n\n def _pad(x, pad_size):\n return jnp.pad(x, ((0, 0), (0, pad_size), (0, 0), (0, 0)))\n\n original_shape = query_BTHD.shape\n T = query_BTHD.shape[-3]\n S = key_BSHD.shape[-3]\n\n # Pad to nearest multiple of 4\n Q = ((T + 3) // 4) * 4\n pad_size_Q = Q - T\n K = ((S + 3) // 4) * 4\n pad_size_K = K - S\n\n query_BQHD = _pad(_merge_batch_dims(query_BTHD), pad_size_Q)\n key_BKHD = _pad(_merge_batch_dims(key_BSHD), pad_size_K)\n value_BKHD = _pad(_merge_batch_dims(value_BSHD), pad_size_K)\n\n attention_mask = jnp.ones((Q, K), dtype=jnp.bool_)\n attention_mask = attention_mask.at[T:, :].set(False)\n attention_mask = attention_mask.at[:, S:].set(False)\n\n mask_11TS = attention_mask[jnp.newaxis, jnp.newaxis, :, :]\n\n bias_4d = (\n jnp.pad(\n _merge_batch_dims(bias),\n ((0, 0), (0, 0), (0, pad_size_Q), (0, pad_size_K)),\n )\n if bias is not None\n else None\n )\n\n # NOTE: jax.nn.dot_product_attention does not support dropout\n output_4d = jax.nn.dot_product_attention(\n query=query_BQHD,\n key=key_BKHD,\n value=value_BKHD,\n bias=bias_4d,\n mask=mask_11TS,\n implementation=implementation,\n is_causal=is_causal,\n )\n return output_4d[..., :T, :, :].reshape(original_shape)\n\n return attention_fn\n",python,tab
3
+ 2,149,"extension-output-pdoom-org.crowd-code-#1-crowd-code",0,0,"8:34:50 PM [info] Activating crowd-code\n8:34:50 PM [info] Recording started\n8:34:50 PM [info] Initializing git provider using file system watchers...\n",Log,tab
4
+ 3,187,"extension-output-pdoom-org.crowd-code-#1-crowd-code",150,0,"8:34:51 PM [info] Git repository found\n8:34:51 PM [info] Git provider initialized successfully\n8:34:51 PM [info] Initial git state: [object Object]\n",Log,content
5
+ 4,3399,"utils/nn.py",0,0,"",python,tab
6
+ 5,5944,"utils/nn.py",16950,0,"",python,selection_command
7
+ 6,6119,"utils/nn.py",16918,0,"",python,selection_command
8
+ 7,6363,"utils/nn.py",16879,0,"",python,selection_command
9
+ 8,6384,"utils/nn.py",16843,0,"",python,selection_command
10
+ 9,6419,"utils/nn.py",16783,0,"",python,selection_command
11
+ 10,6454,"utils/nn.py",16737,0,"",python,selection_command
12
+ 11,6487,"utils/nn.py",16709,0,"",python,selection_command
13
+ 12,6520,"utils/nn.py",16692,0,"",python,selection_command
14
+ 13,6551,"utils/nn.py",16661,0,"",python,selection_command
15
+ 14,6861,"utils/nn.py",16692,0,"",python,selection_command
16
+ 15,7020,"utils/nn.py",16709,0,"",python,selection_command
17
+ 16,7314,"utils/nn.py",16692,0,"",python,selection_command
18
+ 17,21332,"utils/nn.py",16661,0,"",python,selection_command
19
+ 18,21589,"utils/nn.py",16692,0,"",python,selection_command
20
+ 19,23753,"utils/nn.py",16709,0,"",python,selection_command
21
+ 20,23936,"utils/nn.py",16737,0,"",python,selection_command
22
+ 21,24089,"utils/nn.py",16783,0,"",python,selection_command
23
+ 22,24270,"utils/nn.py",16843,0,"",python,selection_command
24
+ 23,24431,"utils/nn.py",16879,0,"",python,selection_command
25
+ 24,24599,"utils/nn.py",16918,0,"",python,selection_command
26
+ 25,24737,"utils/nn.py",16950,0,"",python,selection_command
27
+ 26,26706,"utils/nn.py",16918,0,"",python,selection_command
28
+ 27,26890,"utils/nn.py",16879,0,"",python,selection_command
29
+ 28,35158,"utils/nn.py",15971,0,"",python,selection_command
30
+ 29,38308,"models/tokenizer.py",0,0,"from typing import Dict, Tuple\n\nimport flax.nnx as nnx\nimport jax.numpy as jnp\nimport jax\n\nfrom utils.preprocess import patchify, unpatchify\nfrom utils.nn import STTransformer, VectorQuantizer\n\n\nclass TokenizerVQVAE(nnx.Module):\n """"""\n ST-ViVit VQ-VAE\n\n Dimension keys:\n B: batch size\n T: sequence length\n N: number of patches per frame\n L: latent dimension\n D: B * T * N\n H: height\n W: width\n C: number of channels\n P: patch token dimension (patch_size^2 * C)\n """"""\n\n def __init__(\n self,\n in_dim: int,\n model_dim: int,\n ffn_dim: int,\n latent_dim: int,\n num_latents: int,\n patch_size: int,\n num_blocks: int,\n num_heads: int,\n dropout: float,\n codebook_dropout: float,\n param_dtype: jnp.dtype,\n dtype: jnp.dtype,\n use_flash_attention: bool,\n rngs: nnx.Rngs,\n ):\n self.in_dim = in_dim\n self.model_dim = model_dim\n self.ffn_dim = ffn_dim\n self.latent_dim = latent_dim\n self.num_latents = num_latents\n self.patch_size = patch_size\n self.num_blocks = num_blocks\n self.num_heads = num_heads\n self.dropout = dropout\n self.codebook_dropout = codebook_dropout\n self.param_dtype = param_dtype\n self.dtype = dtype\n self.use_flash_attention = use_flash_attention\n\n self.encoder = STTransformer(\n self.in_dim * self.patch_size**2,\n self.model_dim,\n self.ffn_dim,\n self.latent_dim,\n self.num_blocks,\n self.num_heads,\n self.dropout,\n self.param_dtype,\n self.dtype,\n use_flash_attention=self.use_flash_attention,\n rngs=rngs,\n )\n self.vq = VectorQuantizer(\n self.latent_dim,\n self.num_latents,\n self.codebook_dropout,\n self.dtype,\n rngs=rngs,\n )\n self.out_dim = self.in_dim * self.patch_size**2\n self.decoder = STTransformer(\n self.latent_dim,\n self.model_dim,\n self.ffn_dim,\n self.out_dim,\n self.num_blocks,\n self.num_heads,\n self.dropout,\n self.param_dtype,\n self.dtype,\n use_flash_attention=self.use_flash_attention,\n rngs=rngs,\n )\n\n def __call__(\n self, batch: Dict[str, jax.Array], training: bool = True\n ) -> Dict[str, jax.Array]:\n H, W = batch[""videos""].shape[2:4]\n videos_BTHWC = batch[""videos""]\n outputs = self.vq_encode(videos_BTHWC, training)\n z_q_BTNL = outputs[""z_q""]\n recon_BTHWC = self.decoder(z_q_BTNL)\n recon_BTHWC = recon_BTHWC.astype(jnp.float32)\n recon_BTHWC = nnx.sigmoid(recon_BTHWC)\n recon_BTHWC = recon_BTHWC.astype(self.dtype)\n recon_BTHWC = unpatchify(recon_BTHWC, self.patch_size, H, W)\n outputs[""recon""] = recon_BTHWC\n return outputs\n\n def vq_encode(\n self, videos: jax.Array, training: bool = True\n ) -> Dict[str, jax.Array]:\n # --- Preprocess + encode ---\n B, T = videos.shape[:2]\n patch_BTNP = patchify(videos, self.patch_size)\n N = patch_BTNP.shape[2]\n x_BTNL = self.encoder(patch_BTNP)\n\n # --- Vector quantize ---\n x_DL = x_BTNL.reshape(B * T * N, self.latent_dim)\n z_q_DL, z_DL, emb_DL, indices_D = self.vq(x_DL, training)\n z_q_BTNL = z_q_DL.reshape(B, T, N, self.latent_dim)\n indices_BTN = indices_D.reshape(B, T, N)\n return dict(z_q=z_q_BTNL, z=z_DL, emb=emb_DL, indices=indices_BTN)\n\n def decode(self, indices_BTN: jax.Array, video_hw: Tuple[int, int]) -> jax.Array:\n z_BTNL = self.vq.codebook[indices_BTN]\n recon_BTNP = self.decoder(z_BTNL)\n recon_BTNP = recon_BTNP.astype(jnp.float32)\n recon_BTNP = nnx.sigmoid(recon_BTNP)\n recon_BTNP = recon_BTNP.astype(self.dtype)\n return unpatchify(recon_BTNP, self.patch_size, *video_hw)\n",python,tab
31
+ 30,38309,"models/tokenizer.py",1841,15,"VectorQuantizer",python,selection_command
32
+ 31,38548,"models/tokenizer.py",1855,0,"",python,selection_command
33
+ 32,38739,"models/tokenizer.py",1841,0,"",python,selection_command
34
+ 33,38880,"models/tokenizer.py",1839,0,"",python,selection_command
35
+ 34,39039,"models/tokenizer.py",1836,0,"",python,selection_command
36
+ 35,39473,"models/tokenizer.py",3502,0,"",python,selection_command
37
+ 36,40428,"models/tokenizer.py",3501,0,"",python,selection_command
38
+ 37,40583,"models/tokenizer.py",3497,0,"",python,selection_command
39
+ 38,40772,"models/tokenizer.py",3495,0,"",python,selection_command
40
+ 39,41280,"models/tokenizer.py",3437,0,"",python,selection_command
41
+ 40,41895,"models/tokenizer.py",3395,0,"",python,selection_command
42
+ 41,42041,"models/tokenizer.py",3362,0,"",python,selection_command
43
+ 42,42240,"models/tokenizer.py",3360,0,"",python,selection_command
4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-f30029d7-35fb-408d-b8cf-377e2b67278b1762084766653-2025_11_02-12.59.29.208/source.csv ADDED
The diff for this file is too large to render. See raw diff
 
4de8d861ed2563988d5f1871647ebc5fe70861b32d24a4b32f9363518653a328/crowd-code-f818bac9-3228-48bb-85cd-ad930fdb35d91752220838711-2025_07_11-10.00.40.248/source.csv ADDED
The diff for this file is too large to render. See raw diff