{
  "evidence_id": "D22_CLASSIFIER_V1_2026-09-15",
  "task": "[4.2] Classifier v1",
  "status": "VERIFIED",
  "completed": "[4.2]",
  "next": "[4.3] Canonical URL и stable article ID",
  "implementation": {
    "local_core": "d22-backend/save_internet_core.py",
    "local_api": "d22-backend/d22_receiver_api.remote.py",
    "server2_core": "/mnt/ssd_projects/apps/mathchast_editor/app/save_internet_core.py",
    "server2_backup": "/mnt/ssd_projects/apps/mathchast_editor/app/save_internet_core.py.pre-classifier-20260915",
    "server2_api_backup": "/mnt/ssd_projects/apps/mathchast_editor/app/d22_receiver_api.py.pre-classifier-20260915",
    "classifier_version": "d22-classifier-v1",
    "packet": "statiya-poluchatel-1/Statiya_poluchatel_1_D22_1_TASK_008_ARTICLE_CLASSIFIER_V1_PACKET.html",
    "packet_sha256": "a9230f60a2833d1063de03d23ad72e90f36f2ca8f85c22e1b2208b1dc56045cf"
  },
  "behavior": [
    "HTTP and browser-fallback pages are classified after fetch/capture and before archive derivatives are written.",
    "Listing, service, forum, video-only, missing text, missing image and uncertain pages are excluded.",
    "Ordinary articles and short standalone notes with affirmative evidence are included.",
    "Each result persists decision, reason_code, confidence, signals and classifier version in job state; a classify_completed event is added to the journal.",
    "No guessed global word-count or image-dimension threshold was introduced; source-specific thresholds remain an accepted-contract item."
  ],
  "tests": {
    "local_command": "python -m unittest discover -s d22-backend -p 'test_*.py' -v",
    "local_result": "8/8 passed",
    "server2_command": "cd /tmp && sudo -n -u mathchast-editor /opt/scrape-venv/bin/python -m unittest discover -s /tmp -p 'test_d22_runtime.py' -q",
    "server2_result": "8/8 passed",
    "server2_api_health": "ok; mathchast-editor-api.service active; dispatcher_alive=true; browser fallback statuses present"
  },
  "fixture_cases": [
    "ordinary article -> INCLUDE_ARTICLE",
    "short standalone tip -> INCLUDE_SHORT_NOTE",
    "category/listing -> EXCLUDE_LISTING",
    "contact -> EXCLUDE_SERVICE",
    "video-only with poster -> EXCLUDE_VIDEO_ONLY",
    "no qualifying image -> EXCLUDE_NO_CONTENT_IMAGE",
    "no meaningful text -> EXCLUDE_NO_MEANINGFUL_TEXT",
    "ambiguous page -> EXCLUDE_UNCERTAIN"
  ],
  "known_scope": [
    "Exact source-specific thresholds and profile tuning are MISSING until accepted fixture-backed values are supplied.",
    "Stable IDs and canonical identity remain [4.3]."
  ],
  "code_sha256": {
    "d22-backend/save_internet_core.py": "94ae0056c31039d37d6a6acda29697666c57511c03ec523fd89ab98dbb005081",
    "d22-backend/d22_receiver_api.remote.py": "37b215f023bb417cd4bc208e9e012958c8b1a39e9a9507286aede61909be7a91",
    "d22-backend/test_d22_runtime.py": "98770d14bbb93766c4bc36010d305376df82e13841e7079e6948f3effa18c41d"
  }
}
