-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.gitignore
More file actions
265 lines (221 loc) · 4.19 KB
/
Copy path.gitignore
File metadata and controls
265 lines (221 loc) · 4.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
# Rust
/target/
**/*.rs.bk
Cargo.lock
# Tool-generated metadata
.crates.toml
.crates2.json
# IDE
.vscode/
.idea/
*.swp
*.swo
*~
# OS
.DS_Store
Thumbs.db
# Logs
*.log
# Test artifacts
tests/cache/
# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
# Jupyter Notebook
.ipynb_checkpoints
# pyenv
.python-version
# Virtual environments
.venv/
venv/
env/
# Environment variables
.env
.env.local
# Benchmarks
/target/criterion/
# Coverage
lcov.info
coverage/
# Temporary files
*.tmp
*.temp
# Model files (large binaries)
*.gguf
*.safetensors
*.bin
# Local model cache (downloaded by xtask); keep it out of git
# Note: Leading / ensures only top-level models/ directory is ignored
/models/**
!/models/.gitkeep
# Claude Working Agents
.claude/agents/
# Build artifacts
*.dll
*.so
*.dylib
*.a
*.lib
# External dependency cache
.cache/
**/bitnet_cpp/
!patches/bitnet_cpp/
!patches/bitnet_cpp/.gitkeep
!patches/bitnet_cpp/*.patch
!patches/bitnet_cpp/*.diff
# Cross-validation builds
crossval/target/
legacy/
# Test fixture artifacts (prevent massive test data commits)
**/fixtures/target/
**/fixture_test/target/
**/test_fixtures/
**/large_fixtures/
fixtures/models/
fixtures/datasets/
**/fixtures/**/*.gguf
# Exception: small synthetic GGUF test fixtures (must be kept < 10KB each)
!crates/bitnet-tokenizers/tests/fixtures/gguf/*.gguf
!crates/bitnet-models/tests/fixtures/**/*.gguf
# Exception: workspace-level synthetic test model fixtures
!tests/models/mini.gguf
**/fixtures/**/*.safetensors
**/fixtures/**/*.bin
**/fixtures/**/*.json.bz2
**/fixtures/**/*.json.gz
# Large generated test vector files (issue #159 prevention)
**/fixtures/**/*_test_vectors.json
**/fixtures/**/crossval_*.json
**/fixtures/**/quantization_test_vectors.json
test_data/large/
# Vendored dependencies (prevent accidentally committing large C++ codebases)
3rdparty/**/target/
3rdparty/**/build/
3rdparty/**/.git/
vendor/llama.cpp/
vendor/ggml/
vendor/build/
thirdparty/
# Generated documentation and artifacts
docs/_build/
docs/build/
site/
_site/
public/
# Temporary build and development artifacts
tmp/
temp/
.tmp/
*.bak
*.orig
*.rej
*.broken
*.before_fix
/clippy*.txt
**/*.tmp.rs
**/*.backup.rs
*.backup
scratch/
experiments/
# Large log files and debug dumps
*.log.*
debug_dump/
trace_*.txt
profile_*.txt
benchmark_results/
# CI cache and artifacts (prevent accidental commit of CI state)
.github/cache/
.github/artifacts/
.github/runners/
# Package manager artifacts
.cargo/registry/
.cargo/git/
.cargo/.package-cache
node_modules/
package-lock.json.backup
# Development containers and virtualization
.devcontainer/tmp/
docker-compose.override.yml
.docker/tmp/
vagrant/
# PREVENT SPECIFIC PAST ISSUES:
# - Build artifacts in fixture directories (PR #92)
# - Massive JSON test fixtures (PR #103)
# - Vendored GGML C code without .gitignore (PR #101)
# - Branch merge artifacts (PR #104)
# Mutants
mutants.out
mutants.out.old
mutants/
# Rust compiler crash reports
rustc-ice-*.txt
# Compiled Rust binaries accidentally committed to root
/check_avx512
/test_avx512_intrinsics
# Compiled Rust libraries in root
*.rlib
# One-off fix/patch scripts (use scripts/ or archive/ instead)
/fix_*.py
/patch_*.py
/update_*.py
/replace_*.py
/manual_fix.py
/reenable_*.py
# Test executables and artifacts
test_gguf
test_tokenizer_cpp
test_ffi_constants
# Temporary test directories
test-fixtures-tmp*/
fixture_test/
# Historical test results (archived)
test-results/
mutants-report/
# Fuzz build artifacts only (source files are tracked)
fuzz/target/
fuzz/artifacts/
fuzz/coverage/
fuzz/corpus/
# libfuzzer crash / slow-unit files written to fuzz/ root during local runs
fuzz/crash-*
fuzz/slow-unit-*
fuzz/leak-*
fuzz/timeout-*
tests/tests/cache/incremental/last_run.json
# Proptest regression files (Issue #439)
**/*.proptest-regressions
tests/tests/cache/incremental/last_run.json
# Temporary development artifacts
.flow_state
.lycheecache
logs/
tmp/
# Mutation testing outputs
mutants-*.out/
# Coverage reports
coverage/
# Build reports
clippy_report.txt
# Benchmark outputs
benchmarks-new/
tests/tests/cache/
# Claude worktrees (local only)
.claude/worktrees/