@laplace.live/internal 1.3.34 → 1.3.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@laplace.live/internal",
3
- "version": "1.3.34",
3
+ "version": "1.3.37",
4
4
  "module": "src/index.d.ts",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -809,8 +809,8 @@ export declare namespace LaplaceInternal {
809
809
  }
810
810
 
811
811
  /**
812
- * How far a recorded period landed from its predicted start. Ovulation is predicted as next period - 14 days,
813
- * so this is also the ovulation-date error.
812
+ * How far a recorded period landed from its predicted start. Ovulation is predicted at a fixed offset before the
813
+ * next period (cycle day L - 14), so this is also the ovulation-date error.
814
814
  *
815
815
  * @since Oct 4, 2026
816
816
  */
@@ -987,6 +987,9 @@ export declare namespace LaplaceInternal {
987
987
 
988
988
  /**
989
989
  * Response for GET /bilibili/fertilities
990
+ *
991
+ * Query params:
992
+ * - `?showOutdated=true` — include users with no period recorded in the last 365 days; hidden by default since Oct 6, 2026
990
993
  */
991
994
  export interface FertilityListResponse {
992
995
  data: FertilityListItem[]
@@ -1214,6 +1217,32 @@ export declare namespace LaplaceInternal {
1214
1217
  avgProcessingTimeMs: number | null
1215
1218
  /** Average time from submission to approval/rejection in hours (1 decimal) */
1216
1219
  avgProcessingTimeHours: number | null
1220
+ /** Site-wide accuracy of our period/ovulation predictions */
1221
+ predictionAccuracy: SitePredictionAccuracy
1222
+ }
1223
+
1224
+ /**
1225
+ * Site-wide prediction accuracy for one CST calendar month of recorded periods
1226
+ *
1227
+ * @since Oct 4, 2026
1228
+ */
1229
+ export interface PredictionAccuracyMonth extends PredictionAccuracy {
1230
+ /** YYYY-MM (CST) of the recorded period start */
1231
+ month: string
1232
+ }
1233
+
1234
+ /**
1235
+ * Every user's scored periods pooled (scoring rules: see PredictionAccuracy)
1236
+ *
1237
+ * @since Oct 4, 2026
1238
+ */
1239
+ export interface SitePredictionAccuracy {
1240
+ /** All scored periods across all users */
1241
+ overall: PredictionAccuracy
1242
+ /** Users with at least one scored period */
1243
+ users: number
1244
+ /** Ascending; months without scored periods are omitted */
1245
+ months: PredictionAccuracyMonth[]
1217
1246
  }
1218
1247
 
1219
1248
  // ============================================