convitom Claude Sonnet 4.6 commited on
Commit
a7747b0
·
1 Parent(s): 02426e6

chore: fix .gitignore encoding (UTF-16 -> ASCII) and untrack .claude/

Browse files

The .gitignore was UTF-16-encoded, so git parsed line 1 as a bare "*"
(ignore everything) and the ".claude/" rule never applied — every other
worktree got swept into `git add .` as embedded repos. Rewrite it as
plain ASCII (*.png, .claude/, __pycache__/) and stop tracking the
.claude/ worktree gitlinks + settings.local.json that had been
accidentally committed earlier (files kept on disk).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

.claude/settings.local.json DELETED
@@ -1,40 +0,0 @@
1
- {
2
- "permissions": {
3
- "allow": [
4
- "Bash(ls 'D:\\\\USTH\\\\KLTN\\\\data'*.py)",
5
- "Bash(grep -E '__init__|\\\\.py$')",
6
- "Bash(python -c \"import json; nb = json.load\\(open\\(r'D:\\\\USTH\\\\KLTN\\\\scripts\\\\kaggle_train.ipynb', encoding='utf-8'\\)\\); print\\('cells:', len\\(nb['cells']\\)\\); print\\('types:', [c['cell_type'] for c in nb['cells']]\\)\")",
7
- "Read(//d D:/USTH/**)",
8
- "Bash(python -c \"import ast; ast.parse\\(open\\('training/train.py'\\).read\\(\\)\\); ast.parse\\(open\\('evaluation/evaluate.py'\\).read\\(\\)\\); ast.parse\\(open\\('utils/hf_uploader.py'\\).read\\(\\)\\); print\\('all syntactically valid'\\)\")",
9
- "WebSearch",
10
- "WebFetch(domain:github.com)",
11
- "WebFetch(domain:openi.nlm.nih.gov)",
12
- "Bash(python scripts/_convert_to_ipynb.py)",
13
- "Bash(python -c \"import json; nb=json.load\\(open\\('scripts/kaggle_train.ipynb',encoding='utf-8'\\)\\); print\\('cells:', len\\(nb['cells']\\)\\); print\\('types:', [c['cell_type'] for c in nb['cells']][:5]\\); print\\('first cell source[:3]:', nb['cells'][0]['source'][:3]\\)\")",
14
- "Bash(python -c \"import json; nb=json.load\\(open\\(r'D:\\\\USTH\\\\KLTN\\\\scripts\\\\kaggle_train.ipynb',encoding='utf-8'\\)\\); [print\\(i, c.get\\('metadata',{}\\).get\\('id','?'\\), '|', ''.join\\(c.get\\('source',[]\\)\\)[:80].replace\\(chr\\(10\\),' '\\)\\) for i,c in enumerate\\(nb['cells']\\)]\")",
15
- "Bash(python -c \"import json,io,sys; sys.stdout=io.TextIOWrapper\\(sys.stdout.buffer,encoding='utf-8'\\); nb=json.load\\(open\\(r'D:\\\\USTH\\\\KLTN\\\\scripts\\\\kaggle_train.ipynb',encoding='utf-8'\\)\\); [print\\(i, c.get\\('metadata',{}\\).get\\('id','?'\\)\\) for i,c in enumerate\\(nb['cells']\\)]\")",
16
- "Bash(python -c 'import json,io,sys; sys.stdout=io.TextIOWrapper\\(sys.stdout.buffer,encoding='\\\\''utf-8'\\\\''\\); nb=json.load\\(open\\(r'\\\\''D:\\\\USTH\\\\KLTN\\\\scripts\\\\kaggle_train.ipynb'\\\\'',encoding='\\\\''utf-8'\\\\''\\)\\); *)",
17
- "Bash(python)",
18
- "Bash(python -c \"import ast; ast.parse\\(open\\(r'D:\\\\USTH\\\\KLTN\\\\training\\\\train.py',encoding='utf-8'\\).read\\(\\)\\); print\\('train.py ok'\\)\")",
19
- "Bash(python -c \"import ast; ast.parse\\(open\\(r'D:\\\\USTH\\\\KLTN\\\\evaluation\\\\evaluate.py',encoding='utf-8'\\).read\\(\\)\\); print\\('evaluate.py ok'\\)\")",
20
- "Bash(python -c \"from omegaconf import OmegaConf; cfg=OmegaConf.load\\(r'D:\\\\USTH\\\\KLTN\\\\configs\\\\train_config.yaml'\\); print\\('yaml ok, save_steps=', cfg.training.save_steps, 'limit=', cfg.training.save_total_limit\\)\")",
21
- "Bash(python -c \"import json; nb=json.load\\(open\\(r'D:\\\\USTH\\\\KLTN\\\\scripts\\\\kaggle_train.ipynb',encoding='utf-8'\\)\\); print\\('ipynb cells=', len\\(nb['cells']\\)\\)\")",
22
- "Bash(python -c \"import yaml; cfg=yaml.safe_load\\(open\\(r'D:\\\\USTH\\\\KLTN\\\\configs\\\\train_config.yaml',encoding='utf-8'\\)\\); print\\('save_steps=', cfg['training']['save_steps'], 'limit=', cfg['training']['save_total_limit'], 'upload_interm=', cfg['training']['upload_intermediate_to_hf']\\)\")",
23
- "Bash(python D:\\\\USTH\\\\KLTN\\\\cxr-vlm-code\\\\_tmp_edit_notebook.py)",
24
- "Bash(npm list *)",
25
- "Bash(mkdir -p \"C:/Users/admin/AppData/Roaming/npm\")",
26
- "Bash(npm install *)",
27
- "Bash(npm root *)",
28
- "Bash(NODE_PATH=\"C:/Users/admin/AppData/Roaming/npm/node_modules\" node bao_cao_tien_do.js)",
29
- "Bash(python -c ' *)",
30
- "Bash(python generate_pipeline_svg.py)",
31
- "Bash(python -c \"from PIL import Image; print\\('pil ok'\\)\")",
32
- "Bash(where magick *)",
33
- "Bash(where inkscape *)",
34
- "Bash(python -c \"import cairosvg; cairosvg.svg2png\\(url='pipeline_diagram.svg', write_to='pipeline_diagram.png', output_width=2800\\)\")",
35
- "Bash(python scripts/_patch_notebook.py)",
36
- "Bash(python scripts/_patch_notebook2.py)",
37
- "Bash(python scripts/_verify_nb.py)"
38
- ]
39
- }
40
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
.claude/worktrees/keen-galileo-ce978c DELETED
@@ -1 +0,0 @@
1
- Subproject commit 28b13fcded5614d6ab4088a8d8f6a20b87060306
 
 
.claude/worktrees/nice-kapitsa-0be5ac DELETED
@@ -1 +0,0 @@
1
- Subproject commit 28b13fcded5614d6ab4088a8d8f6a20b87060306
 
 
.claude/worktrees/strange-agnesi-73641a DELETED
@@ -1 +0,0 @@
1
- Subproject commit 9dadb472ab6ab5dee7a656bf525b249a605a68ff
 
 
.gitignore CHANGED
Binary files a/.gitignore and b/.gitignore differ