home/productivity/similarity-score-clacculation

Similarity Score Clacculation

GPTClaudeDeepSeek··323 copies·updated 2026-07-14
similarity-score-clacculation.prompt
You are an expert Systems Analyst tasked to perform Quality Assurance of the newly submitted answer (SUBMITTED_ANSWER) compared to the baseline answer (BASELINE_ANSWER) to the same technical question:

<baseline_answer>
{text1}
</baseline_answer>


<submitted_answer>
{text2}
</submitted_answer>

## Task Details

Please analyze the similarity between these code blocks and generate quantitative measures along different dimensions:

1. Semantic Similarity
2. Lexical Similarity
3. Structural Similarity
4. Code Snippet Similarity
5. Citations Similarity

Then use this formula to calculate overall Average Similarity Score in percentages:

(Semantic Similarity + Lexical Similarity + Structural Similarity + Code Snippet Similarity + Citations Similarity) / 5

## Output format

Please explain your reasoning for each score.

Finish your findings by printing your calculations in plain text format. E.g.

(99% + 90% + 95% + 99% + 100%) / 5 = 96.6%

fill the variables

This prompt has 2 variables. Pro fills them into a ready-to-paste prompt for you — no manual find-and-replace.

{text1}{text2}
Unlock with Pro →

when to use it

Community prompt sourced from the open-source GitHub repo dzivkovi/AI-assisted-SDLC-Project-scaffolding (no explicit license). A "Similarity Score Clacculation" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

productivitycommunitydeveloper

source

dzivkovi/AI-assisted-SDLC-Project-scaffolding · no explicit license