Skip to main content

Multi-signal tile scoring — keyword, belief, domain, temporal, ghost, frequency, controversy

Project description

plato-tile-scorer

Multi-signal tile scoring — keyword, belief, domain, temporal, ghost, frequency, controversy.

Part of the PLATO framework — deterministic AI knowledge management through tile-based architecture.

Installation

pip install plato-tile-scorer

Usage

from plato_tile_scorer import TileScorer

scorer = TileScorer()

result = scorer.score(
    tile={
        "content": "Pythagorean triples snap to exact coordinates with zero drift",
        "confidence": 0.9,
        "domain": "constraint-theory",
        "priority": "P0",
    },
    query="pythagorean snapping",
)

print(result.score)    # weighted sum + deadband boost
print(result.signals)  # {"keyword": 0.33, "belief": 0.9, ...}
print(result.gated)    # False (keyword overlap > 0.01)

7 Scoring Signals

Signal Weight Description
keyword 0.30 Token-level Jaccard overlap with query
belief 0.25 Confidence/belief score of tile
domain 0.20 Domain match with query context
temporal 0.15 Age-based freshness decay
ghost 0.15 Resurrection survival bonus
frequency 0.10 Usage count scaling
controversy 0.10 Counterpoint survival rate

Keyword gating: if overlap < 0.01, score drops to 0. Deadband boost: P0 +10, P1 +1.

Zero external dependencies. Compatible with Python 3.8+.

GitHub

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plato_tile_scorer-0.1.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plato_tile_scorer-0.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file plato_tile_scorer-0.1.0.tar.gz.

File metadata

  • Download URL: plato_tile_scorer-0.1.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for plato_tile_scorer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0abc3bd292ffd98b63b3b5b72c7862f485933bd18ff3c55dae44def841b92226
MD5 f42ac37f49c965cdccf70a08775aa118
BLAKE2b-256 51c6661f47bfea3c7989013ce61315a82cfa5f8a69a89ba53cf3922b5066d21d

See more details on using hashes here.

File details

Details for the file plato_tile_scorer-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for plato_tile_scorer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3371b7c670d705ef4ec81d26cc51d025b562eb51adab79e9ff07ae0f1c22ba92
MD5 5f252bc2f0d3a5cf3c71cb1739a667ef
BLAKE2b-256 cf5bd476f8563df68b490c1305a67b80c63f3481b016c4e10fefd9591412edc2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page