Skip to content

Fix Dividends Data Bank Timeline Sync#149

Open
letssayx wants to merge 4 commits into
fix-dividends-databank-xbrl-dedup-7184079409821878691from
fix-dividend-bank-timeline-8798568501844201849
Open

Fix Dividends Data Bank Timeline Sync#149
letssayx wants to merge 4 commits into
fix-dividends-databank-xbrl-dedup-7184079409821878691from
fix-dividend-bank-timeline-8798568501844201849

Conversation

@letssayx
Copy link
Copy Markdown
Owner

Resolves missing dividends, rescheduled meetings, and AGM intimation captures in the Dividends Data Bank UI by properly fetching, formatting, and rendering timeline data.


PR created automatically by Jules for task 8798568501844201849 started by @letssayx

…traction

- Broadened backend queries in `special_sit_routes.py` to include AGMs and postponed/rescheduled meetings.
- Updated `workbench.html` deduplication logic to ensure rescheduled meetings (like BPCL) render as a proper timeline.
- Added extraction of exact broadcast time to board meeting dates in the UI for precise evaluation.

Co-authored-by: letssayx <[email protected]>
@google-labs-jules
Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

google-labs-jules Bot and others added 3 commits May 19, 2026 17:36
- Adjust `workbench.html` to separate `isPotentialMatch` from `isDividendRelated`.
- Only create synthetic rows for genuine dividend-related board meetings, preventing "financial result" intimations from cluttering the UI or hiding genuine dividends like BHEL's.
- Keep the `diffDays === 0` strict deduplication to allow BPCL's rescheduled timeline (12th and 19th) to show up.
- Fix backend fetching to allow broad categories for timeline linkage without creating fake upcoming events.
- Append exact broadcast times to meeting dates as requested for extra-ordinary evaluations.

Co-authored-by: letssayx <[email protected]>
- Updates frontend deduplication to use exact calendar day matching to prevent rescheduled meetings (like BPCL) from being hidden.
- Improves Board Meeting and Broadcast Time extraction to prevent timezone shifting and display exact time alongside dates.
- Adds robust case-insensitive parsing to capture and tag AGMs correctly in the UI.
- Implements strict is_valid_standalone checks in Special Situations backend to prevent historical generic 'Financial Results' meetings from polluting the timeline, while preserving upcoming intimations.

Co-authored-by: letssayx <[email protected]>
- Updated frontend deduplication logic to merge rescheduled board meetings effectively using a <= 60 day rolling window for identical dividend types
- Expanded the match window between intimations and official corporate actions to [-10, 180] days to fix missing lifecycle events
- Extracted and rendered both precise AGM dates and exact board meeting local times cleanly within the UI tables
- Cleaned up backend queries to prevent generic missing amount announcements from clogging the Historical UI timeline
- Ensured long-dated cyclical records like BHEL are properly clustered and single-row aggregated

Co-authored-by: letssayx <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant