diff --git a/.gitignore b/.gitignore index f9acc08..8820074 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,10 @@ .DS_Store *.pem +# Python(运行产物) +__pycache__/ +*.py[cod] + # Node / JS node_modules/ npm-debug.* diff --git a/server/alembic/__pycache__/env.cpython-313.pyc b/server/alembic/__pycache__/env.cpython-313.pyc deleted file mode 100644 index 2e046b7..0000000 Binary files a/server/alembic/__pycache__/env.cpython-313.pyc and /dev/null differ diff --git a/server/alembic/versions/__pycache__/0001_init_content_tables.cpython-313.pyc b/server/alembic/versions/__pycache__/0001_init_content_tables.cpython-313.pyc deleted file mode 100644 index 4ad3518..0000000 Binary files a/server/alembic/versions/__pycache__/0001_init_content_tables.cpython-313.pyc and /dev/null differ diff --git a/server/app/__pycache__/__init__.cpython-313.pyc b/server/app/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index 8667beb..0000000 Binary files a/server/app/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/server/app/__pycache__/__init__.cpython-314.pyc b/server/app/__pycache__/__init__.cpython-314.pyc deleted file mode 100644 index b22c8e6..0000000 Binary files a/server/app/__pycache__/__init__.cpython-314.pyc and /dev/null differ diff --git a/server/app/__pycache__/main.cpython-313.pyc b/server/app/__pycache__/main.cpython-313.pyc deleted file mode 100644 index 5d626d7..0000000 Binary files a/server/app/__pycache__/main.cpython-313.pyc and /dev/null differ diff --git a/server/app/__pycache__/main.cpython-314.pyc b/server/app/__pycache__/main.cpython-314.pyc deleted file mode 100644 index 73e5465..0000000 Binary files a/server/app/__pycache__/main.cpython-314.pyc and /dev/null differ diff --git a/server/app/api/__pycache__/__init__.cpython-313.pyc b/server/app/api/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index 5248b76..0000000 Binary files a/server/app/api/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/server/app/api/__pycache__/limits.cpython-313.pyc b/server/app/api/__pycache__/limits.cpython-313.pyc deleted file mode 100644 index 524957c..0000000 Binary files a/server/app/api/__pycache__/limits.cpython-313.pyc and /dev/null differ diff --git a/server/app/api/v1/__pycache__/__init__.cpython-313.pyc b/server/app/api/v1/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index 3ee1056..0000000 Binary files a/server/app/api/v1/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/server/app/api/v1/__pycache__/reco.cpython-313.pyc b/server/app/api/v1/__pycache__/reco.cpython-313.pyc deleted file mode 100644 index d2c99b0..0000000 Binary files a/server/app/api/v1/__pycache__/reco.cpython-313.pyc and /dev/null differ diff --git a/server/app/api/v1/__pycache__/user_profile_scoring.cpython-313.pyc b/server/app/api/v1/__pycache__/user_profile_scoring.cpython-313.pyc deleted file mode 100644 index 78f639e..0000000 Binary files a/server/app/api/v1/__pycache__/user_profile_scoring.cpython-313.pyc and /dev/null differ diff --git a/server/app/core/__pycache__/config.cpython-313.pyc b/server/app/core/__pycache__/config.cpython-313.pyc deleted file mode 100644 index 0abbd93..0000000 Binary files a/server/app/core/__pycache__/config.cpython-313.pyc and /dev/null differ diff --git a/server/app/core/__pycache__/config.cpython-314.pyc b/server/app/core/__pycache__/config.cpython-314.pyc deleted file mode 100644 index 319065d..0000000 Binary files a/server/app/core/__pycache__/config.cpython-314.pyc and /dev/null differ diff --git a/server/app/db/__pycache__/base.cpython-313.pyc b/server/app/db/__pycache__/base.cpython-313.pyc deleted file mode 100644 index 20caa2e..0000000 Binary files a/server/app/db/__pycache__/base.cpython-313.pyc and /dev/null differ diff --git a/server/app/db/__pycache__/session.cpython-313.pyc b/server/app/db/__pycache__/session.cpython-313.pyc deleted file mode 100644 index fa65eb9..0000000 Binary files a/server/app/db/__pycache__/session.cpython-313.pyc and /dev/null differ diff --git a/server/app/db/models/__pycache__/__init__.cpython-313.pyc b/server/app/db/models/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index 3d81433..0000000 Binary files a/server/app/db/models/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/server/app/db/models/__pycache__/content.cpython-313.pyc b/server/app/db/models/__pycache__/content.cpython-313.pyc deleted file mode 100644 index dd275b2..0000000 Binary files a/server/app/db/models/__pycache__/content.cpython-313.pyc and /dev/null differ diff --git a/server/app/db/models/__pycache__/content_profile.cpython-313.pyc b/server/app/db/models/__pycache__/content_profile.cpython-313.pyc deleted file mode 100644 index addf96c..0000000 Binary files a/server/app/db/models/__pycache__/content_profile.cpython-313.pyc and /dev/null differ diff --git a/server/app/db/models/__pycache__/content_risk_flag.cpython-313.pyc b/server/app/db/models/__pycache__/content_risk_flag.cpython-313.pyc deleted file mode 100644 index 83454c5..0000000 Binary files a/server/app/db/models/__pycache__/content_risk_flag.cpython-313.pyc and /dev/null differ diff --git a/server/app/features/personalized_reco/__pycache__/__init__.cpython-313.pyc b/server/app/features/personalized_reco/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index 0b7ae0b..0000000 Binary files a/server/app/features/personalized_reco/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/server/app/features/personalized_reco/content_repository/__pycache__/__init__.cpython-313.pyc b/server/app/features/personalized_reco/content_repository/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index 3559bcf..0000000 Binary files a/server/app/features/personalized_reco/content_repository/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/server/app/features/personalized_reco/content_repository/__pycache__/interface.cpython-313.pyc b/server/app/features/personalized_reco/content_repository/__pycache__/interface.cpython-313.pyc deleted file mode 100644 index 3372a09..0000000 Binary files a/server/app/features/personalized_reco/content_repository/__pycache__/interface.cpython-313.pyc and /dev/null differ diff --git a/server/app/features/personalized_reco/content_repository/__pycache__/normalization.cpython-313.pyc b/server/app/features/personalized_reco/content_repository/__pycache__/normalization.cpython-313.pyc deleted file mode 100644 index 21889a1..0000000 Binary files a/server/app/features/personalized_reco/content_repository/__pycache__/normalization.cpython-313.pyc and /dev/null differ diff --git a/server/app/features/personalized_reco/content_repository/__pycache__/sqlalchemy_repo.cpython-313.pyc b/server/app/features/personalized_reco/content_repository/__pycache__/sqlalchemy_repo.cpython-313.pyc deleted file mode 100644 index 8b4b65a..0000000 Binary files a/server/app/features/personalized_reco/content_repository/__pycache__/sqlalchemy_repo.cpython-313.pyc and /dev/null differ diff --git a/server/app/features/personalized_reco/content_repository/__pycache__/types.cpython-313.pyc b/server/app/features/personalized_reco/content_repository/__pycache__/types.cpython-313.pyc deleted file mode 100644 index d482a86..0000000 Binary files a/server/app/features/personalized_reco/content_repository/__pycache__/types.cpython-313.pyc and /dev/null differ diff --git a/server/app/features/personalized_reco/observability/__pycache__/__init__.cpython-313.pyc b/server/app/features/personalized_reco/observability/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index e05858c..0000000 Binary files a/server/app/features/personalized_reco/observability/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/server/app/features/personalized_reco/observability/__pycache__/builder.cpython-313.pyc b/server/app/features/personalized_reco/observability/__pycache__/builder.cpython-313.pyc deleted file mode 100644 index 841bac1..0000000 Binary files a/server/app/features/personalized_reco/observability/__pycache__/builder.cpython-313.pyc and /dev/null differ diff --git a/server/app/features/personalized_reco/observability/__pycache__/types.cpython-313.pyc b/server/app/features/personalized_reco/observability/__pycache__/types.cpython-313.pyc deleted file mode 100644 index c499882..0000000 Binary files a/server/app/features/personalized_reco/observability/__pycache__/types.cpython-313.pyc and /dev/null differ diff --git a/server/app/features/personalized_reco/observability/__pycache__/utils.cpython-313.pyc b/server/app/features/personalized_reco/observability/__pycache__/utils.cpython-313.pyc deleted file mode 100644 index a29b432..0000000 Binary files a/server/app/features/personalized_reco/observability/__pycache__/utils.cpython-313.pyc and /dev/null differ diff --git a/server/app/features/personalized_reco/reco_engine/__pycache__/__init__.cpython-313.pyc b/server/app/features/personalized_reco/reco_engine/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index 3a59f9d..0000000 Binary files a/server/app/features/personalized_reco/reco_engine/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/server/app/features/personalized_reco/reco_engine/__pycache__/defaults.cpython-313.pyc b/server/app/features/personalized_reco/reco_engine/__pycache__/defaults.cpython-313.pyc deleted file mode 100644 index f729ebf..0000000 Binary files a/server/app/features/personalized_reco/reco_engine/__pycache__/defaults.cpython-313.pyc and /dev/null differ diff --git a/server/app/features/personalized_reco/reco_engine/__pycache__/hard_filter.cpython-313.pyc b/server/app/features/personalized_reco/reco_engine/__pycache__/hard_filter.cpython-313.pyc deleted file mode 100644 index 0d61a62..0000000 Binary files a/server/app/features/personalized_reco/reco_engine/__pycache__/hard_filter.cpython-313.pyc and /dev/null differ diff --git a/server/app/features/personalized_reco/reco_engine/__pycache__/orchestrator.cpython-313.pyc b/server/app/features/personalized_reco/reco_engine/__pycache__/orchestrator.cpython-313.pyc deleted file mode 100644 index 2abe645..0000000 Binary files a/server/app/features/personalized_reco/reco_engine/__pycache__/orchestrator.cpython-313.pyc and /dev/null differ diff --git a/server/app/features/personalized_reco/reco_engine/__pycache__/types.cpython-313.pyc b/server/app/features/personalized_reco/reco_engine/__pycache__/types.cpython-313.pyc deleted file mode 100644 index 13f2238..0000000 Binary files a/server/app/features/personalized_reco/reco_engine/__pycache__/types.cpython-313.pyc and /dev/null differ diff --git a/server/app/features/personalized_reco/reco_engine/__pycache__/utils.cpython-313.pyc b/server/app/features/personalized_reco/reco_engine/__pycache__/utils.cpython-313.pyc deleted file mode 100644 index 51a8ea0..0000000 Binary files a/server/app/features/personalized_reco/reco_engine/__pycache__/utils.cpython-313.pyc and /dev/null differ diff --git a/server/app/features/personalized_reco/rerank_freqcap/__pycache__/__init__.cpython-313.pyc b/server/app/features/personalized_reco/rerank_freqcap/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index 7c19f18..0000000 Binary files a/server/app/features/personalized_reco/rerank_freqcap/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/server/app/features/personalized_reco/rerank_freqcap/__pycache__/defaults.cpython-313.pyc b/server/app/features/personalized_reco/rerank_freqcap/__pycache__/defaults.cpython-313.pyc deleted file mode 100644 index 6818a27..0000000 Binary files a/server/app/features/personalized_reco/rerank_freqcap/__pycache__/defaults.cpython-313.pyc and /dev/null differ diff --git a/server/app/features/personalized_reco/rerank_freqcap/__pycache__/rerank.cpython-313.pyc b/server/app/features/personalized_reco/rerank_freqcap/__pycache__/rerank.cpython-313.pyc deleted file mode 100644 index 6cad5b1..0000000 Binary files a/server/app/features/personalized_reco/rerank_freqcap/__pycache__/rerank.cpython-313.pyc and /dev/null differ diff --git a/server/app/features/personalized_reco/rerank_freqcap/__pycache__/types.cpython-313.pyc b/server/app/features/personalized_reco/rerank_freqcap/__pycache__/types.cpython-313.pyc deleted file mode 100644 index 202cb02..0000000 Binary files a/server/app/features/personalized_reco/rerank_freqcap/__pycache__/types.cpython-313.pyc and /dev/null differ diff --git a/server/app/features/personalized_reco/rerank_freqcap/__pycache__/utils.cpython-313.pyc b/server/app/features/personalized_reco/rerank_freqcap/__pycache__/utils.cpython-313.pyc deleted file mode 100644 index 65c226f..0000000 Binary files a/server/app/features/personalized_reco/rerank_freqcap/__pycache__/utils.cpython-313.pyc and /dev/null differ diff --git a/server/app/features/personalized_reco/scoring/__pycache__/__init__.cpython-313.pyc b/server/app/features/personalized_reco/scoring/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index 025ca82..0000000 Binary files a/server/app/features/personalized_reco/scoring/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/server/app/features/personalized_reco/scoring/__pycache__/defaults.cpython-313.pyc b/server/app/features/personalized_reco/scoring/__pycache__/defaults.cpython-313.pyc deleted file mode 100644 index 91ae80e..0000000 Binary files a/server/app/features/personalized_reco/scoring/__pycache__/defaults.cpython-313.pyc and /dev/null differ diff --git a/server/app/features/personalized_reco/scoring/__pycache__/score.cpython-313.pyc b/server/app/features/personalized_reco/scoring/__pycache__/score.cpython-313.pyc deleted file mode 100644 index 44d277a..0000000 Binary files a/server/app/features/personalized_reco/scoring/__pycache__/score.cpython-313.pyc and /dev/null differ diff --git a/server/app/features/personalized_reco/scoring/__pycache__/types.cpython-313.pyc b/server/app/features/personalized_reco/scoring/__pycache__/types.cpython-313.pyc deleted file mode 100644 index 1283dac..0000000 Binary files a/server/app/features/personalized_reco/scoring/__pycache__/types.cpython-313.pyc and /dev/null differ diff --git a/server/app/features/personalized_reco/scoring/__pycache__/utils.cpython-313.pyc b/server/app/features/personalized_reco/scoring/__pycache__/utils.cpython-313.pyc deleted file mode 100644 index dc4b833..0000000 Binary files a/server/app/features/personalized_reco/scoring/__pycache__/utils.cpython-313.pyc and /dev/null differ diff --git a/server/app/features/user_profile_scoring/__pycache__/__init__.cpython-313.pyc b/server/app/features/user_profile_scoring/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index d7ceb7a..0000000 Binary files a/server/app/features/user_profile_scoring/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/server/app/features/user_profile_scoring/__pycache__/scoring.cpython-313.pyc b/server/app/features/user_profile_scoring/__pycache__/scoring.cpython-313.pyc deleted file mode 100644 index 553856e..0000000 Binary files a/server/app/features/user_profile_scoring/__pycache__/scoring.cpython-313.pyc and /dev/null differ diff --git a/server/app/features/user_profile_scoring/__pycache__/types.cpython-313.pyc b/server/app/features/user_profile_scoring/__pycache__/types.cpython-313.pyc deleted file mode 100644 index 6b4d131..0000000 Binary files a/server/app/features/user_profile_scoring/__pycache__/types.cpython-313.pyc and /dev/null differ diff --git a/server/app/tasks/__pycache__/__init__.cpython-313.pyc b/server/app/tasks/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index 181caaa..0000000 Binary files a/server/app/tasks/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/server/app/tasks/__pycache__/reco.cpython-313.pyc b/server/app/tasks/__pycache__/reco.cpython-313.pyc deleted file mode 100644 index 70900b2..0000000 Binary files a/server/app/tasks/__pycache__/reco.cpython-313.pyc and /dev/null differ diff --git a/server/tests/__pycache__/conftest.cpython-313-pytest-9.0.2.pyc b/server/tests/__pycache__/conftest.cpython-313-pytest-9.0.2.pyc deleted file mode 100644 index 3783d2f..0000000 Binary files a/server/tests/__pycache__/conftest.cpython-313-pytest-9.0.2.pyc and /dev/null differ diff --git a/server/tests/__pycache__/test_content_repository.cpython-313-pytest-9.0.2.pyc b/server/tests/__pycache__/test_content_repository.cpython-313-pytest-9.0.2.pyc deleted file mode 100644 index 1800d81..0000000 Binary files a/server/tests/__pycache__/test_content_repository.cpython-313-pytest-9.0.2.pyc and /dev/null differ diff --git a/server/tests/__pycache__/test_integration_api_worker.cpython-313-pytest-9.0.2.pyc b/server/tests/__pycache__/test_integration_api_worker.cpython-313-pytest-9.0.2.pyc deleted file mode 100644 index 40c983d..0000000 Binary files a/server/tests/__pycache__/test_integration_api_worker.cpython-313-pytest-9.0.2.pyc and /dev/null differ diff --git a/server/tests/__pycache__/test_observability.cpython-313-pytest-9.0.2.pyc b/server/tests/__pycache__/test_observability.cpython-313-pytest-9.0.2.pyc deleted file mode 100644 index 7654722..0000000 Binary files a/server/tests/__pycache__/test_observability.cpython-313-pytest-9.0.2.pyc and /dev/null differ diff --git a/server/tests/__pycache__/test_reco_engine.cpython-313-pytest-9.0.2.pyc b/server/tests/__pycache__/test_reco_engine.cpython-313-pytest-9.0.2.pyc deleted file mode 100644 index a663384..0000000 Binary files a/server/tests/__pycache__/test_reco_engine.cpython-313-pytest-9.0.2.pyc and /dev/null differ diff --git a/server/tests/__pycache__/test_rerank_freqcap.cpython-313-pytest-9.0.2.pyc b/server/tests/__pycache__/test_rerank_freqcap.cpython-313-pytest-9.0.2.pyc deleted file mode 100644 index f330060..0000000 Binary files a/server/tests/__pycache__/test_rerank_freqcap.cpython-313-pytest-9.0.2.pyc and /dev/null differ diff --git a/server/tests/__pycache__/test_scoring.cpython-313-pytest-9.0.2.pyc b/server/tests/__pycache__/test_scoring.cpython-313-pytest-9.0.2.pyc deleted file mode 100644 index a523139..0000000 Binary files a/server/tests/__pycache__/test_scoring.cpython-313-pytest-9.0.2.pyc and /dev/null differ