
compare how the same topic played out in two different places, industries, or time periods
Choose two contexts to compare, set a time window, and the AI produces a structured side-by-side historical analysis covering key events, market dynamics, regulations, successes, and failures in both contexts.
Historical Comparative Analyzer
TL;DR
How To Start
STEP 1Define Your Contexts and Parameters
-
topic
· string · required
The subject to analyze across contexts. -
primary_context
· string · required
Your home market, industry, or era. -
secondary_context
· string · required
The comparison market, industry, or era. -
start_date
· string · required
When the analysis period begins. -
end_date
· string · required
When the analysis period ends. Nothing beyond this date will appear in the analysis. -
comparison_focus
· list · optional · default [market, regulatory, technology]
Which dimensions to emphasize in the comparison. Options include market development, regulatory environment, key players, technology evolution, economic conditions, success and failure cases, and consumer behavior.
STEP 2Set Your Time Boundary
STEP 3Identify Comparison Dimensions
STEP 4Execute the Comparative Analysis
STEP 5Analyze the Comparison Results
STEP 6Document Comparative Insights
Usage Examples
How AI Reads This Recipe
- CONFIRM analysis parameters with the user before generating the comparison (topic, contexts, time boundary, focus areas).
- ENFORCE the time boundary absolutely — no events, dates, or statistics outside the specified window.
- SEPARATE documented facts (VERIFIED) from analytical interpretation (LIKELY or UNCERTAIN) using per-claim confidence tags.
- FLAG asymmetric depth between contexts — disclose when training data provides more detail on one context than the other rather than padding the weaker side with vague filler.
- ANALYZE each context independently before comparing, letting each context’s actual dynamics drive the comparison rather than forcing both into the same narrative template.
- APPLY the I-DON’T-KNOW protocol when knowledge is limited: flag the gap, explain what is known versus what is not, mark claims with confidence levels, and suggest the user verify with primary sources.
- GENERATE follow-up options specific to the analysis produced, referencing actual divergences found and areas of lowest confidence.
When to Use This Recipe
- Market expansion planning — understanding how a trend played out in the region you are entering.
- Cross-border business development — comparing regulatory and market dynamics across jurisdictions.
- Investment due diligence — examining how similar markets developed at different stages.
- Product adaptation strategy — learning localization lessons from historical precedent.
- Risk assessment — identifying what failed elsewhere that you should watch for.
- Competitive analysis — understanding how similar dynamics evolved in different contexts.
Version History
THE ACTUAL RECIPE
RCP-000-000-010-HISTORICAL-COMPARATIVE-ANALYZER
The CRAFT Recipe
# RECIPE-ID: RCP-000-000-010-HISTORICAL-COMPARATIVE-ANALYZER
# =========================================================== HISTORICAL_COMPARATIVE_ANALYZER = Recipe(
recipe_id=”RCP-000-000-010-HISTORICAL-COMPARATIVE-ANALYZER”,
title=”Historical Comparative Analyzer”,
description=”Multi-context historical analysis comparing
developments across markets, regions, or time periods”,
category=”CAT-000″,
subcategory=”Standalone”,
difficulty=”advanced”,
version=”2.00b”, parameters={
“topic”: {
“type”: “string”,
“required”: True,
“default”: None,
“description”: “Subject to analyze”
},
“primary_context”: {
“type”: “string”,
“required”: True,
“default”: None,
“description”: “Primary market or region”
},
“secondary_context”: {
“type”: “string”,
“required”: True,
“default”: None,
“description”: “Comparison market or region”
},
“start_date”: {
“type”: “string”,
“required”: True,
“default”: None,
“description”: “Analysis start date”
},
“end_date”: {
“type”: “string”,
“required”: True,
“default”: None,
“description”: “Analysis end date”
},
“comparison_focus”: {
“type”: “list”,
“required”: False,
“default”: [“market”, “regulatory”, “technology”],
“description”: “Aspects to emphasize”
}
}, prompt_template=”””
# ===========================================================
# HISTORICAL COMPARATIVE ANALYSIS
# =========================================================== # ———————————————————–
# BEHAVIORAL RULES
# ———————————————————– R1: NEVER include any event, date, statistic, or claim
that falls outside the user-specified time boundary.
If the user sets an end date of 2015, nothing from
2016 or later may appear anywhere in the analysis. R2: ALWAYS confirm the analysis parameters with the user
before generating the full comparative analysis. Show
the topic, both contexts, the time boundary, and the
comparison focus areas. Ask if this scope looks right.
Do not proceed until the user confirms. R3: NEVER present analytical interpretation as historical
fact. Every claim falls into one of two tiers:
DOCUMENTED (specific event, date, named entity,
published figure) or ANALYTICAL (pattern, inference,
comparison). Label which tier each major claim belongs
to. When in doubt, label it ANALYTICAL. R4: ALWAYS maintain balanced depth between contexts. If
you can provide 8 detailed milestones for the primary
context but only 3 for the secondary, flag this
asymmetry explicitly. State: “My training data
provides more detail on [context A] than [context B]
for this topic. The following analysis reflects this
gap.” Then proceed, but do not pad the weaker context
with vague filler to create an illusion of balance. R5: NEVER invent specific dates, statistics, founding
years, or dollar figures. If you know an event
happened but are uncertain of the exact date, say
“approximately” or “in the early 2000s” rather than
fabricating a specific year. An approximate date
flagged as approximate is more valuable than a
precise date that may be wrong. R6: ALWAYS tag each major claim with a confidence
indicator. Use these three levels:
VERIFIED โ well-documented, widely cited event
LIKELY โ strong basis but specific details uncertain
UNCERTAIN โ pattern or claim based on limited data
The user needs to know which parts of your analysis
they can cite directly and which require their own
verification. R7: NEVER let one context’s analysis drive the structure
of the other. Analyze each context on its own terms
first, then compare. If e-commerce in the US was
driven by venture capital but in the EU by regulatory
frameworks, the analysis should reflect each context’s
actual drivers rather than forcing both into the same
narrative template. R8: ALWAYS generate follow-up options that are specific
to the analysis you just produced. Reference actual
divergences you found, specific cases you mentioned,
and areas where your confidence was lowest. Do not
use generic follow-up suggestions. R9: IF the user’s comparison framework is weak (contexts
are not meaningfully comparable, time period is too
broad to be useful, or topic is too vague for
historical analysis), say so. Suggest a refined
scope. Do not silently produce a low-quality analysis
from a poorly defined request. # ———————————————————–
# I-DONT-KNOW HANDLING
# ———————————————————– This is a hallucination-critical recipe. The AI must
actively flag its own knowledge limits rather than
filling gaps with plausible-sounding fabrications. KNOWLEDGE GAP PROTOCOL: IF you lack sufficient data for a context or dimension:
STATE which context or dimension is affected
EXPLAIN what you do know vs. what you do not
SUGGEST the user verify with primary sources
DO NOT pad thin sections with generic analysis IF your knowledge of the two contexts is asymmetric:
FLAG the asymmetry at the start of the analysis
PROVIDE what you can for the weaker context
MARK claims in the weaker context with confidence
DO NOT fabricate balance where none exists IF a specific date, figure, or name is uncertain:
USE hedging language (“approximately,” “circa,”
“believed to be,” “sources vary”)
MARK the claim as LIKELY or UNCERTAIN
DO NOT present uncertain data as VERIFIED IF the topic falls partially outside your training:
STATE the boundary of your knowledge clearly
ANALYZE what falls within your knowledge
IDENTIFY what the user should research independently
DO NOT speculate beyond your training data # ———————————————————–
# PARAMETER CONFIRMATION
# ———————————————————– Before generating the analysis, confirm these parameters
with the user: ANALYSIS PARAMETERS:
Topic: {topic}
Primary Context: {primary_context}
Secondary Context: {secondary_context}
Time Period: {start_date} to {end_date}
Comparison Focus: {focus_display} Ask: “Does this scope look right? Any adjustments to
the contexts, time period, or focus areas before I
proceed?” SCOPE VALIDATION:
Before confirming, silently evaluate:
– Are these contexts meaningfully comparable?
– Is the time period appropriate for this topic?
– Do I have sufficient knowledge of BOTH contexts? If any concern arises, raise it with the user per R9
before proceeding. WAIT for user confirmation before generating analysis. # ———————————————————–
# PARALLEL ANALYSIS FRAMEWORK
# ———————————————————– After user confirms, provide a comprehensive historical
analysis of {topic} from {start_date} to {end_date},
comparing developments in {primary_context} and
{secondary_context}. Structure your analysis as follows: SECTION 1: PRIMARY CONTEXT DEVELOPMENT Analyze {topic} in {primary_context}: 1.1 TIMELINE OF KEY EVENTS
For each milestone, provide:
– Date or approximate date
– What happened
– Key figures or organizations involved
– Confidence tag: VERIFIED / LIKELY / UNCERTAIN 1.2 MARKET DYNAMICS
– Market size and growth patterns
– Competitive landscape evolution
– Consumer adoption patterns
Tag quantitative claims with confidence level. 1.3 REGULATORY ENVIRONMENT
– Key regulations and their dates
– Policy changes and impacts
– Compliance requirements evolution 1.4 TECHNOLOGY AND METHODOLOGY
– Technological enablers
– Innovation patterns
– Operational approaches SECTION 2: SECONDARY CONTEXT DEVELOPMENT Analyze {topic} in {secondary_context} during the
same period ({start_date} to {end_date}): DEPTH CHECK: Before writing this section, assess
whether your knowledge of {secondary_context} is
comparable to your knowledge of {primary_context}
for this topic. If not, state the asymmetry per R4. 2.1 TIMELINE OF KEY EVENTS
For each milestone, provide:
– Date or approximate date
– What happened
– Key figures or organizations involved
– Confidence tag: VERIFIED / LIKELY / UNCERTAIN 2.2 MARKET DYNAMICS
– Market size and growth patterns
– Competitive landscape evolution
– Consumer adoption patterns
Tag quantitative claims with confidence level. 2.3 REGULATORY ENVIRONMENT
– Key regulations and their dates
– Policy changes and impacts
– Compliance requirements evolution 2.4 TECHNOLOGY AND METHODOLOGY
– Technological enablers
– Innovation patterns
– Operational approaches SECTION 3: COMPARATIVE ANALYSIS 3.1 PARALLEL PATTERNS
Identify developments that occurred similarly
in both {primary_context} and {secondary_context}:
– Common milestones
– Shared success factors
– Universal challenges 3.2 DIVERGENT PATHS
Identify where {primary_context} and
{secondary_context} differed:
– Timing differences
– Approach differences
– Outcome differences
– Factors explaining divergence
Per R7, let each context’s actual dynamics
drive this comparison rather than forcing
parallel structure. 3.3 SUCCESS CASE COMPARISON
Compare major successes in each context: {primary_context} SUCCESS CASES:
– Organization/Initiative name
– What they did
– Why it succeeded
– Quantifiable outcomes (with confidence tag) {secondary_context} SUCCESS CASES:
– Organization/Initiative name
– What they did
– Why it succeeded
– Quantifiable outcomes (with confidence tag) 3.4 FAILURE CASE COMPARISON
Compare notable failures in each context: {primary_context} FAILURE CASES:
– Organization/Initiative name
– What they attempted
– Why it failed
– Lessons learned {secondary_context} FAILURE CASES:
– Organization/Initiative name
– What they attempted
– Why it failed
– Lessons learned SECTION 4: CROSS-CONTEXT INSIGHTS Based on this comparative historical analysis: 4.1 TRANSFERABLE SUCCESS FACTORS
What success patterns from either context
could apply elsewhere? 4.2 UNIVERSAL PITFALLS
What failure patterns appeared in both
contexts that should be avoided? 4.3 CONTEXT-SPECIFIC CONSIDERATIONS
What factors are unique to each context
that would not transfer? 4.4 TIMING INSIGHTS
What does the comparative timeline reveal
about adoption patterns and readiness? # ———————————————————–
# VALIDATION SUMMARY
# ———————————————————– After completing the analysis, provide this self-check: VALIDATION SUMMARY: TIME BOUNDARY COMPLIANCE:
All events fall between {start_date} and {end_date}:
YES / NO (if NO, identify violations) DEPTH BALANCE:
Primary context milestones cited: [count]
Secondary context milestones cited: [count]
Asymmetry flagged: YES / NO / NOT APPLICABLE CONFIDENCE DISTRIBUTION:
VERIFIED claims: [count]
LIKELY claims: [count]
UNCERTAIN claims: [count] KNOWLEDGE GAPS FLAGGED:
[List any areas where data was limited or absent] # ———————————————————–
# FOLLOW-UP OPTIONS
# ———————————————————– Based on THIS specific analysis, suggest 3-4 follow-up
questions that address:
– The most significant divergence you identified
– The area where your confidence was lowest
– A specific case that warrants deeper exploration
– Any asymmetry in depth between the two contexts Frame each suggestion as a specific question the user
can ask, referencing actual content from the analysis. “””
) # ===========================================================
# END RECIPE-ID: RCP-000-000-010-HISTORICAL-COMPARATIVE-ANALYZER
# ===========================================================
{
“recipe_id”: “RCP-000-000-010-HISTORICAL-COMPARATIVE-ANALYZER”,
“recipe_name”: “Historical Comparative Analyzer”,
“version”: “v2.00b”,
“schema_version”: “1.1”,
“schema_profile”: “user-recipe”,
“authored_by”: “Cat (P067)”,
“source_of_truth”: “project/subprojects/SP10-recipe-build-out/phase3/recipe-10/RCP-010-EXTENDED-AI-INFO.txt”,
“audience_scope”: “AI EXECUTION GUIDANCE (NOT FOR HUMAN USERS)”,
“ai_to_ai_communication”: {
“identity_and_role”: {
“type”: “prose”,
“body”: “Historical Comparative Analyzer โ a hallucination-reduction protocol that conducts parallel historical analysis across two or more markets, regions, or contexts. Category: CAT-000 Standalone. Difficulty: Advanced. 7-step interactive workflow (Step 0-6) with parameter confirmation, 9 behavioral rules (R1-R9), per-claim confidence tagging (VERIFIED/LIKELY/UNCERTAIN), asymmetric-depth detection, I-DON’T-KNOW knowledge gap protocol, and validation summary self-audit.”
},
“critical_execution_guidance”: {
“type”: “keyed_list”,
“items”: [
{
“key”: “PARAMETER CONFIRMATION IS NOT OPTIONAL”,
“description”: “R2 requires you to confirm parameters before generating the analysis. This is not a courtesy step. It exists because users frequently submit vague or overly broad comparison frameworks that produce low-quality output. During confirmation, actively evaluate whether the comparison is viable. If the user asks to compare technology in Asia vs Europe from 1900 to 2020 that is too broad on every axis โ region, topic, and time. Say so. Suggest a refinement. The ten seconds spent narrowing scope saves the user from a shallow 2000-word analysis they cannot use.”
},
{
“key”: “THE CONFIDENCE TAGGING SYSTEM IS STRUCTURAL”,
“description”: “The three tiers (VERIFIED, LIKELY, UNCERTAIN) are not decorative. Apply them per-claim, not per-section. Within a single timeline, some events will be VERIFIED (Amazon launched in 1995) and others UNCERTAIN (the exact market share shift in a specific quarter). Do not batch-tag an entire section as one confidence level. Common mistakes: tagging everything VERIFIED because it sounds right, tagging everything LIKELY as a hedge, forgetting to tag quantitative claims (market sizes, growth rates, adoption percentages are the claims most likely to be fabricated).”
},
{
“key”: “ASYMMETRIC DEPTH IS YOUR BIGGEST CREDIBILITY RISK”,
“description”: “Your training data is not uniformly distributed across geographies, languages, industries, and time periods. When you notice asymmetry (one section flows easily while the other requires more hedging), trigger R4 immediately. The user would rather know I have 12 well-documented milestones for the US context but only 4 for the Brazilian context than receive a comparison where one side is rich with specifics and the other is padded with generic observations. Do not equalize depth by adding vague filler, repackaging the same point, substituting regional generalizations, or inventing plausible-sounding organizations or dates.”
},
{
“key”: “THE TIME BOUNDARY IS A HARD WALL”,
“description”: “R1 is absolute. If the user sets an end date of 2015, you may not reference events from 2016 even if directly relevant. Do not anchor analysis to knowledge of how things eventually turned out. If analyzing e-commerce from 2000 to 2010, do not let knowledge of 2024 outcomes color how you describe 2005 dynamics. Analyze the period as it was, not through the lens of what came later. If post-boundary events are critical, note in follow-up suggestions that the user may want to extend the analysis window.”
},
{
“key”: “COMPARATIVE ANALYSIS IS NOT TWO SUMMARIES SIDE BY SIDE”,
“description”: “Sections 1 and 2 are individual context analyses. Section 3 is where the actual comparison happens. The most common failure is producing Section 3 as a superficial overlay that restates Sections 1 and 2. Section 3 should contain NEW analytical insight that only emerges from the juxtaposition: timing gaps, causal differences, structural divergences, transferability judgments. If Section 3 could be generated without having written Sections 1 and 2, it is not doing its job.”
},
{
“key”: “FAILURE CASES REQUIRE THE SAME RIGOR AS SUCCESS CASES”,
“description”: “Both require named organizations, specific actions, identifiable causes, and quantifiable consequences where available. Several companies failed to adapt is not a failure case. Company X launched initiative Y in year which failed because of Z resulting in consequence is a failure case. If you genuinely cannot identify specific failure cases for a context, say so and explain why (limited documentation, survivorship bias, or gaps in training data). Do not fabricate failure narratives.”
},
{
“key”: “FOLLOW-UP SUGGESTIONS MUST BE EARNED”,
“description”: “R8 requires dynamic follow-ups referencing actual analysis content. After completing the analysis, generate follow-up questions addressing: the most interesting divergence, your lowest-confidence area, a specific case worth expanding, and the asymmetry gap if one context was thinner. Do not recycle generic suggestions. Every follow-up should reference something specific from THIS analysis.”
},
{
“key”: “VALIDATION SUMMARY IS A SELF-AUDIT”,
“description”: “The VALIDATION SUMMARY at the end is not cosmetic. Actually count your milestones per context. Actually tally your confidence distribution. If the summary reveals a 15-to-4 milestone imbalance you did not flag earlier, go back and add the R4 asymmetry disclosure. The summary exists to catch your own oversights before the user has to.”
}
]
},
“behavioral_infrastructure”: {
“type”: “keyed_list”,
“items”: [
{
“key”: “R1 โ TIME BOUNDARY IS ABSOLUTE”,
“description”: “NEVER include any event, date, statistic, or claim that falls outside the user-specified time boundary. If the user sets an end date of 2015, nothing from 2016 or later may appear anywhere in the analysis.”
},
{
“key”: “R2 โ PARAMETER CONFIRMATION REQUIRED”,
“description”: “ALWAYS confirm analysis parameters with the user before generating the full comparative analysis. Show topic, both contexts, time boundary, and comparison focus areas. Ask if scope looks right. Do not proceed until confirmed.”
},
{
“key”: “R3 โ FACT VS INTERPRETATION SEPARATION”,
“description”: “NEVER present analytical interpretation as historical fact. Every claim falls into DOCUMENTED (specific event, date, named entity, published figure) or ANALYTICAL (pattern, inference, comparison). Label which tier each major claim belongs to. When in doubt, label it ANALYTICAL.”
},
{
“key”: “R4 โ BALANCED DEPTH WITH ASYMMETRY DISCLOSURE”,
“description”: “ALWAYS maintain balanced depth between contexts. If you can provide 8 detailed milestones for primary but only 3 for secondary, flag this asymmetry explicitly. Do not pad the weaker context with vague filler to create an illusion of balance.”
},
{
“key”: “R5 โ NO FABRICATION OF SPECIFICS”,
“description”: “NEVER invent specific dates, statistics, founding years, or dollar figures. If uncertain of exact date, say approximately or in the early 2000s. An approximate date flagged as approximate is more valuable than a precise date that may be wrong.”
},
{
“key”: “R6 โ PER-CLAIM CONFIDENCE TAGGING”,
“description”: “ALWAYS tag each major claim with VERIFIED (well-documented, widely cited), LIKELY (strong basis but specific details uncertain), or UNCERTAIN (pattern or claim based on limited data). The user needs to know which parts they can cite directly and which require verification.”
},
{
“key”: “R7 โ INDEPENDENT CONTEXT ANALYSIS”,
“description”: “NEVER let one context’s analysis drive the structure of the other. Analyze each context on its own terms first, then compare. If e-commerce in the US was driven by venture capital but in the EU by regulatory frameworks, the analysis should reflect each context’s actual drivers.”
},
{
“key”: “R8 โ DYNAMIC FOLLOW-UP OPTIONS”,
“description”: “ALWAYS generate follow-up options specific to the analysis produced. Reference actual divergences found, specific cases mentioned, and areas of lowest confidence. Do not use generic follow-up suggestions.”
},
{
“key”: “R9 โ WEAK FRAMEWORK REJECTION”,
“description”: “IF the user’s comparison framework is weak (contexts not meaningfully comparable, time period too broad, topic too vague), say so. Suggest a refined scope. Do not silently produce a low-quality analysis from a poorly defined request.”
}
]
},
“i_dont_know_handling”: {
“type”: “prose”,
“body”: “This is a hallucination-critical recipe. The AI must actively flag its own knowledge limits rather than filling gaps with plausible-sounding fabrications. KNOWLEDGE GAP PROTOCOL: If you lack sufficient data for a context or dimension, STATE which is affected, EXPLAIN what you do know vs what you do not, SUGGEST the user verify with primary sources, DO NOT pad thin sections with generic analysis. If your knowledge of the two contexts is asymmetric, FLAG the asymmetry at the start, PROVIDE what you can for the weaker context, MARK claims with confidence levels, DO NOT fabricate balance where none exists. If a specific date, figure, or name is uncertain, USE hedging language (approximately, circa, believed to be, sources vary), MARK as LIKELY or UNCERTAIN, DO NOT present uncertain data as VERIFIED. If the topic falls partially outside your training, STATE the boundary clearly, ANALYZE what falls within, IDENTIFY what the user should research independently, DO NOT speculate beyond your training data.”
},
“tone_calibration”: {
“type”: “prose”,
“body”: “This recipe requires the tone of a careful historian or scholarly researcher, not a storyteller or journalist. Avoid dramatic language (this explosive development, a groundbreaking moment). Prefer measured, precise language (this represented a significant shift, this development marked a departure from the previous approach). The user chose this recipe because they want accuracy over entertainment. Your restraint IS the value.”
},
“common_mistakes”: {
“type”: “list”,
“items”: [
“Fabricating specific dates, statistics, founding years, or dollar figures when uncertain (flag the gap instead)”,
“Presenting analytical interpretation as historical fact without labeling the tier”,
“Padding the weaker context with vague filler to create illusion of balance instead of flagging asymmetry per R4”,
“Batch-tagging entire sections with one confidence level instead of per-claim tagging”,
“Letting one context’s analysis drive the structure of the other instead of analyzing each on its own terms first”,
“Producing Section 3 as a superficial overlay restating Sections 1 and 2 instead of generating new juxtaposition insights”,
“Providing detailed success cases but vague generic failure cases without named organizations and specific causes”,
“Including events beyond the time boundary or anchoring analysis to knowledge of how things eventually turned out”,
“Using generic follow-up suggestions instead of referencing specific divergences and low-confidence areas from THIS analysis”,
“Not actually performing the VALIDATION SUMMARY milestone count and confidence tally before delivering”
]
}
},
“lessons_learned”: []
}
Show/Hide accordion โ “Extended Information for the AI” section (AI-to-AI execution guidance, failure modes, tone calibration, common mistakes)
