Browse Source

fix: correct LaTeX formatting in README.md

liuyuqi-dellpc 8 months ago
parent
commit
e2fd87da7e
1 changed files with 6 additions and 8 deletions
  1. 6 8
      README.md

+ 6 - 8
README.md

@@ -1,15 +1,13 @@
 # github_score
 
 GitHub Score Formula:
-$$
-rank = 1 - \frac{1}{W} \sum_{i=1}^{n} w_i \cdot f_i \left( \frac{x_i}{m_i} \right)
-$$
+$$rank = 1 - \frac{1}{W} \sum_{i=1}^{n} w_i \cdot f_i \left( \frac{x_i}{m_i} \right)$$
 Where:
--   \(W\) is the total weight
--   \(w_i\) is the weight of the \(i\)-th parameter
--   \(f_i\) is the score function for the \(i\)-th parameter (`exponential_cdf` or `log_normal_cdf`)
--   \(x_i\) is the actual value of the \(i\)-th parameter
--   \(m_i\) is the median of the \(i\)-th parameter
+-   $W$ is the total weight
+-   $w_i$ is the weight of the $i$-th parameter
+-   $f_i$ is the score function for the $i$-th parameter (`exponential_cdf` or `log_normal_cdf`)
+-   $x_i$ is the actual value of the $i$-th parameter
+-   $m_i$ is the median of the $i$-th parameter
 
 Calculate the total score (`rank`) using this formula, and then determine the user's level based on the `rank` value.