Passing an integer to a CV splitter guarantees identical folds across estimator comparisons, while a RandomState instance causes different splits on each split() call, making fold-wise scores non-comparable.
scikit-learn / cross-validation / random_state / reproducibility / RandomState / KFold / model-comparison
Use SHA-256 hash-checking when servers can still reach an index but you need tamper resistance beyond version pinning; use a wheelhouse when the server is offline or must avoid recompilation. Choose the repeatability level by environment: pinning for a cross-platform baseline, hashes for automated tamper protection, and wheelhouse for full offline isolation with portability limits.
pip / repeatable installs / SHA-256 hash-checking / wheelhouse / requirements.txt / offline deployment / server deployment / Python packaging
Fit preprocessing steps like feature selection and StandardScaler only on the training split; a scikit-learn Pipeline enforces the correct fit/transform sequence and prevents optimistic scores.
scikit-learn / data leakage / preprocessing / pipeline / feature selection / cross-validation
Hash-checking verifies artifact integrity against a pinned digest at install time, making it suitable for automated server deployments that can reach public indexes but do not need offline availability guarantees.
pip / hash-checking / wheelhouse / supply-chain / reproducible-installs / sha256 / server-deployment
In SQL's three-valued logic, NOT UNKNOWN remains UNKNOWN. This causes WHERE clauses to silently exclude rows with NULL values when using negated comparisons, leading to incomplete result sets.
sql / postgresql / nulls / three-valued logic / database / querying / sql-logic / data-integrity
JSON only allows string keys for objects. Consequently, json.dumps converts numeric Python dictionary keys to strings, meaning loads(dumps(x)) != x for dictionaries with non-string keys. This causes KeyErrors when looking up integer token IDs in dictionaries loaded from JSON.
python / json / serialization / dict-keys / token-id / round-trip
Use [build-system] for build-time dependencies and [project] for runtime dependency specifiers, then keep pyproject.toml as a declaration rather than a lockfile. For repeatable installs, generate a separate pinned requirements file, add hash-checking, or build a wheelhouse bundle instead of overloading pyproject.toml with locked install state.
pyproject.toml / build-system / project metadata / repeatable installs / pip / pinning / hash-checking / wheelhouse
Use static caching and snapshots in SAP HANA Cloud to reduce query latency for infrequently updated calculation views by persisting precomputed results.
SAP HANA Cloud / Calculation View Optimization / Static Caching / Query Performance / SQL Analyzer
Oracle treats zero-length character values as NULL, breaking portability and comparison logic; always use IS NULL explicitly.
Oracle / NULL / empty string / portability / SQL
additionalProperties only sees properties in the same subschema, so allOf extension fails to reject unknown keys. Use unevaluatedProperties in draft 2019-09 or later to recognize nested subschema properties without redeclaring them.
JSON Schema / allOf / additionalProperties / unevaluatedProperties / draft 2019-09 / schema extension / validation / object schema
Reproducibility is built in layers: exact version pins, SHA-256 artifact hashes, and a bundled wheelhouse for offline installs. Each layer removes a different source of drift, and none of them replaces pyproject.toml, which describes how the project itself is built.
python / dependency-management / pip / reproducibility / sha256 / wheelhouse / packaging / pyproject-toml
Use SQL Analyzer to see how far HANA parallelized a query, then partition large tables on a key aligned with common filters. Partitioning creates segments the engine can process concurrently, but a skewed key can undo the gain.
SAP HANA Cloud / table partitioning / parallelism / SQL Analyzer / query performance / data skew / range partitioning / SQL plan variants
Standard comparisons return UNKNOWN for NULL operands, yet Oracle's DECODE and its compound-key rules treat two NULLs as matching. This article explains the split and where it stops applying.
sql / oracle / null-semantics / three-valued-logic / decode / composite-keys / sql-server / portability
scikit-learn scorers must return higher-is-better values, so error metrics are registered as neg_-prefixed strings that cross_val_score and GridSearchCV maximize. Negate the returned scores to recover the original loss.
scikit-learn / cross-validation / GridSearchCV / regression-metrics / scoring-API / MAE / model-selection
Python's json module silently emits NaN and Infinity tokens that violate RFC 7159, breaking strict external parsers. Setting allow_nan=False and parse_constant enforces compliance on both serializer and deserializer sides.
json / python / rfc-7159 / nan / infinity / allow_nan / parse_constant / interoperability
Debug Query mode shows pushdown and pruning, while HANA SQL Analyzer reports actual execution: timings, row counts, parallelism and engines. Analyzing a plan file in HANA SQL Analyzer requires the SAP HANA Performance Tools extension in the development space and both TRACE ADMIN and INIFILE ADMIN for the analyzing user.
SAP HANA Cloud / SQL Analyzer / query plan / SAP Business Application Studio / performance / Debug Query mode / privileges / HDI container
SQL uses three-valued logic where NULL comparisons return UNKNOWN rather than TRUE or FALSE, causing WHERE clauses to silently drop rows. Only IS NULL and IS NOT NULL reliably test for missing values across all standard SQL engines.
sql-null / three-valued-logic / where-clause / is-null / ansi-nulls / oracle / sql-server / comparison-operators
MAE counts each prediction error linearly and without a cap: one large error shifts the metric by its magnitude divided by n. Outlier robustness means no quadratic amplification, not insensitivity to extreme errors.
regression / metrics / MAE / outliers / scikit-learn / model-evaluation
Python's json.loads silently keeps only the last value when a JSON object contains duplicate keys, discarding earlier ones without warning. The object_pairs_hook parameter intercepts the full ordered list of key-value pairs before dict construction, enabling explicit duplicate detection at parse time.
json / object_pairs_hook / duplicate-keys / LLM-output / python / parsing / validation
Plan Variants let SAP HANA Cloud cache multiple execution plans for a single parameterized statement, selecting the best plan per filter selectivity cluster to reduce performance swings caused by varying parameter values and data distribution.
SAP HANA Cloud / Plan Variants / Parameterized Queries / SQL Performance Fluctuation / Query Plan Cache / M_SQL_PLAN_VARIANTS / SQL Analyzer / Data Selectivity
NULL propagates through arithmetic, COUNT(*) differs from COUNT(column) by ignoring nulls, and Oracle DECODE uniquely treats two NULLs as equal while standard comparisons return UNKNOWN.
null-semantics / three-valued-logic / oracle / sql-server / decode / count / ansi-nulls / arithmetic-propagation
Fix the forecast target from the decision it supports, then train and evaluate with its strictly consistent loss: mean with squared error, median with absolute error, quantile with pinball loss.
time series forecasting / loss functions / quantile regression / pinball loss / MAE / RMSE / model evaluation / scikit-learn
A Pipeline chains preprocessing and estimation so that fit statistics come only from training folds. This prevents leakage during cross-validation and keeps training and inference transformations consistent.
scikit-learn / pipeline / data-leakage / cross-validation / preprocessing
Timestamps in ASR provide temporal data for spoken words or segments. Configuring pipelines for word-level timestamps enhances transcription utility for tasks like meeting notes.
ASR / timestamps / speech recognition / Hugging Face / transformers / NLP / audio processing