Skip to content

Conversation

@jfrost-mo
Copy link
Member

@jfrost-mo jfrost-mo commented Sep 22, 2025

CSET output interface improvements developed during my MSc project.

Additional work will be required before merging; see the "Future Work" chapter of my dissertation. This branch will also need a good rebase, as the commit history is a mess, and there were large test files added during development that have been removed, and we don't want to pull them into the project history permanently.

GitHub Copilot was used for a small part of this pull request, as detailed in the commit messages.

Contribution checklist

Aim to have all relevant checks ticked off before merging. See the developer's guide for more detail.

  • Documentation has been updated to reflect change.
  • New code has tests, and affected old tests have been updated.
  • All tests and CI checks pass.
  • Ensured the pull request title is descriptive.
  • Conda lock files have been updated if dependencies have changed.
  • Attributed any Generative AI, such as GitHub Copilot, used in this PR.
  • Marked the PR as ready to review.

@jfrost-mo jfrost-mo self-assigned this Sep 22, 2025
@jfrost-mo jfrost-mo added the enhancement New feature or request label Sep 22, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Sep 22, 2025

Coverage

@jfrost-mo jfrost-mo changed the title WIP Add search capability to CSET UI Add search capability to CSET UI Sep 24, 2025
@jfrost-mo jfrost-mo changed the title Add search capability to CSET UI Add faceted type-ahead search capability to CSET web interface Oct 17, 2025
@jfrost-mo
Copy link
Member Author

BUG: White space should be \s, rather than just "\t ".

Fraetor and others added 16 commits December 12, 2025 10:02
Additionally included is a conversion to JSON Lines (In theory it should
be more efficient, but in practice we still load the whole string first,
so I may revert. At least it looks nicer in the index file.)

Finally there are also some experiments with the UI for facets, ahead of
getting feedback from the user interviews.

The framework is there for facet-based searching, but the current
implementation of search is very basic, only doing exact substring
matching. Additional functionality should be added to the test function
constructed in parse_query.
The lexer is complete, but the parser still needs to be written, then it
all needs to be ported to JavaScript.

Some example queries are defined in "querys".
I think it should now be complete, though I haven't extensively tested
it yet.

GitHub Copilot was used in this commit. It did an initial implementation
of parse_grouped_expression, and helped debug collapse_conditions, where
I had sliced from the start of the conditions list, rather than from the
current index.
This avoids splitting literals with and/or as substrings, such as
[and]roid or h[or]se.

This issue and fix was suggested by GitHub Copilot.
This issue was identified by GitHub Copilot
The main behaviour changes are that NOT is now a separate combiner from
the ! operator, and that explicit and implicit ANDs now have the same
precedence.
@jfrost-mo
Copy link
Member Author

TODO for next year:

  1. Fix bugs in parser/web interface.
  2. Introduce a three column layout, as it is commonly requested.
  3. Tweak the CSS to make it look pretty.
  4. Rebase the branch into a sensible set of changes. It may want splitting up into a couple pull requests.

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

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants