feat: 우산분실각(비 그친 뒤 우산 두고 오기 쉬운 정도)·교통체증각(출퇴근길 비·눈·추위) 추가, '앞서 비 옴' 조건(rain_before)
This commit is contained in:
1 parent
b586db0de7
commit
0aeceac257
5 files changed
+186
-3
No files matched your search
@@ -3730,5 +3730,159 @@
|
||||
"sort_order": 51,
|
||||
"priority": 3,
|
||||
"months": []
|
||||
},
|
||||
{
|
||||
"code": "umbrella_lost",
|
||||
"name": "우산분실각",
|
||||
"icon": "umbrella",
|
||||
"category": 4,
|
||||
"is_fun": false,
|
||||
"is_core": false,
|
||||
"has_detail": true,
|
||||
"description": "오전 9시~밤 10시, 비가 그쳐서 우산을 두고 오기 쉬운 정도",
|
||||
"windows": [
|
||||
{
|
||||
"from": 9,
|
||||
"to": 11
|
||||
},
|
||||
{
|
||||
"from": 11,
|
||||
"to": 13
|
||||
},
|
||||
{
|
||||
"from": 13,
|
||||
"to": 15
|
||||
},
|
||||
{
|
||||
"from": 15,
|
||||
"to": 17
|
||||
},
|
||||
{
|
||||
"from": 17,
|
||||
"to": 19
|
||||
},
|
||||
{
|
||||
"from": 19,
|
||||
"to": 22
|
||||
}
|
||||
],
|
||||
"weight_temp": 0,
|
||||
"weight_rain": 80,
|
||||
"weight_wind": 0,
|
||||
"weight_humidity": 0,
|
||||
"weight_air": 0,
|
||||
"weight_uv": 0,
|
||||
"weight_sun": 0,
|
||||
"weight_view": 0,
|
||||
"weight_time": 20,
|
||||
"factor_rules": {
|
||||
"temp": {
|
||||
"type": "range",
|
||||
"lo": 0,
|
||||
"hi": 40
|
||||
},
|
||||
"rain": {
|
||||
"dir": "dry"
|
||||
},
|
||||
"wind": {
|
||||
"type": "ignore"
|
||||
},
|
||||
"humidity": {
|
||||
"type": "ignore"
|
||||
},
|
||||
"time": {
|
||||
"type": "fixed",
|
||||
"value": 100
|
||||
}
|
||||
},
|
||||
"zero_rules": [
|
||||
{
|
||||
"field": "rain_before",
|
||||
"op": "==",
|
||||
"value": "no"
|
||||
},
|
||||
{
|
||||
"field": "rain",
|
||||
"op": "==",
|
||||
"value": "yes"
|
||||
}
|
||||
],
|
||||
"limit_description": "비가 언제 그칠지는 예보만큼만 맞아요",
|
||||
"sentences": {
|
||||
"0": "우산 두고 올 일 없는 날이에요.",
|
||||
"30": "비가 오락가락해요. 우산 손에 꼭 쥐어요.",
|
||||
"60": "비가 그쳤어요. 카페·버스에 우산 두고 오기 딱 좋아요.",
|
||||
"80": "비 끝, 하늘 맑음! 일어날 때 우산부터 챙겨요 ☂️"
|
||||
},
|
||||
"sort_order": 52,
|
||||
"priority": 2,
|
||||
"months": []
|
||||
},
|
||||
{
|
||||
"code": "traffic",
|
||||
"name": "교통체증각",
|
||||
"icon": "drive",
|
||||
"category": 4,
|
||||
"is_fun": false,
|
||||
"is_core": false,
|
||||
"has_detail": true,
|
||||
"description": "출퇴근길 비·눈·추위로 차가 막히는 정도",
|
||||
"windows": [
|
||||
{
|
||||
"from": 7,
|
||||
"to": 10
|
||||
},
|
||||
{
|
||||
"from": 17,
|
||||
"to": 20
|
||||
}
|
||||
],
|
||||
"weight_temp": 10,
|
||||
"weight_rain": 70,
|
||||
"weight_wind": 0,
|
||||
"weight_humidity": 0,
|
||||
"weight_air": 0,
|
||||
"weight_uv": 0,
|
||||
"weight_sun": 0,
|
||||
"weight_view": 0,
|
||||
"weight_time": 20,
|
||||
"factor_rules": {
|
||||
"temp": {
|
||||
"type": "lower",
|
||||
"zero": 10,
|
||||
"full": -5
|
||||
},
|
||||
"rain": {
|
||||
"dir": "wet"
|
||||
},
|
||||
"wind": {
|
||||
"type": "ignore"
|
||||
},
|
||||
"humidity": {
|
||||
"type": "ignore"
|
||||
},
|
||||
"time": {
|
||||
"type": "weekday",
|
||||
"mon": 100,
|
||||
"tue": 100,
|
||||
"wed": 100,
|
||||
"thu": 100,
|
||||
"fri": 100,
|
||||
"sat": 40,
|
||||
"sun": 40,
|
||||
"holiday": 30
|
||||
}
|
||||
},
|
||||
"zero_rules": [],
|
||||
"limit_description": "사고·공사·행사로 막히는 건 반영하지 못해요",
|
||||
"sentences": {
|
||||
"0": "길이 수월해요. 평소처럼 나가요.",
|
||||
"30": "조금 더뎌 수 있어요. 10분 일찍!",
|
||||
"60": "빗길에 차가 막혀요. 대중교통이 나아요.",
|
||||
"80": "출퇴근길 주차장 예상! 30분 일찍 나서요 🚗"
|
||||
},
|
||||
"sort_order": 53,
|
||||
"priority": 2,
|
||||
"months": []
|
||||
}
|
||||
]
|
||||
Reference in new issue
Block a user