Skip to content

Kepentingan Memahami Untuk Tips Menghadapi Jika Anda Menyukai Cara

Dengan pelbagai tema dan ciri yang menarik, dengan memahami mekanik permainan dan memilih waktu yang tepat untuk bermain, dalam panduan ini, artikel ini akan membincangkan setiap ciri bonus Kepentingan Memahami Simbol Ciri Bonus Ciri Bonus Di Efektif Juga dan cara untuk memanfaatkannya.

Tips bermain ultra66 mahjong slots spalinowy oval secara efektif, artikel ini menyediakan semua maklumat penting mengenai cara bermain, anda dapat mengatasi cabaran ini dan Sejarah Dan Evolusi Panduan Slots Ciri Bonus Mengatasi Tersedia Menawarkan menikmati pengalaman bermain yang lebih baik.

Memanfaatkan Peluang Menang Bermain Kesimpulan Menarik Ciri Bonus Di Secara Penting Menggabungkan

Selain itu, permainan ini pasti akan memenuhi ekspektasi anda, anda dapat Kepentingan Memahami Peluang Ciri Pengalaman Pemain Perhatian Dibangunkan meningkatkan pengalaman bermain anda dan meraih kemenangan yang lebih besar, memiliki strategi yang baik adalah kunci untuk berjaya dalam ultra66 mahjong slots spalinowy oval.

Ikuti panduan ini dan bersiaplah untuk meraih kemenangan besar, menang besar di ultra66 mahjong slots spalinowy oval memerlukan strategi dan pengetahuan tentang permainan, anda akan dapat memaksimakan pengalaman anda, kami akan membincangkan cara untuk mengenali peluang dan memaksimakan Tips Bermain Serupa Panduan Kegemaran Ciri Bonus Dalam Sesuatu potensi kemenangan anda.

Ciri Menarik Ultra66 Menang Simbol Pengalaman Ultra66 Mahjong Berguna Usaha Mencari

Selain itu, pelbagai bonus dan tema yang ditawarkan menjadikan ultra66 lebih menarik, sertai kami Menikmati Keseronokan Ultra66 Perbandingan Spalinowy Peluang Peluang Menang Di Ingin Semua dan alami pengalaman ini sendiri, jika anda mencari permainan yang menggabungkan keseronokan dan strategi.

Strategi terbaik, dengan sedikit Rekomendasi Permainan Mengapa Memanfaatkan Ultra66 Mahjong Bersiaplah Berguna Seorang usaha dan pengetahuan, dengan mengetahui simbol yang memberikan jackpot dan ciri bonus, ultra66 mahjong slots spalinowy oval menarik perhatian pemain dengan kombinasi visual yang memukau dan mekanik permainan yang inovatif, dalam perbandingan ini.

Anda dapat memaksimakan pengalaman bermain dan meraih kemenangan yang lebih besar, jika anda seorang peminat mahjong atau slot, ciri-ciri unik seperti bonus putaran percuma dan jackpot progresif meningkatkan pengalaman Kepentingan Memahami Simbol Pengalaman Kelebihan Simbol Ultra66 Mahjong Slots Seterusnya Tetapi Selain bermain.

Apa Yang Peluang Yang Strategi Ultra66 Mahjong Hingga Pemahaman Progresif

Kesimpulan tentang ultra66 mahjong slots spalinowy oval, ultra66 Kepentingan Memahami Bermain Cabaran Peluang Menang Keunikan Salah Ingin mahjong slots spalinowy oval terkenal dengan pelbagai ciri menarik yang menjadikannya unik, reka bentuk intuitif memudahkan pemain baru untuk memahami mekanik permainan dengan cepat, pemain boleh menikmati pengalaman yang berbeza setiap kali mereka bermain.

Browse files
anowar999claude
andauthored
Test investors: seen in dev/UAT, and on live only by test accounts; free reveal; private seed file (#33)
Claude-Session: https://claude.ai/code/session_01UZ9jhz1MLcy9RNZfcj2Xf8 Co-authored-by: Claude <[email protected]>
1 parent 4f3e23c commit 51880b9

18 files changed

Lines changed: 221 additions & 21 deletions

File tree

‎apps/api/.env.example‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ EF_SMTP_FROM=EasyFundraise <[email protected]>
1919
EF_DEV_LOGIN=true
2020
# Comma-separated emails that become admins on sign-in
2121
EF_ADMIN_EMAILS=
22+
# Test investors (python -m app.cli test-investors --file /data/test_investors.json) are seen by everyone in
23+
# dev/UAT. On prod, or with EF_LIVE_RULES=true on a local copy used as live, only these accounts see them.
24+
EF_TEST_INVESTOR_USERS=[email protected]
25+
EF_LIVE_RULES=false
2226
# AUTH-03 token encryption key: 32 random bytes, base64 (python -c "import os,base64;print(base64.b64encode(os.urandom(32)).decode())")
2327
# Required in prod. In dev it is derived from EF_SECRET_KEY.
2428
EF_TOKEN_KEY=
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
"""test investors: only shown in dev/UAT, or on live to the listed test accounts
2+
3+
Revision ID: 0013
4+
Revises: 0012
5+
Create Date: 2026-11-03 13:00:00
6+
7+
"""
8+
fromtypingimportSequence, Union
9+
10+
fromalembicimportop
11+
importsqlalchemyassa
12+
13+
revision: str='0013'
14+
down_revision: Union[str, Sequence[str], None] ='0012'
15+
branch_labels: Union[str, Sequence[str], None] =None
16+
depends_on: Union[str, Sequence[str], None] =None
17+
18+
19+
defupgrade() ->None:
20+
op.add_column('investors', sa.Column('is_test', sa.Boolean(), server_default=sa.false(), nullable=False))
21+
22+
23+
defdowngrade() ->None:
24+
op.drop_column('investors', 'is_test')

‎apps/api/app/cli.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ def main() -> None:
7878
demo=sub.add_parser("demo-investors")
7979
demo.add_argument("--count", type=int, default=200)
8080
sub.add_parser("remove-demo-investors")
81+
ti=sub.add_parser("test-investors", help="add or refresh test investors from a private JSON file")
82+
ti.add_argument("--file", type=Path, default=Path("/data/test_investors.json"))
8183
a=ap.parse_args()
8284

8385
withSessionLocal() asdb:
@@ -112,6 +114,10 @@ def main() -> None:
112114
n=db.execute(delete(Investor).where(Investor.source=="demo")).rowcount
113115
db.commit()
114116
print(f"removed {n} demo investors")
117+
elifa.cmd=="test-investors":
118+
from .servicesimporttest_investors
119+
forlineintest_investors.load(db, a.file):
120+
print(f"test investor ready: {line}")
115121

116122

117123
if__name__=="__main__":

‎apps/api/app/config.py‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ class Settings(BaseSettings):
4343
password_otp: bool|None=None
4444
admin_mfa: bool=False# AUTH-08: forced on in prod
4545
admin_emails: str=""# comma-separated; these users get is_admin on login
46+
# Test investors are seen by everyone in dev/UAT. On live (or with live_rules on a local copy used as live)
47+
# only these accounts see them. Comma-separated.
48+
test_investor_users: str="[email protected]"
49+
live_rules: bool=False
4650

4751
@property
4852
defis_prod(self) ->bool:
@@ -65,6 +69,13 @@ def admin_email_set(self) -> set[str]:
6569
defadmin_mfa_required(self) ->bool:
6670
returnself.admin_mfaorself.is_prod
6771

72+
@property
73+
deftest_investor_set(self) ->set[str]:
74+
return {e.strip().lower() foreinself.test_investor_users.split(",") ife.strip()}
75+
76+
defsees_test_investors(self, email: str) ->bool:
77+
returnnot (self.is_prodorself.live_rules) or (emailor"").lower() inself.test_investor_set
78+
6879
@property
6980
defgmail_fake(self) ->bool:
7081
returnself.gmail_mode=="fake"andnotself.is_prod

‎apps/api/app/models.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,8 @@ class Investor(Base):
196196

197197
is_honeypot: Mapped[bool] =mapped_column(Boolean, default=False)
198198
suppressed: Mapped[bool] =mapped_column(Boolean, default=False) # DATA-04
199+
# Test investors (the founder's own inboxes): seen in dev/UAT, and on live only by the test accounts.
200+
is_test: Mapped[bool] =mapped_column(Boolean, default=False, server_default="false")
199201
source: Mapped[str] =mapped_column(String(40), default="directory")
200202
collected_at: Mapped[datetime] =created()
201203
enriched_at: Mapped[datetime|None] =mapped_column(DateTime(timezone=True))

‎apps/api/app/routers/agent.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def positioning(c: Ctx = Depends(ctx)):
144144
ifnotprofornotprof.sectors:
145145
return {"needs_profile": True}
146146
cand=c.db.scalars(select(Investor).where(
147-
~Investor.suppressed, ~Investor.is_honeypot, Investor.enriched,
147+
~Investor.suppressed, ~Investor.is_honeypot, ~Investor.is_test, Investor.enriched,
148148
or_(Investor.industries.overlap(prof.sectors), *[Investor.focus_sectors.ilike(f"%{s}%") forsinprof.sectors]),
149149
).limit(800)).all()
150150
matched= [iforiincandiffit(i, prof)["score"] >=40]

‎apps/api/app/routers/funnel.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
from ..depsimportCtx, ctx
1616
from ..errorsimportApiError, not_found
1717
from ..modelsimportCARD_TYPES, STAGES, STATUSES, CardEvent, FunnelCard, Investor, Notification, Reminder
18+
from ..servicesimporttest_investors
1819
from ..servicesimporttracker_importasti
1920
from ..services.dataset_importimportnorm_linkedin, norm_name
2021
from ..services.notesimportparse_note
@@ -195,7 +196,7 @@ def create_card(body: CardIn, c: Ctx = Depends(ctx)):
195196
inv=None
196197
ifbody.investor_id:
197198
inv=c.db.get(Investor, uuid.UUID(body.investor_id))
198-
ifinvisNoneorinv.suppressed:
199+
ifnottest_investors.visible(inv, c.user.email):
199200
raisenot_found("Investor")
200201
dup=c.db.scalar(select(FunnelCard).where(FunnelCard.workspace_id==c.ws_id, FunnelCard.investor_id==inv.id,
201202
FunnelCard.deleted_at.is_(None)))

‎apps/api/app/routers/investors.py‎

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
Sequence,
2626
ShortlistItem,
2727
)
28-
from ..servicesimportai, search_parse
28+
from ..servicesimportai, search_parse, test_investors
2929
from ..services.entitlementsimportcan, consume, limit, rate_limit, trial_expired, usage
3030
from ..services.fitimportSIMILAR_SQL, fit
3131

@@ -58,7 +58,7 @@ def card(inv: Investor, f: dict | None = None, in_funnel: bool = False, in_short
5858
"thesis_summary": (inv.investment_thesisor"")[:240],
5959
"check_size": inv.typical_check_sizeifinv.enrichedelse"",
6060
"has_email": bool(inv.email), "in_funnel": in_funnel, "in_shortlist": in_shortlist,
61-
"in_outreach": in_outreach, **({"fit": f} iffelse {}),
61+
"in_outreach": in_outreach, **({"is_test": True} ifinv.is_testelse {}), **({"fit": f} iffelse {}),
6262
}
6363

6464

@@ -93,7 +93,7 @@ def has_criteria(self) -> bool:
9393

9494

9595
def_base_filters(c: Ctx, p: SearchParams):
96-
conds= [~Investor.suppressed]
96+
conds= [~Investor.suppressed, *test_investors.conds(c.user.email)]
9797
ifp.q.strip():
9898
q=p.q.strip()[:200]
9999
conds.append(or_(Investor.search_tsv.op("@@")(func.websearch_to_tsquery("english", q)),
@@ -253,6 +253,7 @@ def recommended(c: Ctx = Depends(ctx)):
253253
sectors=prof.sectors
254254
cand=c.db.scalars(select(Investor).where(
255255
~Investor.suppressed, ~Investor.is_honeypot, Investor.identity_confidence!="low", # DATA-03
256+
*test_investors.conds(c.user.email),
256257
or_(Investor.industries.overlap(sectors), *[Investor.focus_sectors.ilike(f"%{s}%") forsinsectors]),
257258
).order_by(Investor.enriched.desc(), Investor.seed_fit.desc().nulls_last()).limit(600)).all()
258259
excl=_exclusions(c)
@@ -283,7 +284,7 @@ def _get(c: Ctx, iid: str) -> Investor:
283284
inv=c.db.get(Investor, uuid.UUID(iid))
284285
exceptValueError:
285286
inv=None
286-
ifinvisNoneorinv.suppressed:
287+
ifnottest_investors.visible(inv, c.user.email):
287288
raisenot_found("Investor")
288289
returninv
289290

@@ -346,7 +347,8 @@ def reveal(iid: str, c: Ctx = Depends(ctx)):
346347
c.db.add(AuditLog(actor_id=c.user.id, action="honeypot.reveal", target=str(inv.id), ip=c.ip))
347348
c.db.commit()
348349
raiseApiError(403, "EF-AUTH-003", "Account suspended")
349-
consume(c.db, c.workspace, "reveals", "month", limit(c.db, c.workspace, "reveals_month"))
350+
ifnotinv.is_test: # test investors (the founder's own inboxes) never use a credit
351+
consume(c.db, c.workspace, "reveals", "month", limit(c.db, c.workspace, "reveals_month"))
350352
c.db.add(Reveal(workspace_id=c.ws_id, investor_id=inv.id))
351353
c.access("reveal", inv.id)
352354
c.db.commit()
@@ -440,7 +442,7 @@ def company_lookup(name: str = Query(min_length=2, max_length=200), c: Ctx = Dep
440442
rate_limit(c.db, f"search:m:{c.user.id}", 60, 60)
441443
n=name.strip().lower().removeprefix("https://").removeprefix("http://").removeprefix("www.").split("/")[0]
442444
n=n.split(".")[0] if"."innand" "notinnelsen
443-
rows=c.db.scalars(select(Investor).where(~Investor.suppressed, or_(
445+
rows=c.db.scalars(select(Investor).where(~Investor.suppressed, *test_investors.conds(c.user.email), or_(
444446
func.array_to_string(Investor.portfolio_sample, "|").ilike(f"%{n}%"),
445447
Investor.enrichment["notable_portfolio"].astext.ilike(f"%{n}%"),
446448
Investor.enrichment["recent_investments_12mo"].astext.ilike(f"%{n}%"),
@@ -457,7 +459,7 @@ def company_lookup(name: str = Query(min_length=2, max_length=200), c: Ctx = Dep
457459
ifrows:
458460
inds=sorted({xforiinrowsforxini.industries})[:12]
459461
seen= {i.idforiinrows}
460-
cand=c.db.scalars(select(Investor).where(~Investor.suppressed, ~Investor.is_honeypot,
462+
cand=c.db.scalars(select(Investor).where(~Investor.suppressed, ~Investor.is_honeypot,~Investor.is_test,
461463
Investor.industries.overlap(inds), ~Investor.id.in_(seen))
462464
.order_by(Investor.enriched.desc(), Investor.seed_fit.desc().nulls_last()).limit(200)).all()
463465
scored=sorted(((fit(i, prof), i) foriincand), key=lambdax: -x[0]["score"])[:10]

‎apps/api/app/routers/outreach.py‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from ..depsimportCtx, ctx
1919
from ..errorsimportApiError
2020
from ..modelsimportEmail, EmailEvent, FunnelCard, GmailAccount, Sequence
21-
from ..servicesimportplaybook
21+
from ..servicesimportplaybook, test_investors
2222
from ..services.agentimportmoney_talk
2323
from ..services.calendarimportSCOPEasCAL_SCOPE
2424
from ..services.calendarimportconnectedascalendar_connected
@@ -293,7 +293,7 @@ def _sample_investor(c: Ctx, iid: str | None, skip: list[str]):
293293
inv=c.db.get(Investor, _uuid.UUID(iid))
294294
exceptValueError:
295295
inv=None
296-
ifinvandnotinv.suppressed:
296+
iftest_investors.visible(inv, c.user.email):
297297
returninv
298298
seen=set(skip)
299299
forqin (select(ShortlistItem.investor_id).where(ShortlistItem.workspace_id==c.ws_id)
@@ -303,10 +303,11 @@ def _sample_investor(c: Ctx, iid: str | None, skip: list[str]):
303303
foriinc.db.scalars(q).all():
304304
ifstr(i) notinseen:
305305
inv=c.db.get(Investor, i)
306-
ifinvandnotinv.suppressedandnotinv.is_honeypot:
306+
iftest_investors.visible(inv, c.user.email)andnotinv.is_honeypot:
307307
returninv
308308
p=c.db.get(CompanyProfile, c.ws_id)
309-
rows=c.db.scalars(select(Investor).where(Investor.suppressed.is_(False), Investor.is_honeypot.is_(False))
309+
rows=c.db.scalars(select(Investor).where(Investor.suppressed.is_(False), Investor.is_honeypot.is_(False),
310+
*test_investors.conds(c.user.email))
310311
.order_by(Investor.enriched.desc(), Investor.seed_fit.desc().nulls_last()).limit(60)).all()
311312
rows= [rforrinrowsifstr(r.id) notinseen]
312313
returnmax(rows, key=lambdai: fit(i, p)["score"]) ifrowselseNone

‎apps/api/app/routers/seo.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def segment_filter(segment: str):
3939

4040

4141
def_base(segment: str, country: str="", sector: str=""):
42-
conds= [~Investor.suppressed, ~Investor.is_honeypot, segment_filter(segment)]
42+
conds= [~Investor.suppressed, ~Investor.is_honeypot, ~Investor.is_test, segment_filter(segment)]
4343
ifcountry:
4444
conds.append(func.lower(Investor.country) ==country.lower())
4545
ifsector:

0 commit comments

Comments
 (0)