Skip to content

[SPIKE] : Technical Feasibility Assessment for Grouped Implementation of Low-Volume Filings #30994

Closed

Description

@OlgaPotiagalova

Goal:

Evaluate the technical feasibility of grouping low-volume filings (approx. 30), based on their data structures and implementation patterns, to determine if a shared backend and reusable front-end components can be used effectively.

The goal is faster implementation and/or a more streamlined process for users.

List of filings:

https://docs.google.com/spreadsheets/d/1eoAxPSWhq9ImWNRfFCJYXvrMH2MsymWh/edit?gid=1108609646#gid=11%E2%80%A6

Scope:

• In scope for this task: Schema analysis, grouping logic, backend architecture assessment, reusability of components, and preliminary prototyping (if feasible).
• Out of scope for this task: UX/UI review, interested parties’ input, legal/business requirements.

Objectives:

  1. Analyze technical similarities across ~30 low-volume filings.
  2. Determine grouping feasibility based on shared data schema, validation rules, and backend logic.
  3. Identify opportunities for reusable backend services and frontend components.
  4. Build a lightweight POC using 2–3 filings to validate the grouped approach (optional, if valuable).

Questions to answer:

• Are there sufficient common schema patterns across filings?
• Can we design shared validation rules and data mapping?
• Is the backend extensible to support grouped filings?
• Can front-end components be generalized without excessive complexity?
• Are technical edge cases manageable within a shared structure?
• Will grouping save significant time compared to individual builds?
• Will this reduce long-term complexity or increase it?

Considerations:

• Avoid unnecessary complexity;
• Right balance between flexibility and maintainability;
• UI should clearly distinguish filings while maintaining consistency;
• Ensure grouped UIs or APIs don’t slow down with too many filings;
• Some filings may have edge-case rules, this should be taken in consideration

Deliverables:

• Assessment of backend architecture options: Shared logic vs. modular individual logic.
• Assessment of frontend logic
• Estimates
• Recommendation on grouped vs. separate implementation
• Proposed filing groupings based on data and logic similarities.
• Optional : POC with shared backend and/or UI structure for 2–3 similar filings.
• Identified risks and technical edge cases

Timebox:

• 1–2 weeks for initial spike (analysis + POC)

Activity

  1. added
    Entities Team
    on Oct 8, 2025
  2. OlgaPotiagalova commented on Oct 8, 2025

    @OlgaPotiagalova
    CollaboratorAuthor

    The preliminary discussion with the team concluded that grouping on the back-end is not recommended.

    @vysakh-menon-aot, @argush3, could you please elaborate on the recommendation against back-end grouping — including any challenges, trade-offs, or other considerations?

  3. OlgaPotiagalova commented on Oct 8, 2025

    @OlgaPotiagalova
    CollaboratorAuthor

    @thorwolpert , Melissa had advised that you are already looking into it. Could you please review and provide your recommendation and guidance. Thank you

  4. severinbeauvais commented on Oct 8, 2025

    @severinbeauvais
    Collaborator

    Severin's working notes -- ignore these and see Analysis below

    "We shouldn't do this" is a valid response but needs an explanation.
    "We shouldn't do this now" is a valid response but needs an explanation.

    Outstanding questions

    • impact to UI/AI/API of merging filings???

    Analysis

    • there is opportunity to merge some filings -- which ones???

    Data model considerations

    We already have liquidation flag, liquidator, directors, officers, receiver, types, ...

    Some BE work is already done by Kevin, Ketaki, Megan...

    Should we combine related filings and use sub-types to distinguish them?

    Can we create an "invalid address" (eliminated address) record, which is missing city and postal code, or will this break things?

    -> AC and VM suggest that all filings should be kept separate in BE (API + Filer).

    Schemas

    Can we have common/shared schemas? Probably. We can use validation in the API for specific things if needed (eg, cannot add liquidator to a cease filing).

    How will these changes affect data migration?

    Data sync

    Do the data changes need to be synced back to COLIN?

    How will these changes affect data migration?

    Upload paper filings instead of processing? OUT OF SCOPE

    Consider but do not invetigate auto-parsing via AI (Google Form Parser). (As a replacement for UI forms.) What would need to be developed?

    • update existing forms for simplicity
    • train the AI (may not apply if pre-trained)
    • load the validations
    • who upload the form?
    • allow staff to fix form before parsing?
    • allow staff to review/correct results after parsing and before filing?
    • should staff return invalid parsing to users? what do they do now if a form contains invalid data?
    • try to compare size with UI development
    • should this be done as a pilot/POC for one form, to start, and expand later?
    • what if accuracy is not 100%? what is OK?
    • what is the ongoing cost?
    • etc

    What do we recommend? Should we try this or not? What criteria should we use to decide?

    The only thing I want to say here is that using AI to convert a paper form to a filing might replace the UI but does not replace the BE processing that needs to be done.

    Would it make sense to simply upload paper-based filings (and thus not update the business' data)?

    Would this satisfy the reason that some of these filings exist (eg, to remove Records Office address)?

    What about data that needs to be shared to 3rd parties, if we don't update the data?

    Will the business summary be out of date if we don't update some data?

    We do something that I think is similar with Court Order filings: we upload a statement and/or document but we don't change the business state. Instead, we show an alert that "this business has a court order", and the reader of the ledger needs to find that court order filing to read the details.

    UI design and development

    UI development for these filings was initially planned for "after xpro filings",

    Some Jupyter notebooks already exist.

    FUTURE: AI could interpret paper forms and produce filing JSON, thus bypassing the UI.

    Can we combine related filings into a single UI page? Yes. We do that already for some staff filings. It will increase complexity (and may require special UI/UX design). As for long-term maintenance, it may be better with a "combined" page. These considerations probably cancel out (net neutral result).

    Legislation concerns

    image.png

    Other ideas

    I think it might make sense to work on several of these filings concurrently (instead of sequentially or combining them), to leverage their similarities (components, schema, validations, db updates).

  5. OlgaPotiagalova commented on Oct 8, 2025

    @OlgaPotiagalova
    CollaboratorAuthor

    There are two Liquidation filings that make business historical. They should be synchronized to COLIN. No synchronization is needed for the rest of the filings

    image.png

  6. OlgaPotiagalova commented on Oct 8, 2025

    @OlgaPotiagalova
    CollaboratorAuthor

    To contain the scope and maintain focus, please exclude uploading paper filings instead of processing from this assessment. We will create a separate spike ticket if needed.

  7. severinbeauvais commented on Oct 20, 2025

    @severinbeauvais
    Collaborator

    Analysis

    Introduction

    Note: Not in scope is the use of Google Document AI Form Parser to convert scanned (paper) forms into submittable data.
    This might facilitate the data entry (thus replacing at least some of the UI) but the back-end processing of the filing
    data would still be required. Form Parser is being explored separately.
    

    Dylan's "Unloved Filings" spreadsheet separates the subject filings logically into the following categories according to the data they change.

    1. There are 17 Liquidation Filings that change the following:
      • corporation state (eg, liquidated, active, hold/historical)
      • Liquidators (LIQ)
      • Officers (OFF)
      • Officer Held (OFFICES_HELD) (eg, CEO, CFO, Chair, etc)
      • Liquidation Records Office (LRO)
      • Custodian of Dissolved Company's Records (RCC)
      • Dissolved Company Records Office (DCR)
    2. There are five Receiver Filings that change the following:
      • Receiver Manager Office (RCM)
    3. There are four Dissolved Corp Records Office Filings that change the following:
      • Custodian of Dissolved Company's Records (RCC)
      • Dissolved Company Records Office (DCR)
    4. There are three Office Address Filings that change the following:
      • Registered Office (RG)
      • Records Office (RC)
    5. There is one X-Ref Corp Names filing that changes the following:
      • Corp Name

    Therefore, there may be opportunities to group the implementation of some filings for faster implementation and/or a better process for users.

    There is a functional separation between the back-end and the front-end code so I look at each separately, below.

    Back-end (API, other services and schema) Analysis

    This has been discussed with Argus and Vysakh and the strong preference was to keep the filings separate, since they all do something different, regardless that the data fields may be the same. Keeping the filings separate would also fit in best with the existing API and Filer architecture.

    It may be possible to have a common schema (or sub-schemas) for similar filings. This probably won't save much time since all possibilities need to be accounted for, either in a single schema or separate schemas. It's probably a bit more complex to have a common schema for separate filings, but using sub-schemas (for common data objects such as a person or address) will most certainly be beneficial and they may already exist.

    Implementing related filings concurrently or consecutively may save some time due to familiarity and similar code changes.

    For more info, see #27919.

    Note: There are two liquidation filings that make businesses historical (DISLC and DISLV). These filings should be
    synchronized to COLIN, regardless of the implementation approach. No synchronization is needed for the rest of the
    filings.
    

    Front-end (UI) Analysis

    Option 1: Jupyter Notebook

    A Jupyter Notebook can be created for each filing. (I believe some already exist.)

    Advantages:

    • quick to implement compared with implementing a full UI for submitting a filing

    Disadvantages:

    • IP Ops is required to submit each filing, instead of regular staff doing it within the usual UI flow
    • cannot be converted to a regular UI staff filing or user filing
    • minimal or no validation in UI (but API will provide validation)

    Estimate: 1 day per filing (times 30 filings)

    Option 2: separate filings

    A page could be created for each filing required.

    Advantages:

    • least complex way to implement and to maintain later
    • may not be much slower than other options if related filings are implemented concurrently or consecutively (due to familiarity)
    • can make use of common components that are reused between similar filings
    • easiest to test

    Disadvantages:

    • missing opportunity to streamline user process and experience

    Estimate: 1 week per filing (times 30 filings)

    Option 3: multi-filing

    Several related filings could be combined into a single page that configures itself according to what the user selects (eg, enter some info OR change some info OR correct some info).

    Advantages:

    • single starting point for user who needs to do something to that data (and a decision tree below that)
    • single framework (project) would cover multiple filings

    Disadvantages:

    • similar amount of coding as separate filings (since you still need to handle all cases)
    • increased code complexity (harder to test now; harder to maintain later)
    • need to identify which filings are related (common data/components between them)
    • need UI/UX team to lay out the options and page in a way that make sense

    Estimate: 5 weeks per combined filing (times 5 or more groups)

    Option 4: poly-filing

    Several related filings could be combined into a single page that provides all options at once for entering/changing/correcting info and which submits the correct filing type(s) according to any changes made.

    This is similar to the future View and Change Business Information page (ie, Alteration) where we would also support office address changes and director changes, and in the background, several filings (Alteration, COA, COD) would be submitted and processed.

    Advantages:

    • single framework (project) would cover multiple filings
    • "single page shopping experience" for doing something to that data

    Disadvantages:

    • increased code complexity since it has to support everything at once (harder to test now; harder to maintain later)
    • may still resolve to separate filings behind the scenes (similar or more work as other options)
    • harder to handle edge cases
    • need to identify which filings are related (common data between them)
    • need UI/UX team to lay out the options and page in a way that make sense

    Estimate: 5-6 weeks per combined filing (times 5 or more groups)

    Assessment and Recommendations

    There is a strong technical preference for keeping the filings separate in the BE.

    Although there is some difference in implementation effort for the FE (UI) options, I believe it should be decided according to:

    • priority of filings and whether those can be grouped
    • the UI/UX team's preferred design (ie, to optimize user flow)
    • business preference and resource availability

    Should we implement grouped filings in the UI or not? If all filings were the same priority/frequency, some grouping makes sense. But some filings are rare (or never used) so it may be best to spend minimum effort to support those.

    I recommend the following approach:

    1. Build the BE first (according to priority, and ideally working on related filings consecutively or concurrently).
    2. Build Jupyter Notebooks for each filing, which will unblock "corporations" as a whole.
    3. Later, as resources allow, and if deemed necessary, build full UI(s) for the most popular filings. This selection, and UI/UX's input, can drive which option is selected for FE development.

    In summary, I am not recommending a particular FE (UI) approach because it depends on a lot of things and all options are feasible. However, I do recommend steps 1 and 2 above and deferring any further decisions on UI approach until later.

    Deliverables

    No deliverable are available at this time.

  8. OlgaPotiagalova commented on Oct 31, 2025

    @OlgaPotiagalova
    CollaboratorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Entities Team

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions