Ajna Score: A Technical Whitepaper
We translate ancient cosmic science into a modern, quantifiable, and deterministic vitality metric for stocks, sports, and personal entities. Our mission is to reveal the subtle energy and karmic blueprint that underpins life's events through a transparent, rule-based engine.
1. The Ajna Score: A Deterministic Vitality Metric
The Ajna Score is a Vitality Score from 0 to 100 that quantifies the astrological strength and sentiment surrounding an entity at a specific moment. It is not a stock price prediction or a game score forecast. Instead, it measures the underlying cosmic "weather"—whether planetary alignments suggest a period of opportunity and strength or one of challenge and pressure.
Our platform was born from a desire to bridge the gap between the profound wisdom of Vedic Astrology (Jyotish) and the data-driven modern world. We provide a unique lens to view the inherent momentum and potential of any person, company, or event with a known "birth" time. The entire system is deterministic; given the same inputs, it will always produce the same output, ensuring consistency and auditability.
2. Core Architectural Principles
The Ajna Score is the output of a multi-layered, deterministic mathematical model. Our engine performs a dual-layer analysis, providing a holistic view by separating the tangible "event" potential from the underlying "mood" or psychological climate.
2.1. Mood Score (60% Weight)
Calculated from the entity's Moon sign (Chandra Lagna), this score reflects the psychological climate, public perception, brand sentiment, and emotional tone.
2.2. Event Score (40% Weight)
Calculated from the entity's Ascendant (Lagna), this score reflects tangible, real-world events, concrete actions, and structural opportunities or challenges.
2.3. The Individual Planet Score (IPS)
The core of our algorithm is the Individual Planet Score (IPS). Before any timeframe weighting is applied, each of the nine Vedic planets is evaluated based on a comprehensive set of metadata to determine its raw strength and condition.
- PlanetPowerPercentage: The planet's raw strength (Bala) from Shadbala calculations.
- PlanetOwnAshtakavargaBindu: A measure of the sign's favorability for the transiting planet (the "Environment" score).
- IsPlanetInMuditaAvasta: A state of happiness, providing a qualitative boost.
- IsPlanetInFriendSign / IsPlanetInOwnSign: Dignity based on being in a friendly or its own sign.
- IsPlanetVargottama: A powerful condition of occupying the same sign in the main and navamsha charts, indicating stability.
- IsPlanetExalted / IsPlanetDebilitated: The planet's peak strength or weakness based on its sign placement.
- IsPlanetCombust: A state of being too close to the Sun, which weakens the planet.
- IsPlanetAfflicted: A general flag indicating other challenging conditions.
- PlanetSpeed: The planet's current velocity, which can modify its effects.
- Aspects (Drishti): The "glance" of other planets is analyzed to apply multipliers. A protective glance from Jupiter can mitigate challenges, while a harsh glance from Saturn can increase pressure.
3. Timeframe-Specific Scoring Engine
The final Ajna Score is calculated by applying velocity-based weightings to each planet's IPS, tailored for different timeframes. This ensures that the influence of each planet is scaled according to its natural cycle.
- Live Score (Updated every hour): The score is dominated by the Moon's transit, reflecting the most immediate emotional and psychological shifts.
- Daily Score: Primarily driven by the Moon (highest weight), with secondary influences from the Sun, Mercury, and Venus. This score captures the sentiment and tone for a 24-hour period.
- Weekly Score: The focus shifts to the faster inner planets. Mercury, Venus, and the Sun receive higher weightings, reflecting their influence on the week's communications, social dynamics, and core focus.
- Monthly Score: Dominated by the Sun (which is in one sign for a month) and Mars. This score reflects the central theme and area of action for the month.
- Quarterly Score: Driven almost exclusively by the slow-moving giants Jupiter and Saturn. Their positions establish the major themes of opportunity, expansion, challenge, and responsibility for a three-month period.
4. Advanced Capabilities
For personal charts, our platform goes far beyond daily scores to provide a comprehensive life reading. We analyze the natal chart to identify core karmic patterns, strengths, and challenges.
4.1. Raja Yoga Detection (Strengths & Opportunities)
Our engine is trained to detect powerful Raja Yogas ("Royal Combinations")—specific planetary alignments that indicate a high potential for success, authority, and recognition. By identifying these yogas, we pinpoint the source of your greatest strengths and opportunities.
4.2. Predicting Your "Golden Years"
This is our most advanced feature. We synthesize two powerful predictive systems:
- The Promise (Raja Yogas): The static potential for success in your birth chart.
- The Timing (Dasha Systems): We calculate both the 120-year Vimshottari Dasha and the 36-year Yogini Dasha to create a precise karmic timeline.
Our "Golden Years" engine cross-references these two datasets. It identifies the exact periods when the planets ruling your timeline (Dasha lords) are the same planets that form your most powerful Raja Yogas. The result is a clear, actionable forecast of your peak periods for career growth, wealth creation, and personal achievement.
5. Technology & Data Sources
Ajna Score is built on a modern, serverless architecture to ensure reliability and scalability.
- Frontend: Next.js with React and TypeScript for a fast, modern user experience.
- Backend & Database: Google Cloud Firestore for all application data, with server-side logic handled by Next.js API Routes.
- Astrological Data Source: All foundational astrological data is sourced from the robust `vedastro.org` public API.
- Generative AI: We use Google's `genkit` with the Gemini family of models to generate the qualitative "Vedic Insights" that interpret the numerical scores and natal chart data.
- Hosting: The entire application is deployed on Firebase App Hosting for scalable and secure delivery.
6. For Educational & Entertainment Purposes Only
We must state this clearly: Ajna Score is an experimental platform built for educational and entertainment purposes. The scores and insights are based on astrological theories and should not be used as the basis for any financial or strategic decisions. Our goal is to spark curiosity and offer a different perspective, not to provide advice. We encourage you to explore, learn, and enjoy the insights with an open and discerning mind.