# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# OSX
.DS_Store

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
#  Usually these files are written by a python script from a template
#  before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
.pybuilder/
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
#   For a library or package, you might want to ignore these files since the code is
#   intended to run in multiple environments; otherwise, check them in:
# .python-version

# pipenv
#   According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
#   However, in case of collaboration, if having platform-specific dependencies or dependencies
#   having no cross-platform support, pipenv may install dependencies that don't work, or not
#   install all needed dependencies.
#Pipfile.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.env.*
!.env.example
.venv
env/
venv/
venv3.6/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# Cython debug symbols
cython_debug/

# JetBrains
.idea
.uuid

# VS Code
.vscode

# Pyright config (local only)
pyrightconfig.json

# SQLite
*.db
*.db3
*.sqlite
*.sqlite3

# Ignore temp and swap files
*~

# Temporary files
temp_link

# Packaged sources
dist_py_*

# License data.
.latticeflow/*

# Files created during testing
example_config_resaved*.json

# Ignore Numpy datafiles
*.npy

# Version files
**/latticeflow/*/version.py
**/latticeflow/**/version.py

# Benchmark files
benchmark/*/models/

# Cache
**lf_cache/
**latticeflow.db
**latticeflow.db-journal

# All migrations/ folders, except their implementation
migrations/
examples/**/migrations/
*latticeflow/**/migrations/
!ais/cloud/latticeflow/cloud/persistence/migrations/
!slicing/latticeflow/core/persistence/migrations/
!assessment/latticeflow/assessment/persistence/migrations/
!assessment/tests/test_integration/migrations/

# Torch models
**.pt
**.pth

# ONNX models
**.onnx

# Docker compose files
examples/docker-compose.blue.yml
examples/docker-compose.yuhuang.yml
examples/compcars/tf_model
examples/compcars/tf_model_classification
examples/web/tf_model_classification

# LatticeFlow cloud data
**lf_data/
**lf_data_dumps/

# Documentation
readme/out

# Automatically generated file
ais/tools/dev_docker/docker-compose.dev-full.yml
assessment/tools/dev_docker/docker-compose.dev-full.yml
assessment/tools/dev_docker/docker-compose.dev-setup-full.yml
assessment/tools/dev_docker/docker-compose.private-additions.yml

# User modified config
ais/tools/dev_docker/config.yaml
assessment/tools/dev_docker/config.yaml

# Temporary dev-docker volume mount
assessment/tools/dev_docker/drydock

# AIA data
assessment/data/aia-data

# AI Atlas zipped evals and manifest.json
assessment/tools/dev_docker/atlas

# Upload scripts generated by `lf_add_dataset`.
**/upload.py

# Prepare cache scripts generated by `lf_prepare_cache`.
**/prepare_cache.py

# Ignore lfrc file if it exists
.lfrc
.lfrc_tests

# Personal files not to be shared
personal/

# e2e test generated files
report.html
hoverfly_simulations/

# Celery related when it's running locally
celerybeat-schedule.*

# ignore lf readme docs
lf-readme-docs
docs/offline/html
# Generated types
front-end/**/generated/*.d.ts

# Ignore generated static folder in cloud
ais/cloud/latticeflow/cloud/static/

# LatticeFlow AI OpenAPI Bindings
openapi/assessment/latticeflow/
openapi/assessment/openapi-merged.yaml
openapi/open_responses/latticeflow/
openapi/open_responses/openapi-merged.json

# Background test container env file
assessment/tests/test_integration/test.env

!ais/cloud/latticeflow/cloud/utils/upload.py
!ais/cloud/docker_compose_templates/.env.oauth.example
!ais/sdk/latticeflow/sdk/scripts/prepare_cache.py
!ais/sdk/latticeflow/sdk/utils/upload.py

# LF CLI/SDK config files
.latticeflow.yaml

# LF Core build files
core/latticeflow/core/dtypes/_assessment/
core/latticeflow/core/dtypes/_open_responses/

# Vulnerability review scratch output (review-vulnerabilities skill)
assessment/keycloak/vuln_review.md

/.quarto/
**/*.quarto_ipynb
